Video Screencast Help
Search Video Help Close Back
to help

Understanding NBU job schedulling

Created: 08 Apr 2012 | 6 comments
Schwarzkopf's picture
0 0 Votes
Login to vote

 

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

Comments 6 CommentsJump to latest comment

mph999's picture

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

 

Regards,  Martin
 
Setting Logs in NetBackup:
http://www.symantec.com/docs/TECH75805
 
+1
Login to vote
  • Actions
revaroo's picture

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'

 
As mentioned above by mph999  Opscenter is the best solution.
 
 
 
0
Login to vote
  • Actions
Schwarzkopf's picture

Can I use Opscenter in command line ?

 
 

0
Login to vote
  • Actions
revaroo's picture

>> 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...

0
Login to vote
  • Actions
Marianne van den Berg's picture

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

0
Login to vote
  • Actions
J.H Is gone's picture

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

0
Login to vote
  • Actions