Understanding NBU job schedulling
Created: 08 Apr 2012 | 6 comments
Hi,
I need create a shell script to verify all NBU jobs, if they was well done, or finish with error > 0,1.
Is there any manual showing how NBU schedule works ?
undefined
Discussion Filed Under:
Comments 6 Comments • Jump to latest comment
The manuals cover how to get jobs run, for example, using calebdar or freqency based scheduling. There are no manuals explaining how the scheduler works 'under the covers' - additionally the scheduler (how a job starts) has no relation to how it finishes.
In the dir - /usr/openv/netbackup/db/jobs/trylogs there ae files that are named by the jobid. These files contain very similar information as you would see in the 'Details tab' of activity monitor for the job - this is probably the easiest way to find the job status.
Other options:
Ops center - there is a free version available.
bpbdjobs command (command line version of activity monitor)
nbjm log
Martin
Crude methiod would be:
All jobs finished with status 0
bpdbjobs | awk '$4 == 0'
all jobs NOT finished with status 0
bpdbjobs | awk '$4 != 0'
Can I use Opscenter in command line ?
>> Can I use Opscenter in command line ?
No I do not believe so. It is a web based GUI for reports.
OpsCenter 7.1 Administrators Guide
http://www.symantec.com/business/support/index?pag...
Opscenter goes on a separate machine. A Windows machine is normally the easiest. Works on Solaris too.
OpsCenter is a Web-based GUI. You connect to it using Internet Explorer or FireFox. Trust me, there are things that just work better using a GUI. I have no idea how you manage/monitor your backups without Activity Monitor.
I have been wondering why you are trying to manage everything from cmd. Why not load the Java console on a desktop/laptop? You only need vnetd and pbx (13724 & 1556) ports to been open between your desktop and the master.
You did not mention which scheduler you are using. I have posted David Chapa's article about Frequency scheduling over here: https://www-secure.symantec.com/connect/articles/n...
Supporting Storage Foundation and VCS on Unix and Windows as well as NetBackup on Unix and Windows
Handy NBU Links
OpsCenter or on the master server
where $h is how long ago you want the report to start from.
/usr/openv/netbackup/bin/admincmd/bperror -U -backstat -hoursago $h -by_statcode
I don't have to know how to spell....I work on Unix.
NetBackup 7.0.1 - AIX & Windows
Would you like to reply?
Login or Register to post your comment.