--
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.
Only mirrored queues will have a new master elected (there are certain scenarioswhere this may or may not be the case, described in http://www.rabbitmq.com/ha.html).There will be log entries about queue master movements.While at it, consider not using 3.3.x for any tests. I don't see any reason to use it over 3.6.5 or at least 3.5.7.
On Thu, Oct 13, 2016 at 11:13 PM, Mark Wick <mmmm...@gmail.com> wrote:
I have a 2 node cluster with HA queue mirroring.I use "rabbitmqctl report" on the "slave" and see a bunch of queues for the vhosts we have definedI stop the masterI run the "rabbitmqctl report" again and see nothing, alwaysShouldn't I be seeing the mirror'd queues on the slave? And shouldn't those now become anchored on the slave whereby the slave is now the master?I guess I'm just a bit confused what may be going on here.NOTE: Rabbit version is 3.3.1 with Erlang version 17.1
--
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.
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.
=INFO REPORT==== 14-Oct-2016::16:39:48 ===
rabbit on node 'rab...@rabbit-01-internal.cos-int1.copper-alpha.com' down
=INFO REPORT==== 14-Oct-2016::16:39:49 ===
node 'rab...@rabbit-01-internal.cos-int1.copper-alpha.com' down: connection_closed
In my master queue node, I just see this after stopping rabbitmq:
=ERROR REPORT==== 14-Oct-2016::16:39:48 ===
AMQP connection <0.741.0> (running), channel 0 - error:
{amqp_error,connection_forced,
"broker forced connection closure with reason 'shutdown'",none}
=INFO REPORT==== 14-Oct-2016::16:39:48 ===
Halting Erlang VM
I stop the service in order to test node going away.
I've waited over 10 minutes with no additional logs on mirrored node indicating that he's taking over as master for the queue
I've got to be missing something here but I don't know what.
Thanks
=INFO REPORT==== 14-Oct-2016::16:39:48 ===
Mirrored queue 'amq.gen-f5hMVSBUS4GICe9-DAQJWQ' in vhost '/sensu': Master <rab...@rabbit-02-internal.cos-int1.copper-alpha.com.1.19770.38> saw deaths of mirrors <rab...@rabbit-01-internal.cos-int1.copper-alpha.com.2.255.0>
I see this in my mirrored node in the log:
=INFO REPORT==== 14-Oct-2016::16:39:48 ===
rabbit on node 'rabbit@rabbit-01-internal.cos-int1.copper-alpha.com' down
=INFO REPORT==== 14-Oct-2016::16:39:49 ===
node 'rabbit@rabbit-01-internal.cos-int1.copper-alpha.com' down: connection_closed