Is there a guide on how to add new nodes to a cluster?
Cause this ain't it.
The issue is both nodes are running, displaying no errors, but shards are not getting assigned.
Nodes in the cluster (cluster.name: local
) have identical configurations except for node.master: true
and node.data: true
on the master node called node.name: bcp.local0
.
Replica Node config:
http.port: 9202
network.host: ["0.0.0.0"]
node.name: bcp.local2
cluster.name: local
cluster.initial_master_nodes: ["bcp.local0"]
Cluster health:
{
"cluster_name": "local",
"status": "yellow",
"timed_out": false,
"number_of_nodes": 1,
"number_of_data_nodes": 1,
"active_primary_shards": 7,
"active_shards": 7,
"relocating_shards": 0,
"initializing_shards": 0,
"unassigned_shards": 1,
"delayed_unassigned_shards": 0,
"active_shards_percent_as_number": 87.5,
...
,
"mydata": {
"status": "yellow",
"number_of_shards": 1,
"number_of_replicas": 1,
"active_primary_shards": 1,
"active_shards": 1,
"relocating_shards": 0,
"initializing_shards": 0,
"unassigned_shards": 1,
"shards": {
"0": {
"status": "yellow",
"primary_active": true,
"active_shards": 1,
"relocating_shards": 0,
"initializing_shards": 0,
"unassigned_shards": 1
}
}
}
}
}
What's a boy to do?