st_volume_move_node
For each node that you want to move, you must specify a destination node.
The 'srcnodes' and 'destnodes' must be of equal size.
The nodes to be moved can be online or offline, the destination nodes have to be online.
Moving a node may be denied in any of the following cases:
- one or more segments on the source node have a snapshot map,
- one or more segments on the source node have a redundancy segment on the destination node,
- the source node is used for recovering another node and no other suitable node is available or
- a segment on the source node is an unlock condition (if it was moved, the data in that address range would be lost).
Mandatory Parameters
Parameter Name | Data Type | Description |
---|---|---|
vid | integer | Volume ID |
src_nodes | list | List of the source node physical IDs |
dst_nodes | list | List of the destination node physical IDs |
Optional Parameters
Parameter Name | Data Type | Description |
---|---|---|
vname | string | Volume name |
Substitute Parameters
The below table describes what parameters can be substituted for another parameter.
Parameter Name | Substitute Parameter |
---|---|
vid | vname |
vname | vid |
Allowed Users
The following users are allowed to run this job:
- root
Allowed Groups
The following groups are allowed to run this job:
- root
- exastoradm
- exaadm
Examples
The following code snippets show how to use this job using both Python (via XML-RPC) and on the command-line using confd_client.