Veritas-bu

[Veritas-bu] Moving tapes into scratch pool

2003-03-14 07:17:43
Subject: [Veritas-bu] Moving tapes into scratch pool
From: jerome.bauwens AT steria DOT com (jerome bauwens)
Date: Fri, 14 Mar 2003 13:17:43 +0100
Here is part of a script which will do it but you might need to wrap up some
things (Too much french in my other script).


############################################################################
#####################
/usr/openv/volmgr/bin/vmquery -pn VP_SCRATCH | grep "media ID:" |
cut -c23-29 | sort > /tmp/liste_vp_scratch

#boucle sur les media available
for i in `/usr/openv/netbackup/bin/goodies/available_media | grep
"AVAILABLE" | cut -c1-6`
do
        grep $i /tmp/liste_vp_scratch
        #si media dans la liste
        if [ $? -eq "0" ]
        then
                echo "Tape already in VP_SCRATCH"

        #sinon mettre le media dans vp_scratch
        else
                echo $i
                echo "Mise en place dans VP_SCRATCH"
                echo
"*************************************************************************"
                /usr/openv/volmgr/bin/vmchange -M zeus -p 5 -m $i
                echo "Tape $i put in VP_SCRATCH"
        fi
done
############################################################################
#####################

----- Original Message -----
From: Timothy Arnold <timothy.arnold AT becta.org DOT uk>
To: <veritas-bu AT mailman.eng.auburn DOT edu>
Sent: Friday, March 14, 2003 10:31 AM
Subject: [Veritas-bu] Moving tapes into scratch pool


> Hi,
>
> (Solaris 8, Netbackup 3.4.1.)
>
> I am working on creating scripts for our operators to move tapes in and
out
> of the library. At present, when we reinventory the library, the tapes are
> put in to the pool they were taken from even though they have expired. How
> do I automatically put them in the ScratchPool that I can defined? Is
there
> a vmupdate argument?
>
> Also, what do people think of a) Netbackup 4.5 and b) BPVault. The new
> financial year is coming up and I propose that we upgrade to Netbackup
V4.5
> and purchase BPVault for offsite duplication.
>
> Thanks,
> Timothy.
>
>
> --
> Timothy Arnold, Systems Support Officer, Internet Services,
> Becta, Coventry, CV4 7JJ, UK                      Voice: +44 24 7684 7169
> email: timothy.arnold AT becta.org DOT uk                Fax:   +44 24 7641 
> 1418
>
>
>
> **********************************************************************
> This email and any files transmitted with it are confidential and
> intended solely for the use of the individual or entity to whom they
> are addressed. If you have received this email in error please notify
> the system manager.
> This footnote also confirms that this email message has been swept by
> MIMEsweeper for the presence of computer viruses.
> www.mimesweeper.com
> **********************************************************************
>
> _______________________________________________
> 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>