Hi i am not able to join simple data node(running in another server) to existing cluster(master running in another server) with in a network please check my config files below
elasticserach.yml(for master node)
cluster.name: kafka-connector
node.name: node-1
node.master : true
node.data : false
path.data: /home/user/Kafka-ELK/KafkaElkConnector/data/elasticsearch
path.logs: /home/user/Kafka-ELK/KafkaElkConnector/data/elasticsearch-logs
bootstrap.memory_lock: true
network.host: "10.0.0.103"
http.port: 9200
transport.host: localhost
transport.tcp.port: 9300
discovery.zen.ping.unicast.hosts: ["10.0.0.103","10.0.0.114"]
elasticsearch.yml(in another server for data node)
cluster.name: kafka-connector
node.name: node-2
node.master : false
node.data : true
path.data: /home/user/Kafka-ELK/KafkaElkConnector/data/elasticsearch
path.logs: /home/user/Kafka-ELK/KafkaElkConnector/data/elasticsearch-logs
bootstrap.memory_lock: true
network.host: "10.0.0.114"
http.port: 9201
transport.host: localhost
transport.tcp.port: 9301
discovery.zen.ping.unicast.hosts: ["10.0.0.103"]
My cluster health is not showing data nodes
{
"cluster_name" : "kafka-connector",
"status" : "red",
"timed_out" : false,
"number_of_nodes" : 1,
"number_of_data_nodes" : 0,
"active_primary_shards" : 0,
"active_shards" : 0,
"relocating_shards" : 0,
"initializing_shards" : 0,
"unassigned_shards" : 12,
"delayed_unassigned_shards" : 0,
"number_of_pending_tasks" : 0,
"number_of_in_flight_fetch" : 0,
"task_max_waiting_in_queue_millis" : 0,
"active_shards_percent_as_number" : 0.0
}