Reputation: 8654
I am trying to add a second node to my Couchbase 2.1.1 cluster on EC2. However when I attempt to add a new server under
Server Nodes > Active Server > Add Server
I get the following error
Attention - Failed to reach erlang port mapper.
Could not connect to "172.31.49.78" on port "4369".
This could be due to an incorrect host/port combination or a
firewall in place between the servers
Another odd thing I noticed is that the second Couchbase instance has a blank public dns. I created it with the "More like this" wizard in the AWS management console. What should I try next? Help is appreciated!
Upvotes: 0
Views: 789
Reputation: 16167
I recommend starting with a fresh instance and installing CB onto it, then going through the process yourself. I don't believe in "pre-cooked" solutions when it is just as easy to set it up on your own.
I have three Couchbase clusters running on AWS, and have had no issues. That being said, I also have my machines configured in a VPC, and resolve to one another using the Hosts file on the machine, but your situation may be different. You'll need to make sure your AWS security groups are configured correctly, whatever network topology you decide upon.
Upvotes: 1
Reputation: 2474
When I want to add a new node to the cluster I open up the web admin console on the new node and click the join cluster option, adding the ip of the current node and the relevant user and password.
You are most likely having the issue because you haven't opened up port 4369 as stated in the error on both nodes, they are needed for node to node configuration. Change your security group on aws to allow this for both nodes.
Visit this link to see which ports you need for node to node and client to node http://docs.couchbase.com/couchbase-manual-2.2/#network-ports
Upvotes: 1