Migrating a Volume off a Node
When you need to migrate a data volume off a particular node,
move that node from the /data
path to the
/decommissioned
path. Since no data volumes are
assigned to that topology path, standard data replication will
migrate the data off that node to other nodes that are still in the
/data
topology path.
You can run the following command to check if a given volume is present on a specified node:
maprcli dump volumenodes -volumename <volume> -json | grep <ip:port>
Run this command for each non-local volume in your cluster. Once all the data has migrated off the node, you can decommission the node or place it in maintenance mode.
If you need to segregate CLDB data, create a /cldb
topology node and move
the CLDB nodes under /cldb
. Point the topology for the CLDB volume
(mapr.cldb.internal
) to /cldb
. See Isolating CLDB Nodes for details.
maprcli volume
move
command to move a volume to another topology, the
following error message is returned:
ERROR (10010) - Volume Move: No license for requested operation