I want to run commands on many servers simultaneously. I know that mcollective, capistrano, clusterssh and pconsole are tools to quickly managed many servers simultanesouly. An example command:
du /var/log | sort -n | tail -5
I have looked into MCollective, but it is too hard and not meant for running SSH-commands directly. It seems that pconsole and clusterssh therefore would be more appropriate for me.
I know that capistrano is a very popular tool. I do wonder however, would it be good in usage cases like this? e.g.
- test if the monitoring software is installed via a bash-command
- yum update puppet
- do a sed-replace in a config-file for the back-up software.
I care about getting a result after running the SSH command, so not just running the SSH command and not hearing from it again. This would help in quickly checking things on many servers simultaneously.
I know that I can use Puppet to change specific things on servers, but it's not very good at reporting statistics, e.g. what directories are using the most space on the servers.