Can I setup 2 nodes cluster

已查看 37 次
跳至第一个未读帖子

Vimol Chingkhu

未读,
2021年11月30日 04:16:362021/11/30
收件人 rqlite
Hi,

I am looking to use rqlite in my application. It is possible that the application can be installed only on two nodes. Since my requirement is availability only.

Is it possible to setup rqlite 2 nodes cluster?

Regards,
-Vimol

Philip O'Toole

未读,
2021年11月30日 07:42:532021/11/30
收件人 rql...@googlegroups.com
Yes, you can run a two-node cluster, but it does not provide any more availability than a 1 node cluster since a 2-node cluster requires both nodes to be up.


--
You received this message because you are subscribed to the Google Groups "rqlite" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rqlite+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rqlite/9c42d399-d3ed-462b-976c-773653bde976n%40googlegroups.com.

Vimol Chingkhu

未读,
2021年11月30日 08:24:302021/11/30
收件人 rqlite
Thanks Philip. 

One more question. In the FAQ, it mentions that max of 9 writes nodes is practical. 
But can I still add more than 9 write nodes? My application may scale up to 64 nodes.
What would be the impact if it is more than 9 write nodes?

Regards,
-Vimol

Philip O'Toole

未读,
2021年11月30日 08:48:502021/11/30
收件人 rql...@googlegroups.com
You can add as many nodes as you like, there is no theoretical limit.

More nodes means more nodes must agree (N/2+1 where N is the total number of nodes), that's all. But larger and larger numbers of nodes may become hard to manage, and put more load on the leader. But you can certainly try it out.

Vimol Chingkhu

未读,
2022年1月4日 23:45:592022/1/4
收件人 rqlite
Hi Philip,

You mention that for 2 node cluster requires both nodes to be up.

Is there any setting to make the cluster run if one node is down?

Regards,
-Vimol

On Tuesday, November 30, 2021 at 6:12:53 PM UTC+5:30 Philip O'Toole wrote:

Philip O'Toole

未读,
2022年1月5日 09:34:572022/1/5
收件人 rql...@googlegroups.com
On Tue, Jan 4, 2022 at 11:46 PM Vimol Chingkhu <kvi...@gmail.com> wrote:
Hi Philip,

You mention that for 2 node cluster requires both nodes to be up.

Is there any setting to make the cluster run if one node is down?

No, as that would be completely at odds with what Raft is about. rqlite is not a primary-replica type of system.

If the second node goes down, you would need to *remove* that node from the cluster, thereby reducing the cluster to a system one-node in size. But you would need to restart the remaining node to perform this removal, as quorum would have been lost.


When the second node came back up, you would need to explicitly join it back to the leader. 
 

Regards,
-Vimol

On Tuesday, November 30, 2021 at 6:12:53 PM UTC+5:30 Philip O'Toole wrote:
Yes, you can run a two-node cluster, but it does not provide any more availability than a 1 node cluster since a 2-node cluster requires both nodes to be up.


On Tue, Nov 30, 2021 at 4:16 AM Vimol Chingkhu <kvi...@gmail.com> wrote:
Hi,

I am looking to use rqlite in my application. It is possible that the application can be installed only on two nodes. Since my requirement is availability only.

Is it possible to setup rqlite 2 nodes cluster?

Regards,
-Vimol

--
You received this message because you are subscribed to the Google Groups "rqlite" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rqlite+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rqlite/9c42d399-d3ed-462b-976c-773653bde976n%40googlegroups.com.

--
You received this message because you are subscribed to the Google Groups "rqlite" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rqlite+un...@googlegroups.com.
回复全部
回复作者
转发
0 个新帖子