Uninstalling the PATROL HL KM
To uninstall the PATROL HL KM you must use the same version of the installation utility that you used to install the product. Run the installation utility in uninstall mode to uninstall the PATROL HL KM from your system.
- Determining the Version of the Installation Utility
- Uninstalling on UNIX All Products but Leaving Log Files and Configuration Files
- Uninstalling on UNIX All Products and Associated Log Files and Configuration Files
- Uninstalling on Windows All Products and Associated Log Files and Configuration Files
- Uninstalling on Windows All Products but Leaving Log Files and Configuration Files
- Uninstalling the PATROL HL KM on UNIX
- Uninstalling the PATROL HL KM on Windows
Determining the Version of the Installation Utility
To determine the version of the installer, perform the following procedure.
- Access a command prompt and navigate to the appropriate location:
- (Windows) <BMC_ROOT>\Uninstall
- (UNIX) <BMC_ROOT>/Uninstall
- Type the following command and press ENTER.
- (Windows) uninstall.exe -v
- (UNIX) ./uninstall.sh -v
Uninstalling on UNIX All Products but Leaving Log Files and Configuration Files
This task describes how to uninstall the PATROL product but retain log files, which contain history for future analysis, and configuration files for redeployment.
- Uninstall all products as described in To Uninstall Individual Products.
- Locate the uninstall.ctl file in the following directory.
(UNIX only) BMC_Products_Installation_directory/Uninstall/Install/instdata
- Open the uninstall.ctl file in a text editor, and edit the /BMC/Base variable to specify the name of the directory from which you removed the products in step 1.
- Open a command line prompt.
- Change to the following directory.
(UNIX only) BMC_Products_Installation_directory/Uninstall/Install/ instbin
- Enter the following commands:
(UNIX only) thorinst.sh -uninstall path_to_control_file -log path_to_log_file -output path_to_output_log_file
Use the following table to help determine the log file and output log file locations:
Option | Description | Value |
|---|---|---|
-log | sends the log information to a standard log file This file contains all installation status information. | Path to log file; any valid path and file name (with a .txt extension) If a space exists in the path, the entire path must be enclosed in quotation marks. |
-output | sends the log information to an output log file This file contains all messages about the progress of the installation that are normally sent to standard output. | Path to output log file; any valid path and file name (with a .txt extension) If a space exists in the path, the entire path must be enclosed in quotation marks. |
Example
If /opt/bmc is your product installation directory, you would change to /opt/bmc/Uninstall/Install/instbin directory and enter the following command:
thorinst.sh -uninstall "/opt/bmc/Uninstall/Install/instdata/uninstall.ctl" -log /var/logs/NetworkLogs/MyLogs.txt -output /var/adm/NetworkLogs/MyLogs.out
This action would remove all installation files and directories except those that are used by the utility at the time the uninstallation is performed. Log files, configuration files, and user-modified files would also be retained.
Uninstalling on UNIX All Products and Associated Log Files and Configuration Files
This task describes how to remove all PATROL products and related log files and configuration files from your UNIX computer. Once these files have been removed, you cannot recover them unless you have made a back-up copy of the installation.
- Uninstall all products as described in To Uninstall Individual Products.
- Locate the uninstall-all.ctl file in the following directory.
BMC_Products_Installation_directory/Uninstall/Install/instdata
- Open the uninstall-all.ctl file in a text editor, and edit the /BMC/Base variable to specify the name of the directory from which you removed the products in step 1.
- Open a command line prompt.
- Change to the following directory.
BMC_Products_Installation_directory/Uninstall/Install/instbin
- Enter the following command.
thorinst.sh -uninstall path_to_control_file -log path_to_log_file -output path_to_output_log_file
Use the following table to help determine the log file and output log file locations:
Option | Description | Value |
|---|---|---|
-log | Sends the log information to a standard log file. This file contains all installation status information. | Path to log file; any valid path and file name (with a .txt extension). If a space exists in the path, the entire path must be enclosed in quotation marks. |
-output | Sends the log information to an output log file. This file contains all messages about the progress of the installation that are normally sent to standard output. | Path to log file; any valid path and file name (with a .txt extension). If a space exists in the path, the entire path must be enclosed in quotation marks. |
Example
If /opt/bmc is your product installation directory, you would change to /opt/bmc/Uninstall/Install/instbin directory and enter the following command:
thorinst.sh -uninstall "/opt/bmc/Uninstall/Install/instdata/uninstall-all.ctl" -log /var/logs/NetworkLogs/MyLogs.txt -output /var/adm/NetworkLogs/MyLogs.out
This action would remove all installation files and directories. The files that were used to perform the uninstallation will be marked for deletion and will be removed when the computer on which the products were uninstalled is rebooted.
Uninstalling on Windows All Products and Associated Log Files and Configuration Files
This task describes how to remove all PATROL products and related log files and configuration files from your UNIX computer. Once these files have been removed, you cannot recover them unless you have made a back-up copy of the installation.
- Uninstall all products as described in To Uninstall Individual Products.
- Locate the uninstall-all.ctl file in the following directory.
BMC_Products_Installation_directory\Uninstall\Install\instdata
- Open the uninstall-all.ctl file in a text editor, and edit the /BMC/Base variable to specify the name of the directory from which you removed the products in step 1.
- Open a command line prompt.
- Change to the following directory.
BMC_Products_Installation_directory\Uninstall\Install\instbin
- Enter the following command.
thorinst.exe -uninstall path_to_control_file -log path_to_log_file -output path_to_output_log_file
Use the following table to help determine the log file and output log file locations:
Option | Description | Value |
|---|---|---|
-log | sends the log information to a standard log file | path to log file; any valid path and file name (with a .txt extension) |
-output | sends the log information to an output log file | path to log file; any valid path and file name (with a .txt extension) |
Example
If C:\Program Files\BMC Software is your product installation directory, you would change to the C:\Program Files\BMC Software\Uninstall\ Install\instbin directory and enter the following command:
thorinst.exe -uninstall "C:\Program Files\BMC Software\Uninstall\Install\instdata\uninstall-all.ctl" -log Z:\NetworkLogs\MyLogs.txt output Z:\NetworkLogs\MyLogs.out
This action would remove all installation files and directories. The files that were used to perform the uninstallation will be marked for deletion and will be removed when the computer on which the products were uninstalled is rebooted.
Uninstalling on Windows All Products but Leaving Log Files and Configuration Files
This task describes how to uninstall the PATROL product but retain log files, which contain history for future analysis, and configuration files for redeployment.
- Uninstall all products as described in To Uninstall Individual Products.
- Locate the uninstall.ctl file in the following directory.
BMC_Products_Installation_directory\Uninstall\Install\instdata
- Open the uninstall.ctl file in a text editor, and edit the /BMC/Base variable to specify the name of the directory from which you removed the products in step 1.
- Open a command line prompt.
- Change to the following directory.
BMC_Products_Installation_directory\Uninstall\Install\ instbin
- Enter the following command.
thorinst.exe -uninstall path_to_control_file -log path_to_log_file -output path_to_output_log_file
Use the following table to help determine the log file and output log file locations:
Option | Description | Value |
|---|---|---|
-log | Sends the log information to a standard log file. This file contains all installation status information. | Path to log file; any valid path and file name (with a .txt extension). If a space exists in the path, the entire path must be enclosed in quotation marks. |
-output | Sends the log information to an output log file. This file contains all messages about the progress of the installation that are normally sent to standard output. | Path to output log file; any valid path and file name (with a .txt extension). If a space exists in the path, the entire path must be enclosed in quotation marks. |
Example
If C:\Program Files\BMC Software is your product installation directory, you would change to the C:\Program Files\BMC Software\Uninstall\ Install\instbin directory and enter the following command:
thorinst.exe -uninstall "C:\Program Files\BMC Software\Uninstall\Install\instdata\uninstall.ctl" -log Z:\NetworkLogs\MyLogs.txt output Z:\NetworkLogs\MyLogs.out
This action would remove all installation files and directories except those that are used by the utility at the time the uninstallation was performed. Log files, configuration files, and user-modified files would also be retained.
Uninstalling the PATROL HL KM on UNIX
The following procedure describes how to uninstall the PATROL HL KM from a UNIX environment with or without a browser installed.
To Uninstall Individual Products Using the Installation Utility
- Change to the Uninstall directory in your BMC Software product installation directory and enter the following command to launch the installation utility in uninstall mode: ./uninstall.sh
- The Welcome window is displayed, and click Next.
- Select the installation directory from which you want to remove a product, and click Next.
- Select the product or products that you want to uninstall, and click Next.
- Review your selections and click Uninstall.
After the uninstallation is complete, a window is displayed that tells you whether the uninstallation was successful.
To Uninstall Individual Products in a UNIX Environment without a Browser
- If you are uninstalling from a UNIX environment without a browser perform the following steps to launch the installation utility:
- From a command line, change to the Uninstall directory and enter the following command to start the installation Web server: ./uninstall.sh -serveronly
- A message box is displayed that shows the URL to use to connect to the installation Web server.
- On another machine with a browser, start the browser.
- Connect to the installation Web server from the browser to start the installation utility by using the URL that is displayed in the message box.
- The Welcome window is displayed, and click Next.
- Select the installation directory from which you want to remove a product, and click Next.
- Select the product or products that you want to uninstall, and click Next.
- Review your selections and click Uninstall.
After the uninstallation is complete, a window is displayed that tells you whether the uninstallation was successful.
Uninstalling the PATROL HL KM on Windows
You can use the option that is appropriate for what you want to uninstall to uninstall the PATROL HL KM. The following procedures describe how to uninstall products from a Windows environment and all related log files.
To Uninstall Individual Products
From the Uninstall directory in your BMC Software product installation directory, double-click uninstall.exe to launch the installation utility in uninstall mode.
If you are uninstalling from a Windows with Citrix Metaframe environment, perform the following steps to launch the installation utility in uninstall mode:
- From a command line, change to the Uninstall directory and enter the following command to start the installation Web server: setup.exe -serveronly
A message box is displayed that shows the URL to use to connect to the installation Web server.
- On another machine with a browser, start the browser.
- Connect to the installation Web server from the browser to start the installation utility by using the URL that is displayed in the message box.
The Welcome window is displayed. Click Next.
- Select the installation directory from which you want to remove a product, and click Next.
- Select the product or products that you want to uninstall, and click Next.
- Review your selections and click Uninstall.
After the uninstallation is complete, a window is displayed that tells you whether the uninstallation was successful.