[Pacemaker] Debian + Pacemaker 1.0.9 + DRBD 8.3.7 with dual primary
Andreas Kurz
andreas at hastexo.com
Thu Dec 1 23:32:23 UTC 2011
Hello Lutz,
On 12/01/2011 01:26 PM, Lutz Reinhardt wrote:
> hi
>
> use a simple config:
>
> node node1
> node node2 \
> attributes standby="off"
> primitive res_drbd_cluster_ocfs ocf:linbit:drbd \
> params drbd_resource="cluster-ocfs" \
> op monitor interval="20" role="Master" timeout="20" \
> op monitor interval="30" role="Slave" timeout="20"
> ms ms_drbd_cluster_ocfs res_drbd_cluster_ocfs \
> meta resource-stickiness="100" master-max="2" notify="true"
> interleave="true" target-role="Started"
> property $id="cib-bootstrap-options" \
> dc-version="1.0.9-74392a28b7f31d7ddc86689598bd23114f58978b" \
> cluster-infrastructure="openais" \
> expected-quorum-votes="2" \
> no-quorum-policy="ignore" \
> stonith-enabled="false" \
> default-resource-stickiness="1000" \
> last-lrm-refresh="1322660182"
>
> now it works fine but one thing happens: when i stop
> "ms_drbd_cluster_ocfs" and start it again, i see every time a fresh
> resync of one drbd node. it's not happened when i bring up the drbd
> device first before i start it with "start ms_drbd_cluster_ocfs" - then
> it works fine!?
>
> whats wrong?
First of all you must use fencing for a dual-primary setup ... as you
have no fencing configured in Pacemaker I conclude (please correct me if
I'm wrong) that you also skip this part in DRBD config.
Then please share the result of "drbdadm dump all" and "cat /proc/drbd"
when your cluster is up. You said you see a "fresh" resync ... you mean
a full resync? Please also provide kernel logs for this.
Regards,
Andreas
--
Need help with Pacemaker and DRBD?
http://www.hastexo.com/now
>
> thanks!
>
> _______________________________________________
> 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 286 bytes
Desc: OpenPGP digital signature
URL: <https://lists.clusterlabs.org/pipermail/pacemaker/attachments/20111202/f120191e/attachment-0004.sig>
More information about the Pacemaker
mailing list