Configure fail-safe mode
| Node A (primary) health state | Node B (secondary) health state | Default high availability behavior | Fail-safe enabled high availability behavior | Description |
|---|---|---|---|---|
| NOT_UP (failed last) | NOT_UP (failed first) | A (Secondary), B (Secondary) | A (Primary), B (Secondary) | If both nodes fail, one after the other, the node that was the last primary node remains primary. |
| NOT_UP (failed first) | NOT_UP (failed last) | A (Secondary), B (Secondary) | A (Secondary), B (Primary) | If both nodes fail, one after the other, the node that was the last primary node remains primary. |
| UP | UP | A (Primary), B (Secondary) | A (Primary), B (Secondary) | If both nodes pass the health check, no change in behavior with fail-safe enabled. |
| UP | NOT_UP | A (Primary), B(Secondary) | A (Primary), B (Secondary) | If only the secondary node fails, no change in behavior with fail-safe enabled. |
| NOT_UP | UP | A (Secondary), B(Primary) | A (Secondary), B(Primary) | If only the primary fails, no change in behavior with fail-safe enabled. |
| NOT_UP | UP (STAYSECONDARY) | A (Secondary), B (Secondary) | A (Primary), B (Secondary) | If the secondary is configured as STAYSECONDARY, the primary remains primary even if it fails. |
To configure fail-safe mode
-
In the configuration utility, on the Configuration tab, in the navigation pane, expand System and then click High Availability.
-
In the details pane, on the Nodes tab, select a node and then click Edit.
-
In the Configure Node dialog box, under Fail-Safe Mode, select Maintain one Primary node even when both nodes are unhealthy and then click OK.