Veritas-bu

[Veritas-bu] Using CAP/Mailslot and Netbackup 3.4

2001-02-08 18:20:30
Subject: [Veritas-bu] Using CAP/Mailslot and Netbackup 3.4
From: Steve Quan sq01 AT yorku DOT ca
Date: Thu, 8 Feb 2001 18:20:30 -0500 (EST)
Yeah :) however, the only problem (for us anyway) is that it puts the
tapes into *any* available (empty) slots, and we have a requirement for
keeping some slots reserved for out of library recoveries etc. We script
around "vmchange -i -rc1 <freeslotLocation> -m <volser>".

I'm still looking for the command to add new tapes via the CAP. I'd hoped
that vmadd with a "-i" would do, but I was forced to use vmadd to put in
the database, then vmchange to inject to some free slot.

/Steve
---
On Thu, 8 Feb 2001, Donaldson, Grant wrote:

>       With regards to auto-injecting tapes, we are utilizing the following
> command from within the  /usr/openv/netbackup/vault/production  directory
> that works great:
> 
> > ./vmupdate -rn 0 -rt tld -use_barcode_rules -empty_ie
> > 
>       We are utilizing an STK 9740 Tape Library with a 14 slot CAP. I got
> this command from the following e-mail to this list:
> 
> 
> 
> >             From:   Brian Blake[SMTP:bblake AT veritas DOT com]
> >             Sent:   July 12, 2000 12:33 AM
> >             To:     Henschell, John
> >             Cc:     'bpvault AT veritas DOT com'
> >             Subject:        Re: New tapes not using the bar-code rule
> > set
> > 
> >             John,
> > 
> >             If you wish to use barcode rules when injecting, you need to
> > do one of two
> >             things.
> > 
> >             Check out the Vault SysAdm Guide... Procedures - Misc, I
> > believe... it
> >             describes how to modify bpinject so as to use the barcode
> > rules.
> > 
> >             Or, you could use the following command:
> > 
> >             /usr/openv/volmgr/bin/vmupdate -rn <robot-number> -rt
> > <robot-type> -empty_ie
> >             -use_barcode_rules
> > 
> >             That will empty the CAP and also use the barcode rules for
> > any new media. This
> >             is what we will be replacing bpinject with in future
> > versions of bpvault.
> > 
> >             Regards,
> > 
> >             Brian
> > 
> > 
> > ----------
> > From:       RYAN ANDERSON[SMTP:RYAN_ANDERSON AT udlp DOT com]
> > Sent:       Thursday, February 08, 2001 4:38 PM
> > To:         David Stringer
> > Cc:         veritas-bu AT Eng.Auburn DOT EDU
> > Subject:    Re: [Veritas-bu] Using CAP/Mailslot and Netbackup 3.4
> > 
> > David Stringer wrote:
> > > 
> > > Hi People,
> > > 
> > > We are using Netbackup 3.4 and a StorageTek 9740 tape library. There
> > > doesn't seem to be anyway through the netbackup gui to add/remove tapes
> > > to the library through the 12 tape CAP/mailslot on the library. Would
> > > there be anyscripts that would accomplish this, or is anyone aware of
> > > how to do it through the gui ?
> > > 
> > > Thanks,
> > > David Stringer
> > > std AT telusplanet DOT net
> > 
> > I believe the answer you are looking for is how to simply add in tape. 
> > From Media Manager do Actions --> New --> Single Volume --> (Choose type
> > of media and type of library), then a new GUI will come up: Give tape
> > the correct pool, slot, etc, then click the YES radio button for 'Inject
> > via Mailslot?' , click 'OK' and wah-la.
> > 
> > NOTE: Put the order of tapes you are going to add from top to bottom!
> > The first one you add in may be tape 000001, but if HIU046 is in the top
> > slot, it will grab it instead.
> > 
> > You can choose the add multiple volumes, but you then have to go back
> > and physically add in the tapes afterwards (at least in 3.2).  Scripting
> > the ejection of tapes is pretty easy and straightforward with:
> > 
> > vmchange -res -m <media id> -mt dlt -e
> > 
> > Injecting them *may* be possible (and undocumented) with vmchange, but I
> > don't know.
> > 
> > 
> > RCA
> > --
> > Ryan C. Anderson        |   United Defense L.P.    
> > Unix Administrator      |   763.572.6684 (desk)
> > ryan_anderson AT udlp DOT com  |   952.235.9936 (pager)
> > _______________________________________________
> > Veritas-bu maillist  -  Veritas-bu AT mailman.eng.auburn DOT edu
> > http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu
> > 
> _______________________________________________
> Veritas-bu maillist  -  Veritas-bu AT mailman.eng.auburn DOT edu
> http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu
>