How 2 node elastic cluster will failover to secondary node if the primary node fails


We have 1+1 Elasticsearch Clustering setup on windows server.
we need to know which Elastic node URL should call in our application to have a proper Fail over.

if one node is down how the application identify that and switch to other node which is running under the cluster.

configuration as below.

bootstrap.memory_lock: true Elasticsearch

    http.port: 9200 site true
    node.ingest: true
    node.master: true
    node.max_local_storage_nodes: 1 AX-APP20 E:\Elastic_Data\Data
    path.logs: E:\Elastic_Data\Logs
    transport.tcp.port: 9300

Sateesh TV

In order to have a highly available cluster thT can be fully functional if one node is lost you need a minimum of 3 master eligible nodes. Having 2 is not sufficient. Please see the docs for a more in-depth explanation.

1 Like

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.