[Pacemaker] Problem with Pacemaker and DRBD

Andrew Beekhof andrew at beekhof.net
Tue Feb 5 06:26:41 UTC 2013


On Sat, Jan 19, 2013 at 11:34 PM, Bruno de Oliveira Bastos
<kidboy at brturbo.com.br> wrote:
> Hi, i install a Pacemaker in CentOS 6.3, and put a DRBD to work with
> my 2 machines, but i have some problems, the first problem is 21
> minutes for restart for any cluster machine, the second problem is
> DRBD every time dont stop correctly,

That could easily be causing the first problem too.
Have you checked the logs to see why drbd wont stop?

> and after restart, the drbd is
> inconsistent. My configuration is down:
>
> node srv01.biflex.local \
>         attributes standby="off"
> node srv02.biflex.local \
>         attributes standby="off"
> primitive ClusterIP ocf:heartbeat:IPaddr2 \
>         params ip="10.30.2.1" cidr_netmask="24" \
>         op monitor interval="10s" timeout="60s" on-fail="restart" \
>         op start interval="0s" timeout="60s" on-fail="restart" \
>         op stop interval="0s" timeout="100s" on-fail="block" \
>         meta target-role="Started"
> primitive apl ocf:heartbeat:Filesystem \
>         params device="/dev/drbd0" directory="/apl" fstype="ext4" \
>         op monitor interval="10s" timeout="60" on-fail="restart" \
>         op start interval="0" timeout="60s" on-fail="restart" \
>         op stop interval="0" timeout="60s" on-fail="block" \
>         meta target-role="Started"
> primitive drbd ocf:linbit:drbd \
>         params drbd_resource="drbd0" \
>         op start interval="0s" timeout="120s" on-fail="restart" \
>         op stop interval="0s" timeout="120s" on-fail="block" \
>         op monitor interval="11s" role="Master" timeout="30s" \
>         op monitor interval="12s" role="Slave" timeout="30s"
> primitive progress lsb:progress \
>         op monitor interval="10s" timeout="60s" on-fail="restart" \
>         op start interval="0s" timeout="60s" on-fail="restart" \
>         op stop interval="0s" timeout="100s" on-fail="block" \
>         meta target-role="Started"
> ms ms_drbd drbd \
>         meta master-max="1" master-node-max="1" clone-max="2"
> clone-node-max="1" notify="true" globally-unique="false"
> target-role="Started"
> location drbd_master ms_drbd 100: srv01.biflex.local
> location ip_master ClusterIP 100: srv01.biflex.local
> colocation apl_mount inf: apl ms_drbd:Master progress
> order drbd_start inf: ms_drbd:promote apl:start progress:start
> property $id="cib-bootstrap-options" \
>         dc-version="1.1.7-6.el6-148fccfd5985c5590cc601123c6c16e966b85d14" \
>         cluster-infrastructure="openais" \
>         expected-quorum-votes="2" \
>         no-quorum-policy="ignore" \
>         stonith-enable="false" \
>         stonith-enabled="false" \
>         migration-threshold="1"
> rsc_defaults $id="rsc-options" \
>         resource-stickness="100"
>
>
> Someone can help me with this ?
>
> _______________________________________________
> Pacemaker mailing list: Pacemaker at oss.clusterlabs.org
> http://oss.clusterlabs.org/mailman/listinfo/pacemaker
>
> Project Home: http://www.clusterlabs.org
> Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
> Bugs: http://bugs.clusterlabs.org




More information about the Pacemaker mailing list