Many ACs are available on an N+1 backup network. An AP performs Active/Standby AC Selection and selects the AC with the highest priority as the active AC to establish a CAPWAP link. When the active AC or the CAPWAP link fails, an Active/Standby Switchover is triggered, and the standby AC then becomes the active AC, which improves WLAN reliability. After the original active AC or link recovers, a Revertive Switchover is implemented to release resources on the standby AC. The standby AC becomes available again and continues to offer backup services.
The procedure for setting up a CAPWAP link in AC N+1 backup networking is similar to the procedure for setting up a CAPWAP link in common scenarios, except that the AP needs to select the AC with the highest priority as the active AC in Discovery phase. For details, see CAPWAP Tunnel Establishment in AP Online Process.
Check primary ACs on the AP. If there is only one primary AC, the AP selects it as the active AC. If there are multiple primary ACs, the AP selects the AC with the lowest load as the active AC. If the loads are the same, the AP selects the AC with the smallest IP address as the active AC.
The number of allowed APs is calculated using the following formula: Number of allowed APs = Maximum number of access APs - Number of online APs.
The number of allowed STAs is calculated following the formula: Number of allowed STAs = Maximum number of access STAs - Number of online STAs.
If the AC priorities are the same, the AP selects the AC with the lowest load as the active AC.
When receiving a Discovery Request packet from an AP, the AC checks whether an individual priority has been specified for the AP. If not, the AC replies with a Discovery Response packet carrying the global priority. If so, the AC replies with a Discovery Response packet carrying the individual priority. It is recommended that the proper priorities be configured on the active and standby ACs to control access of APs on the two ACs.
The number of online APs supported by the standby AC cannot be smaller than the number of online APs on any of the active ACs.
Assume that the standby AC supports 500 online APs. If an active AC that has 600 online APs becomes faulty, only 500 APs can go online on the standby AC. The remaining APs are forced to go offline, and are unable to provide services for STAs.
The total number of online APs on all active ACs cannot exceed the configurable number of APs on the standby AC.
The configurable number of APs refers to the maximum number of APs supported by the AC. Assume that the configurable number of APs is 1000 on the standby AC. If there are 300 online APs on AC_1 and 400 online APs on AC_2, a new active AC allows a maximum of 300 online APs. That is because the APs on all active ACs must be added on the standby AC and have their corresponding services configured on the standby AC. In this way, the standby AC can maintain original services for the APs of any faulty active AC.
The maximum number of online APs on the standby AC is determined by the license.
After an AP sets up a CAPWAP link with the standby AC, the AP obtains the IP address of its active AC from the standby AC and sends Primary Discovery Request packets at regular intervals to detect the active AC status. After the active AC recovers, it returns a reply packet to the AP. The packet carries the AC priority. When the AP receives the reply packet from the active AC, the AP learns that the active AC has recovered and the active AC priority contained in the packet is higher than the priority of the AC to which it is connected. If a revertive switchover is enabled, a revertive switchover is triggered. To prevent frequent switchovers caused by network flapping, the ACs perform a revertive switchover after a delay time of 20 heartbeat intervals. As illustrated in Figure 3, the AP disconnects from the current AC and sets up a new CAPWAP link with the active AC. At the same time, the AP transfers STA data to the original active AC to release resources on the standby AC. The standby AC then continues to provide backup services. During a revertive switchover, the AP re-establishes a CAPWAP link with the active AC to get online, and the active AC delivers configurations to the AP.
If a primary or backup AC is selected as the active AC, the active AC returns a reply packet to the AP after it recovers. The AP then learns that the active AC has recovered from the reply packet. If a revertive switchover is enabled, a revertive switchover is triggered.