ES awareness zones/racks


(Edmund Cheng) #1

Hi,
i was reading through cluster awareness link:
https://www.elastic.co/guide/en/elasticsearch/reference/2.4/allocation-awareness.html

And I am not sure what is the difference between this:
e.g
node.rack_id: rack_1
cluster.routing.allocation.awareness.attributes: rack_id

or
node.zone: zone1
cluster.routing.allocation.awareness.attributes: zone

Do they serve the same purpose?

  1. cluster.routing.allocation.awareness.attributes: rack_id,zone
    How does this work?

  2. for forced awareness:
    cluster.routing.allocation.awareness.force.zone.values: zone1,zone2

I can see how this works, but is this applicable to only "zones"?
or you can do:
cluster.routing.allocation.awareness.force.rack_id.values: rack_1,rack_2?


(system) #2

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.