4.2. Node Management
{
"all_nodes":[
"node1@xxx.xxx.xxx.xxx"],
"cluster_nodes":[
}
all_nodes
are all the nodes thats this node knows about.- are the nodes that are connected to this node.
To add a node simply do:
{
"all_nodes":[
"node1@xxx.xxx.xxx.xxx",
],
"cluster_nodes":[
"node2@yyy.yyy.yyy.yyy"
]
}
And you have a 2 node cluster :)
4.2.2. Removing a node
Before you remove a node, make sure that you have moved all away from that node.
With that _rev
, you can now proceed to delete the node document: