-
Community Support Policy
RabbitMQ version used4.1.1 Erlang version used27.3.x Operating system (distribution) usedlinux How is RabbitMQ deployed?Generic binary package rabbitmq-diagnostics status outputSee https://www.rabbitmq.com/docs/cli to learn how to use rabbitmq-diagnostics
Logs from node 1 (with sensitive values edited out)See https://www.rabbitmq.com/docs/logging to learn how to collect logs
Logs from node 2 (if applicable, with sensitive values edited out)See https://www.rabbitmq.com/docs/logging to learn how to collect logs
Logs from node 3 (if applicable, with sensitive values edited out)See https://www.rabbitmq.com/docs/logging to learn how to collect logs
rabbitmq.confSee https://www.rabbitmq.com/docs/configure#config-location to learn how to find rabbitmq.conf file location
Steps to deploy RabbitMQ clusterset /etc/hosts and config rabbitmq Steps to reproduce the behavior in questionstart rabbitmq container and destroy one advanced.configSee https://www.rabbitmq.com/docs/configure#config-location to learn how to find advanced.config file location
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?I have deployed my RabbitMQ using containerization. During startup, I modify the |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
It's not clear if you're using Kubernetes or not, but your Kubernetes-inspired example is exactly right. RabbitMQ assumes hostnames are stable (hostname is part of the node's identity) and you should make it so that IP changes are handled transparently. Kubernetes does it by automatically updating DNS records and it's a great way to accomplish stable hostnames despite IP changes. |
Beta Was this translation helpful? Give feedback.
I found some solution in the document and will attempt to investigate it.Thank you for your response.
https://www.rabbitmq.com/docs/clustering#cluster-formation-requirements
https://www.erlang.org/doc/apps/erts/inet_cfg.html