How To Install fence-sanlock.x86_64 on Amazon Linux 2
In this tutorial we learn how to install fence-sanlock.x86_64 in Amazon Linux 2. fence-sanlock.x86_64 is Fence agent using sanlock and wdmd
Introduction
In this tutorial we learn how to install fence-sanlock.x86_64 on Amazon Linux 2.
What is fence-sanlock.x86_64
The fence-sanlock package contains the fence agent and daemon for using sanlock and wdmd as a cluster fence agent.
We can use yum to install fence-sanlock.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-sanlock.x86_64.
Install fence-sanlock.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-sanlock.x86_64 using yum by running the following command:
sudo yum -y install fence-sanlock.x86_64
How To Uninstall fence-sanlock.x86_64 on Amazon Linux 2
To uninstall only the fence-sanlock.x86_64 package we can use the following command:
sudo yum remove fence-sanlock.x86_64
fence-sanlock.x86_64 Package Contents on Amazon Linux 2
/usr/lib/systemd/system/fence_sanlockd.service
/usr/lib/systemd/systemd-fence_sanlockd
/usr/sbin/fence_sanlock
/usr/sbin/fence_sanlockd
/usr/share/man/man8/fence_sanlock.8.gz
/usr/share/man/man8/fence_sanlockd.8.gz
/var/run/fence_sanlock
/var/run/fence_sanlockd
References
Summary
In this tutorial we learn how to install fence-sanlock.x86_64 on Amazon Linux 2 using yum.