bash-3.00# /usr/openv/netbackup/bin/admincmd/bpdbjobs -report|head -3
JobID Type State Status Policy Schedule Client Dest Media Svr Active PID FATPipe
42857 Backup Done 0 server1-db Differ server1 server1 26952 No
42856 Backup Done 0 server2-app Differ server2 server2 26600 No
42855 Backup Done 0 server3-all Differ server3 server3 26074 No
This allow you to write your own scripts which analyze what is going on with all the NBU jobs.
But you can also customize bpdbjobs output. If you want to add or remove particular commands you have to edit /usr/openv/netbackup/bp.conf file and add needed fields. In my case it was:
BPDBJOBS_COLDEFS = JOBID 7 true
BPDBJOBS_COLDEFS = PARENTJOBID 13 true
BPDBJOBS_COLDEFS = TYPE 7 true
BPDBJOBS_COLDEFS = STATE 5 true
BPDBJOBS_COLDEFS = STATUS 6 true
BPDBJOBS_COLDEFS = POLICY 8 true
BPDBJOBS_COLDEFS = SCHEDULE 8 true
BPDBJOBS_COLDEFS = CLIENT 8 true
BPDBJOBS_COLDEFS = DSTMEDIA_SERVER 14 true
BPDBJOBS_COLDEFS = ELAPSED 10 true
BPDBJOBS_COLDEFS = FILES 8 true
BPDBJOBS_COLDEFS = KBPERSEC 10 true
BPDBJOBS_COLDEFS = KILOBYTES 12 true
BPDBJOBS_COLDEFS = RETENTION 10 true
BPDBJOBS_COLDEFS = LASTBACKUP 18 true
This way you can display whatever you want to:
bash-3.00# /usr/openv/netbackup/bin/admincmd/bpdbjobs -report|head -3
JobID Parent JobID Type State Status Policy Schedule Client Dest Media Svr Elapsed Files KB Per Sec Kilobytes Retention Last Backup
42857 42834 Backup Done 0 server1 Differ server1 server1 000:03:23 21 80000 160 2 weeks 02/09/11 06:07:15
42856 42835 Backup Done 0 server2 Differ server2 server2 000:00:56 217 756 20544 2 weeks 02/09/11 06:10:34
No comments:
Post a Comment