That's the best method as per http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/modules-cluster.html#allocation-awareness
Regards, Mark Walkom Infrastructure Engineer Campaign Monitor email: [email protected] web: www.campaignmonitor.com On 29 August 2014 20:45, 'Nicolas Fraison' via elasticsearch < [email protected]> wrote: > Hi, > > I have an ES cluster with 12 data nodes spread on 6 servers (so 2 nodes > per server) and I saw that replicas of a shard can be allocated on the same > server(on each nodes hosted by a server) > > To avoid this I haveset those parameters to the cluster: > node.host: <server_name> > cluster.routing.allocation.awareness.attributes: zone, host > > But I'm wondering if there are not a specific parameter for this instead > of using clustering awareness allocation? > > Nicolas > > -- > 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 [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/elasticsearch/4d3924ab-77e4-49ef-9039-52df801ff46d%40googlegroups.com > <https://groups.google.com/d/msgid/elasticsearch/4d3924ab-77e4-49ef-9039-52df801ff46d%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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/CAEM624YaxHLT%3DsptzqcSQw3i9u9oozO_2DstFJ6vCs-VC_bzOw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
