ADSM-L

Re: copying scripts between tsm servers

2001-11-30 21:24:45
Subject: Re: copying scripts between tsm servers
From: Sias Dealy <hnre AT YAHOO DOT COM>
Date: Fri, 30 Nov 2001 18:22:10 -0800
Here is some food for thought.

If we want to get a script from system A to system B.
Just FTP the script and then from TSM on system B
issue: run script <path/script_name>



Sias Dealy




--- Joerg Pohlmann/CanWest/IBM <jpohlman AT CA.IBM DOT COM>
wrote:
wrote:
> ...or - set up enterprise administration between the
> two servers, make the
> scripts managed and have them automatically
> transferred to the managed
> server. Then, each time you make a change on the
> config manager, the
> scripts get automatically updated on the managed
> servers.
>
> Joerg Pohlmann
>
>
>
> Richard Cowen <richard_cowen AT CNT DOT COM>@VM.MARIST.EDU>
> on 2001-11-30 06:05:46
>
> Please respond to "ADSM: Dist Stor Manager"
> <ADSM-L AT VM.MARIST DOT EDU>
>
> Sent by:  "ADSM: Dist Stor Manager"
> <ADSM-L AT VM.MARIST DOT EDU>
>
>
> To:   ADSM-L AT VM.MARIST DOT EDU
> cc:
> Subject:  Re: copying scripts between tsm servers
>
>
> > -----Original Message-----
> > From: Steve Bennett
> [mailto:steve_bennett AT ADMIN.STATE.AK DOT US]
> > Sent: Thursday, November 29, 2001 6:10 PM
> > To: ADSM-L AT VM.MARIST DOT EDU
> > Subject: copying scripts between tsm servers
>
> > I need to copy dozens of scripts from one TSM
> 4.1.3 server to another.
> > Any suggestions?
>
>
> source:
> query script abc format=raw outputfile=abc.raw
>
> dest:
> define script abc file=abc.raw
>
> or make a macro:
> define macro QSCR "query script $1 format=raw
> outputfile=$1.raw"
>
> create a macro to run it for each script:
> select distinct 'RUN QSCR ',name from scripts >
> qscr.mac1
>
> get rid of heading:
>
> grep "^RUN" qscr.mac1 > qscr.mac2
>
> and run it:
>
> MACRO qscr.mac2
>
> Do something similar to load them into the new
> server.
>
> Note that the output from the Query script xxx
> outputfile=xxx.raw is in the
> tsm server directory unless you provide a complete
> pathname...
>
> I would create a Perl script that did the whole
> thing at once, assuming you
> have connectivity to both servers...


__________________________________________________
Do You Yahoo!?
Buy the perfect holiday gifts at Yahoo! Shopping.
http://shopping.yahoo.com
<Prev in Thread] Current Thread [Next in Thread>