Страница 1 из 1

Cat3850 InService Upgrade

Добавлено: 31 мар 2017, 18:58
xor
Стэк коммутаторов 3850 можно апгрейдить без даунтайма, если обновление идет в пределах минорных версий или билдов.

Сперва качаем и инсталлим софт стандартным рекомендованным способом. Ждем отработки всех этапов, следим за ошибками, в конце отказываемся от перезагрузки (либо просто в команде ключ no-reload используем).

Код: Выделить всё

3850-SPB-OFC-CORE#software install file ftp://ftp:ftp@10.10.1.8/DISTR/cat3k_caa-universalk9.SPA.03.06.06.E.152-2.E6.bin verbose 
Preparing install operation ...
[1]: Downloading file ftp://***************@10.10.1.8/DISTR/cat3k_caa-universalk9.SPA.03.06.06.E.152-2.E6.bin to active switch 1
[1]: Finished downloading file ftp://***************@10.10.1.8/DISTR/cat3k_caa-universalk9.SPA.03.06.06.E.152-2.E6.bin to active switch 1
[1]: Copying software from active switch 1 to switch 2
[1]: Finished copying software to switch 2
[1 2]: Starting install operation
[1 2]: Expanding bundle cat3k_caa-universalk9.SPA.03.06.06.E.152-2.E6.bin
[1 2]: Copying package files
[1 2]: Package files copied
[1 2]: Finished expanding bundle cat3k_caa-universalk9.SPA.03.06.06.E.152-2.E6.bin
[1 2]: Verifying and copying expanded package files to flash:
[1 2]: Verified and copied expanded package files to flash:
[1 2]: Starting compatibility checks
[1 2]: Finished compatibility checks
[1 2]: Starting application pre-installation processing
[1 2]: Finished application pre-installation processing
[1]: Old files list:
    Removed cat3k_caa-base.SPA.03.06.03.SE.pkg
    Removed cat3k_caa-drivers.SPA.03.06.03.SE.pkg
    Removed cat3k_caa-infra.SPA.03.06.03.SE.pkg
    Removed cat3k_caa-iosd-universalk9.SPA.150-1.EX3.pkg
    Removed cat3k_caa-platform.SPA.03.06.03.SE.pkg
    Removed cat3k_caa-wcm-ldpe.SPA.10.0.120.0.pkg
[2]: Old files list:
    Removed cat3k_caa-base.SPA.03.06.03.SE.pkg
    Removed cat3k_caa-drivers.SPA.03.06.03.SE.pkg
    Removed cat3k_caa-infra.SPA.03.06.03.SE.pkg
    Removed cat3k_caa-iosd-universalk9.SPA.150-1.EX3.pkg
    Removed cat3k_caa-platform.SPA.03.06.03.SE.pkg
    Removed cat3k_caa-wcm-ldpe.SPA.10.0.120.0.pkg
[1]: New files list:
    Added cat3k_caa-base.SPA.03.06.06E.pkg
    Added cat3k_caa-drivers.SPA.03.06.06E.pkg
    Added cat3k_caa-infra.SPA.03.06.06E.pkg
    Added cat3k_caa-iosd-universalk9.SPA.152-2.E6.pkg
    Added cat3k_caa-platform.SPA.03.06.06E.pkg
    Added cat3k_caa-wcm.SPA.10.2.160.0.pkg
[2]: New files list:
    Added cat3k_caa-base.SPA.03.06.06E.pkg
    Added cat3k_caa-drivers.SPA.03.06.06E.pkg
    Added cat3k_caa-infra.SPA.03.06.06E.pkg
    Added cat3k_caa-iosd-universalk9.SPA.152-2.E6.pkg
    Added cat3k_caa-platform.SPA.03.06.06E.pkg
    Added cat3k_caa-wcm.SPA.10.2.160.0.pkg
[1 2]: Creating pending provisioning file
[1 2]: Finished installing software.  New software will load on reboot.
[1 2]: Committing provisioning file

[1 2]: Do you want to proceed with reload? [yes/no]: no
Проверяем текущее состояние кластера

Код: Выделить всё

3850-SPB-OFC-CORE#show redundancy 
Redundant System Information :

------------------------------
       Available system uptime = 3 days, 18 hours, 12 minutes
Switchovers system experienced = 0
              Standby failures = 0
        Last switchover reason = not known

                 Hardware Mode = Duplex
    Configured Redundancy Mode = SSO
     Operating Redundancy Mode = SSO
              Maintenance Mode = Disabled
                Communications = Up

Current Processor Information :
------------------------------
               Active Location = slot 1
        Current Software state = ACTIVE
       Uptime in current state = 3 days, 18 hours, 11 minutes
                 Image Version = Cisco IOS Software, IOS-XE Software, Catalyst L3 Switch Software (CAT3K_CAA-UNIVERSALK9-M), Version 03.06.03.SE RELEASE SOFTWARE (fc2)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 1986-2013 by Cisco Systems, Inc.
Compiled Mon 23-Sep-13 18:24 by prod_rel
               BOOT = flash:packages.conf
        Configuration register = 0x102

Peer Processor Information :
------------------------------
              Standby Location = slot 2
        Current Software state = STANDBY HOT
       Uptime in current state = 3 days, 18 hours, 7 minutes
                 Image Version = Cisco IOS Software, IOS-XE Software, Catalyst L3 Switch Software (CAT3K_CAA-UNIVERSALK9-M), Version 03.06.03.SE RELEASE SOFTWARE (fc2)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 1986-2013 by Cisco Systems, Inc.
