Bird
0
0

Which command sequence correctly joins a RabbitMQ node to an existing cluster?

easy📝 Syntax Q12 of 15
RabbitMQ - Clustering
Which command sequence correctly joins a RabbitMQ node to an existing cluster?
Arabbitmqctl start_app; rabbitmqctl stop_app; rabbitmqctl join_cluster rabbit@node1
Brabbitmqctl start_app; rabbitmqctl join_cluster rabbit@node1; rabbitmqctl stop_app
Crabbitmqctl join_cluster rabbit@node1; rabbitmqctl stop_app; rabbitmqctl start_app
Drabbitmqctl stop_app; rabbitmqctl join_cluster rabbit@node1; rabbitmqctl start_app
Step-by-Step Solution
Solution:
  1. Step 1: Stop the RabbitMQ application on the joining node

    Use rabbitmqctl stop_app to safely stop the node before joining.
  2. Step 2: Join the cluster and restart the application

    Run rabbitmqctl join_cluster rabbit@node1 then rabbitmqctl start_app to join and restart.
  3. Final Answer:

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

    Stop, join, then start = correct sequence [OK]
Quick Trick: Stop app before join, then start after [OK]
Common Mistakes:
MISTAKES
  • Starting app before joining cluster
  • Joining cluster before stopping app
  • Not restarting app after join

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More RabbitMQ Quizzes