检查健康
curl http://10.11.12.123:9200/_cluster/health?pretty 通过这个去查看。
就会得到这么一个东西。。。
{
"cluster_name" : "es",
"status" : "green",
"timed_out" : false,
"number_of_nodes" : 5,
"number_of_data_nodes" : 3,
"active_primary_shards" : 62,
"active_shards" : 125,
"relocating_shards" : 0,
"initializing_shards" : 0,
"unassigned_shards" : 0,
"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" : 100.0
}
标签:number,shards,unassigned,cluster,指令,ES,active,es
From: https://www.cnblogs.com/aaacarrot/p/17493437.html