Setting graceful failover

Setting graceful failover

Graceful failover is initiated via the POST /controller/startGracefulFailover HTTP method and URI.

HTTP method and URI

Initiates graceful failover for a specific server node. The server node is specified with the otpNode=[node@hostname] parameter.

POST /controller/startGracefulFailover
Note: The failover progress can be tracked just like rebalance. After the data is persisted to disk and replicas are up-to-date, the node is put into the failed over state.


POST /controller/startGracefulFailover
Note: Be sure to update any scripts that implement failover.


Curl request example:

curl -u Administrator:password -d otpNode=ns_1@