Configure Shard Allocation and Forced Awareness in Elasticsearch
With Elasticsearch, you have the potential to scale your cluster to be highly available. To ensure your data survives a full zone or rack failure, you can spread your data across multiple zones and use shard allocation awareness to ensure that all replica shards are allocated to a different zone than that of their primary shard. This allows another level of fault tolerance beyond just node failure. In this hands-on lab, you are given the opportunity to exercise the following:
- Apply node attributes to each data node in a cluster.
- Configure shard allocation awareness for a cluster in multiple zones.
- Test shard allocation awareness behavior by stopping all nodes in a zone.