How To Install whatsup on CentOS 7

In this tutorial we learn how to install whatsup on CentOS 7. whatsup is Node up/down detection utility

Introduction

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

What is whatsup

Whatsup is a cluster node up/down detection utility. Whatsup can quickly calculate and output the up and down nodes of a cluster. Whatsup allows some tools, such as Pdsh, to operate more quickly by not operating on down nodes. Whatsup calculates the up and down nodes of a cluster through one of several possible backend tools and several optional cluster node databases.

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

Install whatsup on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

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

sudo yum -y install whatsup

Install whatsup 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 whatsup using dnf by running the following command:

sudo dnf -y install whatsup

How To Uninstall whatsup on CentOS 7

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

sudo dnf remove whatsup

References

Summary

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