Re: [Networker] Nsrjb -w
2008-07-21 11:34:28
EMC NetWorker discussion <NETWORKER AT LISTSERV.TEMPLE DOT EDU> wrote on
07/21/2008 10:35:19 AM:
> Coty, Edward wrote:
>
> > Is there a way to run a tape report(mminfo query) from a UNIX
> backup server to a remote windows backup server and then cat the
> output and run the nsrjb -w againest the tapes to move to the cap door.
> >
> > I have SL500 auto-changer running with Networker 7.4.2. If this
> cannot be done does anyone have a script example of mminfo queries
> and withdrawing tapes from the output of the query on a windows server.
>
> I think what you are asking is "Can I run nsrjb on a remote
> server/storage node?"
>
> Well you sort of can. You can use the nsrexec/nsrexecd connection to run
> certain commands, provided that the remote server has the local server
> in its servers file. The command has to begin with nsr or save and be
> found in the same location as the save command. To do this you need the
> following commands:
>
> TAPELIST=$(mminfo -q "some query" -r volume)
>
> export RUSER=root
> export RCMD="nsrjb -w $TAPELIST"
> nsrexec -c remotebox
>
> Equally you could use some kind of non-NetWorker method of running a
> remote command to a Windows box.
You can use the "psexec" utility from SysInternals (now Microsoft) to run
a command on a remote box.
To sign off this list, send email to listserv AT listserv.temple DOT edu and
type "signoff networker" in the body of the email. Please write to
networker-request AT listserv.temple DOT edu if you have any problems with this
list. You can access the archives at
http://listserv.temple.edu/archives/networker.html or
via RSS at http://listserv.temple.edu/cgi-bin/wa?RSS&L=NETWORKER
|
|
|