Vim Cluster Vsan Vc Stretched Cluster System VSAN Vc Remove Witness Host
Remove witness host from the vSAN stretched cluster to disable vSAN stretched cluster.
Detailed changes will happen on target cluster:
- vSAN on witness host will be disabled;
- Unicast agent setting will be removed from all data hosts in specified vSAN stretched cluster;
Original Fault Domains for both two sites will be kept, and vSAN is still enabled on all data hosts.
The unique identifier for the managed object to which the method attaches; the serialized managed object reference for a request has the form moType/moId
, in this case VimClusterVsanVcStretchedClusterSystem/{moId}
.
The vSphere release schema. The current specification covers vSphere 9.0.0.0 APIs.
"VSANVcRemoveWitnessHostRequestType Object"
The target cluster to disable;
Required privileges: Host.Inventory.RemoveHostFromCluster
Witness host to remove;
The IP address of witness host used as unicast agent.
InvalidState: If any host in target cluster is not connected to vCenter server;
InvalidArgument: If below issues exist:
- target cluster doesn't enable vSAN;
- witness host is specified but doesn't match the in-use configuration;
- target cluster is not vSAN stretched cluster;
VsanFault: If any unexpected runtime fault is met.
"MethodFault Object"
Fault which is the cause of this fault.
Message which has details about the error Message can also contain a key to message catalog which can be used to generate better localized messages.
curl -X POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '[{}]' https://{api_host}/sdk/vim25/{release}/vsan/VimClusterVsanVcStretchedClusterSystem/{moId}/VSANVcRemoveWitnessHost