Introduction
This document describes the process to replace the chassis of a Nexus 9500 spine switch, which failed due to a hardware issue, in Application Centric Infrastructure (ACI) mode.
Problem
There is a current and working ACI fabric and a Nexus 9500 spine has failed. The failure has been determined to be a hardware failure and only the chassis needs to be replaced. All working components (supervisors, line cards, fabric modules, and so on) need to be transferred into the replacement.
Solution
Complete these steps in order to replace the spine:
- Disconnect all power cables in order to ensure the failed spine is powered off.
- From the Application Policy Infrastructure Controller (APIC) GUI, choose Fabric > Inventory > Unreachable Nodes. The spine is listed here after it has been powered off for a few minutes. Take note of its 'Name' and 'Node ID'.
- Decommission the failed spine and remove it from the controller.
- Select the spine in the work pane. From the Actions drop-down list, choose Decommission.
![](http://www.cisco.com/c/dam/en/us/support/docs/cloud-systems-management/application-policy-infrastructure-controller-apic/118864-probsol-apic-01.png)
- Click the Remove from controller radio button and click OK.
![](http://www.cisco.com/c/dam/en/us/support/docs/cloud-systems-management/application-policy-infrastructure-controller-apic/118864-probsol-apic-02.png)
Tip: The 'Remove from controller' option completely removes the node from the ACI fabric and the serial number is disassociated from the Node ID. The 'Regular' option is used in order to temporarily remove the node from the ACI fabric, with the expectation that the same node will rejoin the fabric with the same Node ID. For instance, if the node needs to be temporarily powered down for maintenance.
Note: After a node is decommissioned it can take 5-10 minutes for it to be removed and disappear from the APIC GUI.
- Remove the failed spine from the rack and install the replacement chassis. Transfer all working components into the new chassis in the same arrangement as in the failed chassis. Components to transfer include fabric modules, supervisors, system controllers, power supplies, fan trays, and line cards.
- Console into the active supervisor in the new chassis in order to erase its configuration.
- Enter the cat /proc/cmdline command in order to determine which ACI image currently runs on the supervisor. Look for the 'ksimg' section.
![](http://www.cisco.com/c/dam/en/us/support/docs/cloud-systems-management/application-policy-infrastructure-controller-apic/118864-probsol-apic-03.png)
Tip: ACI switch image names always begin with 'aci-n9000'.
- Use the ACI switch image name and enter these commands:
spine# /bin/prepare-mfg.sh <aci_image.bin>
spine# reload
Note: <aci_image.bin> is the filename of the ACI switch image located on the APIC.
- If the reload window was missed and you are unable to reload the device, enter the vsh -c reload command.
This erases the configuration on the active supervisor. Repeat Step 5 in order to erase the configuration on the standby supervisor. The configuration is automatically pushed down from the APIC after the spine joins the fabric.
- In the APIC GUI, choose Fabric > Inventory > Fabric Membership. The spine is listed as a row in the work pane without a Node ID, Node Name, and IP address. Double-click the row and assign the same 'Node ID' and 'Node Name' as before.
![](http://www.cisco.com/c/dam/en/us/support/docs/cloud-systems-management/application-policy-infrastructure-controller-apic/118864-probsol-apic-04.png)
The spine receives an IP address within a few minutes, which is reflected in the APIC GUI.
![](http://www.cisco.com/c/dam/en/us/support/docs/cloud-systems-management/application-policy-infrastructure-controller-apic/118864-probsol-apic-05.png)
The spine has fully rejoined the ACI fabric and the APIC automatically pushes down all relevant policies. In this case, the chassis of a spine with Node ID 201 failed. The chassis was replaced and its serial number was mapped to the same Node ID. The APIC then pushes all policies relevant to Node 201 to the spine without the need for further configuration.