Tuesday, September 30, 2014

Install ClusterSSH on CentOS 6

ClusterSSH is a tool to control multiple machines using ssh at the same time, basically it opens a few xterm windows and what ever you type is being typed at all the windows. 

1. Download and install EPEL repository:

yum install -y http://mirror.nonstop.co.il/epel/6/i386/epel-release-6-8.noarch.rpm
2. Install ClusterSSH using Yum:
yum install clusterssh -y
3. Create a file named clusters in /etc/:
vi /etc/clusters
clusters = clusternameclustername = hostname1 hostname2 hostname3
4. At the terminal, execute the following command:
cssh clustername

No comments:

Post a Comment