Hi, I have 1 elasticsearch node, I've installed another node in another DC. Now I wanna have a cluster between 2 node so data can be HA. Based on documentations I've added this config (on master):
cluster.name: mycluster
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
node.name: node-1
node.master: true (it's false on node-2)
node.data: true
node.attr.rack: DC1
path.data: /data/elasticsearch
path.logs: /var/log/elasticsearch
network.host: <Valid IP>
discovery.seed_hosts: ["node-1","node-2"]
cluster.initial_master_nodes: ["node-1"]
After restarting them, nothing happened. no changes. It's about config or something else ?
Thank You