How To Install sanlk-reset on Rocky Linux 8

In this tutorial we learn how to install sanlk-reset on Rocky Linux 8. sanlk-reset is Host reset daemon and client using sanlock

Introduction

In this tutorial we learn how to install sanlk-reset on Rocky Linux 8.

What is sanlk-reset

The sanlk-reset package contains the reset daemon and client. A cooperating host running the daemon can be reset by a host running the client, so long as both maintain access to a common sanlock lockspace.

We can use yum or dnf to install sanlk-reset on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install sanlk-reset.

Install sanlk-reset on Rocky Linux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install sanlk-reset using dnf by running the following command:

sudo dnf -y install sanlk-reset

Install sanlk-reset on Rocky Linux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install sanlk-reset using yum by running the following command:

sudo yum -y install sanlk-reset

How To Uninstall sanlk-reset on Rocky Linux 8

To uninstall only the sanlk-reset package we can use the following command:

sudo dnf remove sanlk-reset

sanlk-reset Package Contents on Rocky Linux 8

/run/sanlk-resetd
/usr/lib/.build-id
/usr/lib/.build-id/80
/usr/lib/.build-id/80/3cf295ac790dd9949d50c5510db2fe98a7ea12
/usr/lib/.build-id/8a
/usr/lib/.build-id/8a/7919f3b9552f92ea58e6199eaa1df6a68a688c
/usr/lib/systemd/system/sanlk-resetd.service
/usr/sbin/sanlk-reset
/usr/sbin/sanlk-resetd
/usr/share/man/man8/sanlk-reset.8.gz
/usr/share/man/man8/sanlk-resetd.8.gz
/run/sanlk-resetd
/usr/lib/.build-id
/usr/lib/.build-id/8f
/usr/lib/.build-id/8f/8ac663f3179c9b7c4d2b7f4c02370deef428c5
/usr/lib/.build-id/b1
/usr/lib/.build-id/b1/d009595b74dc1837f142916009aa881ad0c954
/usr/lib/systemd/system/sanlk-resetd.service
/usr/sbin/sanlk-reset
/usr/sbin/sanlk-resetd
/usr/share/man/man8/sanlk-reset.8.gz
/usr/share/man/man8/sanlk-resetd.8.gz

References

Summary

In this tutorial we learn how to install sanlk-reset on Rocky Linux 8 using yum and dnf.