環境描述: 1.3個node(各裝nova services),3個rabbitmq做cluster, 2個kvm hypervisor, 1個xen hypervisor 安裝步驟: 1. RabbitMQ Cluster install: 3個node各裝: aptitude -y install rabbitmq-server python-pika 2. Setup: Set Cookie Erlang nodes use a cookie to determine whether they are allowed to communicate with each other - for two nodes to be able to communicate they must have the same cookie. The cookie is just a string of alphanumeric characters. It can be as long or short as you like. Erlang will automatically create a random cookie file when the RabbitMQ server starts up. This will be typically located in /var/lib/rabbitmq/.erlang.cookie on Unix systems. root@rabbit1:~# ls -l /var/lib/rabbitmq/.erlang.cookie -r-------- 1 rabbitmq rabbitmq 15 May 9 18:15 /var/lib/rabbitmq/.erlang.cookie root@rabbit1:~# echo "WIWYNNRABBITMQ" > /var/lib/rabbitmq/.erlang.cookie root@rabbit1:~# reboot; # to make cookie take effect 3. Starting independent nodes: Clusters are set up by re-confi...