Upgrade rabbitmq 3.9.27 (erlang 24.2.1) => Rabbitmq 4 #13682
-
Community Support Policy
RabbitMQ version usedother (please specify) Erlang version used27.2.x Operating system (distribution) usedubuntu 22.04 How is RabbitMQ deployed?Debian package rabbitmq-diagnostics status outputup Logs from node 1 (with sensitive values edited out)No errors Logs from node 2 (if applicable, with sensitive values edited out)No errors Logs from node 3 (if applicable, with sensitive values edited out)No errors rabbitmq.confras Steps to deploy RabbitMQ clusterras Steps to reproduce the behavior in questionHow do I upgrade from version 3.9 to Verison 4? advanced.configNo response Application code# PASTE CODE HERE, BETWEEN BACKTICKS Kubernetes deployment file# Relevant parts of K8S deployment that demonstrate how RabbitMQ is deployed
# PASTE YAML HERE, BETWEEN BACKTICKS What problem are you trying to solve?In the documentation it is indicated to do a progressive update, i.e. to go from version 3.9 to 3.10 then to 3.11 then to 3.12 then to 3.13 |
Beta Was this translation helpful? Give feedback.
Replies: 9 comments 6 replies
-
You asked how to perform the upgrade and then quoted the documentation which answers this questions... What's not clear? |
Beta Was this translation helpful? Give feedback.
-
I can upgrade from 3.9 to 3.10. but when I upgrade from 3.10 to 3.11 I lose all my configuration as well as the cluster |
Beta Was this translation helpful? Give feedback.
-
Here is my order list : rabbitmq-upgrade drain |
Beta Was this translation helpful? Give feedback.
-
If I uninstall version 9.3 and do a new installation of version 4. Will I lose data? the old messages? I'm in a clustered production environment |
Beta Was this translation helpful? Give feedback.
-
@johaninho78 - you really should just start a new cluster using RMQ 4.0.8 and use this method to "upgrade" - https://www.rabbitmq.com/docs/blue-green-upgrade |
Beta Was this translation helpful? Give feedback.
-
I don't really understand what to do in the documentation. Do you need to create a cluster on new servers? Or can I do it from my two existing servers ? |
Beta Was this translation helpful? Give feedback.
-
Sorry but in the blue green documenation there are no details like for After deploying a brand new "green" cluster. How do I deploy a new instance? |
Beta Was this translation helpful? Give feedback.
-
If I understand correctly, for blue green mode you have to install two new servers and install a cluster in 4.0.8 ? |
Beta Was this translation helpful? Give feedback.
-
If I understood correctly, here are the steps I need to do: Can you tell me if I missed a step? |
Beta Was this translation helpful? Give feedback.
@johaninho78 you need to do a series of incremental upgrades. 3.9.27 to the latest 3.10.x, then to the latest 3.11.x, then to the latest 3.12.x, then to 3.13.7, then to 4.0.8.
Or Blue-Green migrate your cluster.
Or uninstall the version you have, wipe your node's data directory (if this is a development or test environment), install
4.0.8
and that's it.We will not hand hold you through each individual step, you are not a paying user and you are not a contributor, and the guide are specific enough for most people.