[Veritas-bu] script
2002-03-01 11:09:28
I don't have one, but I think you could probably piece one together from the
scripts on my site.
Or work with this idea:
# Find media written to in the last X hours
bpimagelist -A -media -hoursago $X -U | tail +3 | while read id date time
srvr
do
bpmedia -freeze -ev $id -h $srvr
vmchange -res -m $id -mt $DENSITY -rt none -e -sec 1
done
That should be the basics you need, now all you need to do is put in the
reporting stuff :-)
David
<><><><><><><><><><><><><><><><><><><><>
David A. Chapa
NetBackup Consultant
DataStaff, Inc.
http://www.consulting.datastaff.com
847 413 1144
---------------------------------------
NBU-LSERV AT datastaff DOT com - Adv. Scripting
http://www.xbpadm-commands.com
-----Original Message-----
From: veritas-bu-admin AT mailman.eng.auburn DOT edu
[mailto:veritas-bu-admin AT mailman.eng.auburn DOT edu]On Behalf Of vidit kohli
Sent: Friday, March 01, 2002 2:38 PM
To: veritas-bu AT mailman.eng.auburn DOT edu
Subject: [Veritas-bu] script
Hi
Does anyone has any script or help writing, which can freeze or eject
media's for a particular pool daily
vidit
_________________________________________________________________
Chat with friends online, try MSN Messenger: http://messenger.msn.com
_______________________________________________
Veritas-bu maillist - Veritas-bu AT mailman.eng.auburn DOT edu
http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu
|
|
|