vSAN

Replacing VMware vSAN Two-Node Witness Host Checklist

Looking at a Replacing VMware vSAN Two-Node Witness Host Checklist to go through many of the problems you might face changing your vSAN Witness host

One of the things I love about VMware vSAN is the ease of which you can do things operationally and the resiliency and robustness of the platform to have changes in the infrastructure and still keep running your workloads. The two-node vSAN cluster operates with a Witness appliance that runs to synchronize metadata for node majority purposes. Switching out the vSAN Witness appliance is actually a very non-eventful task for the most part. You can easily provision a new appliance, and let the repair objects timer kick in or force a synchronization of the objects to get back to a good state with a new vSAN Witness appliance. However, there are many considerations you need to make in an active vSAN two-node cluster than simply changing out the appliance. You need to remember the configuration and other settings don’t simply transfer over when you change out the appliance. Let’s take a look at Replacing VMware vSAN Two-Node vSAN witness host checklist to go over a few considerations.

Replacing VMware vSAN Witness Host Considerations

It is good to look at a Replacing VMware vSAN Two-Node Witness Host Checklist when you change out a vSAN Witness appliance. It is easy to forget when you change out your appliance, you are going back to an appliance that is not configured specifically for your environment and may also have skew with versions and other factors. Let’s look at the following:

  • Check vSAN Witness Appliance network configuration (port groups, IP address, and jumbo frames
  • Ensure the new ESXi host appliance is running the same version of ESXi as the physical hosts in your stretched cluster
  • Ensure the on-disk format version is the same as the other physical hosts which may have been upgraded
  • Synchronize VMware vSAN objects to the new vSAN Witness host

Check vSAN Witness Appliance Network Configuration

In VMware vSAN and most other HCI solutions with software-defined storage, the network is critically important. If it has issues, then the storage solution will have issues. The same is true with vSAN. When you swap out the vSAN appliance the network is going to be configured on the newly deployed appliance with all the defaults. There are three points of configuration that I want to emphasize here for checking when you deploy a new appliance as they are typically some of the most common network oversights when deploying a vSAN witness host.

  • Make sure the virtual NICs of the deployed vSAN appliance which is a nested ESXi host are connected to the right portgroups on the physical ESXi management host that is housing the appliance. These portgroups need to be plumbed into the vSAN network of the two physical 2-node ESXi hosts.
  • Assign an IP address to the VMkernel port of the VMware vSAN Witness host for vSAN communication
  • Make sure if you are using jumbo frames on your physical hosts, that you make the adjustment to jumbo frames on the vSAN witness node, both in the virtual switch settings and at the VMkernel port level.

Below is the vSANWitness host deployed as a VM running in the management cluster. You want to make sure you are connecting the vSANWitness to the correct port groups on the physical ESXi host. Network adapter 1 is the management interface and Network adapter 2 is the vSAN interface.

Connect-the-vSAN-Witness-host-which-is-a-nested-ESXi-host-into-the-right-portgroups
Connect the vSAN Witness host which is a nested ESXi host into the right portgroups

If you are not running DHCP on your vSAN network which most likely you are not, you will want to assign an IP address to the VMkernel port of the witnessPg.

Be-sure-to-assign-an-IP-address-to-the-VMkernel-port-of-the-vSAN-Witness-appliance-for-vSAN-communication
Be sure to assign an IP address to the VMkernel port of the vSAN Witness appliance for vSAN communication

Configure jumbo frames on the witnessSwitch itself.

Enable-jumbo-frames-on-the-VMware-vSAN-witnessswitch
Enable jumbo frames on the VMware vSAN witnessswitch

Configure jumbo frames on the vmk1 VMkernel port as well hosting vSAN.

Configuring-jumbo-frames-for-the-vSAN-VMkernel-port

Verify the vSAN ESXi Host Versions are Compatible

You always want to make sure you are running the same version of ESXi across your vSAN hosts, including the vSAN Witness host. If you have mismatched host, including on the witness appliance, you will see the following in your vSAN Health monitor: Hosts need software upgrade.

Take note of the version of vSphere you are running on your ESXi hosts and upgrade your Witness host to the same version as your physical vSAN hosts in the 2-node cluster.

VMware-vSAN-witness-host-version-mismatch-with-other-hosts-in-vSAN-cluster
VMware vSAN witness host version mismatch with other hosts in vSAN cluster

Verify On-Disk Format Version and Upgrade if Needed

Generally, with each new release of VMware vSAN there has been an upgrade available for the on-disk format. The latest VMware vSphere 6.7 Update 3 has on-disk format version 10. As your physical vSAN hosts are upgraded, you have most likely upgraded your on-disk format version. When you deploy a new vSAN Witness host, you will need to make sure you upgrade the on-disk format for the Witness host disks.

Older-on-disk-format-version-exists-on-the-vSAN-Witness-appliance
Older on-disk format version exists on the vSAN Witness appliance

Synchronize VMware vSAN Objects to the New vSAN Witness Host

Once you have the new vSAN Witness host in place and have the vSAN network lined out along with communication with the other vSAN hosts in the cluster, you should be ready for objects to synchronize. After you bring the new vSAN witness host online and perform the change witness host process, you should start to see objects start to synchronize. You can also force a synchronization of your objects to the new Witness host.

The change witness host process can be initiated under the <Your Cluster> > Configure > vSAN > Fault Domains menu.

Beginning-the-process-to-change-the-vSAN-witness-host
Beginning the process to change the vSAN witness host

You will see objects that need to be synchronized under the <Your Cluster> Monitor > vSAN > Resyncing Objects.

Resyncing-vSAN-objects-after-changing-the-vSAN-Witness-host

Wrapping Up

Hopefully this Replacing VMware vSAN Two-Node Witness Host Checklist has been helpful if you are needing to replace your vSAN Witness host appliance and not sure what to expect or what gotchas you might run into. Generally it is down to the list of things that we have covered here that can cause issues when switching over to a new witness host. If you pay attention to the details though, VMware has really made this process painless and resilient.

Subscribe to VirtualizationHowto via Email ๐Ÿ””

Enter your email address to subscribe to this blog and receive notifications of new posts by email.



Brandon Lee

Brandon Lee is the Senior Writer, Engineer and owner at Virtualizationhowto.com, and a 7-time VMware vExpert, with over two decades of experience in Information Technology. Having worked for numerous Fortune 500 companies as well as in various industries, He has extensive experience in various IT segments and is a strong advocate for open source technologies. Brandon holds many industry certifications, loves the outdoors and spending time with family. Also, he goes through the effort of testing and troubleshooting issues, so you don't have to.

Related Articles

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.