Identifying node roles

Use this procedure to identify and record the role of each node in the high-availability cluster.
  1. 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.
  2. Display the status of cluster resources.
    pcs status resources
    The first section shows the status of the nodes.
  3. 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.