Issues setting up Tribe node


(Maxwell Flanders) #1

I am having problems setting up a tribe node. When I start it up it starts a single node cluster, which I can run a health check against successfully, but when i run cat nodes against it, it only returns the single node, and none of the other clusters are showing the addition of a new client node. This is my configuration:

cluster.name: es_logging_clusters
node.name: elastic-t-uscen-a-c001-n001
network.host: HOSTIP
node.master: false
node.data: false
path.logs: /opt/elasticsearch/var/log/
path.data: /opt/elasticsearch/var/data/

tribe:
  c002:
      cluster.name: c002-logging
      discovery.zen.ping.unicast.hosts:
       - IPADDRESS1
       - IPADDRESS2
       - IPADDRESS3
  c003:
      cluster.name: c003-logging
      discovery.zen.ping.unicast.hosts:
       - IPADDRESS4
       - IPADDRESS5
       - IPADDRESS6

indices.breaker.fielddata.limit : 60%
indices.fielddata.cache.size: 75%

I don't see any logs being produced in the logging directory either, and those cluster names and IP's are definitely correct. What other issues could be preventing the tribe node from discovering the other clusters??

Thank you!


(Maxwell Flanders) #2

Got it!! I just needed to add network.host to each of the tribe configurations. New configuration is:

cluster.name: es_logging_clusters
node.name: elastic-t-uscen-a-c001-n001
network.host: HOSTIP
node.master: false
node.data: false
path.logs: /opt/elasticsearch/var/log/
path.data: /opt/elasticsearch/var/data/

tribe:
  c002:
      cluster.name: c002-logging
      network.host: HOSTIP
      discovery.zen.ping.unicast.hosts:
       - IPADDRESS1
       - IPADDRESS2
       - IPADDRESS3
  c003:
      cluster.name: c003-logging
      network.host: HOSTIP
      discovery.zen.ping.unicast.hosts:
       - IPADDRESS4
       - IPADDRESS5
       - IPADDRESS6

indices.breaker.fielddata.limit : 60%
indices.fielddata.cache.size: 75%

(Tin Le) #4

Yep, you found the required settings. My example was for ES 1.7. ES 2.x and newer has additional requirements and changes for tribe configuration.

I've updated the example in my blog post.


(system) #5