HP StorageWorks P9000 Tiered Storage Manager Software 7.1.1 CLI Reference Guide (TB585-96014, September 2011)

The uninstallation batch file or shell script is located in the same directory as the setup batch file or
shell script.
Uninstalling the CLI from a Windows system
To uninstall the CLI from a Windows system:
1. Back up the htsmcli.properties file.
If you are no longer going to use the CLI on the computer it is installed on, you do not need to
back up this file.
2. Make sure that both of the conditions below are met for the following folder:
system-drive\TieredStorageManager
- The current directory used for executing the bat file is not in or under this folder.
- Files under this folder are not being accessed.
If either of the conditions above are not met, folders might not be deleted, even if the uninstallation
ends normally.
3. Execute the uninstallation batch file (unsetup.bat) from the command prompt, as follows:
system-drive\TieredStorageManager\Tiered-Storage-Manager-version\Setup\unsetup.bat
The common library for collecting trace information is uninstalled, and the files and folders that
were unzipped from the setup file during setup are deleted.
NOTE:
In Windows Vista, Windows Server 2008, or Windows 7, execute unsetup.bat as a user who
has Administrator permissions. To do so, right-click the command prompt, choose Run as administrator,
and then execute unsetup.bat.
If you execute unsetup.bat as a user who does not have Administrator permissions, an error
message is displayed and the uninstallation terminates. In this case, execute unsetup.bat again
as a user who has Administrator permissions.
Uninstalling the CLI from a Solaris, HP-UX, or Linux system
To uninstall the CLI from a Solaris, HP-UX, or Linux system:
1. Back up the htsmcli.properties file.
If you are no longer going to use the CLI on the computer it is installed on, you do not need to
back up this file.
2. Execute the uninstallation shell script (unsetup.sh) as follows:
/opt/TieredStorageManager/Tiered-Storage-Manager-version/Setup/unsetup.sh
The common library for collecting trace information is uninstalled, and the files and directories
uncompressed from the setup file during setup are deleted.
Preparations for executing the CLI24