3 node cluster errors

I've followed the instructions to set up 3 node cluster. I also have added master node: true and data node: true to all nodes and have tried without. No matter what I do I can not get my cluster to run clean. Can not see what I could be doing wrong

curl -u elastic -XGET http://10.10.x.x:9200/_cluster/health?pretty
Enter host password for user 'elastic':
{
"cluster_name" : "elk",
"status" : "yellow",
"timed_out" : false,
"number_of_nodes" : 1,
"number_of_data_nodes" : 1,
"active_primary_shards" : 38,
"active_shards" : 38,
"relocating_shards" : 0,
"initializing_shards" : 0,
"unassigned_shards" : 17,
"delayed_unassigned_shards" : 0,
"number_of_pending_tasks" : 0,
"number_of_in_flight_fetch" : 0,
"task_max_waiting_in_queue_millis" : 0,
"active_shards_percent_as_number" : 69.0909090909091
}

it is yellow because of above reason.

https://qbox.io/blog/unassigned-shards-elasticsearch-cluster-allocation-explain-api

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