You can force it using this sort of process - http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/index-modules-allocation.html
Though unless you have a good reason, it's best to just let ES do it's own thing. Regards, Mark Walkom Infrastructure Engineer Campaign Monitor email: [email protected] web: www.campaignmonitor.com On 12 June 2014 14:50, Tommi Lätti <[email protected]> wrote: > Hi, > > Is it possible to configure the ES so that a single node will always get > the replica shards assigned? When I was in a single-node configuration I > just upped the number of replicas for every index to 1 and brought a > data-only node to the cluster and of course the replicas all got created on > that single node. > > But since the indexes rotate every night today I discovered that the next > index has it's primary shards on this second server which is not exactly > what I'd like to see... > > -- > 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/fb45ad0d-7057-4df3-88f5-2a5a03310d7e%40googlegroups.com > <https://groups.google.com/d/msgid/elasticsearch/fb45ad0d-7057-4df3-88f5-2a5a03310d7e%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/CAEM624ZNWFzk6%2Bb7tJuxUEa35Ss%2BNiCNgBvkoKaRD8d-%2BTWCSw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
