主要参考了openstack官方HA的文档
http://docs.openstack.org/high-availability-guide/content/index.html
服务器2台
在1台服务器上安装RDO 另一台安装centos6.5
首先采用active/active模式
安装rabbitMQ
安装epel源
rpm -ivh http://mirrors.sohu.com/fedora-epel/6/x86_64/epel-release-6-8.noarch.rpm
参考http://www.rabbitmq.com/install-rpm.html
安装erlang yum install erlang
下载rabbitMQ
wget http://www.rabbitmq.com/releases/rabbitmq-server/v3.3.2/rabbitmq-server-3.3.2-1.noarch.rpm
安装rabbitmq
rpm --importhttp://www.rabbitmq.com/rabbitmq-signing-key-public.asc
yum install rabbitmq-server-3.3.2-1.noarch.rpm
节点1:192.168.1.83 HAtest1
节点2:192.168.1.84 HAtest2
修改/etc/hosts文件,加入节点描述
192.168.1.83 HAtest1
192.168.1.84 HAtest2
测试开启rabbitmq
service rabbitmq-server start