Compiled Mon 23-Sep-13 18:24 by prod_rel
               BOOT = flash:packages.conf
        Configuration register = 0x102

3850-SPB-OFC-CORE#show switch  
Switch/Stack Mac Address : 00cc.fc50.9b00 - Local Mac Address
Mac persistency wait time: Indefinite
                                             H/W   Current
Switch#   Role    Mac Address     Priority Version  State 
------------------------------------------------------------
*1       Active   00cc.fc50.9b00     1      V06     Ready               
 2       Standby  00cc.fc5a.5400     1      V06     Ready               
Перезагружаем StandBy коммутатор.

Код: Выделить всё

3850-SPB-OFC-CORE#reload slot 2 
Proceed with reload? [confirm]
3850-SPB-OFC-CORE#
3850-SPB-OFC-CORE#show switch 
Switch/Stack Mac Address : 00cc.fc50.9b00 - Local Mac Address
Mac persistency wait time: Indefinite
                                             H/W   Current
Switch#   Role    Mac Address     Priority Version  State 
------------------------------------------------------------
*1       Active   00cc.fc50.9b00     1      V06     Ready               
 2       Member   0000.0000.0000     0      0       Removed             

3850-SPB-OFC-CORE#
3850-SPB-OFC-CORE#sh switch 
Switch/Stack Mac Address : 00cc.fc50.9b00 - Local Mac Address
Mac persistency wait time: Indefinite
                                             H/W   Current
Switch#   Role    Mac Address     Priority Version  State 
------------------------------------------------------------
*1       Active   00cc.fc50.9b00     1      V06     Ready               
 2       Member   0000.0000.0000     0      0       Provisioned         
 
3850-SPB-OFC-CORE#

3850-SPB-OFC-CORE#sh switch     
Switch/Stack Mac Address : 00cc.fc50.9b00 - Local Mac Address
Mac persistency wait time: Indefinite
                                             H/W   Current
Switch#   Role    Mac Address     Priority Version  State 
------------------------------------------------------------
*1       Active   00cc.fc50.9b00     1      V06     Ready               
 2       Member   00cc.fc5a.5400     0      0       HA sync in progress 
 
3850-SPB-OFC-CORE#
3850-SPB-OFC-CORE#sh switch 
Switch/Stack Mac Address : 00cc.fc50.9b00 - Local Mac Address
Mac persistency wait time: Indefinite
                                             H/W   Current
Switch#   Role    Mac Address     Priority Version  State 
------------------------------------------------------------
*1       Active   00cc.fc50.9b00     1      V06     Ready               
 2       Member   00cc.fc5a.5400     1      V06     Ready               
Теперь делаем свич-овер и грузим второй

Код: Выделить всё

3850-SPB-OFC-CORE#redundancy force-switchover 
This will reload the active unit and force switchover to standby[confirm]
Preparing for switchover..

3850-SPB-OFC-CORE#show switch 
Switch/Stack Mac Address : 00cc.fc5a.5400 - Local Mac Address
Mac persistency wait time: Indefinite
                                             H/W   Current
Switch#   Role    Mac Address     Priority Version  State 
------------------------------------------------------------
 1       Standby   00cc.fc50.9b00     1      V06     Ready               
 *2       Active  00cc.fc5a.5400     1      V06     Ready               

Код: Выделить всё

3850-SPB-OFC-CORE#reload slot 1 
Proceed with reload? [confirm]
3850-SPB-OFC-CORE#
Вот собственно и все, после перезагрузки свич-овераемся обратно.
Смотрим состояние кластера:

Код: Выделить всё

3850-SPB-OFC-CORE#sh redundancy 
Redundant System Information :

------------------------------
       Available system uptime = 40 minutes
Switchovers system experienced = 1
              Standby failures = 0
        Last switchover reason = user_forced

                 Hardware Mode = Duplex
    Configured Redundancy Mode = SSO
     Operating Redundancy Mode = SSO
              Maintenance Mode = Disabled
                Communications = Up

Current Processor Information :
------------------------------
               Active Location = slot 1
        Current Software state = ACTIVE
       Uptime in current state = 17 minutes
                 Image Version = Cisco IOS Software, IOS-XE Software, Catalyst L3 Switch Software (CAT3K_CAA-UNIVERSALK9-M), Version 03.06.06E RELEASE SOFTWARE (fc1)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 1986-2016 by Cisco Systems, Inc.
Compiled Sat 17-Dec-16 00:22 by prod_rel_t
               BOOT = flash:packages.conf
        Configuration register = 0x102

Peer Processor Information :
------------------------------
              Standby Location = slot 2
        Current Software state = STANDBY HOT
       Uptime in current state = 8 minutes
                 Image Version = Cisco IOS Software, IOS-XE Software, Catalyst L3 Switch Software (CAT3K_CAA-UNIVERSALK9-M), Version 03.06.06E RELEASE SOFTWARE (fc1)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 1986-2016 by Cisco Systems, Inc.
Compiled Sat 17-Dec-16 00:22 by prod_rel_t
               BOOT = flash:packages.conf
        Configuration register = 0x102
P.S. так же с минимальным даунтаймом можно грейдить коммутаторы между мажорными релизами и фичесетами. Релоадим один, ждем на консоли когда он напишет по software mismatch, и грузим второй. Пока второй пройдет полную перезагрузку, первый уже обновленный довольно быстро вернется в строй.