• Please help support our sponsors by considering their products and services.
    Our sponsors enable us to serve you with this high-speed Internet connection and fast webservers you are currently using at ADSM.ORG.
    They support this free flow of information and knowledge exchange service at no cost to you.

    Please welcome our latest sponsor Tectrade . We can show our appreciation by learning more about Tectrade Solutions
  • Community Tip: Please Give Thanks to Those Sharing Their Knowledge.

    If you receive helpful answer on this forum, please show thanks to the poster by clicking "LIKE" link for the answer that you found helpful.

  • Community Tip: Forum Rules (PLEASE CLICK HERE TO READ BEFORE POSTING)

    Click the link above to access ADSM.ORG Acceptable Use Policy and forum rules which should be observed when using this website. Violators may be banned from this website. This notice will disappear after you have made at least 3 posts.

How to re-use tapes in a Shared library that belongs to a TSM server that was removed

karthikm2

ADSM.ORG Member
Joined
Feb 22, 2010
Messages
13
Reaction score
0
Points
0
Hi,

I hav a shared 349X type library, which is shared by 3 TSM servers(1 being Library manager and others library clients). Now one of the TSM servers which is a library client was uninstalled and its no more.

But the shared library has tapes that contain data from the removed TSM server, i can see the list of tapes that are used by that TSM server using "select * from libvolumes where owner = 'TSMTEST'" (TSMTEST is the name of the TSM server that was removed) query from the TSM server which is the Library manager. I want these tapes to be re-used by the other TSM servers sharing the library.

How can i do this? Plz reply ASAP...

thanks in advance...:)
 

toxy13

ADSM.ORG Senior Member
Joined
Sep 24, 2003
Messages
740
Reaction score
12
Points
0
Location
Leipzig
Website
Visit site
>>-UPDate LIBVolume--library_name--volume_name------------------>

>--+------------------------+--+-----------------------+-------><
'-STATus--=--+-PRIvate-+-' '-OWNer--=--server_name-'
'-SCRatch-'

try a "update libv" and use the "owner" parameter.
 

karthikm2

ADSM.ORG Member
Joined
Feb 22, 2010
Messages
13
Reaction score
0
Points
0
thanks for ur reply...

But i am not able to get them as scratch using update libvol cmd.

In our setup TSMSERV1 is the Library manager and TSMTEST is the name of the tsm server that was removed and has these volumes.

I tried all possible things with update libvol cmd. The cmd outputs are below:

tsm: TSMSERV1>update libvol 3494LIB A00397 status=SCRatch owner=TSMTEST
ANR2020E UPDATE LIBVOLUME: Invalid parameter - OWNER.
ANS8001I Return code 3.

tsm: TSMSERV1>update libvol 3494LIB A00397 status=Scratch
ANR8443E UPDATE LIBVOLUME: Volume A00397 in library 3494LIB cannot be assigned a status of SCRATCH.
ANS8001I Return code 12.

tsm: TSMSERV1>update libvol 3494LIB A00397 owner=TSMSERV1
ANR8428E UPDATE LIBVOLUME: The STATUS parameter is required for this command.
ANS8001I Return code 3.

tsm: TSMSERV1>update libvol 3494LIB A00397 status=scratch owner=TSMSERV1
ANR2020E UPDATE LIBVOLUME: Invalid parameter - OWNER.
ANS8001I Return code 3.

tsm: TSMSERV1>update libvolume 3494LIB A00397 status=private Owner=TSMSERV1
ANR8969E The owner of volume A00397 can not be updated to owner TSMSERV1.
ANS8001I Return code 27.


Is there anything wrong with wat i did in update libvol cmd???

Is there any other way to get these tapes to scratch???

thanx
 

toxy13

ADSM.ORG Senior Member
Joined
Sep 24, 2003
Messages
740
Reaction score
12
Points
0
Location
Leipzig
Website
Visit site
Ah oK! you can not change the "owner" status if your old owner is not online!

Can you checkout/checkin the volumes?
 

