How to automate this initial setup?

Hi,

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.

http://docs.couchbase.com/couchbase-manual-2.0/#command-line-interface-for-administration

shell> couchbase-cli cluster-init -c 192.168.0.1:8091 \
       —cluster-init-username=Administrator \
       —cluster-init-password=password \
       —cluster-init-port=8080 \
       —cluster-init-ramsize=8192

Hello,

You can use the command line that is documented here:
http://docs.couchbase.com/couchbase-manual-2.2/#command-line-interface-for-administration

You can then integrate this in any administration tool, I have for example written some scripts for Ansible.

Regards
Tug
@tgrall