Overview
Use this procedure to shrink the cluster size by removing controllers, utilizing the new 'shrink' and 'force' properties in Cisco APIC Release 6.0(2) to automate the decommissioning process, ensuring a smooth transition to a smaller cluster configuration.
Use this procedure to shrink the cluster size by removing controllers. For more information about contracting the cluster size, see Cisco APIC cluster contractions .
Beginning with Cisco APIC Release 6.0(2), two additional properties are added to the API command to allow forcing the decommission operation. The new object properties are:
infraClusterPol:shrink
false: (default) If the target cluster size (infraClusterPol:size) is less than the current operational cluster size, the APICs to be removed must be decommissioned manually, as in earlier releases.
true: If the target cluster size is less than the current operational cluster size, a cluster shrink decommission is triggered. The APICs to be removed are decommissioned automatically, beginning with the APIC with the highest controller ID number.
infraWiNode:force
false: (default) The decommission proceeds only if the cluster is not in an unhealthy or upgrade state, where a decommission may not be proper.
true: The decommission proceeds regardless of the cluster state.
This example shows how to contract the cluster from three APIC controllers to a single controller. To achieve a target size of one, APIC3 and APIC2 must be decommissioned, in that order.
Procedure
| 1. | Set the target cluster size so as to contract the APIC cluster size. When the cluster size is reduced with Example:Cisco APIC Release 6.0(1) and earlier:
You must now manually decommission the APICs to be removed, as shown in the next steps. Example:Cisco APIC Release 6.0(2) and later, using 'shrink' property:
With
With |
|
| 2. | Decommission APIC 3 on APIC 1 for cluster contraction. Example:Cisco APIC Release 6.0(1) and earlier:
The decommission proceeds only if the cluster is in a healthy state. Example:Cisco APIC Release 6.0(2) and later, using 'force' property:
With |
|
| 3. | Decommission APIC 2 on APIC 1 for cluster contraction. Example:Cisco APIC Release 6.0(1) and earlier:
The decommission proceeds only if the cluster is in a healthy state. Example:Cisco APIC Release 6.0(2) and later, using 'force' property:
With |
The operation cluster size shrinks only after the last appliance is decommissioned, and not after the administrative size is changed. Verify after each controller is decommissioned that the operational state of the controller is unregistered and that the controller is no longer in service in the cluster.
If a decommissioned APIC controller is not promptly removed from the fabric, it might be rediscovered, which could cause problems. In that case, follow the instructions in Cluster size reductions to remove the controller.