When you define the shards and replica's it's at a cluster level, it doesn't create them on each local server, it spreads them out.
Ultimately what you will find is that the number of shards and replicas will be based on which ever nodes is the master at the time. Regards, Mark Walkom Infrastructure Engineer Campaign Monitor email: [email protected] web: www.campaignmonitor.com On 24 July 2014 18:03, Vadim Lungu <[email protected]> wrote: > Hello everyone, I'm to faraway to consider myself an experienced user . > > But I would like to make a multimaster elasticsearch cluster > infrastructure. > > As it's described bellow: > > master1 > http://pastebin.com/PZ1saiL5 > > master2 > http://pastebin.com/KV2Jmqby > > master3 > http://pastebin.com/296Lh5Dy > > data > http://pastebin.com/C74vgG5e > > > So basically my question is: > > Each master it's making it's own shards, and if I'm write, in my cluster > setup I will have: > > master1 shard + master2 shards + master3 shard = 7 + 6 + 5 = 18 shards. > > 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 [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/elasticsearch/58b23d59-12a8-4294-b1b8-a56f968206c4%40googlegroups.com > <https://groups.google.com/d/msgid/elasticsearch/58b23d59-12a8-4294-b1b8-a56f968206c4%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/CAEM624YaCyjULQuEwWHSkS%2Brgt8FqiqsJez%3Dxpyh42jNGhxbQw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
