In a large wireless network, preloading the image to the access point may be something of interest to you. This process will lessen the overall downtime of your wireless network during the upgrade process. By preloading a new image to the access points in advance, negates the need to wait for your controllers to update the access points individually, which prolongs the upgrade process.
After a Cisco WLC is upgraded and rebooted. Access points drop into the discovery mode. When the access point rejoins the controller, it determines the access point code is different from the WLC. The access point will download the new code from the WLC. The access point upgrade process only takes a minute or so and then an additional minute for the access point to reboot and rejoin a WLC, so you are looking at 2 minutes of downtime for that access point.
The problem with this process, Cisco WLCs can not upload to all the access points at once, unless you have a 5508 WLC! The below list shows how many access points, can be upgraded concurrently, by controller model.
2100-XX 10 access point max
4402-XX 10 access point max
4404-XXX 10 access point max
WiSM 10 access point max (per controller)
5508-XXX 500 access point max
Lets pick on a WiSM, shall we. Suppose you have 150 access points on a controller and the controller can only upgrade 10 access points concurrently at a time. Your controller would have to go through the upgrade process x15 times. This means access points would be offline not servicing clients until they take the upgrade. Potentially, it could take up to 15 minutes or longer to upgrade all 150 access points in this manner.
Certainly, if you have a controller model that is limited to the 10 AP download limit. The preload process will speed up your upgrade and lessen your downtime. I’ll go into the details below, but how it works is simple.
You push the new code to the WLC. Then from the WLC you push the new code to the access points while still in a live environment.
1. Upgrade your WLC with your new image
2. Preload the image to the access points
3. Check image “positions” on the WLC and access points
You can do this via WCS or in the WLC CLI. I will show you the WLC CLI process.
(WiSM-slot1-1) >config ap image predownload ?
primary Predownload an image to a Cisco AP from the controller's Primary image.
backup Predownload an image to a Cisco AP from the controller's Backup image.
You have 2 positions where you can install the code (primary or backup). I call them positions, they are spots in memory stored in the access point. The primary position is the image that will get loaded when the access point reboots.
ACCESS POINTS – Cisco access points (model dependency) allow you to store 2 images on the AP. You can use the following command to see the images on the access points and the position they are in.
(WiSM-slot8-2) >show ap image all
Total number of APs..............................2
Number of APs
Initiated............................................. 0
Predownloading................................... 0
Completed predownloading................... 0
Not Supported..................................... 0
Failed to Predownload........................... 0
AP Name Primary Image Backup Image Status Version Next Retry Time Retry
------------------ -------------- -------------- --------------- -------------- ---------------- ------------
TEST1 6.0.196.159 0.0.0.0 None None NA NA
TEST2 6.0.196.159 0.0.0.0 None None NA NA
*Primary Image – This is the image that loads when the AP is booted
*Backup Image – This is the image that is stored as a backup
CONTROLLERS - Cisco controllers allow you to store 2 images as well. You can see the images and their positions with the show boot command from the WLC CLI.
(WiSM-slot8-2) >show boot
Primary Boot Image............................... Code 7.0.98.0 (active)
Backup Boot Image................................ Code 6.0.196.159
When you upgrade your WLC the new image goes into the (active) position. If your intentions are to do the upgrade at a later time. It is important to “swap” the image from the primary location to the backup location. This is in case the controller reboots by accident. This goes for the access point images as well.
Access Point - Swapping the image can done by a single access point or by all access points
(WiSM-slot8-2) >config ap image swap all
(WiSM-slot8-2) >show ap image all
Total number of APs.............................. 2
Number of APs
Initiated............................................ 0
Predownloading.................................. 0
Completed predownloading.................. 2
Not Supported.................................... 0
Failed to Predownload.......................... 0
AP Name Primary Image Backup Image Status Version Next Retry Time Retry
------------------ -------------- -------------- --------------- -------------- ---------------- ------------
TEST1 7.0.98.0 6.0.196.159 Complete 7.0.98.0 NA NA
TEST2 7.0.98.0 6.0.196.159 Complete 7.0.98.0 NA NA
Controller- Swapping the image on the controller
(WiSM-slot8-2) >config boot primary (backup)
(WiSM-slot8-2) >show boot
Primary Boot Image............................... Code 7.0.98.0 (active)
Backup Boot Image................................ Code 6.0.196.159
When you do a preload push there is a maximum number of concurrent predownloads. It is limited to half the number of concurrent normal image downloads (10 normally / half is 5). The access points not taking the download will then receive a random timer between 180 and 600 seconds. So this means your 4400s will do a preload of 5 access points at a time. The other 95 receive back off timers.
Guidelines and Limitations for Predownloading Images (from controller manual)
Keep these guidelines in mind when you use image predownloading:
I hope this helps with yout predownload efforts !