How To Install fence-virtd-cpg on Fedora 36

In this tutorial we learn how to install fence-virtd-cpg in Fedora 36. fence-virtd-cpg is CPG/libvirt backend for fence-virtd

Introduction

In this tutorial we learn how to install fence-virtd-cpg on Fedora 36.

What is fence-virtd-cpg

Provides fence_virtd with a connection to libvirt to fence virtual machines. Uses corosync CPG to keep track of VM locations to allow for non-local VMs to be fenced when VMs are located on corosync cluster nodes.

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

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

sudo dnf -y install fence-virtd-cpg

Install fence-virtd-cpg 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-virtd-cpg using yum by running the following command:

sudo yum -y install fence-virtd-cpg

How To Uninstall fence-virtd-cpg on Fedora 36

To uninstall only the fence-virtd-cpg package we can use the following command:

sudo dnf remove fence-virtd-cpg

fence-virtd-cpg Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/a7
/usr/lib/.build-id/a7/958a9c62915864c77ce35c70134dd2efc6077f
/usr/lib64/fence-virt/cpg.so

References

Summary

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