Places a node into a maintenance mode for a specified duration.
maprcli node services -name cldb -action stop -nodes mapr-<node>For the duration of the maintenance mode, the cluster's CLDB does not consider the data of this node as lost and does not trigger a resync of the data on this node. See Administering Nodes for more information.
/opt/mapr/bin/maprcli node maintenance
[ -cluster <cluster> ]
[ -serverids <serverids> ]
-nodes <node names>
-timeoutminutes <timeout in minutes>
| Request Type | POST |
| Request URL | |
|
Parameter |
Description |
|---|---|
|
|
The cluster on which to run the command. |
|
|
List of server IDs |
|
|
List of nodes, space separated. |
|
|
Duration of the maintenance mode in minutes |
/opt/mapr/bin/maprcli node maintenance -nodes centos22.lab -timeoutminutes 20curl -u mapr:mapr -X POST -k 'https://abc.sj.us:8443/rest/node/maintenance?nodes=centos22.lab&timeoutminutes=20'