<style type="text/css">
<!--
body {font-size:13px;font-family:arial;color:#494949}
-->
</style>
Hi,<br /><br />i build a simple highly available environment in rabbitmq 2.7.1/Erlang R14B03 with heartbeat 3.0.4/DRBD 8.3.11,and it's work fine and stable, last  week i upgrade rabbitmq to 2.8.2 , when i test heartbeat takeover,it's can take ip and drbd disk to another node,but mq service can't start ,i try to use &quot;/etc/init.d/rabbitmq-server start&quot; ,mq service can start success, i check /etc/init.d/rabbitmq-server script,it's only different in 3 point,<br /><br />in 2.7.1<br />RABBITMQ_PID_FILE=$PID_FILE setsid $DAEMON<br /><br />in 2.8.2<br />START_PROG=&quot;runuser rabbitmq --session-command&quot;<br /><br />[ -f /etc/default/${NAME} ] &amp;&amp; . /etc/default/${NAME}<br /><br />RABBITMQ_PID_FILE=$PID_FILE $START_PROG $DAEMON<br /><br /><br />i check the initial proecss,when heartbeat takeover,mq service will check status first,and run start_rabbitmq function,and i add logger print some checkpoint to minitor start script, i found it didn't run to start_rabbitmq function,<br /><br />i try to use 2.7.1 start script,and 2.8.2 can manual start success,but heartbeat takeover still start fail,<br /><br />my os:centos5.5 x64<br /><br />my ha.cf :<br /><br />debug 1<br />debugfile /var/log/ha-debug<br />logfile /var/log/ha-log<br />logfacility local0<br />udpport 694<br />keepalive 1 <br />deadtime 10 <br />initdead 80 <br />ucast eth1 10.19.100.4<br />respawn hacluster /usr/lib/heartbeat/ipfail <br />ping 172.19.1.252 <br />node mq1 <br />node mq2 <br />auto_failback off <br /><br />my haresource: <br /><br />mq1 172.19.253.99/16/eth0 \<br />drbddisk::drbd1  Filesystem::/dev/drbd1::/media/drbd1 \<br />rabbitmq-server<br /><br />Any help would be appreciated! <br />thanks for help!!

<BR><BR><hr><a href="http://mail.pchome.com.tw/edm/click.htm?ad_code=711" style="color:#0C3FA3;font-size:16px;line-hieght:25px;text-decoration:none;">千種電腦課程不花錢任你學 </a><BR>