To install the Cluster Suite software on a Red Hat Enterprise Linux (RHEL) or CentOS system, you can use the yum package manager. yum is a tool that allows you to install, update, and remove packages from the system.
Before you begin, make sure that you have a valid subscription to the Red Hat Cluster Suite and that you have configured the system to access the Red Hat repositories. Consult the Red Hat documentation for more information.
Here's an example of how to install the Cluster Suite software using yum:
$ sudo yum install -y cluster-glue cluster-glue-libs cluster-glue-python pcs pcs-python fence-agents-all
This will install the cluster-glue, cluster-glue-libs, cluster-glue-python, pcs, and pcs-python packages, as well as the fence agents.
pcsd daemon. The pcsd daemon is the main component of the Cluster Suite, and it must be running in order for the software to function properly. To start pcsd, use the following command:$ sudo systemctl start pcsd
pcsd to start at boot. To configure pcsd to start automatically when the system boots, use the following command:$ sudo systemctl enable pcsd
pcsd service to listen on a specific network interface. By default, pcsd listens on all network interfaces. To configure it to listen on a specific interface, you can use the pcsd-address option in the /etc/pcsd/pcsd.conf configuration file. For example:pcsd-address=<interface_name>
Replace <interface_name> with the name of the network interface.
pcs command:$ sudo pcs firewall enable
This will enable the firewall rules for the Cluster Suite.
Note: The specific options and syntax for these commands may vary depending on your Linux distribution and version.