Fortinet white logo
Fortinet white logo

CLI Reference

execute ha force failover-standby

execute ha force failover-standby

Use this command to force an HA failover in the local node of an HA Active-Passive or Active-Active cluster. For certain troubleshooting, maintenance, or testing scenarios, the ability to trigger HA failover manually can be useful.

Syntax

execute ha force failover-standby {set|unset}

execute ha force failover-standby status

set

Enables the failover-standby to force the local node of the HA Active-Passive or Active-Active cluster into standby status.

unset

Disables the failover-standby command to allow local node of the HA Active-Passive or Active-Active cluster to become active again.

status

Allows you to view whether the failover-standby has been set or unset.

Example

(P) FADC # execute ha force failover-standby set
HA failover-standby is set.
(S) FADC # execute ha force failover-standby status
HA failover-standby is set.
(S) FADC # execute ha force failover-standby unset
HA failover-standby is unset.
(P) FADC # execute ha force failover-standby status
HA failover-standby is unset.

execute ha force failover-standby

execute ha force failover-standby

Use this command to force an HA failover in the local node of an HA Active-Passive or Active-Active cluster. For certain troubleshooting, maintenance, or testing scenarios, the ability to trigger HA failover manually can be useful.

Syntax

execute ha force failover-standby {set|unset}

execute ha force failover-standby status

set

Enables the failover-standby to force the local node of the HA Active-Passive or Active-Active cluster into standby status.

unset

Disables the failover-standby command to allow local node of the HA Active-Passive or Active-Active cluster to become active again.

status

Allows you to view whether the failover-standby has been set or unset.

Example

(P) FADC # execute ha force failover-standby set
HA failover-standby is set.
(S) FADC # execute ha force failover-standby status
HA failover-standby is set.
(S) FADC # execute ha force failover-standby unset
HA failover-standby is unset.
(P) FADC # execute ha force failover-standby status
HA failover-standby is unset.