govc-vsan-witness-stretch-cluster¶
Configure the VSAN cluster as a Stretch Cluster with a VSAN Witness
This Stage configures the VSAN cluster as a Stretch Cluster with a VSAN Witness. The VSAN Witness must have (at minimum) 2 disks to be claimed as a VSAN Cache disk and a VSAN Capacity disk. These are necessary for the Witness host to store Witness related data about the cluster. The Disks will not be used in the actual software defined storage volumes.
The following rules must be observed for this to run successfully:
- a Machine object should be created for deploying and managing the VSAN Witness VM
- the VSAN Witness VM must have already been deployed (see ovftool deploy process)
- the VSAN Witnes thumbprint should be recorded on the Machine object
- the VSAN Witness needs a
govc host.add ...operation to add it to the DATACENTER level - then the vsan witness stretch cluster operation can run
The following Params are all required for the VSAN Witness deployment to be successful:
esxi/cluster-profileesxi/vsan-nodes-override(set to the name of the Machine)esxi/vsan-witness: true
Objects that Reference govc-vsan-witness-stretch-cluster¶
- workflows esxi-sddc-cluster-configure in VMware Library as part of Stages (declared)
Objects used by govc-vsan-witness-stretch-cluster¶
- contexts vmware-tools in field Tasks as value vmware-tools
- tasks govc-update-version in field Tasks as value govc-update-version
- tasks govc-vsan-witness-stretch-cluster in field Tasks as value govc-vsan-witness-stretch-cluster
- params esxi/vsan-disk-selection-rule in field Params as value vsan_witness