ADSM-L

Re: [ADSM-L] Deleting ALL tapes from a defunct TSM server from Volhist

2011-01-24 23:27:04
Subject: Re: [ADSM-L] Deleting ALL tapes from a defunct TSM server from Volhist
From: "Huebschman, George J." <gjhuebschman AT LEGGMASON DOT COM>
To: ADSM-L AT VM.MARIST DOT EDU
Date: Mon, 24 Jan 2011 16:24:25 -0500
Paul,
Thanks sir!

-----Original Message-----
From: ADSM: Dist Stor Manager [mailto:ADSM-L AT VM.MARIST DOT EDU] On Behalf Of
Paul_Dudley
Sent: Sunday, January 23, 2011 5:28 PM
To: ADSM-L AT VM.MARIST DOT EDU
Subject: Re: [ADSM-L] Deleting ALL tapes from a defunct TSM server from
Volhist

> Subject: [ADSM-L] Deleting ALL tapes from a defunct TSM server from
Volhist
>
> Back in 2008 there was a thread on forcing the deletion of individual
> tapes from a defunct TSM server.
>
>
>
> http://www.adsm.org/lists/html/ADSM-L/2008-06/msg00068.html
>
> del volhist todate=today type=remote volume=A00229 force=yes
>
> I tried that and it worked as expected.
>
> Now I need to do it 483 more times.
>
> Is there a parameter that lets you designate which remote location to
> delete from, so that all the volsers can be deleted at once?
>
>
>
> George Huebschman
> Storage Support Team, Media Librarian
> Legg Mason, LMTS

George,

If one of the servers you are backing up via TSM is a linux or unix
server you should be able to create a shell script on that server to run
that command.
The script will need to have a "do" loop into which you can get it to
read a list.

It would need to start like this:

#!/bin/ksh

#Standard TSM Admin command.
DSMADMC="/usr/bin/dsmadmc -id=admin -pa=XXXXXX -noconfirm "

And then have a line something like this

while read VOL
do
        $DSMADMC " del volhist todate=today type=remote volume=$VOL
force=yes "
done < /tmp/nodelist

Please check the syntax above before running as this is only a quick
example...

Regards
Paul









ANL DISCLAIMER

This e-mail and any file attached is confidential, and intended solely
to the named addressees. Any unauthorised dissemination or use is
strictly prohibited. If you received this e-mail in error, please
immediately notify the sender by return e-mail from your system. Please
do not copy, use or make reference to it for any purpose, or disclose
its contents to any person.

IMPORTANT:  E-mail sent through the Internet is not secure. Legg Mason 
therefore recommends that you do not send any confidential or sensitive 
information to us via electronic mail, including social security numbers, 
account numbers, or personal identification numbers. Delivery, and or timely 
delivery of Internet mail is not guaranteed. Legg Mason therefore recommends 
that you do not send time sensitive 
or action-oriented messages to us via electronic mail.

This message is intended for the addressee only and may contain privileged or 
confidential information. Unless you are the intended recipient, you may not 
use, copy or disclose to anyone any information contained in this message. If 
you have received this message in error, please notify the author by replying 
to this message and then kindly delete the message. Thank you.

<Prev in Thread] Current Thread [Next in Thread>