Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 309761 - >=sys-cluster/drbd-8.3.2: add support for pacemaker configure options
Summary: >=sys-cluster/drbd-8.3.2: add support for pacemaker configure options
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Cluster Team
URL: http://www.drbd.org/users-guide-emb/c...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-03-16 13:39 UTC by Luca Lesinigo
Modified: 2010-09-10 18:51 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Luca Lesinigo 2010-03-16 13:39:55 UTC
Please add support in drbd for managing cluster-related configure flags, or find a way to support Pacemaker clusters. Versions older than drbd-8.3.2 are already stabled on gentoo and do not have full upstream support for this (see url) so could be ignored.

You should turn on --with-pacemaker for OpenAIS/Pacemaker (aka "heartbeat 3") clusters, and --with-heartbeat (aka "heartbeat 2") for Heartbeat-2.0.x clusters.

Relevant ebuilds are already in portage for heartbeat2 (sys-cluster/heartbeat and friends) and in scarabeus overlay for pacemaker clusters (sys-cluster/pacemaker and friends).

There should be no reason whatsoever to turn on both configure options at the same time, but it shouldn't harm either: they should just affect which files gets installed. Turning on both of them could be an easy way to support pacemaker clusters.

Heartbeat-2 clusters are no more developed by upstream and the future will be only about pacemaker clusters (see http://www.linux-ha.org/ )
Comment 1 Luca Lesinigo 2010-03-16 13:57:29 UTC
I modified the current drbd-8.3.6 ebuild enabling both --with-heartbeat (was already on) and --with-pacemaker (was off), the latter will add this files:
 /usr/lib/drbd/crm-fence-peer.sh
 /usr/lib/drbd/crm-unfence-peer.sh
 /usr/lib/ocf/resource.d/linbit/drbd
there are no other differences that I know of. First tests shows drbd is running fine on my system (with a running pacemaker cluster).
Comment 2 Kacper Kowalik (Xarthisius) (RETIRED) gentoo-dev 2010-06-26 16:49:49 UTC
Fixed in 8.3.8

+*drbd-8.3.8 (26 Jun 2010)
+
+  26 Jun 2010; Kacper Kowalik <xarthisius@gentoo.org> +drbd-8.3.8.ebuild,
+  metadata.xml:
+  Version bump
+