Forming Elasticsearch Cluster (v. 7.0.1)

PART 2:

Cluster health
Cluster health is green on all nodes.

curl --silent -XGET localhost:9200/_cat/health?h=status
green


 #on node "n1-7"
 curl --silent -XGET localhost:9200/_cluster/health?pretty
 {
  "cluster_name" : "local.logs.itles.cz",
  "status" : "green",
  "timed_out" : false,
  "number_of_nodes" : 1,
  "number_of_data_nodes" : 0,
  "active_primary_shards" : 0,
  "active_shards" : 0,
  "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
}

 #on node "n2-7" and "n3-7"
    {
      "cluster_name" : "local.logs.itles.cz",
      "status" : "green",
      "timed_out" : false,
      "number_of_nodes" : 1,
      "number_of_data_nodes" : 1,
      "active_primary_shards" : 2,
      "active_shards" : 2,
      "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
    }

Cluster Nodes

[VM][n1-7]:~# curl --silent -XGET localhost:9200/_cat/nodes
10.88.88.231 20 57 3 0.20 0.11 0.13 m * n1-7

[VM][n2-7]:~# curl --silent -XGET localhost:9200/_cat/nodes
10.88.88.232 7 55 0 0.00 0.03 0.11 mdi * n2-7

[VM][n3-7]:~# curl --silent -XGET localhost:9200/_cat/nodes
10.88.88.233 8 55 0 0.00 0.02 0.10 mdi * n3-7

FW
Communication between nodes is not firewalled. Every node can connect to another node to port 9300.

Logs

less /var/log/elasticsearch/local.logs.itles.cz.log