Multimaster architecture


(Vadim Lungu) #1

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 elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/58b23d59-12a8-4294-b1b8-a56f968206c4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


(Mark Walkom) #2

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: markw@campaignmonitor.com
web: www.campaignmonitor.com

On 24 July 2014 18:03, Vadim Lungu vadimlun9u@gmail.com 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 elasticsearch+unsubscribe@googlegroups.com.
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 elasticsearch+unsubscribe@googlegroups.com.
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.


(Vadim Lungu) #3

Thank you Mark for your reply,

If I understood write,

in case when all my cluster nodes are alive i will have:
master1 shard + master2 shards + master3 shard = 7 + 6 + 5 = 18 shard.

If master 1 die I will have
master1 shard + master2 shards + master3 shard = replica of 7 shards + 6 +
5 = 18 shard.

On Thu, Jul 24, 2014 at 11:16 AM, Mark Walkom markw@campaignmonitor.com
wrote:

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: markw@campaignmonitor.com
web: www.campaignmonitor.com

On 24 July 2014 18:03, Vadim Lungu vadimlun9u@gmail.com 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 elasticsearch+unsubscribe@googlegroups.com.

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 a topic in the
Google Groups "elasticsearch" group.
To unsubscribe from this topic, visit
https://groups.google.com/d/topic/elasticsearch/XzR6iEPIQ24/unsubscribe.
To unsubscribe from this group and all its topics, send an email to
elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/CAEM624YaCyjULQuEwWHSkS%2Brgt8FqiqsJez%3Dxpyh42jNGhxbQw%40mail.gmail.com
https://groups.google.com/d/msgid/elasticsearch/CAEM624YaCyjULQuEwWHSkS%2Brgt8FqiqsJez%3Dxpyh42jNGhxbQw%40mail.gmail.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/CALd9uJ-riXxEssDrJS__oP4f7OF42VGk5E-BWtghNdY_Fw6%3D%2Bw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


(system) #4