How To Install fence-agents-mpath on CentOS 8

In this tutorial we learn how to install fence-agents-mpath on CentOS 8. fence-agents-mpath is Fence agent for reservations over Device Mapper Multipath

Introduction

In this tutorial we learn how to install fence-agents-mpath on CentOS 8.

What is fence-agents-mpath

Fence agent for SCSI persistent reservation over Device Mapper Multipath.

We can use yum or dnf to install fence-agents-mpath on CentOS 8. In this tutorial we discuss both methods but you only need to choose one of method to install fence-agents-mpath.

Install fence-agents-mpath on CentOS 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache

After updating yum database, We can install fence-agents-mpath using yum by running the following command:

sudo yum -y install fence-agents-mpath

Install fence-agents-mpath on CentOS 8 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 fence-agents-mpath using dnf by running the following command:

sudo dnf -y install fence-agents-mpath

How To Uninstall fence-agents-mpath on CentOS 8

To uninstall only the fence-agents-mpath package we can use the following command:

sudo dnf remove fence-agents-mpath

References

Summary

In this tutorial we learn how to install fence-agents-mpath on CentOS 8 using yum and dnf.