UCS – Change Fabric Interconnect (FI) IP Addresses and/or Host Names

ucs-manager-logoInfo

Recently I ran into a situation where I was required to reconfigure the Fabric Interconnects to use a different IP address and host name. Initially, I was worried that this could be fairly complex as it might be deeply ingrained in the UCS configuration. I’m happy to report that it’s one of the easiest changes I’ve ever made. I only saw it partially documented on a single blog so I wanted to create another post in case someone else is in my same situation.

Pre-Requisites

  1. Serial connection to both FI-A and FI-B
  2. New IP addresses for FI-A, FI-B and the cluster
  3. A new root host name

Steps to Change the IP Addresses

  • Login to the active FI console via the serial connection
  • Issue the following command to set the proper scope:

scope fabric-interconnect a

  • Use the set out-of-band command to change the management address of FI-A. I’ve provided an example below.

set out-of-band ip 192.168.254.11 netmask 255.255.255.0 gw 192.168.254.1

Note: This should be the IP for FI-A and not the cluster IP.

  • Issue the following command to set the scope to FI-B:

scope fabric-interconnect b

  • Use the set out-of-band command to change the management address of FI-B. I’ve provided an example below.

set out-of-band ip 192.168.254.12 netmask 255.255.255.0 gw 192.168.254.1

  • Issue the following command to set the scope to the cluster level:

scope system

  • Use the set virtual-ip command to change the cluster IP address. I’ve provided an example below.

set virtual-ip 192.168.254.10

Now that you’ve changed all of the IPs you need to commit the buffer. Issue the verify-only command below and only proceed to the second command if verify-only comes back healthy.

commit-buffer verify-only

commit-buffer

Steps to Change the Host Name

Changing the host name is actually even easier. Simply follow the steps below:

  1. Login to UCS Manager
  2. Navigate to Administration -> Communication -> Management Communication
  3. Change the Host Name and click Save.
    1. This will automatically rename each FI and append -A or -B to the name.
  4. Done!

Other UCS Sources

Cisco Community

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.