Versioner sammenlignet

Nøgle

  • Linjen blev tilføjet.
  • Denne linje blev fjernet.
  • Formatering blev ændret.

...

Kodeblok
discovery.zen.ping.unicast.hosts: ["77.243.52.135","77.243.52.155"]

on both nodes.

For the 3rd node, the trickt was the same, and in the end, the /etc/elasticseach/elasticseach.yml had:

Kodeblok
discovery.zen.ping.unicast.hosts: ["77.243.52.135","77.243.52.155","77.243.52.153"]

On all servers, giving me:

Kodeblok
root@elkserver1:/usr/share/elasticsearch/bin# curl -XGET http://localhost:9200/_cluster/health?pretty=true
{
  "cluster_name" : "mos-eisley",
  "status" : "green",
  "timed_out" : false,
  "number_of_nodes" : 3,
  "number_of_data_nodes" : 3,
  "active_primary_shards" : 146,
  "active_shards" : 292,
  "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
}
root@elkserver1:/usr/share/elasticsearch/bin#