node move

Moves one or more nodes to a different topology. Permissions required: fc or a.

Syntax

CLI
maprcli node move
    [ -cluster <cluster> ]
     -serverids <server IDs>
     -topology <topology>
REST
Request Type POST
Request URL
http[s]://<host>:<port>/rest/node/move?<parameters> 

Parameters

Parameter

Description

cluster The cluster on which to run the command.
serverids The comma-separated list of server IDs of the nodes to move. If you insert spaces between server IDs, the command only operates on the first server ID in the list.
topology The new topology.

To obtain existing topology, run

maprcli node topo

To obtain the server ID, run

maprcli node list -columns id

Sample output from maprcli node list -columns id is shown below. The resulting server ID(s) can be copied and pasted into the maprcli node move command.

id                   hostname     ip
547819249997313015   node-34.lab  10.10.40.34,10.10.88.34
2130988050310536949  node-36.lab  10.10.40.36,10.10.88.36
8683110801227243688  node-37.lab  10.10.40.37,10.10.88.37
5056865595028557458  node-38.lab  10.10.40.38,10.10.88.38
3111141192171195352  node-39.lab  10.10.40.39,10.10.88.39

Examples

maprcli node move 
   -topology /newData 
   -serverids 547819249997313015
https://abc.sj.us:8443/rest/node/move?topology=%2FnewData&serverids=547819249997313015