Networker

Re: [Networker] command line for enabling a silo tape drive using hpux

2010-10-06 03:25:22
Subject: Re: [Networker] command line for enabling a silo tape drive using hpux
From: Thierry Faidherbe <thierry.faidherbe AT FOREM DOT BE>
To: NETWORKER AT LISTSERV.TEMPLE DOT EDU
Date: Wed, 6 Oct 2010 09:23:18 +0200
Right, easier. If it's on a storage node, you must use
the tape device name as known by networker :

DEV="rd=storagenode:/dev/rmt/device_name"
echo ". type:nsr device;name:$DEV \n update enabled:No" | nsradmin -i -

Th

Kind regards - Bien cordialement - Vriendelijke groeten,

Thierry FAIDHERBE
Backup/Storage & System Management

LE FOREM - Administration Centrale
Département des Systèmes d'Information

Boulevard Tirou, 104  Tel: + 32 (0)71/206730
B-6000 CHARLEROI      Fax: + 32 (0)71/206199 
BELGIUM               Mail : Thierry.faidherbe<at>forem.be

-----Original Message-----
From: EMC NetWorker discussion [mailto:NETWORKER AT LISTSERV.TEMPLE DOT EDU] On
Behalf Of Macina, Conrad
Sent: mardi 5 octobre 2010 16:32
To: NETWORKER AT LISTSERV.TEMPLE DOT EDU
Subject: Re: [Networker] command line for enabling a silo tape drive using
hpux

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

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

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