I'm using elasticsearch 5.2.1 version, i processed one log and indexed one server but those index value is not sharing with cluster server. Please help me on this to resolve my issue asap
How can we help?
I want to share index with my server and i dont where im doing wrong
please find the elasticsearch.yml file if any wrong correct me
cluster.name: qa_cluster_1 node.name: qa.data.node4 node.data: true bootstrap.memory_lock: true http.host: 126.96.36.199 network.host: 127.0.0.1 http.port: 9200 discovery.zen.ping.unicast.hosts: ["188.8.131.52","184.108.40.206","220.127.116.11","18.104.22.168"] discovery.zen.minimum_master_nodes: 1
And? What is happening?
Index is not sharing with rest of servers.
You probably need to change this to the IP address of the host in order for the nodes in the cluster to be able to connect.
If all nodes are master eligible, you should set this to 3 on all nodes.
if i assign IP address in network.host im getting bootstrap below error
[2017-04-06T02:13:02,702][INFO ][o.e.b.BootstrapChecks ] [qa.data.node4] bound or publishing to a non-loopback or non-link-local address, enforcing bootstrap checks [2017-04-06T02:13:02,703][ERROR][o.e.b.Bootstrap ] [qa.data.node4] node validation exception bootstrap checks failed memory locking requested for elasticsearch process but memory is not locked [2017-04-06T02:13:02,706][INFO ][o.e.n.Node ] [qa.data.node4] stopping ... [2017-04-06T02:13:02,721][INFO ][o.e.n.Node ] [qa.data.node4] stopped [2017-04-06T02:13:02,721][INFO ][o.e.n.Node ] [qa.data.node4] closing ... [2017-04-06T02:13:02,731][INFO ][o.e.n.Node ] [qa.data.node4] closed
I did following change in limit.d file
elasticsearch soft memlock unlimited
elasticsearch hard memlock unlimited
elasticsearch soft nofile 65536
elasticsearch hard nofile 65536
but eventhough im facing same error
It says that memory is not locked, so you need to address that. Which OS are you using?
Im using linux redhat
how could i pass the private IP address instead of localhost because without that i cant make it cluster form
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.