Hi
I have deployed rabbitmq to multiple nodes and I see the nodename being generated containing the container id. Say 695f54784fa5.
The complete nodename is rabbit@695f54784fa5.
I use the RABBITMQ_NODENAME to specify my own value for the nodename. Say mynodename. The value actually changes to
mynodename@695f54784fa5
I want to avoid using the container id and specify my own value as the node name for complete control. This is to avoid a case when two containers on the different nodes have the same id (coincidentally). In that I case fear forming a cluster between the nodes will be an issue as I see nodename in the command to form a rabbitmq cluster
rabbitmqctl join_cluster rabbit@695f54784fa5
Two independent nodes may have the same container id and node name
Is there a way I can specify my own node name in order to avoid conflicts later?
Is there another way to form the cluster instead of using the nodename which is getting out of my control?
Thanks
Gunjan