[rabbitmq-discuss] RabbitMQ HA

Lucian-Paul Torje ltorje at kno.com
Tue Jul 12 17:54:18 BST 2011


Hello,
I'm trying to configure rabbit mq with HA but starting/stopping ($ 
/usr/sbin/crm_resource --meta -t primitive -r res_rabbitmq-server_1 -p 
target-role -v started) the rabbit mq ogc has no effect, rabbit mq is 
not started/stopped, there is nothing on /var/log/rabbitmq, just like 
the rabbitmq didn't received the command - please advice.

I've added an exit 0 line in /etc/init.d/rabbitmq-server just as 
described in http://www.rabbitmq.com/pacemaker.html

Here is my configuration  (I'm using a mounted shared folder and already 
tested starting manually rabbitmq with that mnesia folder - 
/mnt/rabbit_mnesia and it works):

node ha-node1
node ha-node2
primitive res_rabbitmq-server_1 ocf:rabbitmq:rabbitmq-server \
     params ip="10.41.0.158" port="5672" 
config_file="/etc/rabbitmq/rabbitmq" mnesia_base="/mnt/rabbit_mnesia" \
     operations $id="res_rabbitmq-server_1-operations" \
     op start interval="0" timeout="600" \
     op stop interval="0" timeout="120" \
     op monitor interval="10" timeout="20" start-delay="0" \
     meta target-role="started" allow-migrate="true"
ms ms_rabbitmq-server_1 res_rabbitmq-server_1 \
     meta clone-max="2" notify="true"
property $id="cib-bootstrap-options" \
     expected-quorum-votes="2" \
     dc-version="1.0.8-042548a451fce8400660f6031f4da6f0223dd5dd" \
     cluster-infrastructure="openais" \
     last-lrm-refresh="1310489170"

-- 
Best regards,
Software Engineer
Lucian-Paul Torje



More information about the rabbitmq-discuss mailing list