From: <go...@bo...> - 2008-02-12 11:27:17
|
On Tue, 12 Feb 2008, Marc Grimme wrote: >>>> I've been trying to track down the issue of a cluster with: >>>> two_node="1" >>>> expected_vodes="1" >>>> not coming up as quorate with just one node, and as far as I can tell, >>>> it is because /usr/bin/cl_checknodes is returning the wrong value. >>>> >>>> I think this bit around line 72 is causing the problem: >>>> >>>> if len(nodeelements) == 1: >>>> quorum=1 >>>> else: >>>> quorum=len(nodeelements)/2+1 >>>> >>>> Should that not instead be something like: >>>> >>>> if len(nodeelements) <= 2: >>>> quorum=1 >>>> else: >>>> quorum=len(nodeelements)/2+1 >>>> >>>> >>>> Please advise. >>> >>> Basically that wasn't the idea behind it. We wanted to prevent a cluster >>> with more then one node to not coming up with splitbrain when both nodes >>> are powered up initially. It's basically a way to wait until both nodes >>> are up and running. We didn't want to risk doublemounts for users not >>> being very sensitive with booting machines or just first level supporters >>> don't bothering much about data consistency. >>> >>> So for you I would be just add the bootoption quorumack if you don't have >>> anybody else being able to reboot/fence your clusternodes without much >>> experience. >> >> OK, that makes sense. Where should the "quorumack" option be? In >> cluster.conf? If so, which tag/section? Or is it a kernel boot parameter >> option? > > It's only a bootparm ;-). So, just something like this in grub.conf is sufficient? kernel /2.6.18-53.1.6.el5/vmlinuz ro quorumack Gordan |