Problème de création de cluster

Bonjour voila le problème
quand je monte mon cluster ES (7.8)j'ai mes 3 serveurs qui reste chacun en master et je du coup impossible de crée le fameux cluster
voici la conf
chaque serveur a été installé un par un

Hello here is the problem
when I set up my ES cluster (7.8) I have my 3 servers which each remain in master and I suddenly cannot create the famous cluster
here is the conf
each server has been installed one by one

VM-1

# ---------------------------------- Cluster -----------------------------------
#
cluster.name: cluster-es-1
#
# ------------------------------------ Node ------------------------------------
#
node.name: node-es-1
#
# ----------------------------------- Paths ------------------------------------
#
path.data: /var/lib/elasticsearch
#
path.logs: /var/log/elasticsearch
#
# ----------------------------------- Memory -----------------------------------
#
bootstrap.memory_lock: true
#
# ---------------------------------- Network -----------------------------------
#
network.host: 192.168.212.151
#
# --------------------------------- Discovery ----------------------------------
#
discovery.seed_hosts:
   - 192.168.212.151
   - 192.168.212.152
   - 192.168.212.153
#
cluster.initial_master_nodes:
   - node-es-1
   - node-es-2
   - node-es-3

VM-2

# ---------------------------------- Cluster -----------------------------------
#
cluster.name: cluster-es-1
#
# ------------------------------------ Node ------------------------------------
#
node.name: node-es-2
#
# ----------------------------------- Paths ------------------------------------
#
path.data: /var/lib/elasticsearch
#
path.logs: /var/log/elasticsearch
#
# ----------------------------------- Memory -----------------------------------
#
bootstrap.memory_lock: true
#
# ---------------------------------- Network -----------------------------------
#
network.host: 192.168.212.152
#
# --------------------------------- Discovery ----------------------------------
#
discovery.seed_hosts:
   - 192.168.212.151
   - 192.168.212.152
   - 192.168.212.153
#
cluster.initial_master_nodes:
   - node-es-1
   - node-es-2
   - node-es-3

VM-3

# ---------------------------------- Cluster -----------------------------------
#
cluster.name: cluster-es-1
#
# ------------------------------------ Node ------------------------------------
#
node.name: node-es-3
#
# ----------------------------------- Paths ------------------------------------
#
path.data: /var/lib/elasticsearch
#
path.logs: /var/log/elasticsearch
#
# ----------------------------------- Memory -----------------------------------
#
bootstrap.memory_lock: true
#
# ---------------------------------- Network -----------------------------------
#
network.host: 192.168.212.153
#
# --------------------------------- Discovery ----------------------------------
#
discovery.seed_hosts:
   - 192.168.212.151
   - 192.168.212.152
   - 192.168.212.153
#
cluster.initial_master_nodes:
    - node-es-1
    - node-es-2
    - node-es-3
curl -X GET "192.168.212.151:9200/_cat/nodes?pretty"
192.168.212.151 3 99 1 0.00 0.00 0.03 dilmrt * node-es-1

curl -X GET "192.168.212.152:9200/_cat/nodes?pretty"
192.168.212.152 2 98 7 0.15 0.20 0.14 dilmrt * node-es-2

curl -X GET "192.168.212.153:9200/_cat/nodes?pretty"
192.168.212.153 7 98 14 0.54 0.32 0.13 dilmrt * node-es-3

Merci de votre aide

=> Les 3 nœuds ne forment pas un cluster unique mais plutôt 3 clusters différents.

= la valeur de cette paramettre devrait etre l'ensemble des master-eligibles = donc les 3 noeuds.

je vais rajouter ceux qui manquent et redémarrer les ES,
toujours pareil j'ai 3 cluster au lieu d'un seul

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.