Adding nodes to existing node

(Malefo Monnanyana) #1

Hi guys, how do I add two more nodes and how do I get to make the status GREEN, this is what i get when i run "GET _cluster/health?pretty"

"cluster_name": "nodes_production",
"status": "yellow",
"timed_out": false,
"number_of_nodes": 1,
"number_of_data_nodes": 1,
"active_primary_shards": 6,
"active_shards": 6,
"relocating_shards": 0,
"initializing_shards": 0,
"unassigned_shards": 9,
"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": 40

(Zachary Tong) #2

You're cluster is yellow because there is only one data node, so it can't assign replicas anywhere. Once you add another node (or two) it should go to green as the replicas will allocate.

Adding more nodes is as simple as configuring a few more machines with the same details (unicast list, cluster name, etc) and starting the process. They will connect to the existing node, form a cluster and rebalance shards.

(system) #3

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.