Client node unidentified


(ciro) #1

Hi, i have a problem with settings a client node.

I have a cluster with 8 nodes: 2 master - 2 client - 4 data.

but if i see my cluster stats i have this:

"nodes": {
"count": {
"total": 8,
"master_only": 2,
"data_only": 4,
"master_data": 0,
"client": 0
},

NO client node are set, but in my es.yml file i've set this:

cluster.name: elastic

node.name: client_01
node.master: false
node.data: false

bootstrap.mlockall: true

network.host: my_ip
http.port: 9200
http.compression: true

discovery.zen.minimum_master_nodes: 1
discovery.zen.ping.multicast.enabled: false
discovery.zen.ping.unicast.hosts: ["host_ip1","host_ip2","host_ip3","host_ip4"]

So my question is: Is there a particular configuration or particular
way to use a client node or i have an error in my config file?

Can someone help me pls?


(Mark Walkom) #2

That is the correct config for a client node.
What version are you on?


(Christian Dahlqvist) #3

If you have 2 dedicated master nodes (3 is recommended) minimum_master_nodes should be set to 2 in order to avoid the risk of split brain scenarios.


(ciro) #4

my version is 2.2, any suggestions???


(tri-man) #5

if you run the URL below in a browser, you should see the client node(s) in the list of nodes. If not, then normally I would check the log for the client node to find out what may have caused the problem.

http://[es host]:[es port]/_cat/nodes?v


(system) #6