Saving the log files to a different location on Windows
Use the following procedures to save the log files for OpsCenter components in a different directory.
By default, OpsCenter writes VxUL logs to the following directories or files:
|
OpsCenter Server |
|
|
OpsCenter Agent |
|
|
OpsCenter View Builder |
|
To save the log files for OpsCenter Server in a different location
- Enter the following command to save log files to a different location:
INSTALL_PATH\OpsCenter\server\bin\vxlogcfg -a - p 58330 -o 148 -s LogDirectory="<New log directory location>"Note:
58330 is the OpsCenter product ID. 148 is the OID for OpsCenter Server.
- Select Control Panel > Administrative Tools > Services and stop the Veritas OpsCenter Server Service.
- Select Control Panel > Administrative Tools > Services and start the Veritas OpsCenter Server Service.
To save the log files for OpsCenter Agent in a different location
- Enter the following command to save log files to a different location:
INSTALL_PATH\OpsCenter\Agent\bin\vxlogcfg -a - p 58330 -o 146 -s LogDirectory="<New log directory location>"
Note:
58330 is the OpsCenter product ID. 146 is the OID for OpsCenter Agent.
- Select Control Panel > Administrative Tools > Services and stop the Veritas OpsCenter Agent Service.
- Select Control Panel > Administrative Tools > Services and start the Veritas OpsCenter Agent Service.
To save the log files for OpsCenter web console in a different location
- Enter the following command to save log files to a different location:
INSTALL_PATH\OpsCenter\server\bin\vxlogcfg -a - p 58330 -o 147 -s LogDirectory="<New log directory location>"
Note:
58330 is the OpsCenter product ID. 147 is the OID for OpsCenter web GUI.
- Select Control Panel > Administrative Tools > Services and stop the Veritas OpsCenter WebServer Service.
- Select Control Panel > Administrative Tools > Services and start the Veritas OpsCenter WebServer Service.