Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/shey/ansible-ha-rabbitmq-cluster
A collection of Ansible Playbooks to setup a Highly-Available RabbitMQ cluster using "Classic Style" queues.
https://github.com/shey/ansible-ha-rabbitmq-cluster
ansible haproxy python rabbitmq vagrant
Last synced: 6 days ago
JSON representation
A collection of Ansible Playbooks to setup a Highly-Available RabbitMQ cluster using "Classic Style" queues.
- Host: GitHub
- URL: https://github.com/shey/ansible-ha-rabbitmq-cluster
- Owner: shey
- License: mit
- Created: 2021-08-08T22:35:48.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2021-08-09T01:02:13.000Z (over 3 years ago)
- Last Synced: 2024-10-31T00:05:58.954Z (about 2 months ago)
- Topics: ansible, haproxy, python, rabbitmq, vagrant
- Language: Jinja
- Homepage: https://shey.ca/2021/07/11/mirrored-queues-in-rabbitmq.html
- Size: 15.6 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ansible-ha-rabbitmq-cluster
### prerequisites
1. To setup ansible password. Run ``` make prerequisites```
1. This project requires virtualbox and vagrant. Tested against Vagrant 2.2.6 and Virtual Box 6.1### Instructions to setup RabbitMQ cluster via Ansible.
1. Run ```start-vms```
1. Run ```ENV=vagrant make setup-standalone-rabbits```
2. Run ```ENV=vagrant make cluster-rabbits```
3. Run ```ENV=vagrant make build-haproxy```### Testing
1. Install the requirements in scripts/
1. Run ```python scripts/producer.py``` to publish messages to the "test" queue
1. Run ```python scripts/consumer.py``` to read messages from the "test" queue