Describes how to decommission a node from service.
/decommissioned physical topology. All the data on a node in
the /decommissioned topology is migrated to volumes and nodes
in the /data topology. maprcli dump volumenodes -volumename <volume> -json | grep IP:Port
As an example, consider the volume rocky that is present on a
node with IP 10.163.167.212. To check whether this volume
exists on this node, run the command:
maprcli dump volumenodes -volumename rocky -json
{
"timestamp":1606879372378,
"timeofday":"2020-12-01 07:22:52.378 GMT-0800 PM",
"status":"OK",
"total":1,
"data":[
{
"Servers":{
"IP:Port":"10.163.167.212:5660-192.168.122.1:5660--3-VALID"
}
}
]
}
The
output shows that the volume rocky exists on node
10.163.167.212 that is accessible on port
5660.
grep command as
follows: maprcli dump volumenodes -volumename test -json | grep IP:Port
"IP:Port":"10.163.167.212:5660-192.168.122.1:5660--3-VALID"configure.sh
with -C and -Z options.This is to ensure that ZooKeeper quorum is maintained and that an optimal number of CLDB is available for high availability.
You can remove one or more nodes using the Control System and the CLI.
To remove one or more nodes:
To remove a node:
Use the node remove command to remove one or more server
nodes from the cluster. To run this command, you must have full control
(fc) or administrator (a) permission. The
syntax is:
maprcli node remove -nodes <node names> ]
After you issue the node remove command, wait several minutes to ensure that the nodes have been completely removed.
/opt/mapr/conf/mapr-clusters.conf file on the node.