Gathering troubleshooting data with the support script
If you are running OpsCenter on UNIX or Windows, you can use the support script to gather troubleshooting information for OpsCenter Server and OpsCenter Agent. The script collects Server and Agent logs, collects information about any data collection problems, captures the current Agent configuration, and compresses the results into a zip file. This file can serve as a first-level information for the Support team in case of an issue with OpsCenter.
To gather troubleshooting data for OpsCenter Server on Windows
- Run the following command to execute the support script for OpsCenter Server:
INSTALL_PATH\OpsCenter\server\bin\opsCenterSupport.bat
Note:
The following is the default directory location on Windows computers.
- The script then prompts the following questions:
Do you want to collect configuration files? [y/n] y
Do you want to collect application log files? [y/n] y
Do you want to collect OpsCenter GUI <147> log files? [y/n] y
Do you want to collect OpsCenter Server <148> log files? [y/n] y
Do you want to collect db log files? [y/n] y
Do you want to collect WebServer log files? [y/n] y
Do you want to collect setEnv file? [y/n] y
Do you want to collect database files? [y/n] y
If this is an upgrade scenario, do you want to collect old database and log files? [y/n] y
If this is an install scenario, do you want to collect installation lzgs? [y/n] y
Answer y or n based on your preferences.
- This script collects system information and OpsCenter configuration information based on your preferences. It then compresses all this information in a file that is called
Support.zip. You can use OpsCenter and run the support script in the background.Note:
Adding log files and OpsCenter database files can increase the file size of the resulting
Support.zipfile. - The
Support.zipfile is stored in the following directory:INSTALL_PATH\OpsCenter\server\temp\support
To gather troubleshooting data for OpsCenter Agent on Windows
- Run the following command to execute the support script for OpsCenter Agent:
INSTALL_PATH\OpsCenter\Agent\bin\opsCenterAgentSupport.bat
Note:
This is the default directory location on Windows computers.
- The script stops the OpsCenter Agent service and then collects the OpsCenter Agent logs. It then collates this information in a
Support.zipfile. - This
zipfile is stored in the following directory:INSTALL_PATH\OpsCenter\Agent\temp\support
- After the
Support.zipfile is created, the script starts the OpsCenter Agent service.
To gather troubleshooting data for the OpsCenter Server on UNIX
- Run the following commands to execute the support scripts for OpsCenter Server:
<INSTALL_PATH>/SYMCOpsCenterServer/bin/opsCenterSupport.sh
- The script then prompts the following questions:
Do you want to collect configuration files? [y/n] y
Do you want to collect application log files? [y/n] y
Do you want to collect OpsCenter GUI <147> log files? [y/n] y
Do you want to collect OpsCenter Server <148> log files? [y/n] y
Do you want to collect db log files? [y/n] y
Do you want to collect WebServer log files? [y/n] y
Do you want to collect setEnv file? [y/n] y
Do you want to collect database files? [y/n] y
If this is an upgrade scenario, do you want to collect old database and log files? [y/n] y
If this is an install scenario, do you want to collect installation logs? [y/n] y
Answer y or n based on your preferences.
- This script collects system information and OpsCenter configuration information based on your preferences. It then collates all this information in a
support.zipfile. You can use OpsCenter and run the support script in the background.Note:
Adding log files and OpsCenter database files can increase the file size of the resulting support.zip.
- The
support.zipfile is stored in the following directory:<INSTALL_PATH>/SYMCOpsCenterServer/temp/support