karthikm2

ADSM.ORG Member
Joined
Feb 22, 2010
Messages
13
Reaction score
0
Points
0
thanx for ur quick response...

I can try checkout and checkin.

But my doubt is that if i checkout the volumes and try checking in, can i be able to check in them as scratch volumes ? Wat parameter(s) i need to specify for doing so ?

thanx...
 

Jacob_6

ADSM.ORG Senior Member
Joined
Jul 22, 2008
Messages
207
Reaction score
5
Points
0
Location
Dallas, Texas
Since the volumes are tracked via volhist as remote volumes you may have to do the following on each volume, then either label them back in or check them back in.

DEL VOLHIST TODATE=TODAY TYPE=REMOTE VOLUME=<volname> FORCE=YES

Be careful that you don't mistype volume names and accidently remove an active volume for the other client.
 

karthikm2

ADSM.ORG Member
Joined
Feb 22, 2010
Messages
13
Reaction score
0
Points
0
hi jacob... thnx for ur reply...

In "delete volhist" syntax there is no option to specify TYPE=REMOTE and VOLUME=<volname>.

>>-DELete VOLHistory--TODate--=--date--------------------------->
.-TOTime--=--23:59:59-.
>--+---------------------+-------------------------------------->
'-TOTime--=--time-----'

>--Type--=--+-All---------------------------------------+------><
+-DBBackup--+-------------------------+-----+
| '-DEVclass--=--class_name-' |
+-DBSnapshot--+-------------------------+---+
| '-DEVclass--=--class_name-' |
+-DBDump------------------------------------+
+-DBRpf-------------------------------------+
+-EXPort------------------------------------+
| .-DELETELatest--=--No------. |
+-RPFile--+--------------------------+------+
| '-DELETELatest--=--+-No--+-' |
| '-Yes-' |
| .-DELETELatest--=--No------. |
+-RPFSnapshot--+--------------------------+-+
| '-DELETELatest--=--+-No--+-' |
| '-Yes-' |
+-STGNew------------------------------------+
+-STGReuse----------------------------------+
'-STGDelete---------------------------------'



I hav not yet tried the option u asked me to try as i want to confirm this will work or not as i m doing all this in my production environment.

thanx in advance...
 

toxy13

ADSM.ORG Senior Member
Joined
Sep 24, 2003
Messages
740
Reaction score
12
Points
0
Location
Leipzig
Website
Visit site
make "Q VOLH" and search for your volume names to delete (you will see the type of them).
 

Jacob_6

ADSM.ORG Senior Member
Joined
Jul 22, 2008
Messages
207
Reaction score
5
Points
0
Location
Dallas, Texas
Type=remote is an undocumented option and does work. I have used it a number of times and it has appeared in apars and techdocs from IBM.
 

stratanic

ADSM.ORG Member
Joined
Jan 14, 2010
Messages
31
Reaction score
0
Points
0
Hidden command (force)

Command: 'DELETE VOLHISTORY todate=TODAY volume=xxxxxL7 type=remote force=yes'
ANR2467I DELETE VOLHISTORY: 1 sequential volume history entries were successfully deleted.
 

Advertise at ADSM.ORG

If you are reading this, so are your potential customer. Advertise at ADSM.ORG right now.

DigitalOcean $100 Credit

Support ADSM.ORG and get DigitalOcean FREE credit. DigitalOcean currently offer a $100, 60-day Free Credit for new accounts. Sign-up here:

DigitalOcean Referral Badge

The Spectrum Protect TLA (Three-Letter Acronym): ISP or something else?

  • Every product needs a TLA, Let's call it ISP (IBM Spectrum Protect).

    Votes: 20 18.5%
  • Keep using TSM for Spectrum Protect.

    Votes: 65 60.2%
  • Let's be formal and just say Spectrum Protect

    Votes: 14 13.0%
  • Other (please comement)

    Votes: 9 8.3%

Forum statistics

Threads
31,910
Messages
136,031
Members
21,781
Latest member
london
Top