Then its the tenth field.
use the -U and it will show you that the robot number is displayed.
I was just using this to update one of my scripts yesterday. It definitely
is in there.
David
-----Original Message-----
From: W. Curtis Preston [mailto:curtis AT backupcentral DOT com]
Sent: Friday, February 02, 2001 2:09 PM
To: David A. Chapa; veritas-bu AT mailman.eng.auburn DOT edu
Subject: RE: [Veritas-bu] How2get robot control host for a robot?
I thought of that, but I don't think it gives me what I need. The third
field is the host that the storage unit is on, not the robotic control
host. If you've got a library that is physically connected to multiple
servers, you'll get multiple entries for "robot host:"
MASTER-DUP 2 master 8 1 13 6 0 *NULL* 1 8 2000 *NULL*
MEDIASERVER-1 2 mediaserver 8 1 13 3 0 *NULL* 0 8 2000 *NULL*
Both of these lines are for robot 1, as indicated by field five.
At 01:54 PM 2/2/01 -0600, David A. Chapa wrote:
>bpstulist
>
>/usr/openv/netbackup/bin/admincmd
>
>use the -l switch and I think its the fourth field will list the media
>server.
>
>You'll have to compare the robnum but you'll get your results.
>
>David
>
>-----Original Message-----
>From: veritas-bu-admin AT Eng.Auburn DOT EDU
>[mailto:veritas-bu-admin AT Eng.Auburn DOT EDU]On Behalf Of W. Curtis Preston
>Sent: Friday, February 02, 2001 1:28 PM
>To: veritas-bu AT mailman.eng.auburn DOT edu
>Subject: [Veritas-bu] How2get robot control host for a robot?
>
>
>I have the robot NUMBER. What I want is the name of the server that
>actually has robotic control over the robot.
>
>I know that I can rsh/ssh to each of the servers and run tpconfig -d, and
>that the server that has robotic control will say "robotic path=," and the
>servers that are just using some of its drives will say "robotic host=."
>
>HOWEVER, I need a way to do this from the master WITHOUT SSHing to the
>media servers. (This method doesn't work too well with NT media servers,
>for one thing.)
>
>Does anyone have any ideas?
>
>
>_______________________________________________
>Veritas-bu maillist - Veritas-bu AT mailman.eng.auburn DOT edu
>http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu
|