简体   繁体   English

CouchBase 2.5副本中的2个节点:1个节点失败:该服务不再可用

[英]CouchBase 2.5 2 nodes in replica: 1 node fail: the service is no more available

We are testing Couchbase with a two node cluster with one replica. 我们正在使用带有一个副本的两节点群集测试Couchbase。

When we stop the service on one node, the other one does not respond until we restart the service or manually failover the stopped node. 当我们在一个节点上停止服务时,另一节点将不响应,直到我们重新启动服务或手动故障转移已停止的节点。

Is there a way to maintain the service from the good node when one node is temporary unavailable? 当一个节点暂时不可用时,是否可以通过良好节点维护服务?

If a node goes down then in order to activate the replicas on the other node you will need to manually fail it over. 如果一个节点发生故障,则为了激活另一个节点上的副本,您将需要手动对其进行故障转移。 If you want this to happen automatically then you can enable auto-failover, but in order to use that feature I'm pretty sure you must have at least a three node cluster. 如果您希望此操作自动发生,则可以启用自动故障转移,但是要使用该功能,我很确定您必须至少具有三个节点的群集。 When you want to add the failed node back then you can just re-add it to the cluster and rebalance. 当您想重新添加故障节点时,只需将其重新添加到群集并重新平衡即可。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM