Host System Reconfigure Host For DAS Task
Reconfigures the host for vSphere HA.
If the host is part of a HA cluster, this operation reconfigures the host for HA. For example, this operation may be used if a host is added to a HA enabled cluster and the automatic HA configuration system task fails. Automatic HA configuration may fail for a variety of reasons. For example, the host is configured incorrectly.
Required privileges: Host.Config.Connection
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 HostSystem/{moId}
.
The vSphere release schema. The current specification covers vSphere 8.0.2.0 APIs.
This method returns a Task object with which to monitor the operation.
"MoRefTask Object"
NotSupported: if run directly on an ESX Server host.
DasConfigFault: if there is a problem reconfiguring the host for HA.
"DasConfigFault Object"
The reason why the HA configuration failed, if known.
Values should come from DasConfigFaultDasConfigFaultReasonEnum.
The output (stdout/stderr) from executing the configuration.
The list of events containing details why the configuration failed, if known.
curl -X POST -H 'Authorization: <value>' https://{api_host}/sdk/vim25/{release}/HostSystem/{moId}/ReconfigureHostForDAS_Task