[DRBD-user] DRBD and Pacemaker cluster: OpenAis communications channels

Romain CHANU romainchanu at gmail.com
Thu Oct 22 05:14:30 CEST 2009


Yes, it was what I had in mind.

Two nodes with 2 NIC per node. One NIC used for DRBD replication, the other
one for service delivery as you said (in my case it would be a postgresql
database). I plan to run Pacemaker over these two interfaces and use the
IPaddr2 resource agent to contact this cluster from other machines.

When the primary machine goes down, the secondary will take over following
these steps:

- migration of the virtual IP
- promote the secondary machine as the primary (for DRBD)
- start the postgresql database

Is this the correct way to do it?

Thank you.

2009/10/22 KH <khultman at gmail.com>

> Ideally you would probably want a dedicated interface for drbd
> replication to occur over, and a dedicated interface for service
> delivery, be it iscsi, mysql, nfs or whatever. You would run pacemaker
> over both of these interfaces.
>
> On Wed, Oct 21, 2009 at 3:07 AM, Romain CHANU <romainchanu at gmail.com>
> wrote:
> > Hi,
> >
> > I am reading the user's guide for DRBD and there is something I want to
> > clarify.
> > In Chapter 8 ("Integrating DRBD with Pacemaker clusters"), section 8.1.4
> > "OpenAis communication channels", it is said that "the absolute minimum
> > requirement for stable cluster operation is two independent communication
> > channels in a redundant ring"
> > Does it mean that if I have a cluster composed of two nodes, I need two
> NIC
> > on each node? (one for DRBD replication as well as Pacemaker and the
> other
> > one only for Pacemaker)?
> > Thank you.
> > Romain Chanu
> >
> >
> >
> > _______________________________________________
> > drbd-user mailing list
> > drbd-user at lists.linbit.com
> > http://lists.linbit.com/mailman/listinfo/drbd-user
> >
> >
>
>
>
> --
> do() || do_not(); // try()
> --------------------------------
> Catapultam habeo. Nisi pecuniam omnem mihi dabis, ad caput tuum saxum
> immane mittam
> --------------------------------
> http://www.kylehultman.com
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linbit.com/pipermail/drbd-user/attachments/20091022/168e5cf7/attachment.htm>


More information about the drbd-user mailing list