node maintenance
Places a node into a maintenance mode for a specified timeout duration.
For the duration of the timeout, the cluster's CLDB does not consider this node's data as lost and does not trigger a resync of the data on this node. See Administering Nodes for more information.
Syntax
- CLI
-
maprcli node maintenance [ -cluster <cluster> ] [ -serverids <serverids> ] -nodes <node names> -timeoutminutes <timeout in minutes>
- REST
Request Type POST Request URL http[s]://<host>:<port>/rest/node/maintenance?<parameters>
Parameters
Parameter |
Description |
---|---|
|
The cluster on which to run the command. |
|
List of server IDs |
|
List of nodes, space separated. |
|
Duration of timeout in minutes |
Examples
maprcli node maintenance -nodes centos22.lab -timeoutminutes 20
https://abc.sj.us:8443/rest/node/maintenance?nodes=centos22.lab&timeoutminutes=20