> Documentation index for agents: /hcp/3.3/en/llms.txt

# Management VM failure

Center runs in a single management virtual machine (VM) on a pool of one node. If the node of this VM fails, the cluster starts the VM again on its own together with the pool: the web interface and API are unavailable for several minutes. All this time, the cluster VMs keep running — only operations and auto-restart of crashed VMs do not run.

## How it works

The management VM is VM number `0` on the first pool of the cluster, usually `z01`. It runs Center with its database and the message broker that Center uses to communicate with the nodes. There is no second copy: the management VM moves together with its pool — [Management VM and Center](/hcp/3.3/en/architecture/management-vm/index.md).

[![Management VM failure: pool z01 opens on another node, the node starts the management VM, Center boots, the nodes connect to the broker, Center starts the VMs](data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxMDQwIDMwMCIgd2lkdGg9IjEwNDAiIGhlaWdodD0iMzAwIiBmb250LWZhbWlseT0iSW50ZXIsIHN5c3RlbS11aSwgLWFwcGxlLXN5c3RlbSwgJ1NlZ29lIFVJJywgUm9ib3RvLCBzYW5zLXNlcmlmIiByb2xlPSJpbWciIGFyaWEtbGFiZWxsZWRieT0idCBkIj4KPHRpdGxlIGlkPSJ0Ij5NYW5hZ2VtZW50IFZNIGZhaWx1cmU8L3RpdGxlPjxkZXNjIGlkPSJkIj5UaGUgbm9kZSBvZiBwb29sIHowMSBmYWlsZWQuIFRoZSBjbHVzdGVyIG1hbmFnZXIgb3BlbnMgdGhlIHBvb2wgb24gYW5vdGhlciBub2RlLCBhbmQgdGhhdCBub2RlIGl0c2VsZiBzdGFydHMgdGhlIG1hbmFnZW1lbnQgVk0uIFRoZSBPUywgZGF0YWJhc2UsIGJyb2tlciBhbmQgQ2VudGVyIGJvb3QuIFRoZW4gdGhlIG5vZGVzIHJlY29ubmVjdCB0byB0aGUgYnJva2VyLCBhbmQgQ2VudGVyIHBvbGxzIHRoZSBub2RlcyBhbmQgc3RhcnRzIHRoZSBWTXMuPC9kZXNjPgo8ZGVmcz48bWFya2VyIGlkPSJhciIgdm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NzkuMCIgZmlsbD0ibm9uZSIgc3Ryb2tlPSIjNWI2MTc4IiBzdHJva2Utd2lkdGg9IjEuNiIgIG1hcmtlci1lbmQ9InVybCgjYXIpIi8+CjxwYXRoIGQ9Ik04MjQgMTUxLjAgTDgyOCAxNTEuMCBMODI4IDE5OS4wIEw4NDYgMTk5LjAiIGZpbGw9Im5vbmUiIHN0cm9rZT0iIzViNjE3OCIgc3Ryb2tlLXdpZHRoPSIxLjYiICBtYXJrZXItZW5kPSJ1cmwoI2FyKSIvPgo8L3N2Zz4=)](/hcp/3.3/en/img/diagrams/en/mgmt-vm-failover-dark.svg)

1. **The pool fails over.** The cluster manager fences the failed node and opens the management VM pool on another node. Center is not needed for this — [Node failure](/hcp/3.3/en/mechanics/node-failure/index.md).
2. **The node starts the management VM.** When a node opens a pool, it starts the service VMs of the pool on its own, and the management VM is one of them. The node does not start the other VMs of the pool — Center starts them.
3. **Boot.** The management VM performs a full boot: its OS, the database, the broker, then Center.
4. **The nodes reconnect.** All this time, the controllers on the nodes try to reach the broker and connect on their own when it starts working: the VM controller retries every 5 seconds.
5. **Center starts the VMs.** After it starts, Center polls the nodes and starts the VMs that must be running, including the VMs of pools that failed over while Center was unavailable: [VM auto-restart after a failure](/hcp/3.3/en/mechanics/vm-auto-restart/index.md).

## Web interface and API downtime

| What happened | The web interface and API are unavailable |
| - | - |
| The node of the management VM pool failed or rebooted | pool failover, about 1–2 minutes, plus several minutes for the VM to boot |
| Support transfers the management VM pool on the node | several minutes |
| The node of the management VM pool was put into maintenance mode | several minutes: the cluster moves the pool after the node is disabled |
| The management VM pool was stopped, suspended or transferred from the web interface | until vStack support restores the pool |
| The management VM pool is faulty | until the pool is restored |
| The management VM crashed on a healthy pool | until it is started: the node does not restart a crashed VM on its own |
| The cluster manager does not respond | the web interface opens, but actions do not run until the cluster manager is restored |

The node handles a guest OS reboot of the management VM on its own and starts the VM again. It does not handle a crash: the node starts the management VM only when it opens the pool of this VM, and Center cannot start itself.

## What works without Center

| Works | Does not work |
| - | - |
| running VMs | the web interface and API, and with them the systems that work with the cluster through the API |
| failover of pools from failed nodes | starting, stopping and changing VMs |
| restarting a VM when its guest OS reboots — the node does this | auto-restart of crashed VMs: the VMs of pools that failed over wait for Center |

The controllers on the nodes write broker connection errors to their logs. This is expected until the management VM boots.

## What you see

- **The browser** does not open the web interface or shows a web server error. If the management VM is running but the cluster manager does not respond, actions fail with the `Request timed out (error code: -10500)` notification or the `ZMQ request failed` error.
- **After Center is restored,** the VMs waiting to start go to **Starting** and **Started**. Tasks that were running at the moment of the failure may not have finished — check them in the **Tasks** section — [View tasks and terminate a stuck one](/hcp/3.3/en/observability/operations/index.md).
- **On a node,** the `vstack-vm vm list` command shows the row of VM `0` with its pool and the `Started` status on the node that now owns the pool. The command only reads the state.

## Limitations

- **One per cluster.** There is no standby management VM, and its availability equals the availability of its pool. If the pool is suspended or its I/O is stopped because of a fault, the management VM stops working as well.

## What not to do

- **Do not stop, suspend or transfer its pool from the web interface** — vStack support does this. The node of this pool can be put into maintenance mode: the cluster moves the pool, and Center becomes unavailable for a few minutes — [Put a node into maintenance mode](/hcp/3.3/en/cluster/node-maintenance/index.md).
- **Do not reboot the node where it is starting** to speed up the process: the pool will start failing over again.
- **Do not restart the controller services on all nodes.** They reconnect to the broker on their own; a mass restart can cause new failures.
- **Do not look for the broker on the nodes.** It runs only inside the management VM.
- **Do not restart the cluster manager** if the web interface opens but actions do not run: a restart moves the pools of the node to other nodes, and VM downtime adds to management downtime.

## See also

- [Cluster web interface and API are unavailable](/hcp/3.3/en/troubleshooting/management-unavailable/index.md)
- [Management VM and Center](/hcp/3.3/en/architecture/management-vm/index.md)
- [Manual pool transfer](/hcp/3.3/en/mechanics/pool-transfer/index.md)
- [Collect data for support](/hcp/3.3/en/troubleshooting/collect-for-support/index.md)
