<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;"><DIV id=yiv674714940>
<TABLE class=yiv674714940 id=yiv674714940bodyDrftID cellSpacing=0 cellPadding=0 border=0>
<TBODY>
<TR>
<TD id=yiv674714940drftMsgContent style="FONT-SIZE: 10pt; FONT-FAMILY: arial"><BR><BR>
<BLOCKQUOTE style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: rgb(16,16,255) 2px solid">
<DIV class=yiv674714940plainMail><BR><BR><BR>>Yes offcause.<BR><BR>>Php runs inside apache, so you make rules for mysql and apache.<BR><BR>>Best regards<BR>>Allan Jacobsen<BR><BR>Thank you for your reply, I haven't found lampp resource agent, so this means I must write a resource agent for lampp? would you please tell me more about what I should do ? Thanks a lot<BR><BR><BR>No, you need to read what i wrote, lampp is not one piece of software, so you need to control apache and mysql.<BR><BR>There is a nice howto here: <A href="http://www.clusterlabs.org/wiki/DRBD_MySQL_HowTo" target=_blank rel=nofollow>http://www.clusterlabs.org/wiki/DRBD_MySQL_HowTo</A></DIV>
<DIV class=yiv674714940plainMail> </DIV>
<DIV class=yiv674714940plainMail>HI</DIV>
<DIV class=yiv674714940plainMail>I do as the website write, however the resource could not start, command </DIV>
<DIV class=yiv674714940plainMail>primitive drbd_mysql ocf:linbit:drbd \<BR>        params drbd_resource="r0" \<BR>        op monitor interval="15s"<BR>primitive fs_mysql ocf:heartbeat:Filesystem \<BR>        params device="/dev/drbd/by-res/r0" directory="/service/" fstype="ext3"<BR>primitive ip_mysql ocf:heartbeat:IPaddr2 \<BR>        params ip="10.100.100.200" nic="eth0"<BR>primitive mysqld lsb:mysql<BR>primitive apache lsb:apache2<BR><BR>group mysql fs_mysql ip_mysql mysqld apache <BR>ms ms_drbd_mysql drbd_mysql \<BR>        meta master-max="1" master-node-max="1" clone-max="2" clone-node-max="1" notify="true"<BR>colocation mysql_on_drbd inf: mysql ms_drbd_mysql:Master<BR>order mysql_after_drbd inf: ms_drbd_mysql:promote mysql:start</DIV>
<DIV class=yiv674714940plainMail> </DIV>
<DIV class=yiv674714940plainMail>is OK? my package is pacemaker-1.0.5-4.1 openais-0.80.5-15.1 xampp-linux-1.7.2.tar.gz. Have you try it before?  Thanks a lot<BR></DIV></BLOCKQUOTE></TD></TR></TBODY></TABLE></DIV></td></tr></table><br>