Identifying node roles
- Use the virtual hostname or virtual IP address of the high-availability cluster to log in to the Control Center master node as root, or as a user with superuser privileges.
Display the status of cluster resources.
pcs status resourcesThe first section shows the status of the nodes.
Record the node roles or restart the cluster.
- If the status of the nodes includes a list named Masters and a list named Slaves, record the information. In the procedures that follow, the node in the list named Masters is represented by the variable name Active-Node, and the node in the list named Slaves is represented by the variable name Passive-Node.
- If the status of the nodes includes a list named Stopped, do not attempt to perform the procedures that follow. Instead, restart the cluster, and then repeat this procedure.