Primary shards not balanced across nodes for elasticsearch 5.2

Hi,
I am using elasticsearch version 5.2, we have setup 4 data nodes and 3 masters cluster. In our cluster we have 20 indexes with 5 primary and 1 replica. We have seen 2 data node on same physical server has 89 primary shards while other 2 data nodes on the other node has 19 primary shards. I want to balance the number of shards on both nodes. Node on which there are 89 primary shard is causing huge disk utilization and CPU compared to other node.
Can you please provide a way to balance the cluster at the start of index generation.

Got the issue. It was space issue on another node causing the elasticsearch to re-balance the cluster.

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