How to automate this initial setup ?


I'm want to automate the creation of Couchbase nodes; and I'd like to know how to bypass the initial setup phase in the http admin? (REST request ? command line args ?)
Thx iin advance.

2 Answers

« Back to question.


You can use the command line that is documented here:

You can then integrate this in any administration tool, I have for example written some scripts for Ansible.
- and blog post/video :


« Back to question.

shell> couchbase-cli cluster-init -c \
       —cluster-init-username=Administrator \
       —cluster-init-password=password \
       —cluster-init-port=8080 \