How To Install corosync on Rocky Linux 8
Introduction
In this tutorial we learn how to install corosync
on Rocky Linux 8.
What is corosync
This package contains the Corosync Cluster Engine Executive, several default APIs and libraries, default configuration files, and an init script.
We can use yum
or dnf
to install corosync
on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install corosync.
Install corosync 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 corosync
using dnf
by running the following command:
sudo dnf -y install corosync
Install corosync 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 corosync
using yum
by running the following command:
sudo yum -y install corosync
How To Uninstall corosync on Rocky Linux 8
To uninstall only the corosync
package we can use the following command:
sudo dnf remove corosync
corosync Package Contents on Rocky Linux 8
/etc/corosync
/etc/corosync/corosync.conf.example
/etc/corosync/uidgid.d
/etc/dbus-1/system.d/corosync-signals.conf
/etc/logrotate.d/corosync
/etc/sysconfig/corosync
/etc/sysconfig/corosync-notifyd
/usr/bin/corosync-blackbox
/usr/bin/corosync-xmlproc
/usr/lib/.build-id
/usr/lib/.build-id/5f
/usr/lib/.build-id/5f/2064107cc328b47337060e2e672d10b49a1f86
/usr/lib/.build-id/89
/usr/lib/.build-id/89/4bd748d35f17dbc1a22a1330cabd546b818d5d
/usr/lib/.build-id/8c
/usr/lib/.build-id/8c/a897cb42cc4367b8d376fbfd4337e091648d56
/usr/lib/.build-id/a2
/usr/lib/.build-id/a2/7cd2d95b65ea0591c7420e79ef504fee293fc0
/usr/lib/.build-id/ad
/usr/lib/.build-id/ad/b4d0bd77acb914ab650876a2095f8a69165477
/usr/lib/.build-id/cf
/usr/lib/.build-id/cf/83dad55f159a686fcd188f0115d752a2c81999
/usr/lib/.build-id/d7
/usr/lib/.build-id/d7/7cb25c3f32034fd5fe318e44a65e1ebef00211
/usr/lib/systemd/system/corosync-notifyd.service
/usr/lib/systemd/system/corosync.service
/usr/sbin/corosync
/usr/sbin/corosync-cfgtool
/usr/sbin/corosync-cmapctl
/usr/sbin/corosync-cpgtool
/usr/sbin/corosync-keygen
/usr/sbin/corosync-notifyd
/usr/sbin/corosync-quorumtool
/usr/share/corosync
/usr/share/corosync/xml2conf.xsl
/usr/share/doc/corosync
/usr/share/doc/corosync/LICENSE
/usr/share/man/man5/corosync.conf.5.gz
/usr/share/man/man5/corosync.xml.5.gz
/usr/share/man/man5/votequorum.5.gz
/usr/share/man/man7/cmap_keys.7.gz
/usr/share/man/man7/corosync_overview.7.gz
/usr/share/man/man8/corosync-blackbox.8.gz
/usr/share/man/man8/corosync-cfgtool.8.gz
/usr/share/man/man8/corosync-cmapctl.8.gz
/usr/share/man/man8/corosync-cpgtool.8.gz
/usr/share/man/man8/corosync-keygen.8.gz
/usr/share/man/man8/corosync-notifyd.8.gz
/usr/share/man/man8/corosync-quorumtool.8.gz
/usr/share/man/man8/corosync-xmlproc.8.gz
/usr/share/man/man8/corosync.8.gz
/usr/share/snmp/mibs/COROSYNC-MIB.txt
/var/lib/corosync
/var/log/cluster
References
Summary
In this tutorial we learn how to install corosync
on Rocky Linux 8 using yum and dnf.