After running the Couchbase installer, how can I check if the console setup steps has already been run ? Is couchbase-cli the right tool for this need.
I would like to automate the server installation and only use couchbase-cli to perform the cluster setup.
Should I use Node-Init (to set data paths) first and next use Cluster-Init ?
If I do the opposite, I have the following error :
unable to init localhost (400) Bad Request
{u’error’: u’Changing data of nodes that are part of provisioned cluster is not supported’}
The command lines are :
couchbase-cli.exe node-init -u **** -p **** -c localhost:8091 --node-init-data-path=“D:\CouchbaseData” --node-init-index-path=“D:\CouchbaseData”’
and
couchbase-cli.exe cluster-init -u **** -p **** -c localhost:8091 --cluster-ramsize=256’
Thanks in advance.