Details
Description
[Output of Cluster-init]
/opt/couchbase/bin/couchbase-cli cluster-init --cluster=localhost:8099 -u Administrator1 -p password1 --cluster-init-username=Administrator --cluster-init-password=password --cluster-init-port=8091
2014-02-05 23:24:21 | INFO | MainProcess | MainThread | [remote_util.execute_command_raw] command executed successfully
ERROR: option cluster-init-ramsize is not specified
There are two problems:
1. Why cluster-init command done the changes on the server if parameter was not right.
2. Why cluster-init command done the changes if server was already initialized. It should fail that "Server is already initialized, to make any changes use cluster-edit command"
NOTE: cluster-edit works fine.
[Output of cluster-edit]
/opt/couchbase/bin/couchbase-cli cluster-edit --cluster=127.0.0.1:8099 -u Administrator1 -p password1 --cluster-init-username=Administrator --cluster-init-password=password --cluster-init-port=8091
SUCCESS: init 127.0.0.1