Running the Maintenance and Cleanup tools


This topic describes the usage of Maintenance and Cleanup tools and provides instructions on how to run these tools.

Use the BcanMaintenance Tool to perform the following tasks:

Use the BcanCleanup Tool to delete the following information after a seriously mangled installation attempt. This tool clears away vestiges of the product that interfere with a fresh installation attempt. Do not delete files via the tool unless directed to do so by BMC Support.

  • Registered product: productBcan
  • System scope environment variable: BCAN_HOME
  • File: /opt/bmc/bca-networks/UninstallBMCBcan
  • File: /opt/bmc/bca-networks/BcanInstalledConfiguration.xml
  • File: /tmp/bcan_install_log.txt
  • File: /tmp/bcan_uninstall_log.txt
  • File: /tmp/BcanInstallingConfiguration.xml
  • File: /tmp/BcanInstalledConfiguration.xml
  • File: /tmp/Utilities

You can run the Maintenance and Cleanup tools in a graphical user interface (GUI) mode or in a command line interface (CLI) mode.

To run the Maintenance Tool from the GUI

  • (Microsoft Windows) Go to the \Program Files\BMC Software\BCA-Networks\utility folder, and run the BcanMaintenanceTool.cmd file.
  • (Linux) Go to the /opt/bmc/bca-networks directory and run the ./BcanMaintenanceTool.sh file.
  • (Product installation DVD or unpacked installer archive) Run the tool from the utility directory. If it reports an error that JAVA_HOME is not set, set JAVA_HOME to the files\jre directory.

To run the Maintenance Tool from the CLI

  • (Windows) From the \Program Files\BMC Software\BCA-Networks\utility folder, run BcanMaintenanceTool.cmd with the -silent option.
  • (Linux) From the /opt/bmc/bca-networks directory, run ./BcanMaintenanceTool.sh with the -silent option.

To run the Cleanup Tool from the GUI

(Product installation DVD or unpacked installer archive) Run BcanCleanupTool.cmd or BcanCleanupTool.sh from the utility directory. If it reports an error that JAVA_HOME is not set, set JAVA_HOME to the files\jre directory.

To run the Cleanup Tool from the CLI

(Product installation DVD or unpacked installer archive) Run BcanCleanupTool.cmd or BcanCleanupTool.sh from the utility directory with the -silent option. If it reports an error that JAVA_HOME is not set, set JAVA_HOME to the files\jre directory.

To learn about command-line options

To learn about available command-line options, use the -help or -? option when you run the command.

Examples:

  • BCANMaintenanceTool.cmd -help
  • ./BCANMaintenanceTool.sh -?

Related topics

Contents-of-the-logs
Searching-in-the-log-viewer

 

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