Disable cluster rebalancing for replicas

Hello,

I have a 3-node ES (v1.2.1) cluster with 1 replica. When there is a node
failure, the cluster rebalances and allocates primary shards(6 per index)
and replicas among the remaining 2 nodes which is fine. But we had an issue
where the disk space filled up and brought the whole cluster down. I
understand that we should allocate enough disk space to all nodes, but is
there a way to disable re-allocation of replicas ? On a node failure, we
want the replica to get promoted to primary, but we don't want new replicas
to be allocated among the remaining 2 nodes. Replicas should get allocated
when the cluster has 3 members. I have looked at cluster.routing.allocation*rebalance
options but I'm confused. Any help is appreciated.

Thanks,
Arun

--
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/ca609103-1921-4702-97e0-62aaf023803b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Take a look at

On 31 December 2014 at 00:55, Arun arungnair@gmail.com wrote:

Hello,

I have a 3-node ES (v1.2.1) cluster with 1 replica. When there is a
node failure, the cluster rebalances and allocates primary shards(6 per
index) and replicas among the remaining 2 nodes which is fine. But we had
an issue where the disk space filled up and brought the whole cluster down.
I understand that we should allocate enough disk space to all nodes, but is
there a way to disable re-allocation of replicas ? On a node failure, we
want the replica to get promoted to primary, but we don't want new replicas
to be allocated among the remaining 2 nodes. Replicas should get allocated
when the cluster has 3 members. I have looked at cluster.routing.allocation*rebalance
options but I'm confused. Any help is appreciated.

Thanks,
Arun

--
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.
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/ca609103-1921-4702-97e0-62aaf023803b%40googlegroups.com
https://groups.google.com/d/msgid/elasticsearch/ca609103-1921-4702-97e0-62aaf023803b%40googlegroups.com?utm_medium=email&utm_source=footer
.
For more options, visit https://groups.google.com/d/optout.

--
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/CAEYi1X_mMaC7%3DiF7MKRQmyJBaqQfFYM4UvNimnjTYqByxztR7g%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.