upgrading RabbitMQ version

147 views
Skip to first unread message

Lulu Paul

unread,
Mar 15, 2023, 8:00:11 AM3/15/23
to rabbitmq-users
Hello Team,

We are running RabbitMQ 3.6.0, Erlang 18.2.1 on a Windows Server 2012.The application was a sunset application that was planned to be replaced however we have now decided to continue the application for a bit longer and subsequently upgrade the softwares and keep it up to date. 

  • My first question is about how to approach this upgrade to a higher version on RabbitMQ and what higher version is recommended (since we are several versions backdated). What could break and how easy/hard it is to get this upgraded? Any links to documentation is greatly appreciated.
  • My second question is about a current error that gets logged as the consumer queues are getting closed (the service that calls this stops) after an exception once the process is finished. The error is below and it is a recent problem. Any ideas what might be causing it and where I could look further.
[Error] An exception was thrown in StartConsumer().
System.IO.EndOfStreamException: SharedQueue closed
   at RabbitMQ.Util.SharedQueue`1.EnsureIsOpen()
   at RabbitMQ.Util.SharedQueue`1.Dequeue()
   at Export.RabbitHelper.RabbitConsumer.Start(String rabbitQueue) in c:\Export\Export.RabbitHelper\RabbitConsumer.cs:line 31
   at Export.TeiToXml.Console.TeiToXmlServiceManager.CreateConsumer()
   at Export.TeiToXml.Console.TeiToXmlServiceManager.StartConsumer(Object sender, ElapsedEventArgs args)

Thank you so much!
LP

Luke Bakken

unread,
Mar 15, 2023, 9:55:32 AM3/15/23
to rabbitmq-users
Question 1 - https://www.google.com/search?q=site%3Arabbitmq.com+upgrade

Question 2 - I'm not sure I understand the question. Is the "Export.RabbitHelper" process stopping? If so, it's probably not cancelling consumers, closing channels and closing connections gracefully before it stops.

Thanks,
Luke

Lulu Paul

unread,
May 18, 2023, 6:31:23 AM5/18/23
to rabbitm...@googlegroups.com
Hello Luke/team,

Thank you for the response. I read through the upgrade process documentation. We are on the 3.6 version and it appears that we need to go through several rolling upgrade versions to get to the latest one.

However the plan now is to migrate the softwares to a new Windows 2019 server - including RabbitMQ. So could you advise in this case if the following can be done?

1. Install Rabbit MQ  3.10 or 3.11 on the new Windows 2019 server
2. Set up and configure the new server like the to match the settings from the old server
2. Enable the RabbitMQ management plugin
3. Recreate the exchanges and bindings on the new server to match the setup on the old server
4. Possibly migrate queues and their associated messages:?
5. Updating our client applications to connect to the new RabbitMQ server.

Thank You & Best Regards,
Lulu Paul


--
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 view this discussion on the web, visit https://groups.google.com/d/msgid/rabbitmq-users/603fee74-9d9d-446d-9c32-de50dddb4eb5n%40googlegroups.com.

Michal Kuratczyk

unread,
May 18, 2023, 7:30:50 AM5/18/23
to rabbitm...@googlegroups.com
Yes, it's even possible with close to zero downtime: https://www.rabbitmq.com/blue-green-upgrade.html
If you can afford some downtime, you can just adjust/simplify this procedure.

Best,



--
Michał
RabbitMQ team
Reply all
Reply to author
Forward
0 new messages