January 23, 2018

Control multiple machines with ClusterSSH

Control multiple machines at the same time using xterm with ClusterSSH.

Installation: control multiple machines

Download and install EPEL repository:

yum install -y http://mirror.nonstop.co.il/epel/6/i386/epel-release-6-8.noarch.rpm

Install ClusterSSH using Yum:

yum install clusterssh -y

Configuration

Create a file named clusters in /etc/:

vi /etc/clusters
clusters = clustername
clustername = Linux1 Linux2 Linux3 Linux4

Make sure to have passwords less, login through all the Linux1, 2,3,4:

ssh-keygen
for i in Linux1 Linux2 Linux3 Linux4;ssh-copy-id $i;done

Usage

At the terminal, run the following command:

csshclustername

This article allows you to control multiple machines, you can check also how to install a NIS server:

Click here

About The Author

IT professional for 17 years in complex networking Linux and Windows environments.

Related posts

Leave a Reply

Your email address will not be published. Required fields are marked *


Fatal error: Call to undefined function pp_popup() in /home/shira13/public_html/wp-content/themes/multinews/footer.php on line 73