vinfra node release
Release a node from the storage cluster. Start data migration from the node as well as cluster replication and rebalancing to meet the configured redundancy level:
usage: vinfra node release [--force] <node>
--force
- Release node without data migration
<node>
- Node ID or hostname
Example:
# vinfra node release f59dabdb-bd1c-4944-8af2-26b8fe9ff8d4 +---------+--------------------------------------+ | Field | Value | +---------+--------------------------------------+ | task_id | c2a653a2-8991-4b3a-8bdf-5c0872aa75b3 | +---------+--------------------------------------+
This command creates a task to release the node with the ID f59dabdb-bd1c-4944-8af2-26b8fe9ff8d4
from the storage cluster with migration of data to maintain the set redundancy mode.
Task outcome:
# vinfra task show c2a653a2-8991-4b3a-8bdf-5c0872aa75b3 +---------+----------------------------------------+ | Field | Value | +---------+----------------------------------------+ | args | - f59dabdb-bd1c-4944-8af2-26b8fe9ff8d4 | | | - false | | kwargs | {} | | name | backend.tasks.node.ReleaseNodeTask | | state | success | | task_id | c2a653a2-8991-4b3a-8bdf-5c0872aa75b3 | +---------+----------------------------------------+