I've started two separate elastic instances that point out to a single node, here is my changed configs:
elasticsearch.yml (1)
cluster.name: ivan-cluster
node.name: node-1
discovery.seed_hosts: ["localhost"]
elasticsearch.yml (2)
cluster.name: ivan-cluster
node.name: node-2
discovery.seed_hosts: ["localhost"]
I've checked ports 9200 and 9201 - both are active and nodes are visible (same name, same UUID), however when I run GET /_cluster/health
in Kibana dev tools I receive the following:
{
"cluster_name" : "ivan-cluster",
"status" : "green",
"timed_out" : false,
"number_of_nodes" : 1,
"number_of_data_nodes" : 1,
"active_primary_shards" : 3,
"active_shards" : 3,
"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
}
What I did wrong?