ADSM-L

Re: Re-inserting tapes back from the vault.

1998-03-19 12:35:02
Subject: Re: Re-inserting tapes back from the vault.
From: Keenan D Stratton <stratkee AT GTI DOT NET>
Date: Thu, 19 Mar 1998 12:35:02 -0500
Andy,

Are the CMD, CMDFILENAME, and TOSTATE descriptions in AIX ADSM v2.1?  If so, 
what pages in the Admin Ref. guide?



On Thursday, March 19, 1998 10:20 AM, Andrew Raibeck [SMTP:storman AT US.IBM 
DOT COM] wrote:
| Hello Eric,
|
| I'm not certain, but I think CHECKIN LIBVOLUME with SEARCH=YES does not scan
| the entry/exit port. You would actually have to insert the tapes manually into
| empty slots, then issue the command.
|
| Alternatively, have you looked at the CMD and CMDFILENAME parameters of the
| MOVE DRMEDIA command? This can be used to build the CHECKIN LIBVOLUME commands
| for you automatically. For example, you can do something like this:
|
| MOVE DRMEDIA * WHERESTATE=VAULTRETRIEVE
|    TOSTATE=ONSITERETRIEVE
|    CMD="CHECKIN LIBVOLUME 3575LIB &VOL STATUS=SCRATCH"
|    CMDFILENAME="/usr/lpp/adsmserv/bin/checkin.mac"
|
| This will generate a file called /usr/lpp/adsmserv/bin/checkin.mac that
| contains CHECKIN LIBVOLUME commands for each tape. You can then issue the
| DSMADMC MACRO command using this file as input.
|
| Please consult the Administrator's Reference for more information on MOVE
| DRMEDIA and the CMD and CMDFILENAME options.
|
| Andy Raibeck
| IBM Storage Systems Division
| ADSM Client Development
| e-mail: storman AT us.ibm DOT com
|
|
|  ADSM-L AT VM.MARIST DOT EDU
|  03/19/98 04:08 AM
| Please respond to ADSM-L AT VM.MARIST DOT EDU @ internet
|
| To: ADSM-L AT VM.MARIST DOT EDU @ internet
| cc:
| Subject: Re: Re-inserting tapes back from the vault.
|
| Hi Andrew!
|
| Yes I did! This caused the following message:
|
| 17-03-1998 14:46:44  ANR8422I CHECKIN LIBVOLUME: Operation for library 3575LIB
|                       started as process 157.
| 17-03-1998 14:46:46  ANR8431I CHECKIN LIBVOLUME process completed for library
|                       3575LIB; 0 volume(s) found.
|
| ADSM issued this message without first checking the entry/exit port of the
| library!
| Am I doing something wrong? Should I first do the CHECKIN LIBVOLUME before I
| make the tapes scratch with the MOVE DRMEDIA command?
| Thank you very much for your reply Andrew!
| Kindest regards,
| Eric van Loon
|
| ----------
| From:   Andrew Raibeck
| Sent:   donderdag 19 maart 1998 12:42
| To:     ADSM-L AT VM.MARIST DOT EDU
| Subject:        Re: Re-inserting tapes back from the vault.
|
| Did you try omitting the volume name and including the SEARCH=YES option in 
the
| CHECKIN LIBVOLUME command?
|
| Andy Raibeck
| IBM Storage Systems Division
| ADSM Client Development
| e-mail: storman AT us.ibm DOT com
|
|
|  ADSM-L AT VM.MARIST DOT EDU
|  03/19/98 02:02 AM
| Please respond to ADSM-L AT VM.MARIST DOT EDU @ internet
|
| To: ADSM-L AT VM.MARIST DOT EDU @ internet
| cc:
| Subject: Re-inserting tapes back from the vault.
|
| Hi ADSM-ers!
| I have been able to eject the copypool tapes from my library by using the MOVE
| DRMEDIA command. I issue:
| MOVE DRMEDIA WHERESTATUS=MOUNTABLE TOSTATE=VAULT
| I have also been able to create a "picking list" for which tapes have to come
| back from the vault because the data on it has expired by using:
| Q DRMEDIA WHERESTATUS=VAULTRETRIEVE
| I then issue the command to give the tapes the scratch status again:
| MOVE DRMEDIA WHERESTATUS=VAULTRETRIEVE TOSTATE=ONSITERETIEVE
| Indeed I see that ADSM deletes the tapes from the database.
| Now my problem: How do I insert the (returned from the vault and just expired)
| tapes back into the library? I can open the library and insert the tapes
| manually. This way the tapes are know to the library (it re-scans all tapes 
when
|  the door is closed), but NOT to ADSM!
| I can also issue the CHECKIN LIBVOL command for each individual tape, which is
| a hell of a job! The must be an easier way?
| I have got ADSM V2.1 server on AIX.
|
| Thank you very much for your reply in advance!
| Kindest regards,
| Eric van Loon
|
|