HP StorageWorks Fabric OS 5.0.0 Command Reference Guide (AA-RW1MA-TE, May 2005)

262 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 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 control processor(CP)
based system. If the above status does not indicate HA State
synchronized then 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 just reboot a logical switch on this system, use command
switchreboot on the logical switch you intend to reboot.
Are you sure you want to reboot the active CP [y/n]? Y