Enabling the debug logs manually (UNIX)
To create the NetBackup for DB2 for UNIX database agent logs manually
- Create the following directories on the client:
bpubsdb2
For any DB2 instance browse problems when a template is created for backup or restore.
/usr/openv/netbackup/logs/bpubsdb2
bphdb
For any backup that is initiated from an automated schedule on the master server.
/usr/openv/netbackup/logs/bphdb
bpdbsbdb2
For any template-based backup or restore.
/usr/openv/netbackup/logs/bpdbsbdb2
bpdb2
For any backup or restore of the database and or LOGARCHMETH2=VENDOR log backups.
/usr/openv/netbackup/logs/bpdb2
bpbkar
For any snapshot backup and or user-exit log backup.
/usr/openv/netbackup/logs/bpbkar
nbtar
For any snapshot restore and or user-exit log restore.
/usr/openv/netbackup/logs/tar
- Verify the user or group that the DB2 process (process that loads bpdb2) has appropriate permissions to write to the following directories if they exist. If the following directories do not exist, the directories are created automatically with the correct permissions.
/usr/openv/logs/user_ops
/usr/openv/logs/user_ops/dbext
/usr/openv/logs/user_ops/dbext/logs
Also verify that the user or group that the DB2 process runs as has appropriate permissions to write to the log directories in step 1.
- On the NetBackup server or servers, create the debug log directories for the legacy processes that interact with the DB2 agent.
On the master server:
/usr/openv/logs/bprd
On the media server or servers:
/usr/openv/logs/bpbrm
/usr/openv/logs/bptm
- The debug logs for unified processes on the server and the client hosts are created automatically by NetBackup.
NetBackup writes unified logs to /usr/openv/logs.
For information on how to use logs and reports, see the NetBackup Troubleshooting Guide.