Veritas-bu

[Veritas-bu] Help me, Obi-Wan. You are our only hope.

2003-05-14 09:21:44
Subject: [Veritas-bu] Help me, Obi-Wan. You are our only hope.
From: HFriedline AT Juniper DOT com (Friedline, Harold)
Date: Wed, 14 May 2003 09:21:44 -0400
If you are on a UNIX system you might try this in your shell script to
generate a list of media IDs with which to do something:

        for TAPE in `vmquery -l -pn <Pool Name> | awk '{print $1}'` ; do
          [eject routine goes here]
        done

The eject routine could be written using the expect scripting language and
the /usr/openv/volmgr/bin/robtest utility. Your mileage may vary.

I'm sure there are other methods for doing this and I'd love to hear them.  
  

-----Original Message-----
From: James Wood [mailto:jwood AT apa.qwest DOT net]
Sent: Tuesday, May 13, 2003 8:17 PM
To: Veritas
Subject: [Veritas-bu] Help me, Obi-Wan. You are our only hope.


I have been reading through the manuals, but cannot see a way to do this.

Can I eject media from a robot by pool name? I wish to script/cron this, and
am drawing a blank.
I have several pools that are backed up locally, and sent off to
IronMountain daily or weekly, depending. I wish to script these tasks, and
the pools are the only constant that seems feasible. I can not do it by
client, since the clients are also backed up on another schedule and kept
locally. (Different schedules, but highly redundant anyway).

Example:
Sent off daily;
pool1 pool2 pool3 pool4

Sent off weekly;
Pool5 pool6 pool7 pool8

Sent off bi-weekly;
pool9 pool10

I want to be able to eject, preferably by robot, each pool.

eject <robot#> <pool# or ID>
prompt "Empty the hopper on $robot"

Changing this process has proven to be impossible, or at least improbable on
a Herculean level.

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


_______________________________________________________ 

Juniper Bank 
www.juniper.com 
_______________________________________________________ 

This e-mail and any files transmitted with it may contain confidential
and/or proprietary information. It is intended solely for the use of the
individual or entity who is the intended recipient. Unauthorized use of this
information is prohibited. If you have received this in error, please
contact the sender by replying to this message and delete this material from
any system it may be on.