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 following 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 examples show how to run this job in a Python program using XML-RPC or on the command line using confd_client.