Remediating an ESXi Cluster and a Standalone Host
ESXi
Cluster and a Standalone HostYou can use the
vSphere
Automation
API to
initiate the remediation of a cluster or a standalone host through the vSphere Lifecycle Manager
.To remediate a cluster with a desired state,
use the
. You can also set the minimum commit ID of the draft software
specification that must be used for remediating the cluster. Upon successful completion
of the remediation task, all hosts in the cluster have the same software state. POST
https://
request and submit a <vcenter_ip_address_or_fqdn>
api/esx/settings/clusters/<cluster_id>
/software?action=apply&vmw-task=trueSoftware.ApplySpec
JSON object in the
request body. Specify whether the VMware End User License Agreement (EULA) must be
acceptedTo remediate a standalone host with a desired state,
use the
. Use the software apply specification to set the minimum commit
identifier of the draft software specification. See Committing the Draft Software Specification. You can also specify whether the VMware End User License Agreement (EULA) must be
accepted. POST
https://
request and submit a <vcenter_ip_address_or_fqdn>
/api/esx/settings/hosts/<host_id>
/software?action=apply&vmw-task=trueSoftware.ApplySpec
JSON object in the
request body