Take a look at these pages -
http://www.elasticsearch.org/guide/en/elasticsearch/guide/current/deploy.html

Also there is not really any point in forcing shard types on specific
machines, unless you want to leverage some kind of awareness. A primary and
replica shard are the same thing other than a metadata flag that
differentiates them.

On 18 February 2015 at 22:39, sysads <sysadmin-6...@pages.plusgoogle.com>
wrote:

> Hi
>
> I am in need of help on setting up a 4 node elasticsearch servers. I have
> installed and configured ES on all 4 nodes but I am lost as to what the
> configuration in elasticsearch.yml will be:
>
> - if I want to have all 4 nodes both master and data
> - make node A act as primary shard while node B acts as its replica then
> node C as primary shard while node D as its own replica.
>
> 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+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/elasticsearch/ff3ad49c-f305-44cb-a473-523ad6758835%40googlegroups.com
> <https://groups.google.com/d/msgid/elasticsearch/ff3ad49c-f305-44cb-a473-523ad6758835%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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elasticsearch/CAEYi1X8s8Xn%3DZncku8JWBCGFPSM1hoNtbCSFUXrCb0EaR-d%3DJg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to