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.1. Configuring Disk Path for a Node

You configure node resources through a controller on the node. The primary resource you will want to configure is the disk path for the node, which is where Couchbase Server persists items for the node. You must configure a disk path for a node prior to creating a new cluster or adding a node to an existing cluster.

Example as follows:

shell> curl -u admin:password -d path=/var/tmp/test http://localhost:8091/nodes/self/controller/settings

HTTP Request

POST /nodes/self/controller/settings HTTP/1.1
Host: node.in.your.cluster:8091
Content-Type: application/x-www-form-urlencoded; charset=UTF-8
Authorization: Basic YWRtaW46YWRtaW4=
Content-Length: xx path=/var/tmp/test

HTTP Response

HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 0