Bird
0
0

Which sequence of commands on rabbit@node3 correctly forms the cluster assuming rabbit@node1 is the main node?

hard📝 Workflow Q15 of 15
RabbitMQ - Clustering
You want to form a RabbitMQ cluster with three nodes: rabbit@node1, rabbit@node2, and rabbit@node3. Which sequence of commands on rabbit@node3 correctly forms the cluster assuming rabbit@node1 is the main node?
Arabbitmqctl stop_app; rabbitmqctl join_cluster rabbit@node2; rabbitmqctl start_app
Brabbitmqctl stop_app; rabbitmqctl join_cluster rabbit@node1; rabbitmqctl start_app
Crabbitmqctl start_app; rabbitmqctl join_cluster rabbit@node1; rabbitmqctl stop_app
Drabbitmqctl join_cluster rabbit@node1; rabbitmqctl stop_app; rabbitmqctl start_app
Step-by-Step Solution
Solution:
  1. Step 1: Identify the main node for cluster join

    rabbit@node1 is the main node, so other nodes join it directly.
  2. Step 2: Use correct command order on rabbit@node3

    Stop app, join cluster with rabbit@node1, then start app to form cluster properly.
  3. Final Answer:

    rabbitmqctl stop_app; rabbitmqctl join_cluster rabbit@node1; rabbitmqctl start_app -> Option B
  4. Quick Check:

    Join main node with stop, join, start sequence [OK]
Quick Trick: Join new nodes to main node with stop, join, start [OK]
Common Mistakes:
MISTAKES
  • Joining to wrong node in cluster
  • Starting app before joining
  • Incorrect command order causing failure

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More RabbitMQ Quizzes