Changing the Topology of one or more Nodes

Describes how to move nodes from one topology to the other using either the Control System or the CLI.

Changing the Topology of Multiple Nodes Using the Control System

About this task

To change the rack or switch path for one or more nodes, under Nodes:
NOTE The Nodes menu is not available on the Kubernetes version of the Control System.

Procedure

  1. Select the nodes from the list of nodes in the Nodes pane and click Change Topology.
    The Change Node Topology dialog displays.
  2. Choose one of the following:
    • Select Existing Topology to select a topology from the list of existing topologies.
    • Create New Topology to specify a new topology for the selected nodes.
  3. Click Change Topology for the changes to take effect.

Changing the Topology of a Node Using the Control System

About this task

To change the rack or switch path for a node:

Procedure

  1. Go to the node information page and click Change Topology.
    The Change Node Topology dialog displays.
  2. Choose one of the following:
    • Select Existing Topology to select a topology from the list of existing topologies.
    • Create New Topology to specify a new topology for the node.
  3. Click Change Topology for the changes to take effect.

Changing the Topology Using the CLI or REST API

About this task

The basic command to move nodes to a different topology is:

/opt/mapr/bin/maprcli node move -serverids <server IDs> -topology <topology>

For complete reference information, see node move.

The move will fail if the server ID is negative. To fix this issue, perform one of the following:

  • If you are moving only a single server ID that is negative, or a bunch of server IDs that are all negative, prefix 0 as an additional server ID. For example:
    /opt/mapr/bin/maprcli node move -serverids 0,-6151492882499457449,-2668056288676628812 -topology /data/mytopo -json
  • If you are moving a bunch of server IDs with a mix of positive and negative server IDs, place a positive ID as the first ID. For example:
    /opt/mapr/bin/maprcli node move -serverids 1507661865183706279,-6151492882499457449,-2668056288676628812 -topology /data/mytopo -json