WLC HA 升级步骤

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了WLC HA 升级步骤相关的知识,希望对你有一定的参考价值。

这里介绍了Cisco WLC 5520在HA模式下系统升级和AP升级的过程。

上传升级镜像

通过FTP上传镜像到WLC
技术图片

查看镜像上传成功

(Cisco Controller) >show boot
Primary Boot Image............................... 8.5.151.0 (default)
Backup Boot Image................................ 8.5.140.0 (active)

查看AP当前运行版本

(Cisco Controller) >show ap image all

Total number of APs.............................. 69
Number of APs
        Initiated....................................... 0
        Downloading..................................... 0
        Predownloading.................................. 0
        Completed predownloading........................ 0
        Not Supported................................... 0
        Failed to Predownload........................... 0

                                                 Predownload     Predownload                                  Flexconnect
AP Name            Primary Image  Backup Image   Status          Version        Next Retry Time  Retry Count  Predownload
------------------ -------------- -------------- --------------- -------------- ---------------- ------------ --------------
pekidg-ap31-301    8.5.140.0      8.2.166.0      None            None           NA               NA
pekidg-ap22-608    8.5.140.0      8.2.166.0      None            None           NA               NA
pekidg-ap29-302    8.5.140.0      8.2.166.0      None            None           NA               NA
pekidg-ap04-N135   8.5.140.0      8.2.166.0      None            None           NA               NA
pekidg-ap10-302    8.5.140.0      8.2.166.0      None            None           NA               NA
pekidg-ap18-S062   8.5.140.0      8.2.166.0      None            None           NA               NA
pekidg-ap12-301    8.5.140.0      8.2.166.0      None            None           NA               NA
pekidg-ap02-707    8.5.140.0      8.2.166.0      None            None           NA               NA
pekidg-ap30-301    8.5.140.0      8.2.166.0      None            None           NA               NA

推送新镜像到AP

(Cisco Controller) >config ap image predownload primary all

查看推送过程

(Cisco Controller) >show ap image all

Total number of APs.............................. 69
Number of APs
        Initiated....................................... 0
        Downloading..................................... 0
        Predownloading.................................. 69
        Completed predownloading........................ 0
        Not Supported................................... 0
        Failed to Predownload........................... 0

                                                 Predownload     Predownload                                  Flexconnect
AP Name            Primary Image  Backup Image   Status          Version        Next Retry Time  Retry Count  Predownload
------------------ -------------- -------------- --------------- -------------- ---------------- ------------ --------------
pekidg-ap31-301    8.5.140.0      8.2.166.0      Predownloading  8.5.151.0      NA               0
pekidg-ap22-608    8.5.140.0      8.2.166.0      Predownloading  8.5.151.0      NA               0
pekidg-ap29-302    8.5.140.0      8.2.166.0      Predownloading  8.5.151.0      NA               0
pekidg-ap04-N135   8.5.140.0      8.2.166.0      Predownloading  8.5.151.0      NA               0
pekidg-ap10-302    8.5.140.0      8.2.166.0      Predownloading  8.5.151.0      NA               0
pekidg-ap18-S062   8.5.140.0      8.2.166.0      Predownloading  8.5.151.0      NA               0
pekidg-ap12-301    8.5.140.0      8.2.166.0      Predownloading  8.5.151.0      NA               0
pekidg-ap02-707    8.5.140.0      8.2.166.0      Predownloading  8.5.151.0      NA               0
pekidg-ap30-301    8.5.140.0      8.2.166.0      Predownloading  8.5.151.0      NA               0
pekidg-ap20-S038   8.5.140.0      8.2.166.0      Predownloading  8.5.151.0      NA               0

推送成功

(Cisco Controller) >show ap image all

Total number of APs.............................. 69
Number of APs
        Initiated....................................... 0
        Downloading..................................... 0
        Predownloading.................................. 1
        Completed predownloading........................ 68
        Not Supported................................... 0
        Failed to Predownload........................... 0

                                                 Predownload     Predownload                                  Flexconnect
AP Name            Primary Image  Backup Image   Status          Version        Next Retry Time  Retry Count  Predownload
------------------ -------------- -------------- --------------- -------------- ---------------- ------------ --------------
pekidg-ap31-301    8.5.140.0      8.5.151.0      Complete        8.5.151.0      NA               NA
pekidg-ap22-608    8.5.140.0      8.5.151.0      Complete        8.5.151.0      NA               NA
pekidg-ap29-302    8.5.140.0      8.5.151.0      Complete        8.5.151.0      NA               NA
pekidg-ap04-N135   8.5.140.0      8.5.151.0      Complete        8.5.151.0      NA               NA
pekidg-ap10-302    8.5.140.0      8.5.151.0      Complete        8.5.151.0      NA               NA
pekidg-ap18-S062   8.5.140.0      8.5.151.0      Complete        8.5.151.0      NA               NA
pekidg-ap12-301    8.5.140.0      8.5.151.0      Complete        8.5.151.0      NA               NA
pekidg-ap02-707    8.5.140.0      8.5.151.0      Complete        8.5.151.0      NA               NA
pekidg-ap30-301    8.5.140.0      8.5.151.0      Complete        8.5.151.0      NA               NA
pekidg-ap20-S038   8.5.140.0      8.5.151.0      Complete        8.5.151.0      NA               NA

确认WLC HA 状态正常

(Cisco Controller) >show redundancy summary
            Redundancy Mode = SSO ENABLED
                Local State = ACTIVE
                 Peer State = STANDBY HOT
                       Unit = Primary
                    Unit ID = 28:AC:9E:DF:93:D1
           Redundancy State = SSO
               Mobility MAC = 28:AC:9E:DF:93:D1
               Redundancy Port  = UP
            BulkSync Status = Complete
Average Redundancy Peer Reachability Latency = 102 Micro Seconds
Average Management Gateway Reachability Latency = 863 Micro Seconds

重启WLC

配置00:01:10之后重启,时间太短报错

(Cisco Controller) >reset system both in 00:01:10 image swap reset-aps save-config
Time period is too short.

推荐配置00:02:01之后重启,both表示重启2台WLC。(有可能重启之后AP已经升级到了新的镜像,但是WLC依然还是以前的镜像,这时候再敲一下下面的命令重启WLC即可。)

(Cisco Controller) >reset system both in 00:02:01 image swap reset-aps save-config

System reset is scheduled for Nov 07 00:00:14 2019.
Current local time and date is Nov 06 23:58:13 2019.
Trap will not be generated as total delay is less than the trap time.
Active boot image will be changed before the reset.
Use ‘reset system cancel‘ to cancel the reset.
The system has unsaved changes.
Configuration will be saved before the system reset.

个人博客:https://cswk.work

以上是关于WLC HA 升级步骤的主要内容,如果未能解决你的问题,请参考以下文章

WLC HA模式下的注意事项

如何更换在HA SSO模式下的Primary WLC或安装license

Pg 流复制方式HA 版本升级步骤

如何判断WLC的FUS版本

SpringCloud系列四:Eureka 服务发现框架(定义 Eureka 服务端Eureka 服务信息Eureka 发现管理Eureka 安全配置Eureka-HA(高可用) 机制Eur(代码片段

WLC开机卡在launching....(变砖)