ElasticSearch Cluster Status is RED


(Mouli) #1

Hi,

I am having a clarification on my config file settings.
My elasticsearch cluster has 2 nodes[192.168.0.104, 192.168.0.105]:
Except the below lines all other lines are commented in both the elasticsearch.yml files.

node1[192.168.0.104]

node.master:true
bootstrap.memory_lock: true
network.host: 0.0.0.0
discovery.zen.ping.unicast.hosts: ["192.168.0.107", "192.168.0.107:9200", "192.168.0.105", "192.168.0.105:9200"]
discovery.zen.minimum_master_nodes: 3

node2[192.168.0.105]

bootstrap.memory_lock: true
network.host: 0.0.0.0
discovery.zen.ping.unicast.hosts: ["192.168.0.104", "192.168.0.104:9200", "192.168.0.104:8080"]

Based on this configuration i am getting the status as RED and the health is 67%.
Can someone validate the ip's i set in the config files are correct or not and please let me know to get the green status with 100% health?

Thanks,


(Christian Dahlqvist) #2

If you only have 2 or 3 master eligible nodes in the cluster, this parameter should be set to 2, not 3.


(Mouli) #3

Thanks for the response Chris.

I set discovery.zen.minimum_master_nodes: 2 but still hanged at same health status 67%.
Do you have any other thoughts? Does the configuration parameters are correct or am i missing anything?

Thanks
Mouli


(system) #4

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