How To Install fence-agents-mpath on Fedora 36

In this tutorial we learn how to install fence-agents-mpath in Fedora 36. 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 Fedora 36.

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 Fedora 36. 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 Fedora 36 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

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

sudo dnf -y install fence-agents-mpath

Install fence-agents-mpath on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

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

sudo yum -y install fence-agents-mpath

How To Uninstall fence-agents-mpath on Fedora 36

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

sudo dnf remove fence-agents-mpath

fence-agents-mpath Package Contents on Fedora 36

/usr/sbin/fence_mpath
/usr/share/cluster/fence_mpath_check
/usr/share/cluster/fence_mpath_check_hardreboot
/usr/share/man/man8/fence_mpath.8.gz

References

Summary

In this tutorial we learn how to install fence-agents-mpath on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).