Start, stop, suspend and transfer a pool
Change the state of a storage pool when a node is put into maintenance or the pool needs to return to service. You perform all actions from the Actions menu on the pool page.
Before you begin
- You need the Cluster master role.
- You know what happens to the pool's virtual machines (VMs) with each action — see the table on the Cluster storage (SDS) page.
- Suspend pool, Resume pool and the choice of transfer mode are available only if VM suspension is enabled on the cluster. Center installation enables it; if these actions are missing, contact vStack support.
- Do not stop, suspend or transfer the management VM pool (usually
z01) from the web interface — vStack support does this: Manual pool transfer.
1. Open the pool actions menu
- In the left menu, select Provider Data Center → the cluster → Storage Resources → the pool. The pool page opens.
- Open the Actions list under the pool name.
While the VMs of the pool are being started after the pool failed over from a failed node, the list also has the Recovery Progress item: it opens the progress of the "Start VMs after pool failover" operation — Pool failover to another node.
If the list has only Start pool and Stop pool, Center has not received the pool data. Refresh the page; if the list does not change, see View pool state and capacity.
2. Stop the pool
Warning. All VMs with disks on this pool stop. Center stops the VMs that run on other nodes before it stops the pool. Do not stop the management VM pool this way. VMs stopped together with the pool do not start automatically after the pool starts: start them manually.
- On the pool page, select Actions → Stop pool. The Are you sure want to stop pool <name> on node <node>? window opens.
- Click Stop.
3. Start the pool
- On the pool page, select Actions → Start pool. The Are you sure want to start <name>? window opens.
- In the Move to another host? field, keep the current node or select another node to start the pool on.
- Click Start.
4. Suspend or resume the pool
Warning. All VMs of the pool are suspended until the pool is resumed. Do not suspend the management VM pool this way.
- On the pool page, select Actions → Suspend pool.
- Click Suspend.
For the VMs to continue running, select Actions → Resume pool and click Resume.
5. Transfer the pool to another node
Warning. With a hard transfer, the VMs of the pool stop and stay powered off after the transfer. In both modes, Center powers off the pool's VMs that run on other nodes. Do not transfer the management VM pool this way, in any mode.
- On the pool page, select Actions → Transfer pool.
- Select a node in the New host field. The pool's current node is not in the list.
- Select a mode: Soft transfer — the VMs are suspended and continue running on the new node; Hard Transfer — the VMs stop. If VM suspension is disabled on the cluster, there is no choice, and the transfer is always hard.
- Click Transfer.
Check the result
When the action is complete, the web interface shows a notification: Pool <name> was successfully stopped, …started, …suspended, …resumed or Pool <name> was successfully transfered to host <node number>.
Check the pool in the Pools table: after a start or a transfer, the Health of a healthy pool is Normal, and its Current node is the selected node. A stopped pool shows a dash «—» in Health.
If the pool did not stop, the web interface shows the error Pool has running VMs on other nodes that could not be stopped: Center could not stop the pool's VMs on other nodes. Stop these VMs — Start, stop and restart a VM — and stop the pool again.
Center also refuses in other cases:
- "A VM in this pool is migrating" — stopping, suspending or resuming the pool while a VM of this pool is migrating. Wait for the migration to finish and try again.
- "Node <node> is in maintenance mode" — starting the pool on a node in maintenance mode. Select another node or take the node out of maintenance — Put a node into maintenance mode.
- "Not enough RAM in the cluster outside the failover reserve" — resuming the pool would take memory that the cluster reserves for node failures — Memory reserve for node failures.
The transfer runs in steps: soft — suspend, stop, start on the new node, resume; hard — stop and start. If a step fails, the web interface shows the error of that step or Async request was cancelled. Much attempts limit has been reached., and the next steps are not performed. The pool may remain stopped or suspended: check it in the Pools table. Start a stopped pool on the required node (section 3), and after a soft transfer, resume the pool (section 4).
More
- Get VMs back to online state upon errors during stop/suspend (in the suspend window) — if the VMs could not be suspended, Center brings them back online.
- The same actions are available in the ⋯ menu of the pool row in the Pools table.
Next
- View pool state and capacity
- Drain a node before maintenance
- Cluster storage (SDS) — what happens to VMs during pool actions.
API methods: cluster-service-stop, cluster-service-start, vms-suspend-pool, vms-resume-pool — in the API reference.