This is a REST request made to a Couchbase cluster to add a
given node to the cluster. You add a new node with the at the
RESTful endpoint
server_ip:port/controller/addNode. You
will need to provide an administrative username and password as
parameters:
shell> curl -u Administrator:password \ 10.2.2.60:8091/controller/addNode \ -d "hostname=10.2.2.64&user=Administrator&password=password"
Here we create a request to the cluster at 10.2.2.60:8091 to add
a given node by using method,
controller/addNode and by providing the
IP address for the node as well as credentials. If successful,
Couchbase Server will respond:
HTTP/1.1 200 OK {"otpNode":"ns_1@10.4.2.6"}