ES awareness zones/racks

(Edmund Cheng) #1

i was reading through cluster awareness link:

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

or 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: 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.