Minimum number of nodes for availability: 2 or 3?

Hi all,
So what is the minimum number of nodes to have in a cluster to be nicely
available? 2 or 3?

I think that two may be insufficient because if the nodes go out of
communication with each other you run the risk of the split brain problem.
The mitigation here is to have 3 nodes (with minimum master nodes set to 2).

I suppose an alternative is to have a small routing only node to help with
master election and 2 storage nodes.

Is my understanding sound or am I missing something?

Many thanks,
Edward

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

I prefer to have 3 nodes (data and master).

My 2 cents

--
David :wink:
Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs

Le 18 juin 2013 à 18:48, Edward Sargisson esarge@pobox.com a écrit :

Hi all,
So what is the minimum number of nodes to have in a cluster to be nicely available? 2 or 3?

I think that two may be insufficient because if the nodes go out of communication with each other you run the risk of the split brain problem. The mitigation here is to have 3 nodes (with minimum master nodes set to 2).

I suppose an alternative is to have a small routing only node to help with master election and 2 storage nodes.

Is my understanding sound or am I missing something?

Many thanks,
Edward

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.