Installing cluster management
- Log in to the primary node as root, or as a user with superuser privileges.
- In a separate window, log in to the secondary node as root, or as a user with superuser privileges.
On both nodes, extract and install the cluster management packages.
Extract the packages.
cd /tmp && tar xzf ./downloads.tgz
Install the packages.
yum --disablerepo=\* install -y ./downloads/*.rpm
- Extract the packages.
On both nodes, install the Pacemaker resource agent for Control Center.
Pacemaker uses resource agents (scripts) to implement a standardized interface for managing arbitrary resources in a cluster. Zenoss provides a Pacemaker resource agent to manage the Control Center master host.
yum install -y --disablerepo=\* \ /opt/zenoss-repo-mirror/serviced-resource-agents-1.0.0-1.x86_64.rpm
On both nodes, start and enable the PCS daemon.
systemctl start pcsd.service && systemctl enable pcsd.service
On both nodes, set the password of the hacluster account.
The Pacemaker package creates the hacluster user account, which must have the same password on both nodes.