Description
Install Couchbase Server 5.0.1-5003 CE on a centos server.
Initial set up node using rest API without setting storage mode
[root@s44015 ~]# curl -X POST http://127.0.0.1:8091/pools/default -d memoryQuota=2000 -d indexMemoryQuota=256 -d ftsMemoryQuota=256
|
[root@s44015 ~]# curl -X POST http://127.0.0.1:8091/node/controller/setupServices -d "services=kv,index,n1ql"
|
[root@s44015 ~]# curl -X POST http://127.0.0.1:8091/settings/web -d "username=Administrator&password=password&port=8091&"
|
Go to browser and see cluster is set with services correctly (kv, index and query).
Go to setting page to set storage mode, 2 storage mode options are disable (grey out)
A work around is setting storage mode in CLI
[root@s44015 ~]# /opt/couchbase/bin/couchbase-cli setting-index -c 127.0.0.1 -u Administrator -p password --index-storage-setting default
SUCCESS: Indexer settings modified