Veritas NetBackup™ Logging Reference Guide
- Using logs
- Changing the logging levels
- About unified logging
- About legacy logging
- Backup process and logging
- Media and device processes and logging
- Restore process and logging
- Advanced backup and restore features
- Storage logging
- NetBackup Deduplication logging
- OpenStorage Technology (OST) logging
- Storage lifecycle policy (SLP) and Auto Image Replication (A.I.R.) logging
- NetBackup secure communication logging
- NetBackup proxy helper logging
- NetBackup proxy tunnel logging
- Snapshot technologies
- Locating logs
- NetBackup Administration Console logging
- Using the Logging Assistant
Configuring and gathering logs when troubleshooting NetBackup Administration Console issues
After the NetBackup Administration Console is installed, the log levels are configured to gather a detailed set of logs.
The NetBackup Administration Console uses the Debug.properties
file to determine which logging level to use:
/usr/openv/java/Debug.properties
install_dir\VERITAS\Java\Debug.properties
The following settings are tuned to enable additional logging:
printcmds=true debugMask=0x00040000
To increase the verbosity to max (which is recommended for troubleshooting), set debugMask to debugMask=0x00160000.
Gather the following NetBackup Administration Console logs from the following pre-existing log directories on the system from which the console was started:
UNIX:
/usr/openv/netbackup/logs/user_ops/nbjlogs
Windows:
install directory\netbackup\logs\user|ops\nbjlogs
On the master server, log on to the NetBackup Administration Console to create the
admin
,bpjava-msvc
,bpjava-susvc
, and bpjava-usvc log directories and enable VERBOSE 5 logging. You do not have to restart the NetBackup daemons for the logging level changes to take effect.For UNIX systems, create the following directories:
/usr/openv/netbackup/logs/admin
/usr/openv/netbackup/logs/bpjava-msvc
/usr/openv/netbackup/logs/bpjava-susvc
/usr/openv/netbackup/logs/bpjava-usvc
In the
/usr/openv/netbackup/bp.conf
file add the following lines:ADMIN_VERBOSE = 5 BPJAVA-MSVC_VERBOSE = 5 BPJAVA-SUSVC_VERBOSE = 5 BPJAVA-USVC_VERBOSE = 5
For Windows systems, create the following directories:
install_dir\VERITAS\NetBackup\logs\admin
install_dir\VERITAS\NetBackup\logs\bpjava-msvc
install_dir\VERITAS\NetBackup\logs\bpjava-susvc
install_dir\VERITAS\NetBackup\logs\bpjava-usvc
Update the Windows registry at DWORD:
and add the following entries of typeADMIN_VERBOSE = 5 BPJAVA-MSVC_VERBOSE = 5 BPJAVA-SUSVC_VERBOSE = 5 BPJAVA-USVC_VERBOSE = 5
Run the following commands to set up detailed logging for nbatd (OID 18) and nbsl (OID 132). OID 137 (NetBackup libraries) and OID 156 (CORBA/ACE) write to the caller that requires access to either the libraries or CORBA/ACE, as follows:
vxlogcfg -a -p NB -o 18 -s DebugLevel=6 vxlogcfg -a -p NB -o 132 -s DebugLevel=6 vxlogcfg -a -p NB -o 137 -s DebugLevel=6 vxlogcfg -a -p NB -o 156 -s DebugLevel=6
Gather the nbatd and nbsl logs located in the following directory paths:
For UNIX:
/usr/openv/logs/nbsl
/usr/openv/logs/nbatd
For Windows:
install_dir\VERITAS\NetBackup\logs\nbsl
install_dir\VERITAS\NetBackup\logs\nbatd
Finally, gather the PBX logs, as follows:
For UNIX: /opt/VRTSpbx/log (gather any logs that cover the current date and time)
For Windows: install_dir\VERITAS\pbx\log