I am running two elasticsearch instances on same machine with following
The cluster name
Force all memory to be locked, forcing the JVM to never swap
Controls when to start the initial recovery process when starting a new
allowing for better reused of existing data during recovery.
Controls the minimum number of master eligible nodes this node should
in order to operate within the cluster.
Set this to a higher value (2-4) when running more than 2 nodes in the
The time to wait for ping responses from other nodes when doing node
Unicast Discovery (disable multicast)
#discovery.zen.ping.unicast.hosts: ["host1", "host2"]
But both of them running independently. I suppose them to run in cluster.