Setting up DRBD in Pacemaker clusters on Fedora 13

Andrew just published an update to his Clusters from Scratch documentation that contains a step-by-step guide for initially setting up DRBD based cluster resources on Fedora 13.

Yes, that’s the Fedora release with Linux 2.6.33, so no more installing DRBD kernel modules.

One Response to Setting up DRBD in Pacemaker clusters on Fedora 13

  1. Hi Florian/Andrew

    Thanks for the FC 13 guide.

    Some issues though:

    On 2 FC13’s (yum upgrade all until 12-07-2010)

    – in active/passive Apache part
    The crm command ” configure primitive ocf:linbit:drbd WebData params drbd_resource=my-resource op monitor interval=60s

    produces

    syntax in primitive: WebData params drbd_resource=my-resource op monitor interval=60s

    This DID work in the FC11 guide i followed on 2 fc11’s. I did copy past the revelant part form the fc11 cib.xml and it works after a cibadmin -R -x cib.xml import on fc13.

    – in active/active gsf2 part

    configure primitive WebFS ocf:heartbeat:Filesystem params device=”/dev/drbd/by-res/my-seperate-gsf2-resource” directory=”/var/www/html” fstype=”gfs2”

    produces:

    codec can’t decode byte 0xe2 in position 0: ordinal not in range(128)

    Can this be caused because its still syncing from drbdadm create-md my-seperate-gsf2-resource (and drbdadm — –overwrite-data-of-peer primary my-seperate-gsf2-resource)

    Question
    Does de folder /var/www/html has to be present on /dev/resource-device-used? (includes a created /var/www/html map but unmounted)

    Please reply

    Regards,
    Martijn

Leave a comment