[Linux-cluster] Conga issue
Scott Becker
scottb at bxwa.com
Tue Nov 13 19:47:17 UTC 2007
Click here to see what I entered for both nodes (port node differed):
http://www.fastbid.net/fence.jpg
When I looked back at the configuration in luci I saw this:
http://www.fastbid.net/fence3.jpg
At one point I saw four entries under main and another four entries
under backup.
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.
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.
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.
Perhaps the parsing code in luci (or wherever it's being parsed) is
confused by the ordering:
<device name="RackPDU1" option="off" port="3"/>
<device name="RackPDU2" option="off" port="3"/>
<device name="RackPDU1" option="on" port="3"/>
<device name="RackPDU2" option="on" port="3"/>
Since I manually fixed cluster.conf, luci now displays four entires for
both nodes.
I just reordered the entries in cluster.conf like this:
<device name="RackPDU1" option="off" port="3"/>
<device name="RackPDU1" option="on" port="3"/>
<device name="RackPDU2" option="off" port="3"/>
<device name="RackPDU2" option="on" port="3"/>
to group them in on off pairs and now luci displays just the two. :)
thanks
scottb
Ryan McCabe wrote:
> On Tue, Nov 13, 2007 at 07:55:56AM -0800, Scott Becker wrote:
>
>> I just updated to RHEL 5.1. The release notes stated there was a
>> smoother layout of the fences screen.
>>
>
> 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
> Linux-cluster at redhat.com
> https://www.redhat.com/mailman/listinfo/linux-cluster
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/linux-cluster/attachments/20071113/d422da7e/attachment.htm>
More information about the Linux-cluster
mailing list