When a host is removed from a cluster, the resources it provides are deducted from the total cluster resources. The virtual machines deployed on the host are either migrated to other hosts within the cluster, or remain with the host and are removed from the cluster, depending on the state of the virtual machines when the host is removed from the cluster.

You can remove hosts from a cluster by selecting them in the inventory and dragging them to a new location within the inventory. The new location can be a folder as a standalone host or another cluster.

Prerequisites

Before you can remove a host from a cluster, you must power off all virtual machines that are running on the host, or migrate the virtual machines to a new host using vMotion.

Procedure

  1. Navigate to Home > Hosts and Clusters and select a host.
  2. (Optional) If the host is part of a cluster, you must put it in maintenance mode.
    1. Right-click the host and select Maintenance Mode > Enter Maintenance Mode from the pop-up menu.
      If all virtual machines on the host are not powered off, the host does not enter maintenance mode.

      If the host is inside a DRS-enabled cluster, entering maintenance mode causes DRS to attempt to evacuate powered-on virtual machines from the host using vMotion.

    2. In the confirmation dialog box that appears, click Ok.
      The confirmation dialog box also asks if you want to evacuate virtual machines that are not powered on from the host. This is useful if you want those virtual machines to remain registered to a host within the cluster.
      The host icon changes and the term “Maintenance Mode” is added to the name in parentheses.
  3. Select the host in the inventory panel and drag it to the new location.

    The host can be moved to another cluster or another data center.

    vCenter Server moves the host to the new location.

  4. Right-click the host and select Maintenance Mode > Exit Maintenance Mode from the pop-up menu.
  5. (Optional) Restart any virtual machines, as needed.