Search:

Search all manuals
Search this manual
Manual
Couchbase Server Manual 1.8
Additional Resources
Community Wiki
Community Forums
Couchbase SDKs
Parent Section
5.1 Node Failover
Chapter Sections
Chapters

5.1.2. Using Automatic Failover

5.1.2.1. Resetting the Automatic failover counter

Due to the potential for problems when using automated failover (see Section 5.1.1.1, “Automated failover considerations”), there are a number of restrictions on the automatic failover functionality in Couchbase Server:

If there are any node failures, an email can be configured to be sent out both when an automatic failover occurs, and when it doesn't.

To configure automatic failover through the Administration Web Console, see Section 6.6.2, “Auto-Failover Settings”. For information on using the REST API, see Section 8.9, “Retrieve Auto-Failover Settings”.

Once an automatic failover has occurred, the Couchbase Cluster is relying on replicas to serve data. A rebalance should be initiated to return your cluster to proper operational state. For more information, see Section 5.1.4, “Handling a Failover Situation”.

5.1.2.1. Resetting the Automatic failover counter

After a node has been automatically failed over, an internal counter is used to identify how many nodes have been failed over. This counter is used to prevent the automatic failover system from failing over additional nodes until the issue that caused the failover has been identified and rectified.

To re-enable automatic failover, the administrator must reset the counter manually.

Warning

Resetting the automatic failover counter should only be performed after restoring the cluster to a healthy and balanced state.

You can reset the counter using the REST API:

shell> curl -i -u cluster-username:cluster-password \
    http://localhost:8091/settings/autoFailover/resetCount

More information on using the REST API for this operation can be found in Section 8.11, “Resetting Auto-Failovers”.