Spread the active shards between the nodes

Hi,

We have a cluster on production with two nodes and 3 indices.
We restarted the two nodes yesterday and we saw in Head that the active
shards are found only in one node (see attached image).
There's a way to spread the active shards between the nodes? or ES is
manage the shards allocating himself?

Thanks!

--
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.

Hello Amit,

AFAIK there's no way to allocate the primaries evenly between nodes. But in
most situations, that isn't an issue, because both search and indexing load
will be balanced by default between the two nodes:

  • each indexed documents is actually indexed both in the primary in the
    replica
  • search requests are round robinned between the primaries and replicas

Are you seeing that the load is uneven between the two nodes?

Best regards,
Radu

On Thu, Jul 18, 2013 at 2:04 PM, Amit Bh amitbar@gmail.com wrote:

Hi,

We have a cluster on production with two nodes and 3 indices.
We restarted the two nodes yesterday and we saw in Head that the active
shards are found only in one node (see attached image).
There's a way to spread the active shards between the nodes? or ES is
manage the shards allocating himself?

Thanks!

--
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.

--
http://sematext.com/ -- Elasticsearch -- Solr -- Lucene

--
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.