Search:

Search all manuals
Search this manual
Manual
Couchbase Server Manual 2.0
Community Wiki and Resources
Download Couchbase Server 2.0
Couchbase Developer Guide 2.0
Client Libraries
Couchbase Server Forum
Additional Resources
Community Wiki
Community Forums
Couchbase SDKs
Parent Section
8.7 Managing Clusters
Chapter Sections
Chapters

8.7.16. Managing Internal Cluster Settings

You can set a number of internal settings the number of maximum number of supported buckets supported by the cluster. To get the current setting of the number of parallel indexers, use a GET request.

MethodGET /internalSettings
Request DataNone
Response DataJSON of current internal settings
Authentication Requiredno
Return Codes200
 Settings returned

For example:

HTTP Request
GET http://127.0.0.1:8091/internalSettings

This returns a JSON structure of the current settings:

JSON
{
  "indexAwareRebalanceDisabled":false,
  "rebalanceIndexWaitingDisabled":false,
  "rebalanceIndexPausingDisabled":false,
  "maxParallelIndexers":4,
  "maxParallelReplicaIndexers":2,
  "maxBucketCount":20
}

To set a configuration value, POST to the URL a payload containing the updated values.

MethodPOST /settings/maxParallelIndexers
Request DataNone
Response DataJSON of the global and node-specific parallel indexer configuration
Authentication Requiredyes
Payload Arguments 
globalValueRequired parameter. Numeric. Sets the global number of parallel indexers. Minimum of 1, maximum 1024.
Return Codes 
400globalValue not specified or invalid

For example, to update the maximum number of buckets:

shell> curl -v -X POST http://Administrator:Password@localhost:8091/internalSettings \
    -d maxBucketCount=20