Search:

Search all manuals
Search this manual
Manual
Couchbase Server Manual 1.8
Additional Resources
Community Wiki
Community Forums
Couchbase SDKs
Parent Section
8.8 Provisioning a Node
Chapter Sections
Chapters

8.8.3. Adding a Node to a Cluster

You add a new node with the at the RESTful endpoint host: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 add a new node to the cluster at 10.2.2.60:8091 by using method, controller/addNode and by providing the IP address for the new node as well as credentials. If successful, Couchbase Server will respond:

Status Code 200 OK
      {"otpNode":"ns_1@10.4.2.6"}