Setting graceful failover

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.

Syntax


POST /controller/startGracefulFailover
    otpNode=[node@hostname]
      
Note: Be sure to update any scripts that implement failover.