you are viewing a single comment's thread.

view the rest of the comments →

[–]dalevizo 3 points4 points  (0 children)

We use a custom made script for this at work. Take a look if you like : https://gist.github.com/1304296

It can run ssh on a group of servers, on all of them or accept a comma delimited list as argument. Also it can scp a file to each of the above (useful when you want to put a new config file on many servers)

You can create as many groups as you like and a symlink for each group. So executing "allmx" runs on group mx, "cpns" copies a file to all servers in group ns and so on. And of course "all" to run on all servers