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

# Suspending a VM and a pool

Suspending stops a virtual machine (VM) without powering it off: the node saves the VM memory to the VM's pool. When the VM resumes, the guest continues from the same point. Suspending a pool does this with all VMs of the pool on its node — the soft pool transfer is based on it.

## How it works

### VM

1. **Check.** Center suspends only a VM that is supposed to be running and that has no other task or migration in progress. A powered-off VM cannot be suspended.
2. **Saving memory.** The node of the VM writes the VM memory to the service suspend volume in the VM's pool and terminates the VM process. If the VM runs on a node other than the node of the pool, the memory is written to the volume over the network.
3. **Pause.** A suspended VM does not run and does not use node memory. It cannot be started or restarted — only resumed.
4. **Resume.** Center checks the node, the quotas of the virtual data center (VDC), the node memory and the memory reserve for node failures, and the VM continues to run on the node where it was suspended.

The suspend volume takes space in the pool: when the VM is created, it takes the VM's RAM size plus 128 MB; on suspend, the node grows it to the RAM size plus 304 MB.

### Pool

1. **Center sends the command to the node of the pool** — and only to it.
2. **The node marks the pool as suspended** and rejects commands to individual VMs of the pool: start, stop, resume.
3. **The node suspends the VMs of the pool that run on it** one by one: first regular VMs, then service VMs, including the management VM if it is on this pool.
4. **VMs of the pool on other nodes keep running:** suspending the pool does not affect them.
5. **Resume pool** clears the mark and resumes, one by one, the VMs that were suspended together with the pool. A VM that was suspended separately stays suspended.

The suspend mark and the VM memory are stored on the pool itself, so the pool can also be resumed on another node. This is how the soft transfer works — [Manual pool transfer](/hcp/3.3/en/mechanics/pool-transfer/index.md). Pool suspend is different from the ZFS SUSPENDED state: the pool is open and healthy, only its VMs are paused.

## Node memory

- **A suspended VM** does not use node memory: Center allocates it to other VMs. While the VM is **Suspending** or **Suspend failed**, the memory stays allocated to it.
- **Resume for a VM:** if the node does not have enough memory, Center rejects the resume: [Cluster RAM has been depleted](/hcp/3.3/en/troubleshooting/cluster-ram-depleted/index.md). If resuming would take memory set aside for node failures, Center rejects it with the error `Not enough RAM in the cluster outside the failover reserve`: [Memory reserve for node failures](/hcp/3.3/en/mechanics/failover-reserve/index.md).
- **Resume pool** also checks the memory reserve for node failures.
- **Resume pool:** before you resume, make sure that the node of the pool has enough memory for all VMs of the pool — [Resource accounting: quotas and node memory](/hcp/3.3/en/mechanics/resource-accounting/index.md).

## Duration

- **One VM** — the time it takes to write its memory to the volume and to read it back; it grows with the amount of RAM.
- **Pool** — VMs are suspended and resumed one by one, so the times add up.
- **Center limit** — 30 minutes: if **Suspending** or **Resuming** lasts longer, Center sets **Suspend failed** or **Resume failed**.
- **The web interface** waits for the result for 30 minutes, then stops waiting, while the node continues the operation: [Async request was cancelled. Much attempts limit has been reached](/hcp/3.3/en/troubleshooting/async-request-cancelled/index.md).

## What you see

- **VM:** **Actions** → **Additional actions** → **Suspend**, **Resume**; the **VDC admin** or **Cluster master** role.
- **Pool:** **Actions** → **Suspend pool**, **Resume pool**; the **Cluster master** role.
- **The items are available** when VM suspend is enabled on the cluster; the Center installation enables it.
- **VM statuses:** **Suspending** → **Suspended**; **Resuming** → **Started**. The **Power** of a suspended VM is **Suspended**.
- **Notifications:** **VM (id: …, name: …) was successfully suspended** and **…resumed**; **Pool \<name> was successfully suspended** and **…resumed**.
- **Pool page:** **Health** does not change, and the **Consuming** indicator turns negative.

## Limitations

- **PCI device passthrough.** A VM with a passed-through PCI device cannot be suspended: the state of such devices is not saved. The node responds `Suspend not supported for VM with PCI passthru devices`, and the VM keeps running.
- **A pool with such a VM** fails to suspend: the error names the numbers of the VMs that were not suspended, and the pool returns to normal operation. The node resumes the VMs that were already suspended only if the **Get VMs back to online state upon errors during stop/suspend** checkbox is selected.
- **Resume node.** If the node where the VM was suspended is in maintenance mode, powered off or out of the cluster network, Center rejects the resume: `Node <name> is in maintenance mode` or `Node <name> is not available: <state>`. A VM suspended on the node of the pool can be resumed only on the node of the pool; a VM suspended on another node can be resumed only on a node other than the node of the pool: otherwise its memory cannot be restored.
- **While a VM in the pool is being moved,** Center rejects suspending, resuming and stopping the pool.
- **While the pool is suspended,** the node rejects commands to its VMs: `Pool '<name>' is suspended. Should only be resumed`. Center rejects snapshots, rollback to a snapshot and VM creation on this pool, for example with the error `Pool of VM isn't in consuming state`.

## What not to do

- **Do not suspend the pool of the management VM (usually `z01`):** the web interface and the API become unavailable — [Management VM and Center](/hcp/3.3/en/architecture/management-vm/index.md).
- **Do not leave the pool suspended after the work is done.** The mark persists after a node reboot and pool failover: the VMs of the pool do not start until the pool is resumed.
- **Do not resume the pool on a node without spare memory:** before you resume, compare the free RAM of the node with the memory of the pool's VMs.
- **Do not suspend a VM instead of powering it off:** Center does not accept "only for a powered-off VM" actions on a suspended VM.

## See also

- [Manual pool transfer](/hcp/3.3/en/mechanics/pool-transfer/index.md)
- [Start, stop, suspend and transfer a pool](/hcp/3.3/en/storage/manage-pool-state/index.md)
- [Start, stop and restart a VM](/hcp/3.3/en/vms/start-stop-vm/index.md)
- [Cluster storage (SDS)](/hcp/3.3/en/architecture/storage/index.md)
- [VM stays in the Locked status for a long time](/hcp/3.3/en/troubleshooting/vm-stuck-locked/index.md)
