Dear elasticsearch team,
I have tried all the possible solution but I can't installa e new cluster because no master node could be discovered.
My cluster is made by 3 master and 3 data node.
Here are the master configurations:
NODE01:
cluster.initial_master_nodes: - es-ms01 - es-ms02 - es-ms03 cluster.name: es-data discovery.seed_hosts: - es-ms01 - es-ms02 - es-ms03 network.publish_host: es-ms01 node.data: false node.master: true node.name: es-ms01 #################################### Paths #################################### # Path to directory containing configuration (this file and logging.yml): path.data: /var/lib/elasticsearch path.logs: /var/log/elasticsearch action.auto_create_index: true
NODE02:
cluster.initial_master_nodes: - es-ms01 - es-ms02 - es-ms03 cluster.name: es-data discovery.seed_hosts: - es-ms01 - es-ms02 - es-ms03 network.publish_host: es-ms02 node.data: false node.master: true node.name: es-ms02 #################################### Paths #################################### # Path to directory containing configuration (this file and logging.yml): path.data: /var/lib/elasticsearch path.logs: /var/log/elasticsearch action.auto_create_index: true
NODE03:
cluster.initial_master_nodes: - es-ms01 - es-ms02 - es-ms03 cluster.name: es-data discovery.seed_hosts: - es-ms01 - es-ms02 - es-ms03 network.publish_host: es-ms03 node.data: false node.master: true node.name: es-ms03 #################################### Paths #################################### # Path to directory containing configuration (this file and logging.yml): path.data: /var/lib/elasticsearch path.logs: /var/log/elasticsearch action.auto_create_index: true
DATA01:
cluster.name: es-data discovery.seed_hosts: - es-ms01 - es-ms02 - es-ms03 network.publish_host: es-data01 node.data: true node.master: false node.name: es-data01 #################################### Paths #################################### # Path to directory containing configuration (this file and logging.yml): path.data: /mnt/data01,/mnt/data02,/mnt/data03 path.logs: /var/log/elasticsearch action.auto_create_index: true
DATA02:
cluster.name: es-data discovery.seed_hosts: - es-ms01 - es-ms02 - es-ms03 network.publish_host: es-data02 node.data: true node.master: false node.name: es-data02 #################################### Paths #################################### # Path to directory containing configuration (this file and logging.yml): path.data: /mnt/data01,/mnt/data02,/mnt/data03 path.logs: /var/log/elasticsearch action.auto_create_index: true
DATA03:
cluster.name: es-data discovery.seed_hosts: - es-ms01 - es-ms02 - es-ms03 network.publish_host: es-data03 node.data: true node.master: false node.name: es-data03 #################################### Paths #################################### # Path to directory containing configuration (this file and logging.yml): path.data: /mnt/data01,/mnt/data02,/mnt/data03 path.logs: /var/log/elasticsearch action.auto_create_index: true
I continuously receive this error:
[2019-12-15T17:10:41,826][WARN ][o.e.c.c.ClusterFormationFailureHelper] [es-ms01] master not discovered yet, this node has not previously joined a bootstrapped (v7+) cluster, and this node must discover master-eligible nodes [es-ms01, es-ms02, es-ms03] to bootstrap a cluster: have discovered [{es-ms01}{ZqCI-_cwQ7iznI9ocOygzA}{IuSN7KoITtSSmmXe2NRR6A}{es-ms01}{10.0.20.111:9300}{ilm}{ml.machine_memory=3973365760, xpack.installed=true, ml.max_open_jobs=20}]; discovery will continue using [10.0.20.112:9300, 10.0.20.113:9300] from hosts providers and [{es-ms01}{ZqCI-_cwQ7iznI9ocOygzA}{IuSN7KoITtSSmmXe2NRR6A}{es-ms01}{10.0.20.111:9300}{ilm}{ml.machine_memory=3973365760, xpack.installed=true, ml.max_open_jobs=20}] from last-known cluster state; node term 0, last-accepted version 0 in term 0
Just in case could help:
java is correctly binded on tcpv4 on port 9200 and 9300
tcp 0 0 127.0.0.1:9200 0.0.0.0:* LISTEN 994 132983 28897/java tcp 0 0 127.0.0.1:9300 0.0.0.0:* LISTEN 994 132941 28897/java
Firewall is open on those ports via service elasticsearch:
public target: default icmp-block-inversion: no interfaces: sources: services: dhcpv6-client elasticsearch ssh ports: protocols: masquerade: no forward-ports: source-ports: icmp-blocks: rich rules:
I have finished the ideas here, I am stuck !!!!
Thanks for any help you could give me.
Regards,
Steafano