In a RabbitMQ cluster, what is the role of a disc node compared to a ram node?
Think about data persistence and memory usage in cluster nodes.
Disc nodes persist queue data to disk, ensuring durability. Ram nodes keep queue state in memory for faster access but rely on disc nodes for persistence.
You run the command rabbitmqctl join_cluster rabbit@node1 on node2. What is the expected output if the join is successful?
rabbitmqctl join_cluster rabbit@node1
Successful commands usually end with '... done'.
The command output confirms the node joined the cluster successfully with the message ending in '... done'.
Which configuration snippet correctly sets the node name and enables clustering in rabbitmq.conf for a node named rabbit@node2?
Check the exact backend name for classic config peer discovery.
The correct backend name is rabbitmq_peer_discovery_classic_config to enable classic config clustering.
After adding a node to the cluster, you see the error nodedown when running rabbitmqctl cluster_status. What is the most likely cause?
RabbitMQ nodes need open ports to communicate.
Port 25672 is used for inter-node communication. If blocked by firewall, nodes show nodedown status.
Arrange the steps in the correct order to form a RabbitMQ cluster with two nodes: rabbit@node1 and rabbit@node2.
You must stop the application before joining, then start it again.
Stopping the app on node2 is required before joining the cluster. After joining, start the app and verify status.