Uninstalling BMC PATROL for Web Services Monitoring
To uninstall BMC PATROL for Web Services Monitoring 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 BMC PATROL for Web Services Monitoring from your system. To verify the version of the Installation Utility, see Preparing-for-installation.
- Uninstalling from a UNIX environment
- Uninstalling all products from a UNIX environment but leaving log files and configuration files
- Uninstalling all products, and associated log files and configuration files from a UNIX environment
- Uninstalling BMC PATROL for Web Services Monitoring from a Windows environment
- Uninstalling all products from a Windows environment but leaving log files and configuration files
Uninstalling from a UNIX environment
The following procedure describes how to uninstall BMC PATROL for Web Services Monitoring 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 from 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 computer 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.
- From a command line, change to the Uninstall directory and enter the following command to start the installation Web server:
- 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 all products from a UNIX environment 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.
( UNIX only ) Example
If /opt/bmc is your product installation directory, you would change to /opt/bmc/Uninstall/Install/instbin directory and enter the following command:
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 all products, and associated log files and configuration files from a UNIX environment
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.
(UNIX only) BMC_Products_Installation_directory/Uninstall/Install/instdata - Open the uninstall-all.ctl file in a text editor, and edit the /BMC/Basevariable 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 command:
(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 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.
( UNIX only ) Example
If /opt/bmc is your product installation directory, you would change to/opt/bmc/Uninstall/Install/instbin directory and enter the following command:
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 BMC PATROL for Web Services Monitoring from a Windows environment
You can use the option that is appropriate for what you want to uninstall to uninstall BMC PATROL for Web Services Monitoring. The following procedures describe how to uninstall products from a Windows environment and all related log files.
To uninstall individual products using the Installation Utility
From the Uninstall directory in your BMC Software product installation directory, double-click uninstall.exe to launch the installation utility in uninstall mode.
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.
Uninstalling all products from a Windows environment 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.
(Windows 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.
(Windows only) BMC_Products_Installation_directory\Uninstall\Install\ instbin Enter the following command:
(Windows only)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.
( Windows only ) Example
If C:\Program Files\BMC Software is your product installation directory, you would change to the C:\Program Files\BMC Software\Uninstall\ Install\instbindirectory and enter the following command:
Uninstalling all products, and associated log files and configuration files from a Windows environmentThis 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.
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.
(Windows only) BMC_Products_Installation_directory\Uninstall\Install\instdata - Open the uninstall-all.ctl file in a text editor, and edit the /BMC/Basevariable 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:
(Windows only) BMC_Products_Installation_directory\Uninstall\Install\instbin Enter the following command:
(Windows only) 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 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.
( Windows only ) Example
If C:\Program Files\BMC Software is your product installation directory, you would change to the C:\Program Files\BMC Software\Uninstall\ Install\instbindirectory and enter the following command:
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.