We have 2 Ubuntu machines on VMware hypervisor and those attached to the same virtual switch. I installed same version of ElasticSearch (7.6) on them and you can find configurations right bellow:
node-1:
cluster.name: my_elk
node.name: node-1
path.data: /var/lib/elasticsearch
path.logs: /var/log/elasticsearch
bootstrap.memory_lock: true
transport.host: 192.168.30.14
network.host: [_local_,_site_,_global_]
discovery.seed_hosts: ["192.168.30.15","192.168.30.14"]
cluster.initial_master_nodes: ["node-1", "node-2"]
node-2:
cluster.name: my_elk
node.name: node-2
path.data: /var/lib/elasticsearch
path.logs: /var/log/elasticsearch
bootstrap.memory_lock: true
transport.host: 192.168.30.15
network.host: [_local_,_site_,_global_]
discovery.seed_hosts: ["192.168.30.15","192.168.30.14"]
cluster.initial_master_nodes: ["node-1", "node-2"]
when starting them they work separately and both have a single active node, I have tried these configurations on one Linux machine with 2 containers and work correctly with the auto-discovery module. What is wrong with my configuration?
Update: log_file