# ES awareness zones/racks

**URL:** <https://discuss.elastic.co/t/es-awareness-zones-racks/116578>\
**Category:** Elasticsearch\
**Created:** [January 23, 2018, 3:42am UTC](https://discuss.elastic.co/t/es-awareness-zones-racks/116578 "2018-01-23T03:42:09Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Edmund\_Cheng](https://avatars.discourse-cdn.com/v4/letter/e/fbc32d/32.png) [@Edmund\_Cheng](https://discuss.elastic.co/u/Edmund_Cheng)\
**Post date:** [January 23, 2018, 3:42am UTC](https://discuss.elastic.co/t/es-awareness-zones-racks/116578/1 "2018-01-23T03:42:09Z")

</div>

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

1. 

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?

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [February 20, 2018, 3:42am UTC](https://discuss.elastic.co/t/es-awareness-zones-racks/116578/2 "2018-02-20T03:42:16Z")

</div>

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