Brocade Fabric OS Command Reference Manual (53-1000240-01, November 2006)

Fabric OS Command Reference Manual 2-269
Publication Number: 53-1000240-01
haFailover
2
Note: Enter commands in lowercase only; mixed case is for readability.
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.
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.
In an Admin Domain-aware environment, this command is allowed only if the local switch is a member
of the current Admin Domain.
N
ote
This command is supported only on systems with dual -CP cards.
N
ote
The execution of this command is subject to Admin Domain restrictions that may be in place.
Operands none
Examples To force the failover of the active CP to the standby CP in the switch:
See Also haDisable, haEnable, haShow
switch:admin> hafailover
Local CP (Slot 5, CP0): Active, Cold Recovered
Remote CP (Slot 6, CP1): Standby, Healthy
HA enabled, Heartbeat Up, HA State synchronized
Warning: This command is being run on a redundant control
processor(CP) system. If the above status does not indicate
'HA State synchronized', then the CPs are not synchronized
and this operation will cause the active CP to reset. This
will cause disruption to devices attached to all the switches
supported by the CP and will require that the existing telnet
sessions be restarted. To reboot a single logical switch on
this system, use the switchreboot command while logged in to
that logical switch.
Are you sure you want to fail over to the standby CP [y/n]?