Search:

Search all manuals
Search this manual
Manual
Couchbase Server Manual 1.8
Additional Resources
Community Wiki
Community Forums
Couchbase SDKs
Parent Section
5 Administration Tasks
Chapter Sections
Chapters

5.1. Node Failover

5.1.1. Choosing a Failover Solution
5.1.2. Using Automatic Failover
5.1.3. Initiating a Node Failover
5.1.4. Handling a Failover Situation
5.1.5. Adding Back a Failed Node

The replica system within Couchbase Server enables the cluster to cope with a failure of one or more nodes within the cluster without affecting your ability to access the stored data. In the event of an issue on one of the nodes, you can initiate a failover status for the node. This removes the node from the cluster, and enables the replicas of the data stored on that node within the other nodes in the cluster.

Because failover of a node enables the replica vBuckets for the corresponding data stored, the load on the nodes holding the replica data will increase. Once the failover has occurred, your cluster performance will have degraded, and the replicas of your data will have been reduced by one.

To address this problem, once a node has been failed over, you should perform a rebalance as soon as possible. During a rebalance after a failover:

Rebalancing should therefore take place as soon as possible after a failover situation to ensure the health and performance of your cluster is maintained.

Note

Failover should be used on a node that has become unresponsive or that cannot be reached due to a network or other issue. If you need to remove a node for administration purposes, you should use the remove and rebalance functionality. See Section 5.3.2, “Performing a Rebalance”. This will ensure that replicas and data remain in tact.

Using failover on a live node (instead of using remove/rebalance) may introduce a small data-loss window as any data that has not yet been replicated may be lost when the failover takes place. You can still recover the data, but it will not be immediately available.

There are a number of considerations when planning, performing or responding to a failover situation: