How to set up Membase on EC2?
Hi,
I am trying to add a second server to a membase set up on Amazon EC2. The first server works fine. When I try to add the next server, it says this error when rebalancing:
Rebalance exited with reason {noproc,
{gen_server,call,
[{'ns_memcached-default',
'ns_1@--eciphere--.compute-1.amazonaws.com'},
{get_vbucket,1},
30000]}}
I am following http://techzone.couchbase.com/wiki/display/membase/Using+Membase+in+the+...
I have tried using the Amazon Public DNS, Private DNS, and Internal IP and all of them give the same error.
What is happening?
The documentation is actually correct but doesn't reference any specific AMI since the software can be installed in a variety of places.
The error seems unrelated to anything in the instructions. What OS were you trying to install this on?
If you can reproduce this, can you please send the output of: "/opt/membase/bin/ns_server/collect_info " to perry -at- couchbase -dot- com?
Thanks
Perry
I found a solution to the problem.
I had tried using an Ubuntu distribution on EC2, installing membase myself, and following the instructions on the following url, but that did not work.
http://techzone.couchbase.com/wiki/display/membase/Using+Membase+in+the+...
You need to use the Membase AMI on EC2 which uses CentOS for membase to properly work on Amazon EC2.
Somebody needs to update this on the documentation!