Uninstalling SnapManager
This section describes how to uninstall the SnapManager software. See the following topics for more information:
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
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.
Advanced 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)
- 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 will no longer have 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.
Comparison
|
SnapManager uninstallation mode
|
Interactive
|
Unattended
|
|
Access
|
Require user interaction and access to the graphical user interface
|
Allows automated uninstallation by executing a script or command-line command
|
|
Tool used
|
The Windows utility Add or Remove Programs (in the Control Panel)
|
The software installation utility for SnapManager for Microsoft SQL Server
|
|
Options
|
You can also remove the Report directory.
|
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. For a comparison of the two uninstallation modes, see Comparison of the two uninstallation modes.
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 will continue to run during the uninstallation process and after the uninstallation is completed.
|
|
2
|
In the Windows 2000 Server or Windows 2003 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 to 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:
- Click Change.
- Select the Remove Reports
option.
- Click Remove.
|
|
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 the Control Panel.
|
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. For a comparison of the two uninstallation modes, see Comparison of the two uninstallation modes.
How to invoke the software installation utility
The command name you specify depends on the SnapManager installation media you will be accessing.
SnapManager installation media
|
Application name to be run
|
|
Software CD
|
setup.exe (located on the CD-ROM)
|
|
Software package downloaded from the network
|
SMSQL2.1.exe (the name of the software package itself)
|
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 SMSQL2.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).
|
|
/L* TempDirPath\LogFileName
|
Optional.
If you specify this option, detailed information about the installation will be 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 of 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 will be created or overwritten.
LogFileName is the name of the file to which the installation information will be written.
|
Examples
Consider the following two scenarios.
Installation details
|
Scenario 1
|
Scenario 2
|
|
Installation media to be used
|
CD inserted into the CD-ROM drive on E:\
|
Installation package downloaded to C:\NetApp\downloads\
|
|
SnapManager license
|
Filer-side
|
Server-side (license key ABCDEFGHJIJKLMN)
|
For scenario 1, enter the following at the command-line:
E:\setup.exe /v"REMOVE=ALL /qb"
For scenario 2, enter the following at the command-line:
C:\NetApp\downloads\SMSQL2.1.exe /v"REMOVE=ALL REMOVEREPORTFOLDER=1 /qb"
General procedure
To install SnapManager using the software installation utility in unattended mode, complete the following steps.
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
|
Proceed to Chapter 4, Starting SnapManager for the First Time.
|
Note
In a cluster configuration, be sure to uninstall SnapManager from all nodes of the cluster.
Copyright © 1994-2006, Network Appliance, Inc. All rights
reserved.
Part No. 215-01752_A0
File: install5.htm
Last updated: 01-Sep-2006 07:41:07