How To Install clustershell on CentOS 7

In this tutorial we learn how to install clustershell on CentOS 7. clustershell is Python framework for efficient cluster administration

Introduction

In this tutorial we learn how to install clustershell on CentOS 7.

What is clustershell

ClusterShell is a set of tools and a Python library to execute commands on cluster nodes in parallel depending on selected engine and worker mechanisms. Advanced node sets and node groups handling methods are provided to ease and improve the daily administration of large compute clusters or server farms. Command line utilities like clush, clubak and nodeset (or cluset) allow traditional shell scripts to take benefit of the features offered by the library.

We can use yum or dnf to install clustershell on CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install clustershell.

Install clustershell on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

After updating yum database, We can install clustershell using yum by running the following command:

sudo yum -y install clustershell

Install clustershell on CentOS 7 Using dnf

If you don’t have dnf installed you can install DNF on CentOS 7 first. Update yum database with dnf using the following command.

sudo dnf makecache

After updating yum database, We can install clustershell using dnf by running the following command:

sudo dnf -y install clustershell

How To Uninstall clustershell on CentOS 7

To uninstall only the clustershell package we can use the following command:

sudo dnf remove clustershell

References

Summary

In this tutorial we learn how to install clustershell on CentOS 7 using yum and dnf.