Starting the cluster and restoring previous roles

Use this procedure to complete the startup and make Active-Node the master/primary node.
  1. Log in to Passive-Node as root, or as a user with superuser privileges.
  2. Stop the serviced resource group.
    pcs resource disable serviced-group
  3. Take Active-Node out of standby mode.
    Replace Active-Node with the hostname assigned in Identifying node roles:
    pcs cluster unstandby Active-Node
  4. Confirm that disk replication is started.
    drbd-overview
    Do not proceed until the status of all devices is UpToDate/UpToDate.
  5. Put Passive-Node into standby mode.
    Replace Passive-Node with the hostname assigned in Identifying node roles:
    pcs cluster standby Passive-Node
  6. Confirm that node roles are reversed.
    pcs status resources
    Do not proceed until Active-Node is in the list named Masters and Passive-Node is in the list named Slaves.
  7. Take Passive-Node out of standby mode.
    Replace Passive-Node with the hostname assigned in Identifying node roles:
    pcs cluster unstandby Passive-Node
  8. Confirm that disk replication is started.
    drbd-overview
    Do not proceed until the status of all devices is UpToDate/UpToDate.
  9. Start cluster resources.
    1. Start the serviced group.
      pcs resource enable serviced-group
    2. Start the storage group.
      pcs resource enable serviced-storage
    3. Start serviced.
      pcs resource enable serviced
  10. Start your application.
    For example, the Zenoss application:
    serviced service start Zenoss.resmgr