ADSM-L

Re: Checkin libvol swap operand

2000-03-17 08:12:53
Subject: Re: Checkin libvol swap operand
From: Larry Way <Larry.Way AT TRW DOT COM>
Date: Fri, 17 Mar 2000 05:12:53 -0800
I also did some testing with this.  There is only one problem I see left 
though, I ran the same test as you and got same results.  I also ran a test 
with a new tape that was not labelled and the checkin process failed because 
tape header could not be read.  I have reported this.

Regards

Larry Way
SL09/100D
408-743-4242  Voice
408-690-2327  Cell
408-743-4201  Fax

>>> steveh AT WESLEY.COM DOT AU 03/16/00 04:00PM >>>
Thanks Steve and Larry.

After playing a bit I found that

1. You can't use search=bulk with swap=yes, you must specify a volume serial
2. You can't use checkl=barcode, you can only use yes or no.  I suppose that
makes sense because the library won't mount the wrong tape for you anyway, but
it is a little confusing.
3. The process selects a volume and checks it out, Prompts for you to remove the
selected volume with a reply.  The checkin process then resumes and prompts for
the volume to be loaded.

Here's an edited actlog

03/17/00 09:18:02     ANR2017I Administrator STEVEH issued command: CHECKIN libv
 3575lib1 02d161 status=pri checkl=no swap=yes
03/17/00 09:18:02     ANR0984I Process 118 for CHECKIN LIBVOLUME started in the
BACKGROUND at 09:18:02.
03/17/00 09:18:02     ANR8422I CHECKIN LIBVOLUME: Operation for library 3575LIB1
 started as process 118.
03/17/00 09:18:02     ANR8314E Library 3575LIB1 is full.
03/17/00 09:18:02     ANR8316E Selecting swap volume to be checked out of
library 3575LIB1.
03/17/00 09:18:02     ANR0984I Process 119 for CHECKOUT LIBVOL started in the
BACKGROUND at 09:18:02.
03/17/00 09:18:02     ANR8434I CHECKOUT LIBVOL: Operation for volume 039B70 in
library 3575LIB1 started as process 119.
03/17/00 09:18:15     ANR8322I 023: Remove 3570 volume 039B70 from entry/exit
port of library 3575LIB1; issue 'REPLY' along with the request ID when ready.

03/17/00 09:19:45     ANR2017I Administrator STEVEH issued command: REPLY 23
03/17/00 09:19:45     ANR8499I Command accepted.
03/17/00 09:19:45     ANR8438I CHECKOUT LIBVOLUME for volume 039B70 in library
3575LIB1 completed successfully.
03/17/00 09:19:45     ANR0985I Process 119 for CHECKOUT LIBVOL running in the
BACKGROUND completed with completion state SUCCESS at 09:19:45.

03/17/00 09:19:45     ANR8323I 024: Insert 3570 volume 02D161 R/W into
entry/exit port of library 3575LIB1 within 60 minute(s);
                issue 'REPLY' along with the request ID when ready.
03/17/00 09:20:47     ANR2017I Administrator STEVEH issued command: REPLY 024
03/17/00 09:20:47     ANR8499I Command accepted.
03/17/00 09:20:52     ANR8427I CHECKIN LIBVOLUME for volume 02D161 in library
3575LIB1 completed successfully.


Regards

Steve Harris

AIX/ADSM/Oracle/HACMP Guy
The Wesley Hospital, Brisbane Australia







Steven P Roder <tkssteve AT REXX.ACSU.BUFFALO DOT EDU> on 17/03/2000 01:20:35

Please respond to "ADSM: Dist Stor Manager" <ADSM-L AT VM.MARIST DOT EDU>








 To:      ADSM-L AT VM.MARIST DOT EDU 

 cc:      (bcc: Steve Harris/Wesley)



 Subject: Re: Checkin libvol swap operand



Fax to:




On Thu, 16 Mar 2000, Larry Way wrote:
> You now have confused me ..What happened when you can with swap=yes and
search=yes ?

I don't think we ever used this combo of options.  Since we are always
checking in a specific tape for a restore, the operators just cut-n-paste
the volser into the command below.  Note that the swap=yes option does not
exactly work the way you might expect it to.  If the library is full, it
will checkout a tape, but the checkin process then ends, and you must
reissue the command to checkin the tape(s).  We have not used it in a long
time, so perhaps things have changed.

The best way to get a handle on this is to go to your library, and "Just
do it!".

Good luck....

> Actually, we have used swap=yes here successfully.  I am wondering,
> though, if the search=bulk is perhaps not allowed with swap=yes.  Try it
> this way once:
>
> checkin libvol 3575lib1 volser status=private checkl=barcode swap=yes
>
> Note too, that ADSM will first swap out a scratch tape, and if no scratch
> tapes are in the library, then it will swap out the least frequently
> mounted tape, which perhaps is not what you want.
>
> Doing it the way Larry says may make more sense, as you can decide what
> tapes to remove.  I do it that way here, as I do not want my scratch tapes
> being removed.  I usually create a "q vol f=d" macro from q libvol, and
> checkout the tapes with the oldest "Approx. Date Last Written:" values.
>
>
> > Hi all,
> >
> > I'm struggling with a full 3575 library, and tried to use the swap operand
of
> > the checkin libvol command to add some required tapes, but I got
> >
> > adsm> checkin libvol 3575lib1 search=bulk status=private checkl=barcode
swap=yes
> >
> > ANR2020E CHECKIN LIBVOLUME: Invalid parameter - SWAP.
> > ANS8001I Return code 3.
> >
> > using the windows admin client v 3.1.0.7
> >
> > I've never used this operand before.  Is anyone using it successfully? on a
> > 3575?
> >
> > Steve.
> >



Steve Roder, University at Buffalo
VM Systems Programmer
UNIX Systems Administrator (Solaris and AIX)
ADSM Administrator
(tkssteve AT buffalo DOT edu | (716)645-3564 | 
http://ubvm.cc.buffalo.edu/~tkssteve)







===========================================
This email message has been swept by MIMESweeper
at The Wesley Hospital
===========================================
<Prev in Thread] Current Thread [Next in Thread>