Description
Install Couchbase Server Community Edition (CE) 5.0.0 on centos 7.3 server
Initialize this node using couchbase cli
/opt/couchbase/bin/couchbase-cli cluster-init -c 127.0.0.1 --cluster-username Administrator --cluster-password password --cluster-ramsize 2000 --cluster-index-ramsize 256 --cluster-fts-ramsize=256 --services=data,index,query,fts --index-storage-setting default
|
|
ERROR: storageMode - Storage mode can be set to 'plasma' only if the cluster is Spock enterprise edition.
|
|
/opt/couchbase/bin/couchbase-cli cluster-init -c 127.0.0.1 --cluster-username Administrator --cluster-password password --cluster-ramsize 2000 --cluster-index-ramsize 256 --cluster-fts-ramsize=256 --services=data,index,query,fts --index-storage-setting memopt
|
|
ERROR: storageMode - Memory optimized indexes are restricted to enterprise edition and are not available in the community edition.
|
|
There is a workaround of this issue is using Rest API or UI to initialize node with all services
Rest API commands. It may be executed in order as below.
curl -X POST http://127.0.0.1:8091/pools/default -d memoryQuota=2000 -d indexMemoryQuota=256 -d ftsMemoryQuota=256
|
curl -X POST http://127.0.0.1:8091/node/controller/setupServices -d "services=kv,index,n1ql,fts"
|
curl -X POST http://127.0.0.1:8091/settings/indexes -d "storageMode=forestdb"
|
curl -X POST http://127.0.0.1:8091/settings/web -d "username=Administrator&password=password&port=8091&"
|