VMs did not start after a node failure
After a node failure, Center automatically starts the virtual machines (VMs) that were running before the failure: the VMs of the node pools — as soon as the pool is running again; the VMs of other pools that ran on the node — not earlier than 120 seconds after Center noticed the failure. Center tries to start each VM up to 5 times and waits up to 30 minutes. If a VM never started, start it manually.
What you see
After a node failure or a pool failover to another node, some VMs have the Offline or Start failed status although they were running before the failure.
What to do
- Check the VM pool. In the Pools table — View pool state and capacity — the VM pool must have OK in Health and Yes in Consuming. A pool fails over to another node in about 1–2 minutes. If the pool is not running longer than that — Node is unavailable; if Health is Critical — Pool health — Critical. If the web interface does not open — Cluster web interface and API are unavailable.
- Look at the recovery progress. On the pool page or the failed node page, click Actions → Recovery Progress. Center is still starting the VMs on the Starting and Waiting for retry tabs — wait. The task no longer starts the VMs on the Failed tab: start them manually, step 4. If there is no Recovery Progress item, the task is already closed: its result is in the Tasks section, the Start VMs after pool failover and Node failure recovery tasks — View tasks and terminate a stuck one.
- The task is closed with the reason Auto-restart is off — auto-restart is off on the cluster, Center does not start the VMs: start them manually, step 4.
- Start the VM manually: on the VM page, Actions → Start. Center selects the node automatically — Start, stop and restart a VM. If the VM status is preceded by Locked, a task is running on the VM — wait for it to finish: VM stays in the Locked status for a long time.
- Start returned an error — find its text in the table on the VM does not start page and do what the row says. If the remaining nodes do not have enough memory, the response is
Cluster RAM has been depletedor Not enough RAM in the cluster outside the failover reserve: Cluster RAM has been depleted.
Check the result
The VM has the Started status and responds over the network.
What not to do
- Do not start the VMs of the failed node manually until the node is powered off or back in the cluster. If the node only lost its connection to the cluster, the VM on it may keep running.
- Do not terminate the recovery task while VMs are still starting: terminating stops the start of all of its VMs.
If this did not help
Write down the names and IDs of the VMs that did not start, their statuses, the error text on Start, the time of the node failure and the result of the recovery task. Collect the rest from the list in Collect data for support and contact vStack technical support.