<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Click here to see what I entered for both nodes (port node differed):<br>
<a class="moz-txt-link-freetext" href="http://www.fastbid.net/fence.jpg">http://www.fastbid.net/fence.jpg</a><br>
<br>
When I looked back at the configuration in luci I saw this:<br>
<a class="moz-txt-link-freetext"
 href="http://www.fastbid.net/fence3.jpg">http://www.fastbid.net/fence3.jpg</a><br>
<br>
At one point I saw four entries under main and another four entries
under backup.<br>
<br>
My understanding of the desired effect is that luci creates and shows
one entry onscreen for each on and off pair of entries in cluster.conf.<br>
<br>
It appears that it is not consistently creating the pair and it is
definitely displaying them wrong. Each on and off is shown as a
redundant entry with no indication of "On" or "Off". Which is why I was
confused about whether or not the pair was needed.<br>
<br>
I'm still not sure 'why' the pair is needed, it's an implementation
detail of fencing. Do some fencing devices have different commands for
turning back on? Or does it just allow the ability to configure "auto
fence off, but only manual fence on" by deleting the on items. If this
is the case then it seems that there should be a check box in luci to
that effect.<br>
<br>
Perhaps the parsing code in luci (or wherever it's being parsed) is
confused by the ordering:<br>
 <device name="RackPDU1" option="off" port="3"/>
<br>
 <device name="RackPDU2" option="off" port="3"/>
<br>
 <device name="RackPDU1" option="on" port="3"/>
<br>
 <device name="RackPDU2" option="on" port="3"/>
<br>
<br>
Since I manually fixed cluster.conf, luci now displays four entires for
both nodes.<br>
<br>
I just reordered the entries in cluster.conf like this:<br>
 <device name="RackPDU1" option="off" port="3"/>
<br>
 <device name="RackPDU1" option="on" port="3"/>
<br>
 <device name="RackPDU2" option="off" port="3"/>
<br>
 <device name="RackPDU2" option="on" port="3"/>
<br>
<br>
to group them in on off pairs and now luci displays just the two.  :)<br>
<br>
    thanks<br>
    scottb<br>
<br>
<br>
Ryan McCabe wrote:
<blockquote cite="mid:20071113172210.GB12937@redhat.com" type="cite">
  <pre wrap="">On Tue, Nov 13, 2007 at 07:55:56AM -0800, Scott Becker wrote:
  </pre>
  <blockquote type="cite">
    <pre wrap="">I just updated to RHEL 5.1. The release notes stated there was a 
smoother layout of the fences screen.
    </pre>
  </blockquote>
  <pre wrap=""><!---->
For node 3, unless I'm missing something, the cluster.conf that conga
produced is correct. Because there are dual power supplies, both need
to be turned off before either is turned back on to ensure the machine
powers off. After both are off, both can be turned back on. The front-end
hides this detail from the user.

Did you enter identical fence configurations (except for the port numbers)
in conga for nodes 2 and 3? If so, then they both ought to look like
node 3's configuration, and you've hit a bug; node 2 will be fenced
correctly, but it won't be brought back up.


Ryan

--
Linux-cluster mailing list
<a class="moz-txt-link-abbreviated"
 href="mailto:Linux-cluster@redhat.com">Linux-cluster@redhat.com</a>
<a class="moz-txt-link-freetext"
 href="https://www.redhat.com/mailman/listinfo/linux-cluster">https://www.redhat.com/mailman/listinfo/linux-cluster</a>
  </pre>
</blockquote>
</body>
</html>