Hello,
I try to build 2-node cluster but it doesn't work. I have installed bitnami-elk-7.9.1-0-linux-debian-10-x86_64-nami.ova , I made two nodes:
debian-01: 192.168.11.96, and debian-02: 192.168.11.97
configuration file elasticsearch.yml:
http.port: 9200
path.data: /opt/bitnami/elasticsearch/data
transport.tcp.port: 9300
action.destructive_requires_name: true
network.host: 192.168.11.96
network.bind_host: 0.0.0.0
network.publish_host: 192.168.11.96
cluster.name: Cluster
node.name: debian-01 //second node debian-02
discovery.zen.ping.unicast.hosts: ["192.168.11.96", "192.168.11.97"]
discovery.initial_state_timeout: 5m
gateway.recover_after_nodes: 1
gateway.expected_nodes: 1
cluster.initial_master_nodes: ["192.168.11.96", "192.168.11.97"]
node.master: true
node.data: true
node.ingest: false
I have tried different configurations and still don't work. Can somebody help me and correct the configuration file?