Is there any way or procedure to run a script or command on all the partitions attached to an HMC at same time , just like using dsh from control work station to all the nodes attached to that frame.
Thanks
you can from HMC run commands that can give you information about different partitions , maybe change different partition settings , you'll have to probably write a script
to run certain commands on different partitions
Thanks for the reply. What if I need to create a file system on all partitions at a time ? Is there anyway do get this done? We use dsh from SP Control work station to run scripts or commands on all the nodes attached to that CWS. I was wondering is there anything similar to dsh in partitioning environment?
having him mentioning ssh i will say you can use rsh as well but ssh is more secure off course.
you just have to specify the hostname of the machine you want to use (machine1) to connect to the current machine(machine2). You just have to put machine1 name in .rhost file one machine2 on root directory (/).
then from machine1 you can use the following command:
rsh machine2 Action_to_be_done_on_machine2
example:
rsh machine2 ls -al
Exactly this can be used as specified by hafix with ssh (after configuring it)
You can install the csm.core and csm.client filesets without installing a 1600 cluster. The dsh command is in /opt/csm/bin and you can run it as you would for pssp.
# /opt/csm/bin/dsh -w node1 df
or set the working collection:
echo node1 > /tmp/nodelist
echo node2 >> /tmp/nodelist
# export WCOLL=/tmp/nodelist
# dsh df
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.