Hi Elasticians,
I am trying to form 1 cluster of 3 nodes. Could someone explain me why a cluster is not formed of this 3 nodes?
PART 1:
Intro
I am working with ES 7.0.1 with 3 nodes. All nodes are master-eligible nodes.
Hostnames and IPs of nodes:
n1-7 10.88.88.231
n2-7 10.88.88.232
n3-7 10.88.88.233
Cluster UUID
Cluster UUID is the same on all 3 nodes:
curl --silent -XGET localhost:9200 | grep cluster_uuid
"cluster_uuid" : "gQ5e4nc1RLyI-HC2NPZmWw",
Listening services
netstat -tulpn | grep 9[23]00
#n1-7
tcp6 0 0 127.0.0.1:9200 :::* LISTEN 10953/java
tcp6 0 0 10.88.88.231:9300 :::* LISTEN 10953/java
tcp6 0 0 127.0.0.1:9300 :::* LISTEN 10953/java
#n2-7
tcp6 0 0 127.0.0.1:9200 :::* LISTEN 9372/java
tcp6 0 0 127.0.0.1:9300 :::* LISTEN 9372/java
tcp6 0 0 10.88.88.232:9300 :::* LISTEN 9372/java
#n3-7
tcp6 0 0 127.0.0.1:9200 :::* LISTEN 9248/java
tcp6 0 0 10.88.88.233:9300 :::* LISTEN 9248/java
tcp6 0 0 127.0.0.1:9300 :::* LISTEN 9248/java
ES configuration on node "n1-7"
cluster.name: local.logs.itles.cz
cluster.remote.connect: false
node.name: ${HOSTNAME}
node.master: true
node.data: false
node.ingest: false
http.port: 9200
http.host: [ "_lo:ipv4_" ]
transport.host: [ "_lo:ipv4_", "_enp0s3:ipv4_" ]
transport.publish_port: 9300
path.data: /var/lib/elasticsearch
path.logs: /var/log/elasticsearch
xpack.monitoring.enabled: true
xpack.ml.enabled: false
xpack.security.enabled: false
xpack.security.audit.enabled: false
xpack.watcher.enabled: false
discovery.seed_hosts:
- 10.88.88.231
- 10.88.88.232
- 10.88.88.233
cluster.initial_master_nodes:
- n1-7
- n2-7
- n3-7
logger.org.elasticsearch.cluster.coordination.ClusterBootstrapService: TRACE
logger.org.elasticsearch.discovery: TRACE
ES configuration on node "n2-7"
cluster.name: local.logs.itles.cz
cluster.remote.connect: false
node.name: ${HOSTNAME}
node.master: true
node.data: true
node.ingest: true
http.port: 9200
http.host: [ "_lo:ipv4_" ]
transport.host: [ "_lo:ipv4_", "_enp0s3:ipv4_" ]
transport.publish_port: 9300
path.data: /var/lib/elasticsearch
path.logs: /var/log/elasticsearch
xpack.monitoring.enabled: true
xpack.ml.enabled: false
xpack.security.enabled: false
xpack.security.audit.enabled: false
xpack.watcher.enabled: false
discovery.seed_hosts:
- 10.88.88.231
- 10.88.88.232
- 10.88.88.233
cluster.initial_master_nodes:
- n1-7
- n2-7
- n3-7
logger.org.elasticsearch.cluster.coordination.ClusterBootstrapService: TRACE
logger.org.elasticsearch.discovery: TRACE
ES configuration on node "n3-7"
cluster.name: local.logs.itles.cz
cluster.remote.connect: false
node.name: ${HOSTNAME}
node.master: true
node.data: true
node.ingest: true
http.port: 9200
http.host: [ "_lo:ipv4_" ]
transport.host: [ "_lo:ipv4_", "_enp0s3:ipv4_" ]
transport.publish_port: 9300
path.data: /var/lib/elasticsearch
path.logs: /var/log/elasticsearch
xpack.monitoring.enabled: true
xpack.ml.enabled: false
xpack.security.enabled: false
xpack.security.audit.enabled: false
xpack.watcher.enabled: false
discovery.seed_hosts:
- 10.88.88.231
- 10.88.88.232
- 10.88.88.233
cluster.initial_master_nodes:
- n1-7
- n2-7
- n3-7
logger.org.elasticsearch.cluster.coordination.ClusterBootstrapService: TRACE
logger.org.elasticsearch.discovery: TRACE
Hostnames
hostnames of servers are: n1-7, n2-7, n3-7
cat /etc/hosts
10.88.88.231 n1-7
10.88.88.232 n2-7
10.88.88.233 n3-7