Issuing a command on all OpenVMS virtual machines from HP-UX (531 Views)
Reply
Honored Contributor
labadie_1
Posts: 1,221
Registered: ‎08-07-2003
Message 1 of 3 (531 Views)
Accepted Solution

Issuing a command on all OpenVMS virtual machines from HP-UX

Hello

 

Itanium OpenVMS 8.4

 

1) I have some blades, and each of them hosts 10 to 25 OpenVMS virtual machines.

Some virtual machines form a Cluster, most are standalones.

 

Of course, when I am on the blade, I run HP-UX.

 

If I want to issue the same command on all OpenVMS nodes of a blade, I do not think I can do this from HP-UX, apart from some rsh/ssh.

 

I can define on an OpenVMS node a logical in a Sysman table, like

blade1, which is translated to

itan01,itan02...

and launch

$ mc sysman set env/node=blade1

do ...

 

Any better idea ?

 

2) If I want to stop all OpenVMS nodes of a blade, I can launch

hpvmstop -a -g -F

 

If I want to start all OpenVMS nodes ?

 

Some script like

hpvmstatus | awk '$3 ~ /OpenVMS/ {print "starting VM ",$1,"\n\n"  ; system ("hpvmstart -P "$1) ; print "\n\n"}'

 

Anything better ?

 

Thanks for any hint

Honored Contributor
Steven Schweda
Posts: 9,088
Registered: ‎02-23-2005
Message 2 of 3 (483 Views)

Re: Issuing a command on all OpenVMS virtual machines from HP-UX

Honored Contributor
John Gillings
Posts: 2,994
Registered: ‎07-31-2003
Message 3 of 3 (440 Views)

Re: Issuing a command on all OpenVMS virtual machines from HP-UX

Gerard,

 

   There's nothing wrong with ssh. Once you have your certificates worked out, it should be simple, reliable and secure. Note that you can use the same certificate pair on multiple systems - it greatly simplifies maintenance, and when the target is an OpenVMS cluster, access to one is access to all anyway.

 

I'd suggest you start with the simplest possible script to distribute commands to VMS nodes using whatever mechanism is simplest and adapt it as needs arise. Don't try to solve all possible issues in advance, and although perfection is a laudible goal, there's no expectation to get there in one hit.

 

A crucible of informative mistakes
The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation.