RabbitMQ
Connect to control node(s)
# show container state docker ps -a | grep rabbitmq # Connect into RabbitMQ Docker container docker exec -it rabbitmq bash
RabbitMQ state
# Show status rabbitmqctl status # Show cluster status rabbitmqctl cluster_status # Show list_queues rabbitmqctl list_queues
CLI
# Start the App rabbitmqctl start_app # Stop the App rabbitmqctl stop_app # Reset the App rabbitmqctl reset # Force reset rabbitmqctl force_reset # Join the cluster rabbitmqctl join_cluster rabbit@ctl2-stage # Start the App rabbitmqctl start_app # forget node rabbitmqctl forget_cluster_node rabbit@nodeX rabbitmqctl join_cluster rabbit@nodeX # cleanup / remove all data docker exec -it rabbitmq bash rm -r /var/lib/rabbitmq/* docker restart rabbitmq
Statistics
rabbitmq-diagnostics observer