How To Install fence-virtd.x86_64 on Amazon Linux 2

In this tutorial we learn how to install fence-virtd.x86_64 in Amazon Linux 2. fence-virtd.x86_64 is Daemon which handles requests from fence-virt

Introduction

In this tutorial we learn how to install fence-virtd.x86_64 on Amazon Linux 2.

What is fence-virtd.x86_64

This package provides the host server framework, fence_virtd, for fence_virt. The fence_virtd host daemon is resposible for processing fencing requests from virtual machines and routing the requests to the appropriate physical machine for action.

We can use yum to install fence-virtd.x86_64 on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install fence-virtd.x86_64.

Install fence-virtd.x86_64 on Amazon Linux 2 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install fence-virtd.x86_64 using yum by running the following command:

sudo yum -y install fence-virtd.x86_64

How To Uninstall fence-virtd.x86_64 on Amazon Linux 2

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

sudo yum remove fence-virtd.x86_64

fence-virtd.x86_64 Package Contents on Amazon Linux 2

/etc/fence_virt.conf
/usr/lib/firewalld/services/fence_virt.xml
/usr/lib/systemd/system/fence_virtd.service
/usr/lib64/fence-virt
/usr/sbin/fence_virtd
/usr/share/man/man5/fence_virt.conf.5.gz
/usr/share/man/man8/fence_virtd.8.gz

References

Summary

In this tutorial we learn how to install fence-virtd.x86_64 on Amazon Linux 2 using yum.