How To Install ucarp on Rocky Linux 8
Introduction
In this tutorial we learn how to install ucarp
on Rocky Linux 8.
What is ucarp
UCARP allows a couple of hosts to share common virtual IP addresses in order to provide automatic failover. It is a portable userland implementation of the secure and patent-free Common Address Redundancy Protocol (CARP, OpenBSD’s alternative to the patents-bloated VRRP). Strong points of the CARP protocol are signed messages, interoperability between different operating systems and no need for any dedicated extra network link between redundant hosts.
We can use yum
or dnf
to install ucarp
on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install ucarp.
Install ucarp 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 ucarp
using dnf
by running the following command:
sudo dnf -y install ucarp
Install ucarp 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 ucarp
using yum
by running the following command:
sudo yum -y install ucarp
How To Uninstall ucarp on Rocky Linux 8
To uninstall only the ucarp
package we can use the following command:
sudo dnf remove ucarp
ucarp Package Contents on Rocky Linux 8
/etc/ucarp
/etc/ucarp/vip-001.conf.example
/etc/ucarp/vip-001.pwd.example
/etc/ucarp/vip-common.conf
/usr/lib/.build-id
/usr/lib/.build-id/8b
/usr/lib/.build-id/8b/edf408cc42af6377fb732068a002d61d6f61ad
/usr/lib/systemd/system/[email protected]
/usr/libexec/ucarp
/usr/libexec/ucarp/ucarp
/usr/libexec/ucarp/vip-down
/usr/libexec/ucarp/vip-up
/usr/sbin/ucarp
/usr/share/doc/ucarp
/usr/share/doc/ucarp/AUTHORS
/usr/share/doc/ucarp/ChangeLog
/usr/share/doc/ucarp/NEWS
/usr/share/doc/ucarp/README
/usr/share/licenses/ucarp
/usr/share/licenses/ucarp/COPYING
/usr/share/locale/en@boldquot/LC_MESSAGES/ucarp.mo
/usr/share/locale/en@quot/LC_MESSAGES/ucarp.mo
References
Summary
In this tutorial we learn how to install ucarp
on Rocky Linux 8 using yum and dnf.