Veritas-bu

[Veritas-bu] netbackup DB inconsistency ?

2006-08-23 11:24:01
Subject: [Veritas-bu] netbackup DB inconsistency ?
From: tlewick at hrblock.com (Lewick, Taylor)
Date: Wed, 23 Aug 2006 10:24:01 -0500
Ha, that's pretty good.  See about 2 years ago, I opened a case with
NetBackup because we were having a lot of weird issues, and the support
guy said I bet you have database inconsistencies as a result of things
like media servers being decommissioned improperly, etc...

 

So he ran a consistency checker and sent me the output, and I said,
great, please send me the consistency checker as I would like to run it
from time to time.  He said, nope, its not out for public release, so I
said, fine, I'll write my own.  When I was done, I called them back,
asked them to run it and send me output, which they did, then I ran
mine, and the same tapes were listed exactly.  The output is slightly
different, from a look and feel...

 

Anywho, use whichever you want.  I named mine nbcc.pl for netbackup
consistency checker..  I think mine runs pretty quick, we have over 8000
media and it runs in about 60 - 90 seconds.  You should run it when
there is zero or little activity on the backup system, and you can catch
it when its doing cleanups, so I always run mine a couple of hours apart
to verify if everything is good.

 

But it helps, sometimes I find media that is assigned in volume and
media database but not in images, and verify with bpimmedia, so you can
vmquery -deassignbyid and bpexpdate those tapes...

 

 

________________________________

From: Major, Rusty [mailto:RMajor at vericenter.com] 
Sent: Wednesday, August 23, 2006 9:51 AM
To: Lewick, Taylor; Wessam Aly; veritas-bu at mailman.eng.auburn.edu
Subject: RE: [Veritas-bu] netbackup DB inconsistency ?

 

You need to use the Netbackup Catalog Consistency Utility (NBCC), found
here. It will run against all the databases and create reports. It
doesn't fix anything itself, but with this info and a case with Veritas,
you can get it fixed. Note, this only works on 4.5 - 5.1 environments.

 

http://seer.entsupport.symantec.com/docs/267965.htm

 

I'm actually just about to start the utility on one of my environments
myself.

 

-Rusty

 

________________________________

From: veritas-bu-bounces at mailman.eng.auburn.edu
[mailto:veritas-bu-bounces at mailman.eng.auburn.edu] On Behalf Of Lewick,
Taylor
Sent: Wednesday, August 23, 2006 9:43 AM
To: Wessam Aly; veritas-bu at mailman.eng.auburn.edu
Subject: Re: [Veritas-bu] netbackup DB inconsistency ?

I have a script that reports on media inconsistencies, I know it works
under 4.5 and 5.1, not sure about 6.0 because we aren't there yet...

 

________________________________

From: veritas-bu-bounces at mailman.eng.auburn.edu
[mailto:veritas-bu-bounces at mailman.eng.auburn.edu] On Behalf Of Wessam
Aly
Sent: Wednesday, August 23, 2006 9:17 AM
To: veritas-bu at mailman.eng.auburn.edu
Subject: [Veritas-bu] netbackup DB inconsistency ?

 

Hey all,

I have a mind boggling problem, I have a bunch of media which is the
following:

- when reports run on the pool, it is reported as protected for 1 year

- when i run bpexpdate on any media to expire it immediately, my system
reports that the media does not exist

- when i run media contents report of any of those media, i get a bunch
of backup IDs which do not show up in the "client backups" report

- when i run bpexpdate on the backup IDs themselves, i also get that no
backup ID exists with the ID i listed

- when i try to erase the media, NB says its assigned and cannot be
erased

What i am trying to do is delete these media and redefine them (as if
completely new) without changing their barcode IDs.

Any help will be greatly appreciated.

NB: Is there a utility or something which will fix inconsistencies
inside the database ? maybe and export/import thing which will
automatically do a "cleanup" of old/invalid/inconsistent entries ?

Regards,

Wessam Aly

Senior Systems Adminstrator


*******
IMPORTANT

Confidentiality: This e-mail communication and any attachments thereto
contain information which is confidential and are intended only for the
use of the individuals or entities named above. If you are not the
intended recipient, you are hereby notified that any disclosure,
copying, distribution or the taking any action in reliance on the
contents of these documents is strictly prohibited and may be illegal.
Please notify us of your receipt of this e-mail in error and delete the
e-mail and any copies of it.

Monitoring/Viruses: Mobinil may monitor all incoming & outgoing e-mails
in line with current legislation. Although we have taken steps to ensure
that this e-mail and attachments are free from any Virus, we advise that
in keeping with good computing practice the recipient should ensure they
are actually virus free.

The Egyptian Company for Mobile Services (Mobinil) 
www.mobinil.com
*******

-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
http://mailman.eng.auburn.edu/pipermail/veritas-bu/attachments/20060823/a1853d0b/attachment.html