Veritas-bu

Re: [Veritas-bu] Individual backup status emails (UNCLASSIFIED)

2008-05-30 14:40:13
Subject: Re: [Veritas-bu] Individual backup status emails (UNCLASSIFIED)
From: "Shockey, David A CTR USA" <david.a.shockey AT us.army DOT mil>
To: <Veritas-bu AT mailman.eng.auburn DOT edu>
Date: Fri, 30 May 2008 13:28:29 -0500
Classification:  UNCLASSIFIED 
Caveats: NONE

This may be a little off track but in the same vein...

We are using NB to backup SAP databases.  NB interfaces to the database
thru SAP brtools and rman.  Brtools creates a extensive and detailed log
of the database backup so we use a perl script to pick out the messages
that we are interested in and then email the reduced log to SAP admins.


If anyone else is doing something similar and is interested, I can post
the script.

-----Original Message-----
From: veritas-bu-bounces AT mailman.eng.auburn DOT edu
[mailto:veritas-bu-bounces AT mailman.eng.auburn DOT edu] On Behalf Of Mark
Glazerman
Sent: Friday, May 30, 2008 9:15 AM
To: Jeff Lightner; VERITAS-BU AT mailman.eng.auburn DOT edu
Subject: Re: [Veritas-bu] Individual backup status emails

Thanks Jeff,

 

We used to have a similar cron job which would dump all non 0 status
messages into a file which printed every morning.  It was more for SOX
compliance than anything else.  Now we just file all of our non 0 backup
emails in an archive folder after we've gone through any errors from the
previous night.  As I mentioned in my earlier reply, the email
notifications are flaky to say the least and just last night, we stopped
getting emails regarding the catalogs again.  We receive catalog emails
even if the catalog runs successfully and we use that as a pretty good
check that NBU is running OK.  I checked this morning and all emails
reporting successful backups have been received as normal but catalog
backup confirmations stopped dead at just after 6pm.  A quick check of
the admin console this morning confirms that everything ran (including
the catalogs) but no emails !!

 

Mark Glazerman

Desk: 314-889-8282

Cell: 618-520-3401

P please don't print this e-mail unless you really need to

 

From: Jeff Lightner [mailto:jlightner AT water DOT com] 
Sent: Friday, May 30, 2008 9:06 AM
To: Mark Glazerman; VERITAS-BU AT mailman.eng.auburn DOT edu
Subject: RE: [Veritas-bu] Individual backup status emails

 

The daily backup status report is one we generate at 9 AM ever day via a
cron entry.

00 9  * * * /root/scripts/status.sh

 

The script the cron job runs is:

#!/bin/sh

# Shell to generate BR status report and mail to admins

 

echo "Subject: Atubks01 Backup Status Report" > /tmp/status

/usr/openv/netbackup/bin/admincmd/bperror -U -backstat -s info >>
/tmp/status

/usr/bin/mail user1 AT ourdomain DOT com,user2 AT ourdoamin DOT com < 
/tmp/status

 

^^^END OF SCRIPT^^^

 

Of course you can add as many recipients at you want and I've obfuscated
our real ones to prevent spam.   This is running on HP-UX 11.11 (a/k/a
11i v1)

 

The report we get gives us the exit status of all the jobs run in the
last 24 hours both 0 and non-zero exit status.  Its good for a quick
glance in the morning to see if anything has gone horribly wrong. 

 

The individual emails are better for seeing things pop up throughout the
day.

________________________________

From: Mark Glazerman [mailto:Mark.Glazerman AT spartech DOT com] 
Sent: Thursday, May 29, 2008 4:40 PM
To: Jeff Lightner; VERITAS-BU AT mailman.eng.auburn DOT edu
Subject: RE: [Veritas-bu] Individual backup status emails

 

Jeff,

 

We've seen some strange stuff going on with our email notifications too.
For about 3 days we didn't get any catalog notifications and then all of
a sudden they started up again.  As far as we know we are getting all
the non 0 failure notifications too.  Luckily we don't have a huge
backup environment so it's easy to check that the failures in the admin
console match with the emails we receive and vice versa.

 

I'm interested to know what you mean by the daily full status report ?
Is this something new in 6.5 that shows an overall picture of the
previous nights backups ?  How do you activate that feature ?

 

Mark Glazerman

Desk: 314-889-8282

Cell: 618-520-3401

P please don't print this e-mail unless you really need to

 

From: veritas-bu-bounces AT mailman.eng.auburn DOT edu
[mailto:veritas-bu-bounces AT mailman.eng.auburn DOT edu] On Behalf Of Jeff
Lightner
Sent: Thursday, May 29, 2008 7:38 AM
To: VERITAS-BU AT mailman.eng.auburn DOT edu
Subject: [Veritas-bu] Individual backup status emails

 

I've noticed since our upgrade to 6.5 that while we do get the
occasional individual non-zero status email for individual backups we're
obviously not getting them all.  

We are getting the daily full status report and as noted do get some of
the individual ones but I don't see a pattern to what we do get and
don't get.   

Has anyone seen this and if so did you figure out what it was?

Even though I was able to verify sendmail was working on the master by
generating mail at the command line I went ahead and bounced sendmail
yesterday.   However, this morning I can still see some items that had
non-zero exit which didn't send email.   

This NBU 6.5 on HP-UX 11.11.

----------------------------------
CONFIDENTIALITY NOTICE: This e-mail may contain privileged or
confidential information and is for the sole use of the intended
recipient(s). If you are not the intended recipient, any disclosure,
copying, distribution, or use of the contents of this information is
prohibited and may be unlawful. If you have received this electronic
transmission in error, please reply immediately to the sender that you
have received the message in error, and delete it. Thank you.
----------------------------------

Classification:  UNCLASSIFIED 
Caveats: NONE


_______________________________________________
Veritas-bu maillist  -  Veritas-bu AT mailman.eng.auburn DOT edu
http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu

<Prev in Thread] Current Thread [Next in Thread>