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

Andrew Beekhof andrew at beekhof.net
Sun Oct 11 16:06:54 EDT 2009


On Sat, Oct 10, 2009 at 10:37 AM,  <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 its seems reasonable to use the one written by the same guys
that wrote drbd itself :-)
They're in the best position to understand what the RA should do.

>  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 .

Hopefully one of the linbit guys can comment on why one might be
faster/slower than the other.



More information about the Pacemaker mailing list