[Pacemaker] Problem with drbd 2 primary + OCFS2 + server

hj lee kerdosa at gmail.com
Wed Aug 19 16:04:48 UTC 2009


What is serwer-mysql? In the last location constraint, serwer-mysql should
be msDRBD I think. Does msDRBD come up master and slave? Or both came up
with slave?

Thanks

On Wed, Aug 19, 2009 at 1:25 AM, <cudak at sonet.internetdsl.pl> wrote:

> Hi, i would like to make following configuration: DRBD as master
> on two nodes +OCFS2, additionally after assembling system's files i want
> WWW
> server to start with assigned virtual IP. My configuaration is working, but
> unfortunately not properl. It turnes on DRBD, assebles files system, but
> WWW
> server and mysql don't start. crm_mon doesn't show any failed actions.
>
> This is my config:
> primitive resDRBD ocf:heartbeat:drbd \
>  op monitor role=Master interval=59s timeout=30s \
>  op monitor role=Slave interval=60s timeout=30s \
>        params drbd_resource="web"
>
> primitive resOCFS2 ocf:heartbeat:Filesystem \
>        params device="/dev/drbd0" directory="/home/drbd" fstype="ocfs2"
> ms msDRBD resDRBD \
>        meta clone-max="2" master-max="2" notify="true"
>
> clone cloneOCFS2 resOCFS2 \
>        meta interleave="true" ordered="true"
>
> primitive lighttpd lsb:lighttpd
>
> primitive virtual-ip ocf:heartbeat:IPaddr2 \
> params ip="192.168.15.100" broadcast="255.255.255.0" nic="eth0"
> cidr_netmask="24" \
> op monitor interval=21s timeout=5s
>
> group server-www virtual-ip lighttpd
>
> order msDRBD-before-cloneOCFS2 inf: msDRBD:promote cloneOCFS2:start
>
> order cloneOCFS2-before-server-www inf: cloneOCFS2:promote server-www:start
>
>
> colocation sever-www-on-msDRBD inf: server-www msDRBD:Master
>
> location ms-drbd1-master-on-node2 serwer-mysql \
> rule id="ms-drbd1-master-on-node2-rule" role="master" 100: #uname eq node2
>
>
> Log doesn't show anything about it.
>
>
>
> _______________________________________________
> Pacemaker mailing list
> Pacemaker at oss.clusterlabs.org
> http://oss.clusterlabs.org/mailman/listinfo/pacemaker
>



-- 
Dream with longterm vision!
kerdosa
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.clusterlabs.org/pipermail/pacemaker/attachments/20090819/e4c48669/attachment-0002.htm>


More information about the Pacemaker mailing list