[rabbitmq-discuss] RabbitMQ on EC2
Kyle Salasko
ksalasko at gmail.com
Fri Mar 14 02:10:51 GMT 2008
I'm trying to create a cluster of RabbitMQ nodes on EC2 and I've been running
into some trouble. Using the cluster command succeeds, but the nodes end up
in an inconsistent state. It's easier to give an example than to explain the
results, so I'll post them below.
There are 3 nodes:
Node A calls itself rabbit at domU-12-31-38-00-48-D1
Node B calls itself rabbit at ip-10-251-159-160
Node C calls itself rabbit at domU-12-31-38-00-48-A2.
First I clustered A and B, as disk nodes. This worked fine. Then I tried to
add Node C.
Node A says:
Status of node 'rabbit at domU-12-31-38-00-48-D1' ...
[{running_applications,[{rabbit,"RabbitMQ","1.2.0"},
{mnesia,"MNESIA CXC 138 12","4.3.3"},
{os_mon,"CPO CXC 138 46","2.1.1"},
{sasl,"SASL CXC 138 11","2.1.4"},
{stdlib,"ERTS CXC 138 10","1.14.2"},
{kernel,"ERTS CXC 138 10","2.11.2"}]},
{nodes,['rabbit at domU-12-31-38-00-48-D1',
'rabbit at ip-10-251-159-160',
'rabbit at domU-12-31-38-00-48-A2']},
{running_nodes,['rabbit at ip-10-251-159-160','rabbit at domU-12-31-38-00-48-D1']}]
Node B says:
Status of node 'rabbit at ip-10-251-159-160' ...
[{running_applications,[{rabbit,"RabbitMQ","1.2.0"},
{mnesia,"MNESIA CXC 138 12","4.3.3"},
{os_mon,"CPO CXC 138 46","2.1.1"},
{sasl,"SASL CXC 138 11","2.1.4"},
{stdlib,"ERTS CXC 138 10","1.14.2"},
{kernel,"ERTS CXC 138 10","2.11.2"}]},
{nodes,['rabbit at domU-12-31-38-00-48-D1',
'rabbit at ip-10-251-159-160',
'rabbit at domU-12-31-38-00-48-A2']},
{running_nodes,['rabbit at domU-12-31-38-00-48-D1',
'rabbit at domU-12-31-38-00-48-A2',
'rabbit at ip-10-251-159-160']}]
Node C says:
Status of node 'rabbit at domU-12-31-38-00-48-A2' ...
[{running_applications,[{rabbit,"RabbitMQ","1.2.0"},
{mnesia,"MNESIA CXC 138 12","4.3.3"},
{os_mon,"CPO CXC 138 46","2.1.1"},
{sasl,"SASL CXC 138 11","2.1.4"},
{stdlib,"ERTS CXC 138 10","1.14.2"},
{kernel,"ERTS CXC 138 10","2.11.2"}]},
{nodes,['rabbit at ip-10-251-159-160','rabbit at domU-12-31-38-00-48-A2']},
{running_nodes,['rabbit at ip-10-251-159-160','rabbit at domU-12-31-38-00-48-A2']}]
If I reset A, then cluster it with C and B, I get a situation where A and C
switch: C can see all 3, but thinks A is down, and A can only see itself and
B.
I'm hoping someone has seen a similar problem before and can either point me
to where to look for either pointers on what may be wrong with my EC2 or
RabbitMQ setups. I know port 4369 is open, and the nodes can reach each
other via ping. I've managed to replicate this with additional boxes and
entire new setups.
Thanks for the help.
Kyle Salasko
--
View this message in context: http://www.nabble.com/RabbitMQ-on-EC2-tp16042914p16042914.html
Sent from the RabbitMQ mailing list archive at Nabble.com.
More information about the rabbitmq-discuss
mailing list