Use the commands in this section to automatically shut down the cluster when there is a split-brain condition. This feature is disabled by default. (See Split-brain handling for more information about this configuration option.)
Note
This is a global configuration. The configuration actions are performed from only one node, but are applied to the cluster.
Enabling automatic shutdown
Enable automatic shutdown:
Enable automatic shutdown:
node-hostname (config) # ha engine split-brain shutdown autoVerify your change:
node-hostname (config) # show configurationSave your change:
node-hostname (config) # write memory
Disabling automatic shutdown
Disable automatic shutdown:
Disable automatic shutdown:
node-hostname (config) # no ha engine split-brain shutdown autoVerify your change:
node-hostname (config) # show ha configurationSave your change:
node-hostname (config) # write memory
Example
The following example enables automatic shutdown for the cluster from the secondary node.
node2 (config) # ha engine stopnode1 (config) # ha engine stopnode2 (config) # ha engine split-brain shutdown auto node2 (config) # show ha configuration CM HA Settings: ... Split-brain auto-shutdown: no ... ... node2 (config) # write memory node2 (config) # ha engine restart node1 (config) # ha engine restart