2016-07-20 2 views
0

$ curl localhost: 9200/_cat/Gesundheit vElasticsearch in Docker Clustername ist gleich, aber nicht Clustering

Unix-Zeitstempel Cluster-Status node.total node.data Scherben pri Relo init unassign pending_tasks max_task_wait_time active_shards_percent 1469016273 12: 04.33 jh-Cluster grün 1 1 0 0 0 0 0 0 bis 100,0%

$ curl localhost: 9201/_cat/Gesundheit v

Unix-Zeitstempel Cluster-Status node.total node.data Scherben pri Relo init aufheben pending_tasks max_task_wait_time active_shards_percent 14 69016277 12:04:37 jh-cluster grün 1 1 0 0 0 0 0 0 - 100.0%

Ich weiß nicht, warum diese Situation. Die Knoten der Konfigurationsdatei ist gleich,

Antwort

0

fügen Sie Ihre elastische Konfiguration, btw das ist meine Konfiguration für Cluster in lokalen (1 Master-for-schreiben 1 Slave-for-lesen):

Master-Knoten:

cluster.name: musement 
network.bind_host: 0.0.0.0 
transport.tcp.port: 9301 
http.port: 9201 

node.master: true 
node.data: false 
discovery.zen.minimum_master_nodes: 1 
discovery.zen.ping.timeout: 3s 
discovery.zen.ping.multicast.enabled: false 
discovery.zen.ping.unicast.hosts: ["pippo.int:9300"] 

Slave-Knoten:

cluster.name: musement 
network.bind_host: 0.0.0.0 
transport.tcp.port: 9300 
http.port: 9200 
discovery.zen.minimum_master_nodes: 1 
discovery.zen.ping.timeout: 3s 
discovery.zen.ping.multicast.enabled: false 
discovery.zen.ping.unicast.hosts: ["pippo.int:9301"] 

wo pippo.int es die eth0 von meinem pc ist

Verwandte Themen