How To Install sanlk-reset.x86_64 on Amazon Linux 2

In this tutorial we learn how to install sanlk-reset.x86_64 in Amazon Linux 2. sanlk-reset.x86_64 is Host reset daemon and client using sanlock

Introduction

In this tutorial we learn how to install sanlk-reset.x86_64 on Amazon Linux 2.

What is sanlk-reset.x86_64

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 to install sanlk-reset.x86_64 on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install sanlk-reset.x86_64.

Install sanlk-reset.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 sanlk-reset.x86_64 using yum by running the following command:

sudo yum -y install sanlk-reset.x86_64

How To Uninstall sanlk-reset.x86_64 on Amazon Linux 2

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

sudo yum remove sanlk-reset.x86_64

sanlk-reset.x86_64 Package Contents on Amazon Linux 2

/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
/var/run/sanlk-resetd

References

Summary

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