<!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>
On Tue, 2007-04-24 at 11:07 +0200, Lars Ellenberg wrote:
<BLOCKQUOTE TYPE=CITE>
<PRE>
<FONT COLOR="#000000">On Mon, Apr 23, 2007 at 02:39:16PM -0400, Doug Knight wrote:</FONT>
<FONT COLOR="#000000">&gt; Hey Lars,</FONT>

<FONT COLOR="#000000">please read the last line of my sig... :)</FONT>

</PRE>
</BLOCKQUOTE>
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...<BR>
<BR>
<BLOCKQUOTE TYPE=CITE>
<PRE>
<FONT COLOR="#000000">&gt; Quick question: Comparing the printf text in your patch to the various</FONT>
<FONT COLOR="#000000">&gt; checks in the drbd ocf script, should the patch be printf'ing &quot;Not</FONT>
<FONT COLOR="#000000">&gt; configured&quot; as the script is checking for (DRBD_STATE_LOCAL checks)? If</FONT>
<FONT COLOR="#000000">&gt; these should match, then I'd actually prefer to change the checks in the</FONT>
<FONT COLOR="#000000">&gt; ocf script to match your patch (I like not having the embedded blank). </FONT>
<FONT COLOR="#000000">&gt; </FONT>
<FONT COLOR="#000000">&gt; Doug</FONT>

<FONT COLOR="#000000">I think the 0.7 drbdsetup reported &quot;Not configured&quot;.</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 &quot;Unconfigured&quot;.</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 &quot;Unconfigured&quot;.</FONT>


</PRE>
</BLOCKQUOTE>
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 ;)<BR>
<BR>
Thanks!
</BODY>
</HTML>