Enable witness traffic for the witness traffic VMkernel adapter on each ESXi host
Procedure
- Log in to the vSphere Client.
- Click Menu > Hosts and Clusters.
- For each host in the stretched cluster, click Configure > Networking > VMkernel adapters to determine which VMkernel adapter to use for witness traffic. For example, vmk5.
- In a web browser, log in to the first ESXi host in the stretched cluster using the VMware Host Client.
- In the navigation pane, click Manage and click the Services tab.
- Select the TSM-SSH service and click Start if not started.
- SSH to the first ESXi host in the stretched cluster.
- Log in as root and run the following command:
esxcli vsan network ip add -i <vmkernel_adapter> -T=witness
For example:esxcli vsan network ip add -i vmk5 -T=witness
- Verify that the VMkernel adapter is configured for witness traffic:
esxcli vsan network list
- Verify that the ESXi host can access the witness host:
vmkping -I <vmkernel_adapter> <witness_host_ip_address>
Replace <vmkernel_adapter> with the VMkernel adapter configured for witness traffic, for example vmk5. Replace <witness_host_ip_address> with the witness host IP address. - In the VMware Host Client, select the TSM-SSH service for the ESXi host and click Stop.
- Repeat for each ESXi host in the stretched cluster.