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 Managing Nodes for more information.

Syntax

CLI
maprcli node maintenance
    [ -cluster <cluster> ]
    [ -serverids <serverids> ]
      -nodes <node names>
      -timeoutminutes <timeout in minutes> 
REST
http[s]://<host>:<port>/rest/node/maintenance?<parameters> 

Parameters

Parameter

Description

cluster

The cluster on which to run the command.

serverids

List of server IDs

nodes

List of nodes, space separated.

timeoutminutes

Duration of timeout in minutes

Examples

CLI
maprcli node maintenance -nodes centos22.lab -timeoutminutes 20
REST
https://10.10.82.28:8443/rest/node/maintenance?nodes=centos22.lab&timeoutminutes=20