The host is allowed to enter maintenance mode only after the system performs a precheck to confirm that the status of the cluster and host meets the requirements.
Precaution
If maintenance mode is enabled for a host, you cannot perform any scheduling operations on the virtual machines hosted by it, including starting a virtual machine, creating a virtual machine, migrating a virtual machine, or rebuilding a virtual machine on this host via HA.
Procedure
In the AOC host list, click the ellipsis (...) on the right of the target host or SCVM, and select Enter maintenance mode.
In the pop-up Enter maintenance mode dialog box, the system performs a precheck as follows. If some of the check results do not meet the requirements, follow the suggested operations to make manual adjustments, and then try entering maintenance mode again.
| Precheck item | Suggested operation upon failure |
|---|---|
No business virtual machines on the host need to be evacuated, or the virtual machines to be evacuated are not associated with enabled placement group rules of the Must type. |
|
| (AVE only) The host has no running virtual machines, or all running virtual machines can be evacuated. |
|
| (AVE only) The host has no virtual machines with HA enabled, or all HA-enabled virtual machines can be migrated. |
|
(AVE only) The host has no Suspended or Unknown virtual machines. |
Manually adjust the virtual machines. |
| (AVE only) The number of virtual machines (including those in the recycle bin) on the host does not exceed 150. | Evacuate some virtual machines from the host. |
| The host has no data with only one replica. |
|
| The storage network connection of the host is normal. | Fix the faults. |
The cluster has no host or SCVM in the Entering maintenance mode or Maintenance mode state. |
Wait for the other host or SCVM to complete the maintenance task and exit maintenance mode. |
| The cluster has no data recovery in progress. | Wait for the data recovery to complete. |
There is sufficient free storage space in other nodes in the cluster, that is, the following two conditions are met:
|
|
The following requirements for services are all met:
|
Fix the faults. |
Note:
If the host has virtual machines with DRS automatic migration enabled, the virtual machines may be relocated during host maintenance mode. As a result, the virtual machines cannot be automatically migrated back to the original host after maintenance mode is exited. Click Edit DRS setting to go to the dynamic resource scheduler page and adjust the DRS automatic migration settings as needed. For details, refer to the Dynamic resource scheduler configuration section.
If the ACOS (AVE) cluster has a file storage cluster deployed and the file controller is located on the host, click the file controller name to go to the file controller page and take it offline. For file storage cluster version 1.2.1 or later, refer to the chapter on taking the file controller offline . For 1.1.2 or earlier versions , contact technical support for assistance.
If the ACOS (AVE) cluster has an ANS service or AKE service deployed, and the system service virtual machines are located on the host, these system service virtual machines will automatically ignore the enabled placement group rules of the
Musttype during maintenance mode migration. This migration will not impact business operations.If a virtual machine fails to be migrated due to insufficient CPU reservation on the target host, adjust the CPU reservation for this virtual machine based on the available resources of the target host.
If all check items meet the requirements, click Enter maintenance mode in the lower right corner of the dialog box to place the host in maintenance mode.
If you need to enable ESXi host maintenance mode in an ACOS (VMware ESXi) cluster, refer to the official VMware documentation for instructions.