Bpdb2 for any backup or restore of the database

This preview shows page 126 - 130 out of 154 pages.

/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 126 Troubleshooting NetBackup for DB2 Enabling the debug logs manually (UNIX)
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 2 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. 3 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 4 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 . 127 Troubleshooting NetBackup for DB2 Enabling the debug logs manually (UNIX)
Enabling the debug logs manually (UNIX) To enable the debug logs manually 1 Create the following directories on the client: /usr/openv/netbackup/logs/bpbackup /usr/openv/netbackup/logs/bpbkar /usr/openv/netbackup/logs/bpdb2 /usr/openv/netbackup/logs/bpdbsdb2 /usr/openv/netbackup/logs/bphdb /usr/openv/netbackup/logs/bprestore /usr/openv/netbackup/logs/bpubsdb2 /usr/openv/netbackup/logs/dbclient /usr/openv/netbackup/logs/tar /usr/openv/netbackup/logs/bpdb2 chmod 777 /usr/openv/netbackup/logs/bpdb2 For example: cd /usr/openv/netbackup/logs mkdir bphdb 2 The user_ops , each of the log directories, and any subdirectories should have 777 permissions. They must exist and be accessible for the applications to operate correctly. For example: chmod 777 bphdb See “About permissions for NetBackup for DB2 log files (UNIX)” on page 24. 3 Enable logging for the nbpem , nbjm , and nbrb scheduling processes that use unified logging. NetBackup writes unified logs to /usr/openv/logs . You do not need to create log directories for processes that use unified logging. Information on how to use logs and reports is available. See the NetBackup Troubleshooting Guide . 128 Troubleshooting NetBackup for DB2 Enabling the debug logs manually (UNIX)
About the NetBackup for DB2 log files The following topics describe the logs that are created when you create the log directories. Use a text editor to view the contents of the logs.

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture