Nutanix ninja – Change CVM IP address

For some reasons you might want to change CVM IP address

hange CVM IP address – Preparation

For every host in the cluster, Metadata store enabled on the node should be shown

If mode marked to be removed from metadata store is displayed, do not proceed with the IP address reconfiguration, and contact Nutanix support to resolve the issue.

Put the cluster in reconfiguration mode.

  • Hyper-V hosts must be connected to a 10 GbE switch that has jumbo frames enabled. Cluster creation will fail if the switch does not support jumbo frames or does not have jumbo frames enabled.
  • Confirm that IPv6 link-local is enabled on the subnet. To check if it is enabled, followVerifying IPv6 Link-Local Connectivity. If IPv6 link-local is not enabled, do not use this procedure. Instead, change the IP addresses manually by following Changing a Controller VM IP Address.
  • IPv6 link-local enabled.
  • Windows 7, Vista, or MacOS.
  • (Windows only) Bonjour installed (included with iTunes or downloadable here.

IPv6 service names are uniquely generated at the factory and have the following form (note the final period):

If you are reassigning a Controller VM IP address to another Controller VM, you must perform this complete procedure twice: once to assign intermediate IP addresses and again to assign the desired IP addresses.

For example, if Controller VM A has IP address 172.16.0.11 and Controller VM B has IP address 172.16.0.10 and you want to swap them, you would need to reconfigure them with different IP addresses (such as 172.16.0.100 and 172.16.0.101) before changing them to the IP addresses in use initially.

Internet Explorer requires protected mode to be disabled. Go to Tools > Internet Options >Security, clear the Enable Protected Mode check box, and restart the browser.

Go to http://cvmipaddr:2100/ip_reconfig.html and provide

  • CVM subnet mask
  • CVM default gateway
  • and new address for CVM
Reconfig IP of Nutanix CVM

Reconfig IP of Nutanix CVM

Click on Reconfig button

run,  cluster status command – as you can see IP’s has changed for both CVM

bring server nutanix cluster back to life by

after few minutes on the console you should see something similar to below

and we done, CVM IP was changed and cluster back to life. obviously I had to remove IP addresses but you can trust me –  it does work 🙂

 

 

Artur Krzywdzinski

Artur is Consulting Architect at Nutanix. He has been using, designing and deploying VMware based solutions since 2005 and Microsoft since 2012. He specialize in designing and implementing private and hybrid cloud solution based on VMware and Microsoft software stacks, datacenter migrations and transformation, disaster avoidance. Artur has been in IT industry since 1999 and consulting since 2008. Artur holds VMware Certified Design Expert certification (VCDX #077).

  • Vaseem Mohammed

    Hi, How do I remove the cluster from reconfig mode? I put it in reconfig state and did not really had to change IP. How can I exit reconfig mode without going to CVM-IP:2100 and clicking “Reconfigure” button.
    What else is reconfig mode used for?