How to execute a command on multiple hosts using IPv6 only?
Posted
by
math
on Server Fault
See other posts from Server Fault
or by math
Published on 2012-10-26T15:38:26Z
Indexed on
2012/11/21
17:02 UTC
Read the original article
Hit count: 229
First of all there is pdsh which is essentially a parallel distributed shell which may execute commands on a list of given hosts. However, I find myself in an IPv6 only problem setting. It seems that pdsh is not able to use IPv6, as I am getting error messages:
pdsh -w ^hostnames my_command
pdsh@myhost: gethostbyname("foobar") failed
I also tried to use IPv6 addresses only, which also didn't work. So how do you run a single shell script for administrative purpose (no SGE stuff, or similar) on a bunch of hosts that is IPv6 reachable only?
© Server Fault or respective owner