cluster-init on each node of the cluster
I have a cluster which has been setup automatically by chef (opscode). The chef recipe has executed the same commands on each server of the cluster
couchbase-cli node-init -c localhost --data-path=...
couchbase-cli cluster-init -c localhost --cluster-init-username=.. --cluster-init-password=..
and if there was already an existing node N in the cluster
couchbase-cli server-add -u .. -p .. -c [N] --server-add [current_server_ip]
Everything is working fine but I wonder if running cluster-init command before joining an existing cluster cannot cause issues.
Does anybody know what is done exactly by the commad cluster-init ?
Thanks for any clue!