Created
September 20, 2013 07:51
-
-
Save TemporaryJam/6634480 to your computer and use it in GitHub Desktop.
RabbitMQ clustering guide
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
#To tell RabbitMQ to instruct Erlang to communicate on a certain range of ports, create a file at /etc/rabbitmq/rabbitmq.config with the following contents: | |
[ | |
{kernel, [{inet_dist_listen_min, 9100},{inet_dist_listen_max, 9105}]} | |
]. | |
#Now for the iptables configuration. Update /etc/sysconfig/iptables with the following rules: | |
-A INPUT -m state --state NEW -m tcp -p tcp --dport 5672 -j ACCEPT | |
-A INPUT -m state --state NEW -m tcp -p tcp --dport 4369 -j ACCEPT | |
-A INPUT -m state --state NEW -m tcp -p tcp --dport 9100:9105 -j ACCEPT | |
Now follow the RabbitMQ clustering guide http://www.rabbitmq.com/clustering.html |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment