04-20-2023 11:21 AM
Hello experts,
I have a requirement where I need to recable two out of five APICs from one leaf switch pair to another. This is a single pod.
Should I decommission the APICs before changing it to a different leaf switch pair and then recommission them after connecting it to the new switch pair?
(or)
do I just shift the cables and the APIC re-establishes the cluster connectivity?
I am leaning more towards the latter because I can move one cable at a time so I really don't lose cluster connectivity, also since this is a single pod, there's no real requirement to recommission the APICs.
Thanks in advance.
04-20-2023 12:30 PM
The safest procedure is to:
1. Make sure the Cluster is fully fit, export backup config to remote location (ensure you know all the answers for the APIC Setup Process (Infra VLAN, Subnet Info, GPO etc as you'll need this later)
2. Decommission the APIC (must be done from another other APIC than the one you wish to decomm).
3. Once completed and cluster showing fully fit, jump on CLI of that APIC and wipe it
acidiag touch clean
acidiag touch setup
acidiag reboot
4. Once APIC starts to reboot (POST screen loads up) Power down the APIC completely (from IMC)
5. Move APIC fabric links to new leaf switch.
6. Power Up APIC
7. Run through Setup dialogue to re-join the cluster
8. Be Patient while everything syncs back up
9. Repeat Step 8.
Robert
09-21-2023 02:20 PM
Hi @ecsnnsls ,
Let me start by saying @Robert Burns has way more knowledge about this than I do, so I'm reluctant to advise otherwise, especially since I've never had to deal with more than 3 active APICs
However, I THINK you'd be pretty safe if you follow these steps, given that you can carry out the process with a maximum of one link down at any time.
* To determine active link
apic1# cat /proc/net/bonding/bond0 | grep Active
Currently Active Slave: eth2-1
apic1# acidiag run lldptool in eth2-1 | egrep -A1 "Port Description" Port Description TLV
topology/pod-1/paths-1201/pathep-[eth1/1]
09-21-2023 02:40 PM
I've moved a single APIC to a new leaf switch pair in the past. I had to power the APIC down to relocate it, connected it to the new switches and powered it back up. Everything worked fine.
I will say that I was left with a cosmetic issue when viewing the topology in the GUI where it showed the APIC still being connected to the previous leaf switches in addition to the new leaf switches.
I ended up engaging TAC to clean it up.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide