Thursday, April 20, 2023

Brocade switch reboot process

 

Description

Use this command to perform a "cold reboot" (power off/restart) of the control processor. This operation may be disruptive, and the command prompts for confirmation before executing. When you reboot a switch connected to a fabric, all traffic to and from that switch stops. All Fibre Channel ports on that switch including E_Ports become inactive until the switch comes back online.
The behavior of this command depends on the platform:
  • When issued on a standalone (single-processor) switch, this command performs a cold reboot of the switch.
  • When issued on an enterprise-class platform (Brocade X6-4 Director or Brocade X6-8 Director) with two CPs (active and standby), the following rules apply:
    • When the Standby CP reboots, it goes down and there is no failover because there is no traffic on that switch. When the Standby CP comes up again, it is temporarily no longer in sync with the Active CP.
    • When the Active CP reboots, it fails over to the Standby CP. The Standby CP becomes the new Active CP and traffic is disrupted.
    • When HA is in sync, and 
      reboot -f
       is issued on the Active CP of a director, the Standby CP takes over as the active CP without traffic disruption. If HA is not in sync, and 
      reboot -f
       is issued on the Active CP, the Standby CP takes over as the Active CP and traffic is disrupted.
    • When HA is disabled and 
      reboot
       or 
      reboot -f
       is issued on the Active CP, both the Active and Standby CPs reboot with the original mastership retained. The original Active CP remains the Active CP after the reboot, and the original Standby CP remains the Standby CP. After the reboot, HA is enabled.
    • When HA is disabled and 
      reboot
       or 
      reboot -f
       is issued on the Standby CP, the Standby CP reboots without prompting. It boots up with the default switch only, even if the Active CP has multiple logical switches configured. After the Standby CP boots up, HA is still disabled.

Notes

This command is subject to Virtual Fabric restrictions that may be in place. See "Using Fabric OS Commands" and "Command Availability" for details.

Operands

-f
Causes the CP to fail over to the Standby CP without affecting any of the Fibre Channel Ports. Note that the recommended way to force a failover without affecting any Fibre Channel ports is to issue the 
haFailover
 command.

Examples

To reboot a standalone switch with a single CP:
switch:admin>
reboot
Warning: This command would cause the switch to reboot
and result in traffic disruption.
Are you sure you want to reboot the switch [y/n]?
y
Rebooting! Sun Feb 28 19:49:45 2010...
The system is going down for reboot NOW !!
To reboot a CP when HA is enabled:
switch:admin>
reboot
Warning: This command is being run on a control processor (CP)
based system and will cause the active CP to reboot.
Are you sure you want to reboot the active CP [y/n]?
y
Rebooting! Sun Feb 28 19:49:45 2010...
The system is going down for reboot NOW !!
To reboot a CP when 
haFailover
 is disabled:
switch:admin>
reboot
This command is being run on a control processor (CP)
based system. Because HA is disabled, it will cause both
active CP and the standby CP to reboot. After reboot, the
HA will be enabled.
Do you want to continue [y/n]
y
Rebooting! Sun Feb 28 19:49:45 2010...
The system is going down for reboot NOW !!

No comments: