Re: [Networker] command line for enabling a silo tape drive using hpux
2010-10-05 10:43:01
Since this is Unix you could do it with a single command:
echo ". type:nsr device;name:device_name \n update enabled:no" |
nsradmin -i -
That allows you to put the device name into a variable:
DEV=/dev/rmt/device_name ;# (for Solaris -- I don't remember how
HP-UX names tape devices)
echo ". type:nsr device;name:$DEV \n update enabled:No" | nsradmin -i -
Conrad Macina
Pfizer, Inc.
-----Original Message-----
From: Thierry FAIDHERBE [mailto:Thierry.Faidherbe AT SKYNET DOT BE]
Sent: Monday, October 04, 2010 2:34 PM
Subject: Re: command line for enabling a silo tape drive using hpux
with nsradmin, you could (even from backup server) use something like
nsradmin -s server
nsradmin> show name,enabled
nsradmin> print type:nsr device;name:"tape device name"
nsradmin> update enabled=no type:nsr device;name:"tape device name"
(check manpage of nsradmin for exact syntax as I am from home without
remote connection to test it)
or fill cmds in a txt file and call "nsradmin -s server -i <input file>"
HTH
Th
-----Original Message-----
From: EMC NetWorker discussion [mailto:NETWORKER AT LISTSERV.TEMPLE DOT EDU] On
Behalf Of skipdarling
Sent: lundi 4 octobre 2010 19:16
To: NETWORKER AT LISTSERV.TEMPLE DOT EDU
Subject: [Networker] command line for enabling a silo tape drive using
hpux
is there a command from the command line to "enable/disable/service" a
tape
drive for an sl8500 silo so I can script it?
+----------------------------------------------------------------------
|This was sent by glenn.darling AT state.ma DOT us via Backup Central.
|Forward SPAM to abuse AT backupcentral DOT com.
+----------------------------------------------------------------------
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
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
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
|
|
|