Veritas NetBackup™ Logging Reference Guide
- Using logs
- About unified logging
- About legacy logging
- About global logging levels
- Troubleshooting error messages in the NetBackup Administration Console
- 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
- Snapshot technologies
- Locating logs
- Java-based administration console logging
Configuring and gathering logs when troubleshooting Java GUI issues
Once installed, the log levels for the Java-based administration console are configured to gather a detailed set of logs.
The NetBackup Java GUI uses the Debug.properties
file to determine which logging level to use.
On UNIX systems, the file is: /usr/openv/java/Debug.properties
On Windows systems, the file is: install_dir\VERITAS\Java\Debug.properties
Specifically, the following settings are tuned to enable additional logging:
printcmds=true debugMask=0x00040000
Gather the following Java console logs from the following pre-existing log directories on the system from which the GUI was started:
UNIX:
/usr/openv/netbackup/logs/user_ops/nbjlogs
Windows:
install directory\netbackup\logs\user|ops\nbjlogs
On the master server, log in through the Java-based 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
Edit the
/usr/openv/netbackup/bp.conf
file by adding 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 nbatd (OID 18) and nbsl (OID 132) logging. 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/time)
For Windows: install_dir\VERITAS\pbx\log