HP StorageWorks Fabric OS 5.X Command Reference Guide (AA-RVHVB-TE, September 2005)

Table Of Contents
288 Fabric OS commands
Forces the failover mechanism so that the standby control processor (CP) becomes the active CP.
Synopsis
hafailover
Availability
admin
Description
Use this command to force the failover mechanism to occur so that the standby CP becomes the active CP.
Because haFailover results in an active CP reboot, a warning message and confirmation are
displayed. If the user confirms, the failover takes place.
When 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.
NOTE: This command is supported only on systems with dual CP cards.
Operands
none
Examples
To force the failover of the active CP to the standby CP in the switch:
See also
haDisable
haEnable
haShow
haFailover
switch:admin> hafailover
Local CP (Slot 6, CP1): Active
Remote CP (Slot 5, CP0): 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 both switch 0
and switch 1 and will require that 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]? y