Networker

Re: [Networker] How best to script re-labeling tapes ...

2007-10-01 02:18:08
Subject: Re: [Networker] How best to script re-labeling tapes ...
From: A Darren Dunham <ddunham AT TAOS DOT COM>
To: NETWORKER AT LISTSERV.TEMPLE DOT EDU
Date: Mon, 1 Oct 2007 06:13:23 +0000
On Sun, Sep 30, 2007 at 11:03:18PM +0100, Davina Treiber wrote:
> MIchael Leone wrote:
> > I run NW 7.3.2jumbo on Win2003, with a HP SDLT320 tape library (48 slots, 
> > 4 drives). I'd like to write a script to re-label only certain tapes 
> > (i.e., if a tape in any slot is in pool CLONE and the mode is RECYCLEABLE, 
> > I want to re-label that tape, keeping it in the same pool. But not 
> > re-label a tape in pool CLONE that is APPENDABLE).
> > 
> > I've searched, but don't seem to see a way to automate this, because I 
> > would need to query NetWorker for the mode and pool of each tape in each 
> > slot, so there would be no user interaction required. Can anyone provide 
> > clues or pointers to how I might be able to accomplish this? (if it can be 
> > done, that is)
> 
> Why would you want to do this? The recyclable tapes will be relabelled
> when they are needed, there is no need to do this manaully.

I've had sites do this before to create a 'scratch' pool.  It wasn't
directly useful for Networker's behavior, but they liked being able to
see all expired tapes appear in a single pool rather than scattered.  Of
course you lose the ability to read from the tape later (this can be
good or bad).  

-- 
Darren Dunham                                           ddunham AT taos DOT com
Senior Technical Consultant         TAOS            http://www.taos.com/
Got some Dr Pepper?                           San Francisco, CA bay area
         < This line left intentionally blank to confuse you. >

To sign off this list, send email to listserv AT listserv.temple DOT edu and 
type "signoff networker" in the body of the email. Please write to 
networker-request AT listserv.temple DOT edu if you have any problems with this 
list. You can access the archives at 
http://listserv.temple.edu/archives/networker.html or
via RSS at http://listserv.temple.edu/cgi-bin/wa?RSS&L=NETWORKER