Updating cluster software

Use this procedure to update Distributed Replicated Block Device (DRBD) and Pacemaker/Corosync, if desired.
  1. Stop all applications, and then stop the high-availability cluster.
    For more information, see Stopping a Control Center deployment.
  2. Log in to the primary node as root, or as a user with superuser privileges.
  3. In a separate window, log in to the secondary node as root, or as a user with superuser privileges.
  4. On both nodes, stop the cluster software.
    1. Stop the PCS daemon.
      systemctl stop pcsd.service
    2. Stop DRBD.
      drbdadm down all
  5. On both nodes, extract and install the cluster management packages.
    1. Extract the packages.
      cd /tmp && tar xzf ./downloads.tgz
    2. Install the packages.
      yum --disablerepo=\* install -y ./downloads/*.rpm
  6. On both nodes, install the Pacemaker resource agents for Control Center.
    yum install -y \
      /opt/zenoss-repo-mirror/serviced-resource-agents-1.0.0-1.x86_64.rpm
  7. Determine which node is the primary node.
    pcs status
  8. On the primary node, start the cluster software.
    1. Start DRBD.
      drbdadm up all
    2. Start DRBD and assign the primary role.
      drbdadm up all && drbdadm primary --force serviced-dfs
    3. Start the PCS daemon.
      systemctl start pcsd.service
  9. On the secondary node, start the cluster software.
    1. Start DRBD.
      drbdadm up all
    2. Start the PCS daemon.
      systemctl start pcsd.service
  10. Start the high-availability cluster, and then start applications.
    For more information, see Starting Control Center.