8.3. Enabling and Disabling High Availability for Nodes

Usually, you decide whether to enable high availability support for a node when you install Virtuozzo Storage on it.

To enable HA on a prepared node, do the following:

  1. Execute the shaman join command. For example, to join the cluster vstor1, execute:

    # shaman -c vstor1 join
  2. Configure and start the required services:

    # systemctl enable snmpd.service
    # systemctl start snmpd.service
    # systemctl enable shaman.service
    # systemctl start shaman.service
    # systemctl enable pdrs.service
    # systemctl start pdrs.service

To disable HA on a node, do the following:

  1. Configure and stop the services which are no longer required:

    # systemctl disable shaman.service
    # systemctl stop shaman.service
    # systemctl disable pdrs.service
    # systemctl stop pdrs.service
  2. Execute the shaman leave command. For example, to leave the cluster vstor1, execute:

    # shaman -c vstor1 leave

After enabling or disabling HA support for a node, you can check the results of your actions with the shaman stat command.