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,
call 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. apply_Task(cluster_ID, apply_spec)
method of the
com.vmware.esx.settings.clusters.Software
interface. Pass as
argument a SoftwareTypes.ApplySpec
instance and specify whether
the VMware End User License Agreement (EULA) must be acceptedTo remediate a standalone host with a desired state,
call
. 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. apply_Task(host_ID, apply_spec)
method of the
com.vmware.esx.settings.hosts.Software
interface and pass as
arguments the standalone host ID and an instance of the
SoftwareTypes.ApplySpec
class