[Ocfs2-users] ocfs2 heartbeat and drbd in dual primary

Luis Freitas lfreitas34 at yahoo.com
Wed Dec 9 01:26:45 PST 2009


Unni,

    Well, with this setup you can't properly deal with a split brain scenario.

    DRDB will have it's heartbeat algorithm, I don't know how it works, but it certainly has one, and OCFS2 has one too. If they are not integrated you could have a scenario where OCFS2 kills one node and DRDB kills the other, and you end up without any of them.

    OCFS2 chooses the first node in the case of a network failure. So you should either use OCFS2 and DRDB integrated with heartbeat2 (Available only for non-enterprise distros) or setup DRDB to choose the first node too.

   Btw, someone actually using DRBD can comment better on this. I use OCFS2 for RAC, so I have to use shared storage.

Best Regards,
Luis Freitas

--- On Tue, 12/8/09, unni krishnan <unnikrishnan.a at gmail.com> wrote:

From: unni krishnan <unnikrishnan.a at gmail.com>
Subject: Re: [Ocfs2-users] ocfs2 heartbeat and drbd in dual primary
To: ocfs2-users at oss.oracle.com
Date: Tuesday, December 8, 2009, 3:13 AM

Any idea ?

On Mon, Dec 7, 2009 at 10:13 PM, unni krishnan <unnikrishnan.a at gmail.com> wrote:
> Hi,
>
> I am new to the world of cluster file system and also with ocfs2. I am
> setting up a cluster as a research project and it looks like :
>
> http://picasaweb.google.com/lh/photo/A7CUF3b_SkzJ0NZKbkyyng?feat=directlink
>
> The heartbeat will not support ocfs2. Also since in my case the drbd
> is in dual primary, for me it is not necessary to add it in heartbeat
> or pacemaker ( Its for me and not sure, if that is correct. )
>
> In my case the crm resource are the two VPSs in the picture. I am
> using the built in heartbeat provided by ocfs2 and the ocfs2 dlm.
>
> My questions are :
>
> Since the ocfs2 or drbd is not added in crm, is there any worst thing
> or any disaster going to happen with this setup ?
>
> Please suggest the best method to deal with the ocfs2 + drbd in dual
> primary + heartbeat + pacemaker
>
> I am using :
>
> OpenVZ for VPS
> CentOS 5 as OS
>
> --
> Regards,
> Unni
>



-- 
Regards,
Unni

_______________________________________________
Ocfs2-users mailing list
Ocfs2-users at oss.oracle.com
http://oss.oracle.com/mailman/listinfo/ocfs2-users



      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://oss.oracle.com/pipermail/ocfs2-users/attachments/20091209/a61227e7/attachment.html 


More information about the Ocfs2-users mailing list