--- title: "Configuring automatic shutdown for a split-brain condition using the CLI" slug: "configuring-automatic-shutdown-for-a-split-brain-condition-using-the-cli" tags: ["Central Management System", "Install and Get Started"] updated: 2026-10-01T07:41:24Z published: 2026-10-01T07:41:24Z canonical: "docs.trellix.com/configuring-automatic-shutdown-for-a-split-brain-condition-using-the-cli" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.trellix.com/llms.txt > Use this file to discover all available pages before exploring further. # Configuring automatic shutdown for a split-brain condition using the CLI 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](/network-and-platform/docs/introduction-1#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 Stop the cluster engine on both nodes: 1. Log in to the secondary node. 2. Enable the CLI configuration mode: ```plaintext node-hostname > enable node-hostname # configure terminal ``` 3. Stop the cluster engine: ```plaintext node-hostname (config) # ha engine stop ``` 4. Repeat these steps on the primary node. Enable automatic shutdown: 1. Enable automatic shutdown: ```plaintext node-hostname (config) # ha engine split-brain shutdown auto ``` 2. Verify your change: ```plaintext node-hostname (config) # show configuration ``` 3. Save your change: ```plaintext node-hostname (config) # write memory ``` Restart the cluster engine on both nodes: 1. Restart the cluster engine on the primary node: ```plaintext node-hostname (config) # ha engine restart ``` 2. Repeat the previous step to restart the cluster engine on the secondary node. ### Disabling automatic shutdown Stop the cluster engine on both nodes: 1. Log in to the secondary node. 2. Enable the CLI configuration mode: ```plaintext node-hostname > enable node-hostname # configure terminal ``` 3. Stop the cluster engine: ```plaintext node-hostname (config) # ha engine stop ``` 4. Repeat these steps on the primary node. Disable automatic shutdown: 1. Disable automatic shutdown: ```plaintext node-hostname (config) # no ha engine split-brain shutdown auto ``` 2. Verify your change: ```plaintext node-hostname (config) # show ha configuration ``` 3. Save your change: ```plaintext node-hostname (config) # write memory ``` Restart the cluster engine on both nodes: 1. Restart the cluster engine on the primary node: ```plaintext node-hostname (config) # ha engine restart ``` 2. Repeat the previous step to restart the cluster engine on the secondary node. ### Example The following example enables automatic shutdown for the cluster from the secondary node. ```plaintext node2 (config) # ha engine stop ``` ```plaintext node1 (config) # ha engine stop ``` ```plaintext node2 (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 ``` :