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:
-
Execute the
shaman joincommand. For example, to join the clustervstor1, execute:# shaman -c vstor1 join -
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:
-
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
-
Execute the
shaman leavecommand. For example, to leave the clustervstor1, 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.