Setting up multiple instances on one server


#1

I am trying to follow the documentation (http://docs.couchbase.com/couchbase-manual-2.5/cb-install/#installing-multiple-instances-on-a-machine) to setup multiple couchbase instances on the same machine.

I can successfully start one server using both default and user-defined ports and it appears that both server start when trying to load two however only the first server that was started it ever accessible.

[]/opt/couchbase$ bin/couchbase-cli cluster-init --cluster=127.0.0.1:9000 --cluster-username=Administrator --cluster-password=Administrator --cluster-ramsize=5120 --cluster-port=9000
SUCCESS: init 127.0.0.1
[]/opt/couchbase$ bin/couchbase-cli server-list -c 127.0.0.1:9000 -u Administrator -p Administrator
ns_2@127.0.0.1 127.0.0.1:9000 healthy active

[]/opt/couchbase$ bin/couchbase-cli cluster-init --cluster=127.0.0.1:8091 --cluster-username=Administrator --cluster-password=Administrator --cluster-ramsize=5120 --cluster-port=8091 -u Administrator -p Administrator
ERROR: command: cluster-init: 127.0.0.1:9000, [Errno 111] Connection refused

I start both servers using bin/couchbase-server and both successfully start with the prompt:
(babysitter_of_ns_1@127.0.0.1)1>
(babysitter_of_ns_2@127.0.0.1)1>

Any advice will be gratefully received!


Several instances of Couchbase on the same node
#2

I’m having the same problem, any news about this topic? Thanks!