[solved] clusterssh does not recognize provided tag for cluster

Posted on

Hi,

I have a slight problem with clusterssh which I'm using in version 4.02.03-2.el7 from epel.

Running cssh as follows works just fine:

$ cssh -T "Shiny Name" root@server{1..3}.example.com

To configure different cluster I created $HOME/.clusterssh/cluster with the following content:

cn root@server1.example.com root@server2.example.com root@server3.example.com

But when I run the command cssh cn I got the error message that the hostname 'cn' could not be resolved. Why doesn't cssh recognize that 'cn' is a tag specified in a standard config file?

Has anybody encountered the same problem and knows how to solve it?

Edit: The reason for my problem was a simple typo. The name of the standard configuration file is $HOME/.clusterssh/clusters! I forgot the 's'. :-/

Best regards,
Joerg K.

Responses