[rabbitmq-discuss] Clustering

Tim Watson watson.timothy at gmail.com
Tue Oct 23 09:12:01 BST 2012


Please provide me with full details of your environments (os, version, etc) and can you please post a full transcript of all the commands and their output.

Thanks



On 22 Oct 2012, at 20:28, chetan dev <dev440 at gmail.com> wrote:

> Hi,
> 
> Yes i clustered them as given on rabbitmq clustering documentation for e.g
> on the first place both nodes are running 
> now i stopped app using rabbitmqctl stop_app then i reset that node than i clusterd that node with another using rabbitmqctl cluster rabbit at SHIKHARM
> then i started the node using rabbitmqctl start_app
> when i checked the cluster status it was showing fine then i did as i mentioned earlier 
> 
> Thanks
> 
> On Mon, Oct 22, 2012 at 7:51 PM, Tim Watson <watson.timothy at gmail.com> wrote:
> Yes but how did you cluster them on the first place? You do realise that rabbit nodes are not clustered automatically?
> 
> 
> 
> On 22 Oct 2012, at 14:17, chetan dev <dev440 at gmail.com> wrote:
> 
>> Hi,
>> 
>> Thanks for your reply i am using 2.8.6
>> here is what i am doing 
>> 1. two nodes rabbit at SHIKHARM and rabbit at CHETANDEV are clustered 
>> 2. now i stop node rabbit at SHIKHARM using  rabbitmqctl stop commnad
>> 3. now i start the node rabbit at SHIKHARM using rabbitmq-server start commnad
>> 4. and then i check cluster status it shows only one running node  
>> Cluster status of node rabbit at CHETANDEV ...
>> [{nodes,[{disc,[rabbit at SHIKHARM]},{ram,[rabbit at CHETANDEV]}]},
>>  {running_nodes,[rabbit at CHETANDEV]}]
>> ...done.
>> 
>> On Mon, Oct 22, 2012 at 6:39 PM, Tim Watson <tim at rabbitmq.com> wrote:
>> Works for me! ;)
>> 
>> What version(s) of rabbit are you running and can you please post the exact commands you're using to start each node, to stop one of the applications (not the node) and cluster it with the other one and then finally the command you're using to start again.
>> 
>> Cheers
>> Tim
>> 
>> On 22 Oct 2012, at 14:04, chetan dev wrote:
>> 
>> > Hi,
>> > I have two nodes clustered together , but when i stop a node using rabbbitmqctl stop command and start the broker with rabbitmq-server detached commnad
>> > now when  i see the cluster status it shows only one broker running while both of the brokers are running fine.
>> > can anybody explain this or tell me what mistake i am making?
>> >
>> > Thanks
>> >
>> >
>> >
>> > --
>> > Cheten  Dev
>> >
>> > B.Tech Final Year
>> > Dept. of Electrical Engg.
>> > IIT Delhi, New Delhi
>> > ph 8527333215
>> >
>> > _______________________________________________
>> > rabbitmq-discuss mailing list
>> > rabbitmq-discuss at lists.rabbitmq.com
>> > https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss
>> 
>> _______________________________________________
>> rabbitmq-discuss mailing list
>> rabbitmq-discuss at lists.rabbitmq.com
>> https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss
>> 
>> 
>> 
>> -- 
>> Cheten  Dev 
>> 
>> B.Tech Final Year
>> Dept. of Electrical Engg.
>> IIT Delhi, New Delhi
>> ph 8527333215
>> 
>> _______________________________________________
>> rabbitmq-discuss mailing list
>> rabbitmq-discuss at lists.rabbitmq.com
>> https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss
> 
> _______________________________________________
> rabbitmq-discuss mailing list
> rabbitmq-discuss at lists.rabbitmq.com
> https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss
> 
> 
> 
> 
> -- 
> Cheten  Dev 
> 
> B.Tech Final Year
> Dept. of Electrical Engg.
> IIT Delhi, New Delhi
> ph 8527333215
> 
> _______________________________________________
> rabbitmq-discuss mailing list
> rabbitmq-discuss at lists.rabbitmq.com
> https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20121023/01aa6e11/attachment.htm>


More information about the rabbitmq-discuss mailing list