How To Install glusterfs-resource-agents on Fedora 36

In this tutorial we learn how to install glusterfs-resource-agents in Fedora 36. glusterfs-resource-agents is OCF Resource Agents for GlusterFS

Introduction

In this tutorial we learn how to install glusterfs-resource-agents on Fedora 36.

What is glusterfs-resource-agents

GlusterFS is a distributed file-system capable of scaling to several petabytes. It aggregates various storage bricks over TCP/IP interconnect into one large parallel network filesystem. GlusterFS is one of the most sophisticated file systems in terms of features and extensibility. It borrows a powerful concept called Translators from GNU Hurd kernel. Much of the code in GlusterFS is in user space and easily manageable. This package provides the resource agents which plug glusterd into Open Cluster Framework (OCF) compliant cluster resource managers, like Pacemaker.

We can use yum or dnf to install glusterfs-resource-agents on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install glusterfs-resource-agents.

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

sudo dnf -y install glusterfs-resource-agents

Install glusterfs-resource-agents 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 glusterfs-resource-agents using yum by running the following command:

sudo yum -y install glusterfs-resource-agents

How To Uninstall glusterfs-resource-agents on Fedora 36

To uninstall only the glusterfs-resource-agents package we can use the following command:

sudo dnf remove glusterfs-resource-agents

glusterfs-resource-agents Package Contents on Fedora 36

/usr/lib/ocf/resource.d/glusterfs
/usr/lib/ocf/resource.d/glusterfs/glusterd
/usr/lib/ocf/resource.d/glusterfs/volume

References

Summary

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