Tuesday, June 5, 2012

Linux: run same script on multiple machines

Configure SSH

http://www.cyberciti.biz/tips/ssh-public-key-based-authentication-how-to.html


and install Tentakel

http://www.cyberciti.biz/tips/execute-commands-on-multiple-linux-or-unix-servers.html
http://www.cyberciti.biz/tips/execute-commands-on-multiple-linux-or-unix-servers-part-ii.html
http://www.cyberciti.biz/tips/execute-commands-on-multiple-hosts-using-expect-tool-part-iii.html

I don't know if there is a more modern form of Tentakel, but surely it's a useful tool... I am really fed up of running the same command on 4 different putty terminals..

See also Fabric http://docs.fabfile.org/en/1.4.2/index.html


See also:

CSSH:
http://sourceforge.net/apps/mediawiki/clusterssh/index.php?title=Main_Page

PUPPET:
http://puppetlabs.com/ and http://www.javamonamour.org/2012/06/puppet-labs.html

No comments:

Post a Comment

comments where you are promoting your business will be marked as SPAM :o)