[rabbitmq-discuss] Cluster Setup

mrajkovic milan at m-i.com.au
Sun Jul 15 15:21:21 BST 2012


Hi Everyone, i have been trying to setup a cluster for the better part of two
weeks now, i am ready to almost give up... and then i discovered there is a
mailing list!

i have two servers, i will list each of the configs below, 

When i run the cluster commands this is what i get...

root at mf-02:~# rabbitmqctl cluster rabbit at mf-01
Clustering node 'rabbit at mf-02' with ['rabbit at mf-01'] ...
Error: {failed_to_cluster_with,['rabbit at mf-01'],
                               "Mnesia could not connect to some nodes."}

root at mf-02:~# rabbitmqctl -n rabbit at mf-01 status
Status of node 'rabbit at mf-01' ...
Error: unable to connect to node 'rabbit at mf-01': nodedown
diagnostics:
- unable to connect to epmd on mf-01: address
- current node: 'rabbitmqctl26839 at mf-02'
- current node home dir: /var/lib/rabbitmq
- current node cookie hash: =========== REMOVED=========

i can ping each server 
root at mf-01:~# ping mf-02
PING mf-02.cloud.m-i.com.au (119.31.227.106) 56(84) bytes of data.
64 bytes from mf-02.cloud.m-i.com.au (119.31.227.106): icmp_req=1 ttl=64
time=0.410 ms
64 bytes from mf-02.cloud.m-i.com.au (119.31.227.106): icmp_req=2 ttl=64
time=0.520 ms


root at mf-02:~# ping mf-01
PING mf-01.vic.cloud.m-i.com.au (119.31.227.103) 56(84) bytes of data.
64 bytes from mf-01.vic.cloud.m-i.com.au (119.31.227.103): icmp_req=1 ttl=64
time=2.75 ms
64 bytes from mf-01.vic.cloud.m-i.com.au (119.31.227.103): icmp_req=2 ttl=64
time=0.416 ms


Config on mf-02 /etc/rabbitmq/rabbitmq.conf
export RABBITMQ_NODENAME=rabbit at mf-02
export RABBITMQ_NODE_IP_ADDRESS=
export ERL_EPMD_ADDRESS=

Config on mf-01 /etc/rabbitmq/rabbitmq.conf
export RABBITMQ_NODENAME=rabbit at mf-01
export RABBITMQ_NODE_IP_ADDRESS=
export ERL_EPMD_ADDRESS=

Would appriciate any help...

--
View this message in context: http://rabbitmq.1065348.n5.nabble.com/Cluster-Setup-tp20805.html
Sent from the RabbitMQ mailing list archive at Nabble.com.


More information about the rabbitmq-discuss mailing list