sudo add-apt-repository 'deb http://www.rabbitmq.com/debian/ testing main'"sudo apt-get updatesudo apt-get -q -y --force-yes install rabbitmq-server=3.4.1-1sudo invoke-rc.d rabbitmq-server stopecho 'MYCOOKIEVALUE' | sudo tee /var/lib/rabbitmq/.erlang.cookiesudo chown rabbitmq:rabbitmq /var/lib/rabbitmq/.erlang.cookiesudo chmod 400 /var/lib/rabbitmq/.erlang.cookiesudo invoke-rc.d rabbitmq-server startsudo rabbitmq-plugins enable rabbitmq_managementsudo invoke-rc.d rabbitmq-server stopsudo invoke-rc.d rabbitmq-server startsudo rabbitmqctl add_user user1 pwd1sudo rabbitmqctl set_user_tags user1 administratorsudo rabbitmqctl set_permissions -p / user1 '.*' '.*' '.*'And then we create the cluster using:sudo rabbitmqctl stop_appsudo rabbitmqctl join_cluster rabbit@myhostname1sudo rabbitmqctl start_appsudo rabbitmqctl set_cluster_name my_cluster_nameWe have not opened any other port (like 4369 and 25672) because we suppose that these are only used for internal communication between nodes. It is right?We connect to rabbitmq from the client using the cloud service host name.Do you have any idea?Should I follow the instruction on http://www.rabbitmq.com/ec2.html, for example the one about hostnames?thanksdavide
Hi Davide,Sorry, my bad. What I meant was to create VM in the Affinity Group which will host your web site.Did you try asking Azure Customer Care whether they notice any connectivity problems?
Cheers,Mariusz
Date: Fri, 14 Nov 2014 10:47:54 +0100
Subject: Re: [rabbitmq-users] RabbitMQ cluster on Azure virtual machine
From: davide...@gmail.com
To: mariusz...@hotmail.co.ukThanks Mariusz for your suggestions.I'm worried because doesn't seem to be reliable, sometimes it works and sometime it doesn't.On our on premises installation we don't have any of these problems, so I really suspect it is something in the azure network environment.Do you have some more information on how to set the affinity group for a WebSite? I cannot find any setting.RegardsDavide
--
You received this message because you are subscribed to a topic in the Google Groups "rabbitmq-users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/rabbitmq-users/n0DzYVtxoak/unsubscribe.
To unsubscribe from this group and all its topics, send an email to rabbitmq-user...@googlegroups.com.
To post to this group, send email to rabbitm...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Unfortunately, after many attempts, we changed our implementation to use Azure Service Bus.
We weren't able to run rabbitmq on azure in a reliable way. It doesn't seem to be a problem with the cluster (we have used the default endpoint load balancer, and the cluster seems to be ok).
--