Host Status and Maintenance
A host has three categories of status information: state, status, and power status. Each category indicates different host conditions and supported operations.
State
The state indicates whether the host is enabled, disabled, or in maintenance. It includes Enabled, Disabled, Pre-maintenance Mode, and Maintenance Mode.
- Enabled: You can create virtual machines on the host, start virtual machines on the host, or migrate virtual machines to the host.
- Disabled: You cannot create virtual machines on the host, start virtual machines on the host, or migrate virtual machines to the host.
- Pre-maintenance Mode: Before a host enters Maintenance Mode, it enters Pre-maintenance Mode first. Virtual machines on shared storage are automatically migrated to hosts with sufficient resources in the cluster. Virtual machines on local storage and virtual machines that cannot be migrated are forcibly powered off. After all virtual machines are migrated or stopped, the host enters Maintenance Mode.
- Maintenance Mode: Administrators can perform host maintenance, such as memory expansion, in this state. After the host enters Maintenance Mode, you cannot create virtual machines on the host, start virtual machines on the host, or migrate virtual machines to the host.
Operations that change the host state include enabling, disabling, entering Maintenance Mode, and exiting Maintenance Mode.
Status
The status reflects the network connection status between the host and the management node, including Connecting, Connected, and Disconnected. The host supports operations such as creating or starting virtual machines only when the management node and the host are Connected.
When the network connection is unstable, the host status may change. Reconnecting a host changes its status.
Power Status
The power status reflects the power-on status of the host.
- IPMI Not Managed: IPMI information was not added when the host was added to the platform. The host power-on or power-off status cannot be obtained.
- Unknown: IPMI is configured for the host, but the power-on or power-off status cannot be obtained because IPMI is unavailable.
- Power On, Powering On, Power Off, and Powering Off: These power statuses can be obtained after IPMI is successfully configured for the host.
You can add or update IPMI information for the host by using Update IPMI Info only when the host power status is IPMI Not Managed or Unknown. Operations that change the host power status include adding or updating IPMI information, powering on, restarting, and powering off.
Powering off or restarting a host may power off virtual machines running on the host. To ensure service continuity and safety, you can put the host into Maintenance Mode in advance.
- If IPMI is configured for the host, soft shutdown is supported. You can stop services on the host before powering off the host.
- If IPMI is not configured for the host, the Shutdown operation powers off the host directly.
