Yes, it was what I had in mind.<br>
<br>
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. <br>
<br>When the primary machine goes down, the secondary will take over following these steps:<br>
<br>
- migration of the virtual IP<br>
- promote the secondary machine as the primary (for DRBD)<br>
- start the postgresql database<br>
<br>
Is this the correct way to do it?<br><br>Thank you.<br><br><div class="gmail_quote">2009/10/22 KH <span dir="ltr"><<a href="mailto:khultman@gmail.com">khultman@gmail.com</a>></span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Ideally you would probably want a dedicated interface for drbd<br>
replication to occur over, and a dedicated interface for service<br>
delivery, be it iscsi, mysql, nfs or whatever. You would run pacemaker<br>
over both of these interfaces.<br>
<div><div></div><div class="h5"><br>
On Wed, Oct 21, 2009 at 3:07 AM, Romain CHANU <<a href="mailto:romainchanu@gmail.com">romainchanu@gmail.com</a>> wrote:<br>
> Hi,<br>
><br>
> I am reading the user's guide for DRBD and there is something I want to<br>
> clarify.<br>
> In Chapter 8 ("Integrating DRBD with Pacemaker clusters"), section 8.1.4<br>
> "OpenAis communication channels", it is said that "the absolute minimum<br>
> requirement for stable cluster operation is two independent communication<br>
> channels in a redundant ring"<br>
> Does it mean that if I have a cluster composed of two nodes, I need two NIC<br>
> on each node? (one for DRBD replication as well as Pacemaker and the other<br>
> one only for Pacemaker)?<br>
> Thank you.<br>
> Romain Chanu<br>
><br>
><br>
><br>
</div></div>> _______________________________________________<br>
> drbd-user mailing list<br>
> <a href="mailto:drbd-user@lists.linbit.com">drbd-user@lists.linbit.com</a><br>
> <a href="http://lists.linbit.com/mailman/listinfo/drbd-user" target="_blank">http://lists.linbit.com/mailman/listinfo/drbd-user</a><br>
><br>
><br>
<font color="#888888"><br>
<br>
<br>
--<br>
do() || do_not(); // try()<br>
--------------------------------<br>
Catapultam habeo. Nisi pecuniam omnem mihi dabis, ad caput tuum saxum<br>
immane mittam<br>
--------------------------------<br>
<a href="http://www.kylehultman.com" target="_blank">http://www.kylehultman.com</a><br>
</font></blockquote></div><br>