CE 5.0 build 3519
sudo /opt/couchbase/bin/couchbase-cli cluster-init -c 127.0.0.1 --cluster-username Administrator --cluster-password password --cluster-ramsize 1024 --cluster-index-ramsize 1024 --cluster-fts-ramsize=256 --services=data,index,query,fts
will get
ERROR: storageMode - Storage mode can be set to 'plasma' only if the cluster is Spock enterprise edition.
bug?
thuan
October 27, 2017, 5:06pm
3
Hi,
I am able to reproduce this issue and create a ticket https://issues.couchbase.com/browse/MB-26556 for this.
To initialize a node, you could use other method like UI or Rest API
For the Rest API, here are example commands to initialize a node
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”
hihi
thanks a lot
it’s working now
i think CLI is important
because i need this to do autoscale server or some devops jobs
Hi @thuan
The third POST command is no longer working.
curl -X POST http://127.0.0.1:8091/settings/indexes -d “storageMode=forestdb”
{"errors":{"“storageMode":"Found unsupported key “storageMode"}}
I’m hoping to set the storageMode to default. However that does not work either.
thuan
November 9, 2017, 6:54pm
7
I have a question. Is your cluster set index mode already and want to change it?
If yes and in one node cluster, there is only one way to change is to uninstall and reinstall Couchbase Server as it mentions in
https://developer.couchbase.com/documentation/server/5.0/indexes/storage-modes.html