System Administration
cancel
Showing results for 
Search instead for 
Did you mean: 

PDSH configuration in HPUX 11.31

 
SOLVED
Go to solution
Highlighted
Frequent Advisor

PDSH configuration in HPUX 11.31

Hello,

I need to use pdsh in hpux11.31 with ssh.

could you please tell me how i can configure pdsh?

Thanks & Regards
Shameem
4 REPLIES 4
Highlighted
Solution

Re: PDSH configuration in HPUX 11.31

See the man page for csshsetup

Basically you create a file listing the hosts you want configuured with pdsh one per line and then pass it to the csshsetup command.

So if I have 3 hosts I want to work with pdsh, hostA, hostB, hostC, then I create a file called say "myhosts.txt" with the entries:

hostA
hostB
hostC

and then invoke csshsetup:

csshsetup -r -f myhosts.txt

Full manual for pdsh is part of the DSAU tools here:

http://bizsupport1.austin.hp.com/bc/docs/support/SupportManual/c01920477/c01920477.pdf

See chapter 4.

HTH

Duncan

I am an HPE Employee
Accept or Kudo
Highlighted
Frequent Advisor

Re: PDSH configuration in HPUX 11.31

Thanks Duncan,

Already we have configured SSH key configuration in our hosts. Now we can connect all our servers from one server without password.

Is it required to execute csshsetup command?

Do you have any idea about how to configure pdsh in hpunix? i checked the document. but not clear.

Regards
Shameem
Highlighted

Re: PDSH configuration in HPUX 11.31

Well all csshsetup does is setup passwordless logins, so if you have that done already, there's nothing else to do... just try out pdsh with a simple command such as:

pdsh -w host1,host2,host3 bdf

obviously replacing host1, host2, host3 with the names of your hosts.

HTH

Duncan

I am an HPE Employee
Accept or Kudo
Highlighted
Frequent Advisor

Re: PDSH configuration in HPUX 11.31

Thank You Duncan.

Regards
Shameem