How can i make tunning to bpdjobs?
Updated: 22 May 2010 | 6 comments
I need to monitor performance but I cannot use GUI, so I want to ask if someone knows anything about scripts or an easy way to do this.
I just can use comman line.
There are a lot of backups and I do not need all the information printed by the commands sometimes.
I wish you could help me.
Note: If you can use spanish ti would be better, but it is not necessary.
Thanks!
Message Edited by Armando Saavedra on 07-03-200709:18 AM
Discussion Filed Under:
Comments
In addition to David's reply, here's an example of parameters you can add to the bp.conf file -
# The following added so as to tune the fields reported when using 'bpdbjobs -report' command..
BPDBJOBS_COLDEFS = JOBID 5 true
# Added 'Type' field so as to enable 'Duplicate' jobs spawned by Disk Staging, to appear in 'bpdbjobs -report'..
BPDBJOBS_COLDEFS = TYPE 10 true
BPDBJOBS_COLDEFS = STATE 10 true
BPDBJOBS_COLDEFS = STATUS 5 true
BPDBJOBS_COLDEFS = POLICY 20 true
BPDBJOBS_COLDEFS = SCHEDULE 25 true
BPDBJOBS_COLDEFS = CLIENT 20 true
BPDBJOBS_COLDEFS = STARTED 25 true
BPDBJOBS_COLDEFS = ELAPSED 10 true
BPDBJOBS_COLDEFS = ENDED 25 true
BPDBJOBS_COLDEFS = KILOBYTES 10 true
BPDBJOBS_COLDEFS = FILES 10 true
BPDBJOBS_COLDEFS = COMPLETION 5 true
# Added 'KBytes/sec' field.
BPDBJOBS_COLDEFS = KBPERSEC 6 true
Here's an example extract from 'bpbdjobs -report' -
Thu Jul 5 10:20:01 BST 2007
JobID Type State Statu Policy Schedule Client Started Elapsed Ended Kilobytes Files Compl KB Per
308574 Backup Done 0 CL_dummy_job SCH_ORACLEDB tmpserver 07/05/07 10:16:02 000:00:25 07/05/07 10:16:27 11051 1 100 23314
308573 Backup Done 0 CL_dummy_job SCH_ORACLEDB tmpserver 07/05/07 10:15:16 000:00:22 07/05/07 10:15:38 4132 1 100 21298
308572 Backup Done 0 CL_dummy_job SCH_ORACLEDB tmpserver 07/05/07 10:09:40 000:05:05 07/05/07 10:14:45 5962719 1 100 23557
308571 Backup Done 0 CL_dummy_job SCH_ORACLEDB tmpserver 07/05/07 10:06:33 000:02:38 07/05/07 10:09:11 725476 1 100 15574
308570 Backup Done 0 CL_dummy_job DailyFull tmpserver 07/05/07 10:05:42 000:10:53 07/05/07 10:16:35 0 100
Message Edited by Richard Bannister on 07-05-200703:42 AM
Browse to:
HKEY_LOCAL_MACHINE\Software\VERITAS\NetBackup\CurrentVersion\Config
Add a REG_MULTI_SZ value named:
CLIENT 20 true
KILOBYTES 12 true
STARTED 20 true
SCHEDULE 20 true
ELAPSED 20 true
BPDBJOBS_COLDEFS = KILOBYTES 12 YES
BPDBJOBS_COLDEFS = STARTED 20 YES
BPDBJOBS_COLDEFS = SCHEDULE 20 YES
BPDBJOBS_COLDEFS = ELAPSED 20 YES
BPDBJOBS_COLDEFS = POLICY 20 YES
BPDBJOBS_COLDEFS = PATHNAME 99 YES
I like that "bpdbjobs -autorefresh -stay_alive" command...
Yet..... The columns need to be widened....
Is there a way to do this?
Joe Despres
Would you like to reply?
Login or Register to post your comment.