ESXi host updates might require that the host enters maintenance mode before they can be applied. Update Manager puts the ESXi hosts in maintenance mode before applying these updates. You can configure how Update Manager responds if the host fails to enter maintenance mode.

For hosts in a container different from a cluster or for individual hosts, migration of the virtual machines with vMotion cannot be performed. If vCenter Server cannot migrate the virtual machines to another host, you can configure how Update Manager responds.

Hosts that are part of a vSAN cluster can enter maintenance mode only one at a time. This is a specificity of the vSAN clusters.

If a host is a member of a vSAN cluster, and any virtual machine on the host uses a VM storage policy with a setting for "Number of failures to tolerate=0", the host might experience unusual delays when entering maintenance mode. The delay occurs because vSAN has to migrate the virtual machine data from one disk to another in the vSAN datastore cluster. Delays might take up to hours. You can work around this by setting the "Number of failures to tolerate=1" for the VM storage policy, which results in creating two copies of the virtual machine files in the vSAN datastore.

Prerequisites

Required privileges: VMware vSphere Update Manager.Configure

Procedure

  1. In the Home view of the vSphere Web Client, select the Update Manager icon.
  2. From the Objects tab, select an Update Manager instance.
    The Objects tab also displays all the vCenter Server system to which an Update Manager instance is connected.
  3. Click the Manage tab.
  4. Click Settings, and select Host/Cluster Settings.
  5. Click Edit.
    The Edit Host/Cluster Settings dialog box opens.
  6. Under Host Settings, select an option from the VM Power state drop-down menu to determine the change of the power state of the virtual machines that run on the host to be remediated.
    The option that you select determines how the power state changes for the virtual machines that run on the host when the host enters maintenance mode before remediation.
    Option Description
    Power Off virtual machines Powers off all virtual machines before remediation.
    Suspend virtual machines Suspends all running virtual machines before remediation.
    Do Not Change VM Power State Leaves virtual machines in their current power state. This is the default setting.
  7. (Optional) Select Retry entering maintenance mode in case of failure, and specify the retry delay, and the number of retries.
    If a host fails to enter maintenance mode before remediation, Update Manager waits for the retry delay period and retries putting the host into maintenance mode as many times as you indicate in Number of retries.
  8. (Optional) Select Temporarily disable any removable media devices that might prevent a host from entering maintenance mode.
    Update Manager does not remediate hosts on which virtual machines have connected CD/DVD or floppy drives. All removable media drives that are connected to the virtual machines on a host might prevent the host from entering maintenance mode and interrupt remediation.

    After remediation, Update Manager reconnects the removable media devices if they are still available.

  9. Click OK.

Results

These settings become the default failure response settings. You can specify different settings when you configure individual remediation tasks.