Обновление двойного супервизора Nexus 9504
-
У меня есть Nexus 9504 с двумя супервизорами. После прочтения примечаний к выпуску 9.3(10) я не совсем понимаю, как работает обновление. В структуре каталогов нет понятия «подчиненный супервизор». В примечаниях к выпуску указано, что обновление необходимо проводить на активном супервизоре, но нигде не говорится, что делать с резервным супервизором. Я предполагаю, что мне нужно скопировать программное обеспечение на резервный супервизор, или обновление само позаботится об этом? Я относительно новичок в Nexus.
-
Привет, Рассел! Когда на активном супервизоре модульных коммутаторов Nexus 9500 с двумя супервизорами запускается обновление с помощью команды
install all
, в рамках процесса обновления файл двоичного образа NX-OS автоматически копируется в bootflash резервного супервизора. Чтобы вы были еще более уверены, я выполнил обновление NX-OS с версии 9.3(7) до 9.3(10) на Nexus 9504 с двумя супервизорами, чтобы продемонстрировать вам этот процесс. N9K-C9504#
show module
<snip>
Mod Ports Module-Type Model Status
1 32 32x40/100G Ethernet Module N9K-X9732C-FX ok 2 36 36x100G Ethernet Module N9K-X9736C-EX ok 22 0 4-slot Fabric Module N9K-C9504-FM-E ok 23 0 4-slot Fabric Module N9K-C9504-FM-E ok 24 0 4-slot Fabric Module N9K-C9504-FM-E ok 26 0 4-slot Fabric Module N9K-C9504-FM-E ok 27 0 Supervisor Module N9K-SUP-B+ active * 28 0 Supervisor Module N9K-SUP-B+ ha-standby
29 0 System Controller N9K-SC-A standby 30 0 System Controller N9K-SC-A active Mod Sw Hw Slot
1 9.3(7) 1.0 LC1 2 9.3(7) 1.3 LC2 22 9.3(7) 1.3 FM2 23 9.3(7) 1.3 FM3 24 9.3(7) 1.3 FM4 26 9.3(7) 1.3 FM6 27 9.3(7) 1.0 SUP1
28 9.3(7) 1.0 SUP2
29 9.3(7) 2.0 SC1 30 9.3(7) 2.0 SC2 Как вы можете видеть, файл двоичного образа NX-OS для NX-OS 9.3(10) (nxos.9.3.10.bin) находится в бутфлэше активного супервизора. N9K-C9504#
dir bootflash: | include nxos.9.3.10.bin
1966000640 Aug 19 00:53:47 2022 nxos.9.3.10.bin Однако этот же файл
nxos.9.3.10.bin
отсутствует в bootflash резервного супервизора. N9K-C9504#
dir bootflash://sup-standby/ | include nxos.9.3.10.bin
N9K-C9504# N9K-C9504#
dir bootflash://sup-standby/
4096 Jan 17 09:00:45 2023 .rpmstore/ 4096 Jan 17 17:12:22 2022 .swtam/ 172 Jan 14 11:04:10 2023 20230114_110342_poap_4579_init.log 172 Jan 16 00:18:45 2023 20230116_001817_poap_4559_init.log 172 Jan 16 03:40:16 2023 20230116_033948_poap_4531_init.log 172 Jan 16 19:47:06 2023 20230116_194637_poap_4555_init.log 172 Jan 17 09:24:08 2023 20230117_090408_poap_1590_init.log 1639 Jan 16 17:11:57 2023 bgp.1.0 0 Jan 17 07:31:59 2023 bootflash_sync_list 64507 May 28 02:42:50 2021 d 4096 Jun 23 19:38:27 2020 eem_snapshots/ 4096 Apr 29 07:04:17 2022 evt_log_snapshot/ 4096 Oct 31 00:58:23 2020 home/ 4096 Nov 22 22:13:57 2022 intersight/ 4096 Dec 28 03:36:05 2022 lost+found/ 2849 Jan 17 07:29:29 2023 lpssutil_lpss_log 1011037696 Dec 28 02:45:56 2022 nxos.7.0.3.I7.6.bin 1973174784 Jan 13 15:16:42 2023 nxos.9.3.6.bin 1959441408 May 25 19:17:06 2021 nxos.9.3.7.bin 1965225472 Nov 23 22:06:55 2022 nxos.9.3.7a.bin 1856263168 Dec 20 08:24:46 2022 nxos64.10.2.1.F.bin 4096 Aug 24 06:15:06 2018 onep/ 0 Jan 10 12:47:21 2023 platform-sdk.cmd 4096 Feb 18 03:45:30 2022 ptp_autolog/ 4096 Apr 29 03:41:14 2022 scripts/ 4096 Jan 10 12:42:21 2023 virt_strg_pool_bf_vdc_1/ 4096 Jan 10 12:42:31 2023 virtual-instance/ 4096 Jan 10 12:43:06 2023 virtual-instance-stby-sync/ 120 Jan 17 09:04:21 2023 virtual-instance.conf Usage for bootflash://sup-standby 8858894336 bytes used
12872318976 bytes free
21731213312 bytes total Если мы запустим процесс обновления NX-OS с помощью команды
install all nxos bootflash:nxos.9.3.10.bin
на активном супервизоре, мы увидим, что двоичный образ NX-OS копируется в бутфлэш резервного супервизора во время процесса обновления. Я выделил этот шаг для вас ниже красным цветом. N9K-C9504#
install all nxos bootflash:nxos.9.3.10.bin
Installer will perform compatibility check first. Please wait. Installer is forced disruptive Verifying image bootflash:/nxos.9.3.10.bin for boot variable "nxos".
[####################] 100% -- SUCCESS Verifying image type.
[####################] 100% -- SUCCESS Preparing "bios" version info using image bootflash:/nxos.9.3.10.bin.
[####################] 100% -- SUCCESS Preparing "nxos" version info using image bootflash:/nxos.9.3.10.bin.
[####################] 100% -- SUCCESS Performing module support checks.
[####################] 100% -- SUCCESS Notifying services about system upgrade.
[####################] 100% -- SUCCESS Compatibility check is done:
Module bootable Impact Install-type Reason
------ -------- -------------- ------------ ------ 1 yes disruptive reset default upgrade is not hitless 2 yes disruptive reset default upgrade is not hitless 22 yes disruptive reset default upgrade is not hitless 23 yes disruptive reset default upgrade is not hitless 24 yes disruptive reset default upgrade is not hitless 26 yes disruptive reset default upgrade is not hitless 27 yes disruptive reset default upgrade is not hitless 28 yes disruptive reset default upgrade is not hitless 29 yes disruptive reset default upgrade is not hitless 30 yes disruptive reset default upgrade is not hitless Images will be upgraded according to following table:
Module Image Running-Version(pri:alt) New-Version Upg-Required
------ ---------- ---------------------------------------- -------------------- ------------ 1 lcn9k 9.3(7) 9.3(10) yes 1 bios v03.48(04/24/2018):v03.48(04/24/2018) v03.48(04/24/2018) no 2 lcn9k 9.3(7) 9.3(10) yes 2 bios v03.48(04/24/2018):v03.48(04/24/2018) v03.48(04/24/2018) no 22 lcn9k 9.3(7) 9.3(10) yes 22 bios v03.48(04/24/2018):v03.48(04/24/2018) v03.48(04/24/2018) no 23 lcn9k 9.3(7) 9.3(10) yes 23 bios v03.48(04/24/2018):v03.48(04/24/2018) v03.48(04/24/2018) no 24 lcn9k 9.3(7) 9.3(10) yes 24 bios v03.48(04/24/2018):v03.48(04/24/2018) v03.48(04/24/2018) no 26 lcn9k 9.3(7) 9.3(10) yes 26 bios v03.48(04/24/2018):v03.48(04/24/2018) v03.48(04/24/2018) no 27 nxos 9.3(7) 9.3(10) yes 27 bios v05.47(04/28/2022):v05.24(08/02/2017) v05.47(04/28/2022) no 28 nxos 9.3(7) 9.3(10) yes 28 bios v05.46(01/13/2022):v05.24(08/02/2017) v05.47(04/28/2022) yes 29 lcn9k 9.3(7) 9.3(10) yes 29 bios v01.48(00:v01.48(00 v01.48(00 no 30 lcn9k 9.3(7) 9.3(10) yes 30 bios v01.48(00:v01.48(00 v01.48(00 no Switch will be reloaded for disruptive upgrade.
Do you want to continue with the installation (y/n)? [n]
y
Install is in progress, please wait. Performing runtime checks.
[####################] 100% -- SUCCESS
Syncing image bootflash:/nxos.9.3.10.bin to standby.
[####################] 100% -- SUCCESS
Setting boot variables.
[####################] 100% -- SUCCESS Performing configuration copy.
[####################] 100% -- SUCCESS Module 1: Refreshing compact flash and upgrading bios/loader/bootrom.
Warning: please do not remove or power off the module at this time.
[####################] 100% -- SUCCESS Module 2: Refreshing compact flash and upgrading bios/loader/bootrom.
Warning: please do not remove or power off the module at this time.
[####################] 100% -- SUCCESS Module 22: Refreshing compact flash and upgrading bios/loader/bootrom.
Warning: please do not remove or power off the module at this time.
[####################] 100% -- SUCCESS Module 23: Refreshing compact flash and upgrading bios/loader/bootrom.
Warning: please do not remove or power off the module at this time.
[####################] 100% -- SUCCESS Module 24: Refreshing compact flash and upgrading bios/loader/bootrom.
Warning: please do not remove or power off the module at this time.
[####################] 100% -- SUCCESS Module 26: Refreshing compact flash and upgrading bios/loader/bootrom.
Warning: please do not remove or power off the module at this time.
[####################] 100% -- SUCCESS Module 27: Refreshing compact flash and upgrading bios/loader/bootrom.
Warning: please do not remove or power off the module at this time.
[####################] 100% -- SUCCESS Module 28: Refreshing compact flash and upgrading bios/loader/bootrom.
Warning: please do not remove or power off the module at this time.
[####################] 100% -- SUCCESS Module 29: Refreshing compact flash and upgrading bios/loader/bootrom.
Warning: please do not remove or power off the module at this time.
[####################] 100% -- SUCCESS Module 30: Refreshing compact flash and upgrading bios/loader/bootrom.
Warning: please do not remove or power off the module at this time.
[####################] 100% -- SUCCESS
2023 Jan 17 09:48:51 N9K-C9504 %$ VDC-1 %$ %VMAN-2-ACTIVATION_STATE: Successfully deactivated virtual service 'guestshell+' Finishing the upgrade, switch will reboot in 10 seconds.
N9K-C9504# После завершения процесса обновления мы видим, что оба супервизора теперь работают под управлением NX-OS 9.3(10), как и ожидалось. Это выделено красным цветом ниже. N9K-C9504#
show module
<snip>
Mod Ports Module-Type Model Status
1 32 32x40/100G Ethernet Module N9K-X9732C-FX ok 2 36 36x100G Ethernet Module N9K-X9736C-EX ok 22 0 4-slot Fabric Module N9K-C9504-FM-E ok 23 0 4-slot Fabric Module N9K-C9504-FM-E ok 24 0 4-slot Fabric Module N9K-C9504-FM-E ok 26 0 4-slot Fabric Module N9K-C9504-FM-E ok
27 0 Supervisor Module N9K-SUP-B+ active * 28 0 Supervisor Module N9K-SUP-B+ ha-standby
29 0 System Controller N9K-SC-A standby 30 0 System Controller N9K-SC-A active Mod Sw Hw Slot
1 9.3(10) 1.0 LC1 2 9.3(10) 1.3 LC2 22 9.3(10) 1.3 FM2 23 9.3(10) 1.3 FM3 24 9.3(10) 1.3 FM4 26 9.3(10) 1.3 FM6
27 9.3(10) 1.0 SUP1
28 9.3(10) 1.0 SUP2
29 9.3(10) 2.0 SC1 30 9.3(10) 2.0 SC2 Надеюсь, это поможет — спасибо! -Кристофер -
Крис Большое спасибо — отличное разъяснение.
-
Здравствуйте, Кристофер. Воспользовавшись тем, что я наткнулся на ваш пост, я хотел бы спросить вас о процессе замены резервного супервизора. В этом случае, следует ли обновить его до версии активного супервизора, или после установки нового модуля происходит синхронизация? Кроме того, повлияет ли этот процесс на работу сети?
-
Кристофер, хорошая информация. Как долго коммутатор не будет работать во время обновления? Есть ли документ, который я могу предоставить клиенту с информацией о предполагаемом перебое в работе? Спасибо.
-
Здравствуйте, мне нужна помощь в замене текущей карты SUP-B на карту SUP-B+. Не могли бы вы подсказать, какие конкретные шаги необходимо выполнить, так как в предоставленном Cisco документе это не ясно.
Здравствуйте! Похоже, вам интересна эта беседа, но у вас пока нет учетной записи.
Вы устали просматривать одни и те же посты каждый раз, когда заходите на сайт? После регистрации, вам не придётся искать обсуждения в которых вы принимали участие, настройте уведомления о новых сообщениях так как вам это удобно (по электронной почте или уведомлением). У вас появится возможность сохранять закладки и ставить лайки постам, чтобы выразить свою благодарность другим участникам сообщества.
С вашими комментариями этот пост может стать ещё лучше 💗
Зарегистрироваться Войти