How to Change All of the vSAN VMkernel Port IP Addresses in a vSphere Cluster.

Several months ago I was asked how to change all the vSAN VMkernel port IP Addresses in a vSphere cluster and today I was asked again, so here it is.

Non-Disruptively

Assuming each host has 2 VMkernel ports (a & b) enabled for vSAN traffic.

  • Disable vSAN traffic on each of the b networking interfaces on each host
  • Change the IP addresses on each of the b networking interfaces on each host
  • Move the physical network cable if moving to new switch ports
  • Re-enable vSAN traffic on each of the b networking interfaces on each host
  • Verify communication between all the b networking interfaces using vmkping test.
  • Repeat for all the a networking interfaces

Disruptively (downtime is OK and/or the hosts are being moved)

 

One thought on “How to Change All of the vSAN VMkernel Port IP Addresses in a vSphere Cluster.

  1. In my lab test environment – a 3 node vSAN cluster, vSAN kernel port runs on VDS. I tried below steps and vSAN vmkernel port IP address was successfully changed, non-disruptively. Do you see any potential risk with these steps? Thanks.

    1. Turn off vSphere HA.
    2. Use the Add and Manage Hosts wizard in vSphere Distributed Switch to change host settings simultaneously.
    3. Select the hosts which will be changed to use different subnets in vSAN vmkernel.
    4. Select “Manage VMkernel adapters”
    5. Change each vSAN VMkernel IP address for each ESXi host.
    6. Finish the wizard
     The IP of vSAN VMkernel is changed.
    7. Turn on vSphere HA.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s