How To Install sanlock on Fedora 36
Introduction
In this tutorial we learn how to install sanlock
on Fedora 36.
What is sanlock
The sanlock daemon manages leases for applications on hosts using shared storage.
We can use yum
or dnf
to install sanlock
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install sanlock.
Install sanlock 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 sanlock
using dnf
by running the following command:
sudo dnf -y install sanlock
Install sanlock 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 sanlock
using yum
by running the following command:
sudo yum -y install sanlock
How To Uninstall sanlock on Fedora 36
To uninstall only the sanlock
package we can use the following command:
sudo dnf remove sanlock
sanlock Package Contents on Fedora 36
/etc/logrotate.d/sanlock
/etc/sanlock
/etc/sanlock/sanlock.conf
/etc/sysconfig/wdmd
/etc/wdmd.d
/usr/lib/.build-id
/usr/lib/.build-id/7a
/usr/lib/.build-id/7a/333210b9bdcbf1b7d46931688d0a6138d9da27
/usr/lib/.build-id/f0
/usr/lib/.build-id/f0/a57623257fdeabb9690edbc62269c304e5c7b8
/usr/lib/systemd/system/sanlock.service
/usr/lib/systemd/system/wdmd.service
/usr/lib/systemd/systemd-wdmd
/usr/sbin/sanlock
/usr/sbin/wdmd
/usr/share/doc/sanlock
/usr/share/doc/sanlock/sanlock
/usr/share/doc/sanlock/sanlock.service
/usr/share/doc/sanlock/wdmd.service
/usr/share/man/man8/sanlock.8.gz
/usr/share/man/man8/wdmd.8.gz
/var/run/sanlock
References
Summary
In this tutorial we learn how to install sanlock
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).