NBU Linux Logs
Enterprise support have requested the following logs.
First time gathering logs from a UNIX client, could someone please explain how I can obtain the below?
Checked the /usr/openv/netbackup/logs/ directory but it appears to be empty.
Logs Needed:
Client: bpbkar, nbostpxy, bpcd, pbx. Service restart needed after enabling the debug logs.
Media: pbx, bpdm, bptm, bpcd
Master: pbx
To enabled pbx logging please run below command:
vxlogcfg -a -p 51216 -o 103 -s DebugLevel=6 -s DiagnosticLevel=6.
Log location: Unix
/opt/VRTSpbx/log
Windows: install_path\VxPBX\log
Detailed job status for the failed backup job.
Thanks,
https://www-secure.symantec.com/connect/articles/quick-guide-setting-logs-netbackup
Just create the dir under netbackup/logs for the process you want to get the logs for.
eg. /usr/openv/netbackup/logs/bpbkar
YOu'll need to restart the NBU processes for the change to be picked up, but also first add VERBOSE = 5 into bp.conf to increase the verbose level.
Apart from PBX, which is a unified log.
Debug/ Diag 6 is wrong for PBX, it has a max log level of 10 which is the default
The level set can be checked with /opt/VRTSpbx/bin/pbxcfg -p
It can be changed with /opt/VRTSpbx/bin/pbxcfg -s -l <level>
It can be viewed with
/usr/openv/netbackup/bin/vxlogview -p 50936 -o 103 -t 1:00:00
(this wouold display the last 1 hour, relative to when the command is run)