High Level Summary of APIC Upgrades and Downgrades
-
APIC upgrades and downgrades involve a defined sequence of steps to ensure compatibility and data integrity across all cluster members.
-
Each APIC is upgraded or downgraded separately, with image installation and database conversion processes managed to minimize disruption.
-
Recent APIC releases introduce enhancements such as centralized orchestration and improved post-upgrade validation procedures.
Sequence and Key Considerations for APIC Upgrades and Downgrades
-
Image is uploaded to the firmware repository and synced to all APIC cluster members.
-
Upgrade or downgrade is triggered to a specific target version.
-
Each APIC installs the new image in the first grub partition in parallel to speed up the process.
-
After image installation, each APIC sequentially performs a database conversion process:
-
The Data Management Engine (DME) processes, including the nginx web server, shut down. UI/API access and backend applications on that APIC become unavailable.
-
The database files are converted from the initial version to the target version. The duration depends on database size and configuration. For APIC release 6.0(3) or newer, the process is enhanced for shorter wait times. For APIC release 6.2(1) or newer, APIC 1 orchestrates the conversion for all distributed databases, while other APICs convert only their local databases, reducing synchronization risks.

Note
It’s critical that there is no disruptive action taken to the APIC at this stage, as it could result in data loss or partial configuration if this stage does not complete successfully. See Guidelines and limitations for upgrading or downgrading for more information.
-
The APIC reloads after successful database conversion and boots up on the target software version.
-
-
After an APIC reloads and comes back online, the same sequence is repeated for the next APIC in the cluster. The APIC that came back online initiates post-upgrade activities as a final database check. This process continues until all cluster members are upgraded or downgraded.
-
For APIC versions prior to 6.0(6), the upgrade is considered complete when all APICs are online and Fully-Fit, regardless of post-upgrade activities. Starting from 6.0(6), the upgrade status transitions to “Post Upgrade Pending” until post-upgrade activities are complete on each APIC node, after which the status becomes “Completed”.

Note
The post-upgrade activities on APIC should be successfully completed before proceeding with switch upgrades. It is recommended to run the pre-upgrade validation script before both the APIC cluster upgrade and switch upgrades, as these may occur in different maintenance windows. For versions prior to 6.0(6), running the script before switch upgrades is highly encouraged, even within the same window, as it checks pre-upgrade validations and the status of post-upgrade activities to ensure the fabric is ready for switch upgrades after the APIC cluster upgrade.
-
Starting from APIC 6.1(2), the same upgrade steps are performed on standby APIC nodes after all active APIC nodes are upgraded. See the Getting Started Guide for Cisco APIC 6.1 for details.
Feedback