Hi
I tried to deploy an ELasticsearch cluster by first installing 3 master nodes (stacks 7.9)
everything is fine but when I try to connect the nodes to each other some weird situation occurs.
at first all the nodes working fine as single but clustering them by using the configs below and copy "elastic-certificates.p12" and "node.p12" from the first node to the other ones, results in the errors I can't understand why
/etc/elasticsearch/elasticsearch.yml
path.data: /var/lib/elasticsearch
path.logs: /var/log/elasticsearch
path.repo: ["/elasticsearch_backup"]
network.host: ["localnode.net"]
http.port: 9200
xpack.security.enabled: true
xpack.security.transport.ssl.enabled: true
xpack.security.transport.ssl.verification_mode: certificate
xpack.security.transport.ssl.keystore.path: elastic-certificates.p12
xpack.security.transport.ssl.truststore.path: elastic-certificates.p12
xpack.security.transport.ssl.keystore.password: "password"
xpack.security.transport.ssl.truststore.password: "password"
xpack.security.http.ssl.enabled: true
xpack.security.http.ssl.keystore.path: node.p12
xpack.security.http.ssl.truststore.path: node.p12
xpack.security.http.ssl.keystore.password: "password2"
xpack.security.http.ssl.truststore.password: "password2"
xpack.security.http.ssl.client_authentication: optional
xpack.monitoring.collection.enabled: true
cluster.name: myCluster
node.name: Node1
node.master: true
node.data: true
node.voting_only: true
node.ingest: false
node.attr.box_type: hot
cluster.initial_master_nodes:
- node1.net
discovery.seed_hosts:
- node1.net
- node2.net
- node3.net
# - node4.net
# - node5.net
# - node6.net
discovery.zen.minimum_master_nodes: 2
tail /var/log/elasticsearch/myCluster.log
[2021-01-30T00:01:48,953][ERROR][o.e.x.s.a.e.NativeUsersStore] [Node1] security index is unavailable. short circuiting retrieval of user [my-elk]
[2021-01-30T00:01:49,441][ERROR][o.e.x.s.a.e.NativeUsersStore] [Node1] security index is unavailable. short circuiting retrieval of user [my-elk]
[2021-01-30T00:01:51,455][ERROR][o.e.x.s.a.e.NativeUsersStore] [Node1] security index is unavailable. short circuiting retrieval of user [my-elk]
[2021-01-30T00:01:52,404][WARN ][o.e.c.c.ClusterFormationFailureHelper] [Node1] master not discovered or elected yet, an election requires a node with id [uYf6C_ihTbap9_MEZL88Lw], have discovered [{Node1}{uYf6C_ihTbap9_MEZL88Lw}{h6x_vZwUT4OojPUMlPQ0eA}{localnode.net}{192.168.7.101:9300}{dlmrtv}{ml.machine_memory=52755189760, xpack.installed=true, box_type=hot, transform.node=true, ml.max_open_jobs=20}] which is not a quorum; discovery will continue using [] from hosts providers and [{Node1}{uYf6C_ihTbap9_MEZL88Lw}{h6x_vZwUT4OojPUMlPQ0eA}{localnode.net}{192.168.7.101:9300}{dlmrtv}{ml.machine_memory=52755189760, xpack.installed=true, box_type=hot, transform.node=true, ml.max_open_jobs=20}] from last-known cluster state; node term 7, last-accepted version 293 in term 7
any suggestions?