Hi,
Why oh why will rabbit cluster on ec2?
Both servers have the same cookie...both have ports open to each other. Hm....is it me or do the online docs refect what one is supposed ot do. Are there hidden docs I have yet to find?
Thanks
Here is how I install on ubuntu
touch /etc/apt/sources.list.d/rabbitmq.list
echo 'deb
http://www.rabbitmq.com/debian/ testing main' | tee - a /etc/apt/sources.list.d/rabbitmq.list
curl
http://www.rabbitmq.com/rabbitmq-signing-key-public.asc -o /tmp/rabbitmq-signing-key-public.asc
apt-key add /tmp/rabbitmq-signing-key-public.asc
rm /tmp/rabbitmq-signing-key-public.asc
apt-get -qy update
sudo rabbitmqctl stop_app
sudo rabbitmqctl join_cluster rab...@ip-172-31-12-135.us-west-1.compute.internal
sudo rabbitmqctl join_cluster rab...@ip-172-31-12-135.us-west-1.compute.internal
Clustering node 'rabbit@ip-172-31-2-103' with 'rab...@ip-172-31-12-135.us-west-1.compute.internal' ...
Error: unable to connect to nodes ['rab...@ip-172-31-12-135.us-west-1.compute.internal']: nodedown
=ERROR REPORT==== 26-Aug-2014::07:51:12 ===
** System NOT running to use fully qualified hostnames **
** Hostname ip-172-31-12-135.us-west-1.compute.internal is illegal **
DIAGNOSTICS
===========
attempted to contact: ['rab...@ip-172-31-12-135.us-west-1.compute.internal']
rab...@ip-172-31-12-135.us-west-1.compute.internal:
* connected to epmd (port 4369) on ip-172-31-12-135.us-west-1.compute.internal
* epmd reports node 'rabbit' running on port 25672
* TCP connection succeeded but Erlang distribution failed
* suggestion: hostname mismatch?
* suggestion: is the cookie set correctly?
current node details:
- node name: 'rabbitmqctl25363@ip-172-31-2-103'
- home dir: /var/lib/rabbitmq
- cookie hash: deaU3MfVotDW9r05xrIWwA==
ubuntu@ip-172-31-2-103:~$ hostname -f
ip-172-31-2-103.us-west-1.compute.internal