Uninstalling PATROL for Citrix XenServer on UNIX


This section provides procedures for uninstalling PATROL for Citrix XenServer from a UNIX environment with or without a browser installed.

To uninstall individual products by using the installation utility

  1. 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
  2. The Welcome window is displayed, and click Next.
  3. Select the installation directory from which you want to remove a product, and click Next.
  4. Select the product or products that you want to uninstall, and click Next.
  5. 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

  1. If you are uninstalling from a UNIX environment without a browser, perform the following steps to launch the installation utility:
    1. From a command line, change to the Uninstall directory and enter the following command to start the installation Web server:
      ./uninstall.sh -serveronly
    2. A message box is displayed that shows the URL to use to connect to the installation Web server.
    3. On another computer with a browser, start the browser.
    4. 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.
  2. The Welcome window is displayed, and click Next.
  3. Select the installation directory from which you want to remove a product, and click Next.
  4. Select the product or products that you want to uninstall, and click Next.
  5. 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 all products but leave log files and configuration files

This procedure describes how to uninstall the BMC PATROL product but retain log files, which contain history for future analysis, and configuration files for redeployment.

  1. Uninstall all products as described in To uninstall individual products by using the installation utility.
  2. Locate the uninstall.ctl file in the following directory.
    BMCProductsInstallationDirectory/Uninstall/Install/instdata
  3. 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.
  4. Open a command line prompt.
  5. Change to the following directory.
    BMCProductsInstallationDirectory/Uninstall/Install/ instbin
  6. 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 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.

For 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 command removes all installation files and directories except those that are used by the utility at the time the uinstallation is performed. Log files, configuration files, and user-modified files, are also retained.

To uninstall all products, associated log files, and configuration files

  1. Uninstall all products as described in To uninstall individual products by using the installation utility.
  2. Locate the uninstall-all.ctl file in the following directory:
    BMCProductsInstallationDirectory/Uninstall/Install/instdata
  3. 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.
  4. Open a command line prompt.
  5. Change to the following directory:
    BMCProductsInstallationDirectory/Uninstall/Install/instbin
  6. 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.

For 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 command removes all installation files and directories. The files used to perform the installation are marked for deletion and are removed when the computer on which the products were uninstalled is rebooted.

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*

BMC PATROL for Citrix XenServer 3.1