Document how to update / rotate erlang cookie on a running rabbitmq cluster #14391
-
Is your feature request related to a problem? Please describe.I have a RabbitMQ Cluster that consists for 3 Nodes. I want to know what procedure should I follow to update erlang cookie (e.g. update erlang cookie file + restart node one by one) Describe the solution you'd likeClear documentation on how to update erlang cookie on a running cluster in PROD Describe alternatives you've consideredAdditional contextRelated Discussion that did not get much attention I do not ask how to automate it with docker swarm. I only want to understand the procedure (even if done manually) My docker compose file for Docker Swarm
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Since all nodes must agree on the shared secret or they won't be able to join the cluster, there is only one option for the Erlang cookie file swaps: a full stop upgrade. Well, Blue-Green deployments are also always an option. I don't feel confident documenting a specific procedure, other than a Blue-Green deployment, because there can be factors that are entirely deployment-specific. For example, the K8S Cluster Operator allows the cookie to be stored in Vault, so a rolling restart can be an option in practice, depending on how a pod startup failure is handled. So at beast I can promise a very brief note in the upgrades guide. |
Beta Was this translation helpful? Give feedback.
Since all nodes must agree on the shared secret or they won't be able to join the cluster, there is only one option for the Erlang cookie file swaps: a full stop upgrade.
Well, Blue-Green deployments are also always an option.
I don't feel confident documenting a specific procedure, other than a Blue-Green deployment, because there can be factors that are entirely deployment-specific. For example, the K8S Cluster Operator allows the cookie to be stored in Vault, so a rolling restart can be an option in practice, depending on how a pod startup failure is handled.
So at beast I can promise a very brief note in the upgrades guide.