How to use vomgather utility to gather logs for Veritas Operations Manager on Windows Server
|Article:TECH199764|||||Created: 2012-11-15|||||Updated: 2012-12-31|||||Article URL http://www.symantec.com/docs/TECH199764|
Requirement to collect VOM specific logs from VOM Central Server (CS) and/or Managed Host (MH). During troubleshooting, running the vomgather tool will create an archive of VOM specific configuration files and logs.
Various troubleshooting scenarios or as directed by a Technical Support Engineer.
Any supported Veritas Operations Manager version running on any supported Microsoft Windows Server.
Vomgather is a utility that can be executed from the command line interface that is included with Veritas Operations Manager (VOM) Central Management Server (CS) and Managed Host (MH) versions 4.0 and above. It gathers configuration files and log files that are specific to VOM and can be used to gather data from both the CS and an MH.
This is highly recommended as typically a vomgather troubleshooting archive are required when resolving VOM-related issues. Since the function of displaying information in the VOM GUI is the result of mechanisms at the MH and CS, it is recommended this utility be run on both MH and CS.
There are two options as described below for running the vomgather utility, manually or using the vomgather.cmd script provided by SORT.
1. To obtain the vomgather manually:
The perl script is included Windows and is located in the following directories:
cd C:\Program Files\Veritas\VRTSsfmh\adm\
perl vomgather.pl --dir <output_directory>
Note: The above command assumes perl.exe is in the PATH statement for execution.
C:\Program Files\Veritas\VRTSsfmh\adm> "c:\Program Files\Veritas\VRTSsfmh\bin"\perl.exe vomgather.pl --dir C:\vomgather.d
The output file, vom_backup_win_4.0.1097.0.tar.gz for Windows, will be generated in the directory specified on the command line ( --dir <output_directory> ). In the examples above the output directory is specified as C:\vomgather for Windows.
2. How to use the vomgather.cmd script to obtain vomgather
Copy the vomgather.cmd to the desktop of the server, and run the file (please note on some systems right clicking on the file and run as administrator). Please note the script output directory will be c:\vomgather\vom_<Servername>_<4 digit random number>.tar,gz
If a case has already been opened with Symantec Technical Services, the vomgather output file should be renamed to include the existing eight (8) digit case number and if it is the CS or MH such as:vom_backup_win_4.0.1097.0_########_MH.tar.gz.
In versions 4.x, the VOM database is automatically collected from the CS. This may sometimes inflate the size of the vomgather archive. In version 5.0, a HotFix is available to replace vomgather with a new version that will not collect the database by default (HF050001960-05). Subsequent versions will include this fix.
This HotFix is available at the SORT website at: http://sort.symantec.com
(direct link: https://sort.symantec.com/patch/detail/6930 )
(this is a Unix and Windows patch)
Article URL http://www.symantec.com/docs/TECH199764