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:
- Run Log Zipper to create a zip file for the log files of the current product. For more information, see Collecting-diagnostics-in-a-zip-file.
- Run Log Zipper to create a zip file for the log files of all the registered products installed on the computer.
- View the output of Log Zipper. For more information, see Viewing-a-Log-Zipper-output-file-with-Maintenance-Tool.
- Encrypt the product password or the silent install configuration file password. For more information, see Encrypting-passwords-for-silent-installations.
- View the installation and uninstallation log. For more information, see Viewing-installation-and-uninstallation-log-files.
- View the configuration log.
- Configure external integrations by using the global.properties file.
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