Jonathan,
I think this is the best way if you have
your master setup as a trusted server. Ie setup ssh keys etc
Do the following:
In a script, I’d use perl run:
rsh <client>
/usr/openv/netbackup/bin/bpmount
Do what you need with the output and you’re
done.
Dominik
From:
Marianu, Jonathan [mailto:JM7640 AT att DOT com]
Sent: Wednesday, 14 November 2007
11:50 AM
To: Curtis Preston; Dominik
Pietrzykowski; veritas-bu AT mailman.eng.auburn DOT edu
Subject: BPCOVERAGE internals
Yes, I know of the
bpmount command. I mentioned it in my original post.
I have considered putting
the bpmount command in a bpstart_notify script and then using bpgp to receive a
copy of the output.
The challenge to that is
deploying this to the vast number of clients.
I could use bpgp to copy
the script to the client but I would still have to make it executable to run
and I do not know how to do that through nbu.
Currently, I am analyzing
the packet sent by the master to the client when issuing the bpcoverage
command.
It instructs bpcd to run
a remote bpmount -i and bpcd passes back the information so it looks like
bpmount is the key.
Does anyone know how to
programmatically pass commands directly to bpcd daemon?
I have tried cleartext
commands in telnet but the connection closes.
__________________________________________
Jonathan Marianu (mah ree ah' nu)
AT&T Storage Planning and Design Architect
(360) 597-6896
Work Hours 0800-1800 PST M-F
Manager: David Anderson
(314) 340-9296