Enabling and Disabling High Availability for Nodes
Usually, you decide whether to enable High Availability (HA) support for a node when you install Virtuozzo Storage on it.
To enable HA on a prepared node, do the following:
- Execute the
shaman join command. For example, to join the cluster pcs1 , execute:# shaman -c pcs1 join
Note: Stop all service Containers (e.g., 1 and 50) before executing this command. Start them again after the command has been executed.
- Configure and start the required services:
# chkconfig snmpd on
# service snmpd start
# chkconfig shamand on
# service shamand start
# chkconfig pdrsd on
# service pdrsd start
Note: If you use snmpd for other purposes and it is already running, skip the two corresponding commands above.
To disable HA on a node, do the following:
- Configure and stop the services which are no longer required:
# chkconfig shamand off
# service shamand stop
# chkconfig pdrsd off
# service pdrsd stop
- Execute the
shaman leave command. For example, to leave the cluster pcs1 , execute:# shaman -c pcs1 leave
After enabling or disabling HA support for a node, you can check the results of your actions with the shaman stat command.
|