Created
June 30, 2014 16:58
-
-
Save munhitsu/56688bb6a9c7335d3023 to your computer and use it in GitHub Desktop.
breaking rabbitmq cluster
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
""" | |
Handy when you don't care about data and rabbitmq stopped working | |
$ rabbitmqctl add_vhost /sensu | |
Creating vhost "/sensu" ... | |
Error: {node_not_running,'rabbit@ip-X-Y-Z-A'} | |
$ rabbitmqctl cluster_status | |
Cluster status of node 'rabbit@ip-X-Y-Z-A' ... | |
[{nodes,[{unknown,['rabbit@ip-X-Y-Z-A']}]},{running_nodes,[]}] | |
...done. | |
""" | |
$ rabbitmqctl stop_app | |
$ rabbitmqctl reset | |
$ rabbitmqctl start_app |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi !
Thx for sharing this 😃
I built a docker based project allowing to run a highly available RabbitMQ cluster with HAProxy.
You can find it there: https://github.com/ypereirareis/docker-rabbitmq-ha-cluster
Bye !