[DRBD-user] drbd pacemaker

Florian Haas florian.haas at linbit.com
Tue Sep 8 14:00:24 CEST 2009

Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.


On 2009-09-07 22:00, Stefan wrote:
> Hello all :)
> 
> I want to biuld an pacemaker-openais-drbd-mysql-cluster on debian lenny. I 
> followed the instruction at http://www.drbd.org/docs/applications/ but its not 
> working for me:
> 
>  crm(live)configure# show
> node bart
> node lisa
> primitive drbd_mysql ocf:linbit:drbd \
>         params drbd_resource="mysql" \
>         op monitor interval="15s"
> primitive fs_mysql ocf:heartbeat:Filesystem \
>         params device="/dev/drbd0" directory="/service/mysql" fstype="ext3"
> primitive ip_mysql ocf:heartbeat:IPaddr2 \
>         params ip="10.100.100.200" nic="eth0"
> primitive mysqld lsb:mysqld
> group mysql fs_mysql ip_mysql mysqld
> ms ms_drbd_mysql drbd_mysql \
>         meta master-max="1" master-node-max="1" clone-max="2" clone-node-
> max="1" notify="true"
> colocation mysql_on_drbd inf: fs_mysql ms_drbd_mysql:Master
> order mysql_after_drbd inf: ms_drbd_mysql:promote fs_mysql:start
> property $id="cib-bootstrap-options" \
>         stonith-enabled="false" \
>         expected-quorum-votes="2"
> 
> 
> The ip dont come up, drbd and mysql is not started.
> Have I done something wrong?

Yes.

> Can someone help?

That's an error in the docs. The constraints referred to a primitive
(fs_mysql), rather than to the group (mysql). This has been fixed; the
docs are now updated. Thanks.

Cheers,
Florian

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 260 bytes
Desc: OpenPGP digital signature
URL: <http://lists.linbit.com/pipermail/drbd-user/attachments/20090908/8c052785/attachment.pgp>


More information about the drbd-user mailing list