--
You received this message because you are subscribed to the Google Groups "rabbitmq-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rabbitmq-users+unsubscribe@googlegroups.com.
To post to this group, send email to rabbitmq-users@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
There are no master nodes in RabbitMQ. I'd recommend 3 nodes (or any odd number)instead of 2.Proxies or load balancers in front of clusters is a common thing to see. It has its own downsidesbut is good enough for many users.
On Tue, Jun 20, 2017 at 3:42 PM, <4integ...@gmail.com> wrote:
Hi,We will setup a RabbitMQ cluster to evaluate the solution.Some notes on my understandingQueues belongs to the node where they were created. That node is master of the queue but not necessary the master node in RabbitMQ cluster.Thinking of placing a load balancer (F5) in front of the cluster to make it easy for applications and users to connect to the RabbitMQ cluster - without knowing the details of the cluster.There are performance benefits of connecting to the master node.There are no benefit of running round robin load balancer in the cluster - better to have active/passive.So I am thinking- Have 2 RabbitMQ nodes in a cluster with HA of all artifacts (replication of queues, exchanges,messages,..etc)- Create all artifacts in the RabbitMQ master- Configure load balancer to checks heart beats of the master node- If the master node is responding direct all traffic to that node (active). If the "master" node does not respond set the "slave" (now master) as activeIs this the best approach?Other better alternatives?/ Joacim
--
You received this message because you are subscribed to the Google Groups "rabbitmq-users" group.
To unsubscribe from this group and stop receiving emails from it, 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.
Ok, there is no master nodes as such but queues are created on one node and queues can be mirrored to other nodes. That what I meant by "That node is master of the queue..".Since the documentation says "All queue operations go through the master first and then are replicated to mirrors. This is necessary to guarantee FIFO ordering of messages."; does that mean that load balancer should run all traffic to the queue master?
If we create all queues in one node (#1 being our "master node" ..even though there is no such thing :) ). In case of "master node" #1 have issues another node (e.g. #2 will be promoted as "master node" (or queue master) - how can the load balancer be aware that it should run traffic to #2 ?
In order to setup a good high available RabbitMQ solution - is there any blue print/reference setup/cookbook available?
--
You received this message because you are subscribed to the Google Groups "rabbitmq-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rabbitmq-users+unsubscribe@googlegroups.com.
To post to this group, send email to rabbitmq-users@googlegroups.com.