Command Reference Guide

Fabric OS Command Reference 435
53-1002746-01
haFailover
2
haFailover
Forces the failover mechanism so that the standby control processor (CP) becomes the active CP.
SYNOPSIS hafailover
DESCRIPTION Use this command to force the failover mechanism to occur so that the standby CP becomes the active
CP. In case the active and standby CPs are not synchronized or the system is not in redundant mode, the
command aborts.
NOTES When High Availability (HA) synchronization is enabled and the CPs are in sync, the port traffic light does
not flash during the failover, even while traffic is continuing to flow.
This command is supported only on dual-CP systems.
The execution of this command is subject to Virtual Fabric or Admin Domain restrictions that may be in
place. Refer to Chapter 1, "Using Fabric OS Commands" and Appendix A, "Command Availability" for
details.
OPERANDS None
EXAMPLES To force the failover of the active CP to the standby CP in the switch:
switch:admin> hafailover
Local CP (Slot 7, CP1): Active, Warm Recovered
Remote CP (Slot 6, CP0): Standby, Healthy
HA enabled, Heartbeat Up, HA State synchronized
Warning: This command is being run on a redundant control processor(CP)
system, and this operation will cause the active CP to reset.
Therefore all existing telnet sessions are required to be restarted.
Are you sure you want to fail over to the standby CP [y/n]?
SEE ALSO haDisable, haEnable, haShow