[Pacemaker] why use ocf::linbit:drbd instead of ocf::heartbeat:drbd?

Florian Haas florian.haas at linbit.com
Mon Oct 12 06:43:18 UTC 2009


On 2009-10-10 10:37, xin.liang at cs2c.com.cn wrote:
>  Hi all:
> 
>  As I known, drbd (8.3.2 and above) in pacemaker has 2 ocf scripts, one
> is from linbit, the other one is from heartbeat .
> 
>  In Andrew's "Cluster form Scratch - Fedora 11" , "Configure the Cluster
> for DRBD" , he uses ocf::linbit:drbd instead of ocf::heartbeat:drbd
> 
>  why?

Because the heartbeat one is broken. It's that simple. Don't use it.

>  I have used both of them, and the speed of ocf::heartbeat:drbd is
> obviously faster than ocf::linbit:drbd when I make the master node
> standby and when I make the standby node active .

Possibly, but it's doing the right thing. If you give us a few more
details we can look into any issues that may exist there, but the fact
that the heartbeat one is "faster" (if it really is) does not mean you
should use it. You really shouldn't.

Andrew, Dejan: as we consider the ocf:linbit:drbd RA stable as of the
DRBD 8.3.4 release, is it acceptable to remove the legacy RA from the
agents repository?

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: <https://lists.clusterlabs.org/pipermail/pacemaker/attachments/20091012/8fe99377/attachment-0004.sig>


More information about the Pacemaker mailing list