HA failover can be forced on an HA primary unit. The unit will stay in a failover state regardless of the conditions. The only way to remove the failover status is by manually turning it off.
This article describes how to force HA failover.
Note that this is only used for testing, troubleshooting, and demonstrations.Do not use it in a production environment.
To manually force an HA failover.
# execute ha failover set 1
Caution: This command will trigger an HA failover. It is intended for testing purposes. Do you want to continue? (y/n) y
To view the failover status.
# execute ha failover status
failover status: set
To stop the failover status.
# execute ha failover unset 1
Caution: This command may trigger an HA failover.It is intended for testing purposes. Do you want to continue? (y/n)y