I would like to ask about shard allocation:
We have ES cluster of five machines which four of them are "twins" - two machines per one "sleeve" with single PSU unit.
I would like to set replica allocation that none of replicas is allocated to second "twin", so in case of PSU filure We woul not possibly loose whole part of index.
Layout is this:
- Node1 Shard1 Shard2Replica
- Node2 Shard2 Shard5Replica
- Node3 Shard3 Shard4Replica
- Node4 Shard4 Sahrd1Replica
Node5 Shard5 Shard3Replica
I do not want replica of shard2 be on Node1 because its Twin with one PSU for node2....
How to get it to work this way?
It is for logstash indexing