About this section This section describes how to uninstall the SnapManager software. See the following topics for more information:
◆ “Before you uninstall SnapManager” on page 70
◆ “Comparison of the two uninstallation modes” on page 71
◆ “Uninstalling SnapManager in interactive mode” on page 72
◆ “Uninstalling SnapManager in unattended mode” on page 73 Note
Unless it is specified for a particular upgrade path or for a particular troubleshooting situation, you do not need to uninstall SnapManager before reinstalling it or upgrading to a newer version.
Related topics:
◆ “Installing SnapManager on a stand-alone Windows host system” on page 44
◆ “System configurations for SnapManager on a Windows cluster” on page 55
◆ “Upgrading to SnapManager 5.0” on page 62.
◆ “Reinstalling SnapManager” on page 77
Before you uninstall SnapManager
If you have used SnapManager to manage your SQL Server databases and you plan to reinstall SnapManager later, be sure to record the drive letter and path of the SnapInfo directory locations before you uninstall SnapManager.
Single SnapInfo directory: If you have set up a single SnapInfo directory for all databases on this host, then record the drive letter and path of the LUN that contains a single SnapInfo directory for all SQL Server instances and their associated databases.
Multiple SnapInfo directories: If you have set up multiple SnapInfo directories, then record the following information:
◆ The drive letter and path of the LUN that contains the default SnapInfo directory for all SQL Server instances
◆ The drive letter and path of any LUN that contains the default SnapInfo directory for one or two LUNs shared by multiple databases (if configured)
Chapter 3: Installing or Upgrading SnapManager 71
◆ The drive letter and path of any LUN that contains the SnapInfo directory for an individual database (if configured)
SnapManager Reports records the current SnapInfo directory locations in the most recent logs contained in the Backup folder and in the Config folder.
After you reinstall SnapManager, be sure to reconfigure SnapManager with the same SnapInfo directory locations that were used by SnapManager previously.
Attention
If you configure SnapManager with different SnapInfo directory locations than used previously, then SnapManager no longer has records of any backups taken before the reinstallation of SnapManager occurred. As a result, your prior backup sets could be invalidated or deleted the next time you perform a backup
operation.
Comparison of the two uninstallation modes
The software installation utility for SnapManager can be run in either interactive mode or unattended mode. These two modes are described in the following table.
Feature
SnapManager uninstallation mode
Interactive Unattended
Access Require user interaction
and access to the user interface.
You can also uninstall using the .exe file that you used to install the software.
Allows automated uninstallation by executing a script or command line
Tool used The Windows utility
Add or Remove Options You can also remove the Report directory.
72 Uninstalling SnapManager
Uninstalling SnapManager in interactive mode
To uninstall SnapManager for Microsoft SQL Server and all its components by using the Windows Add or Remove Programs utility, complete the following steps.
Note
You can also uninstall SnapManager in unattended mode, as described in
“Uninstalling SnapManager in unattended mode” on page 73. For a comparison of the two uninstallation modes, see “Comparison of the two upgrade modes” on page 63.
Step Action
1 If SnapManager is running, close it.
Note
You do not need to stop SQL Server or remove the SQL Server databases from the LUNs before you uninstall SnapManager. SQL Server continues to run during the uninstallation process and after the uninstallation completes.
2 In the Windows Server Control Panel, select Add or Remove Programs, then select the entry for SnapManager for Microsoft SQL Server.
Result: Both a Change button and a Remove button appear in that entry.
3 Click one of the buttons, depending on what you want to remove.
If... Then...
You only want to remove the SnapManager software and leave the Report folder.
Click Remove.
You want to remove both the SnapManager software and the Report folder
Do not click Remove. Instead, do the following:
a. Select the Remove Reports option.
b. Click Remove.
Chapter 3: Installing or Upgrading SnapManager 73
Note
In a cluster configuration, be sure to uninstall SnapManager from all nodes of the cluster.
Uninstalling SnapManager in unattended mode
This topic describes how to uninstall SnapManager using the software installation utility in unattended mode. This enables you to uninstall SnapManager under the control of a script for an unattended uninstallation.
Note
You can also uninstall SnapManager in unattended mode, as described in
“Uninstalling SnapManager in interactive mode” on page 72. For a comparison of the two uninstallation modes, see “Comparison of the two upgrade modes” on page 63.
How to run the software installation utility: The command name you specify depends on the SnapManager installation media you access.
4 At the prompt, click Yes to proceed with removing the SnapManager software.
5 After the utility finishes removing SnapManager from your computer, close the Add or Remove Programs utility and then close Control Panel.
Step Action
SnapManager installation media Application to be run
Software CD setup.exe (located on the CD)
Software package downloaded from the network
SMSQL5.0.exe (the name of the software package)
74 Uninstalling SnapManager
What to specify in the command line: To install SnapManager in unattended mode, enter the following command either directly at the command line or through a script:
CommandName /v”REMOVE=ALL [REMOVEREPORTFOLDER=1] [/L*
TempDirPath\LogFileName] /qb”
The following table describes each of the parameters.
Command or parameter Description
CommandName Either setup.exe or
SMSQL5.0.1.exe, depending on the SnapManager installation media being used.
REMOVE=ALL Causes the software installation
utility to remove SnapManager (as if you selected the Remove option in the Program Maintenance screen).
REMOVEREPORTFOLDER=1 Optional. Causes the software installation utility to remove the Report folder (as if you selected the Remove Report Folder option in the Remove the Program screen).
Chapter 3: Installing or Upgrading SnapManager 75 /L* TempDirPath\LogFileName Optional.
If you specify this option, detailed information about the installation is written to the specified log file. This information can be used to
investigate details about how a particular instance of SnapManager for Microsoft SQL Server is installed.
The asterisk (“*”) is a wildcard character specifying that all the installation information (such as status messages, nonfatal warnings, and error messages) should be logged.
TempDirPath is the fully qualified name of the directory in which the installation log is created or overwritten.
LogFileName is the name of the file to which the installation information is written.
Command or parameter Description
76 Uninstalling SnapManager
Examples: Consider the following two scenarios.
For scenario 1, enter the following at the command line:
E:\setup.exe /s /v"REMOVE=ALL /qb”
For scenario 2, replace setup.exe with the downloaded binary name in the command given above.
General procedure: To install SnapManager using the software installation utility in unattended mode, complete the following steps.
Note
In a cluster configuration, be sure to uninstall SnapManager from all nodes of the cluster.
Installation details Scenario 1 Scenario 2 Installation media to be
used
CD inserted into the CD drive on E:\
Installation package downloaded to C:\NetApp\downloads
\
SnapManager license storage system-side Server-side (license key ABCDEFGHJIJKLMN)
Step Action
1 Access the command line of the target host system.
2 At the command line, either enter the command string or enter the name of the script that executes the command string.
Result: The software installation utility upgrades the SnapManager for Microsoft SQL Server software.
3 Go to Chapter 4, “Starting SnapManager for the first time after installation,” on page 79.
Chapter 3: Installing or Upgrading SnapManager 77