Dell Brocade G620 Brocade 8.0.1 Fabric OS Software Upgrade Guide - Page 35

Testing a different firmware version on a Director, local, active, autoleveling

Page 35 highlights

Testing firmware Testing a different firmware version on a Director NOTE The firmwarerestore command is local to the control processor (CP). If you run it on the standby CP, it reboots the standby as expected, swaps partitions and then runs firmwarecommit to complete the effective removal of the previous firmware. If, however, you run firmwarerestore on the active CP, it performs the same actions as for the standby, but then it automatically triggers a failover to the standby CP since effectively you have rebooted the active CP with the firmwarerestore command. 1. Connect to the IP address for the Director. 2. Enter ipaddrshow and note the addresses for CP0 and CP1. 3. Enter hashow and note which CP is the active one, and which CP is the standby one. 4. Confirm that both CPs are in sync. If the CPs are not in sync, refer to Firmware download process for Directors on page 26 for instructions on synchronizing them. 5. Enter firmwareshow and confirm that the current firmware on both partitions on both CPs is listed as expected. 6. Exit the session. 7. Update the firmware on the standby CP. a) Connect to the Director and log in as "admin" to the standby CP. b) Enter firmwaredownload -sfn and respond to the prompts. At this point, the firmware downloads to the standby CP only. When it has completed the download to that CP, reboot it. The current session is disconnected. 8. Failover to the standby CP. a) Connect to the active CP. b) Enter hashow and verify that high availability (HA) synchronization is complete. It typically takes a minute or two for the standby CP to reboot and synchronize with the active CP. c) Enter firmwareshow and confirm that the primary partition of the standby CP contains the new firmware. d) Enter hafailover. The active CP reboots and the current session is disconnected. If an FX8-24 blade is installed (Brocade DCX 8510 only): At the point of the failover, an autoleveling process is activated to match the firmware on the blade with that on the CP. Blade partitions must always contain the same version of the firmware on both partitions. The firmware is stored on the blade's compact flash card and is always synchronized with the active CP's firmware. This is why the blade firmware is automatically downloaded (autoleveled) to become consistent with the CP firmware. 9. Verify that the failover succeeded. a) Connect to the active CP (the former standby CP). b) Enter hashow and verify that the HA synchronization is complete. It takes a minute or two for the standby CP, which is the old active CP, to reboot and synchronize with the active CP. NOTE If the CPs fail to synchronize, you can still proceed because the version being tested is already present on the active CP, and subsequent steps ensure that the standby CP is updated to the same version as the active CP. c) Enter firmwareshow to confirm that the evaluation firmware version is now running on the active CP. 10. Update the firmware on the standby CP. This allows you to test and validate HA failover using the new firmware. a) Connect to the standby CP (the former active CP). Brocade Fabric OS Upgrade Guide 53-1004124-01 35

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37

Testing a different firmware version on a Director
NOTE
The
firmwarerestore
command is
local
to the control processor (CP). If you run it on the standby CP, it reboots the standby as
expected, swaps partitions and then runs
firmwarecommit
to complete the effective removal of the previous firmware. If,
however, you run
firmwarerestore
on the
active
CP, it performs the same actions as for the standby, but then it automatically
triggers a failover to the standby CP since effectively you have rebooted the active CP with the
firmwarerestore
command.
1.
Connect to the IP address for the Director.
2.
Enter
ipaddrshow
and note the addresses for CP0 and CP1.
3.
Enter
hashow
and note which CP is the active one, and which CP is the standby one.
4.
Confirm that both CPs are in sync.
If the CPs are not in sync, refer to
Firmware download process for Directors
on page 26 for instructions on synchronizing them.
5.
Enter
firmwareshow
and confirm that the current firmware on both partitions on both CPs is listed as expected.
6.
Exit the session.
7.
Update the firmware on the standby CP.
a)
Connect to the Director and log in as “admin” to the standby CP.
b)
Enter
firmwaredownload -sfn
and respond to the prompts.
At this point, the firmware downloads to the standby CP only. When it has completed the download to that CP, reboot it.
The current session is disconnected.
8.
Failover to the standby CP.
a)
Connect to the active CP.
b)
Enter
hashow
and verify that high availability (HA) synchronization is complete. It typically takes a minute or two for the
standby CP to reboot and synchronize with the active CP.
c)
Enter
firmwareshow
and confirm that the primary partition of the standby CP contains the new firmware.
d)
Enter
hafailover
. The active CP reboots and the current session is disconnected.
If an FX8-24 blade is installed (Brocade DCX 8510 only)
: At the point of the failover, an
autoleveling
process is activated to
match the firmware on the blade with that on the CP. Blade partitions must always contain the same version of the
firmware on both partitions. The firmware is stored on the blade’s compact flash card and is always synchronized with the
active CP’s firmware. This is why the blade firmware is automatically downloaded (autoleveled) to become consistent with
the CP firmware.
9.
Verify that the failover succeeded.
a)
Connect to the active CP (the former standby CP).
b)
Enter
hashow
and verify that the HA synchronization is complete. It takes a minute or two for the standby CP, which is the
old active CP, to reboot and synchronize with the active CP.
NOTE
If the CPs fail to synchronize, you can still proceed because the version being tested is already present on the
active CP, and subsequent steps ensure that the standby CP is updated to the same version as the active CP.
c)
Enter
firmwareshow
to confirm that the evaluation firmware version is now running on the active CP.
10.
Update the firmware on the standby CP. This allows you to test and validate HA failover using the new firmware.
a)
Connect to the standby CP (the former active CP).
Testing firmware
Brocade Fabric OS Upgrade Guide
53-1004124-01
35