Operating System - OpenVMS
1748134 Members
3455 Online
108758 Solutions
New Discussion

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

 
SOLVED
Go to solution
labadie_1
Honored Contributor

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

2 REPLIES 2
Steven Schweda
Honored Contributor

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

 
John Gillings
Honored Contributor
Solution

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