I have the same question and it looks like I haven't found a final answer.
So if I run multiple data nodes on a single server, which elasticsearch.yml should I put cluster.routing.allocation.same_shard.host in?
- Only data nodes
- Only eligible master nodes (dedicated)?
- Both data nodes and eligible master nodes?
Even though I'm using Shard Allocation Awareness now, knowing the answer to this setting is helpful in the future.