Cluster nodes not visible

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Cluster nodes not visible

Amelie
This post has NOT been accepted by the mailing list yet.
Hello,
I want to configure elasticsearch as cluster with two nodes.
My configuration:
 cluster.name: test
 node.name: "cn1"    #(on the second server "cn2")
 node.master: true
 node.data: true

Both servers can reach each other via telnet on port 9200 as well as 9300.
I restarted the service after the change of configuration.
Regardless, the query: curl -XGET 'http://localhost:9200/_cluster/stats?human&pretty' delivers just information to one node:
"nodes" : {
    "count" : {
      "total" : 1,
      "master_only" : 0,
      "data_only" : 0,
      "master_data" : 1,
      "client" : 0
    },
Also if I add data into one node using XPUT command I can't find it on the other node. What do I wrong?