<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
<META NAME="GENERATOR" CONTENT="GtkHTML/3.12.0">
</HEAD>
<BODY>
Hi Lars,<BR>
I think I'm pretty close on getting the filesystem following drbd, but I've encountered a strange situation. drbd is running on both nodes, one indicating Secondary from the /proc/drbd file and Slave in heartbeat, the other Master and Primary. However, both show the other as Unknown. I'm able to ping successfully over the dedicated CAT6 cable between the nodes. Any idea why the two drbd processes wouldn't see each other?<BR>
<BR>
Doug<BR>
On Tue, 2007-04-24 at 08:00 -0400, Doug Knight wrote:<BR>
<BLOCKQUOTE TYPE=CITE>
<FONT COLOR="#000000">On Tue, 2007-04-24 at 11:07 +0200, Lars Ellenberg wrote: </FONT>
<BLOCKQUOTE TYPE=CITE>
<PRE>
<FONT COLOR="#000000">On Mon, Apr 23, 2007 at 02:39:16PM -0400, Doug Knight wrote:</FONT>
<FONT COLOR="#000000">> Hey Lars,</FONT>
<FONT COLOR="#000000">please read the last line of my sig... :)</FONT>
</PRE>
</BLOCKQUOTE>
<FONT COLOR="#000000">Sorry, I was jumping between email lists, and some of the others come in with a reply-to already set to the list, not the individual...</FONT><BR>
<BR>
<BLOCKQUOTE TYPE=CITE>
<PRE>
<FONT COLOR="#000000">> Quick question: Comparing the printf text in your patch to the various</FONT>
<FONT COLOR="#000000">> checks in the drbd ocf script, should the patch be printf'ing "Not</FONT>
<FONT COLOR="#000000">> configured" as the script is checking for (DRBD_STATE_LOCAL checks)? If</FONT>
<FONT COLOR="#000000">> these should match, then I'd actually prefer to change the checks in the</FONT>
<FONT COLOR="#000000">> ocf script to match your patch (I like not having the embedded blank). </FONT>
<FONT COLOR="#000000">> </FONT>
<FONT COLOR="#000000">> Doug</FONT>
<FONT COLOR="#000000">I think the 0.7 drbdsetup reported "Not configured".</FONT>
<FONT COLOR="#000000">So maybe we should stick with that?</FONT>
<FONT COLOR="#000000">but since scripts tailored for 0.7 are likely to be broken for 8.0</FONT>
<FONT COLOR="#000000">anyways, we could also change this to "Unconfigured".</FONT>
<FONT COLOR="#000000">I'm not sure yet, but I'm more for consistency with the /proc/drbd</FONT>
<FONT COLOR="#000000">output, so its probably going to be "Unconfigured".</FONT>
</PRE>
</BLOCKQUOTE>
<FONT COLOR="#000000">Good, I have already changed my script to look for Unconfigured, and now I can switch drbd back and forth between nodes using a Place constraint with no problem. Now, I'm working on tying the filesystem resource to it. I've got a couple of questions up on the HA-Linux list on that. There is so much overlap between the HA and the drbd work that sometimes its hard to tell which list I should send to (or just keeping track where I've asked what ;)</FONT><BR>
<BR>
<FONT COLOR="#000000">Thanks! </FONT>
<PRE>
<FONT COLOR="#000000">_______________________________________________</FONT>
<FONT COLOR="#000000">drbd-user mailing list</FONT>
<FONT COLOR="#000000"><A HREF="mailto:drbd-user@lists.linbit.com">drbd-user@lists.linbit.com</A></FONT>
<FONT COLOR="#000000"><A HREF="http://lists.linbit.com/mailman/listinfo/drbd-user">http://lists.linbit.com/mailman/listinfo/drbd-user</A></FONT>
</PRE>
</BLOCKQUOTE>
</BODY>
</HTML>