Description of problem: configuring fence_xvmd in the cluster wide configuration will never lead to cman starting fence_xvmd because the init script checks for a running xend, which will always fail as the cman init script is started way earlier than cman. Version-Release number of selected component (if applicable): any (of my knowledge are the packages that come with RHEL 5u0 and 5u1) How reproducible: very :) Steps to Reproduce: configure <fence_xvmd/> in the cluster.conf, reboot a node. Additional info: here is my last mail including Lons most recent answer: Lon Hohberger schrieb: > For now, just put fence_xvmd in /etc/rc.d/rc.local > > File a bug against cman and assign it to me. It fell off my radar. It > looks like basically, we should - > > * start fence_xvmd if enabled in the config (don't do the xm list check) > > * fence_xvmd should wait (maybe for some timeout - 5 minutes? 10 > minutes?) for xend to come up, and die if it doesn't start (so as to not > keep running for no reason). > why would it need a timeout to die? apparently, if someone put that into his cluster config it should be running wether xend comes up or not, maybe throw a warning. what if xend doesn't come up for a reason but a manual fix corrected that and then comes up but after fence_xvmds timeout. you'd have to either manually start fence_xvmd or restart cman, wouldn't you? i think if it's configured it should just start. it would be smart to have it warn about missing xend every so minutes or sthg like that, though :) regards, johannes
> In 5.1, it seems to work even if xend hasn't started yet. > > It just sits there and does nothing until xend comes up - but it works. Joining multicast group ipv4_recv_sk: success, fd = 7 virConnectOpen: Connection refused My Node ID = 1 NOTICE: virConnectOpen(): Connection refused; cannot fence! NOTICE: virConnectOpen(): Connection refused; cannot fence! NOTICE: virConnectOpen(): Connection refused; cannot fence! NOTICE: virConnectOpen(): Connection refused; cannot fence! NOTICE: virConnectOpen(): Connection refused; cannot fence! ... repeats. (service xend start on another console) ... Domain UUID Owner State ------ ---- ----- ----- Domain-0 00000000-0000-0000-0000-000000000000 00001 00001 frederick ef84f5cf-8589-41f6-8728-ac5170c42cbc 00001 00002 molly d1cf68a4-0bdf-5a88-81a7-5c41976147f6 00001 00002 Storing frederick Storing molly Sorry for the confusion.
oh my fault - it's just the dom0 check
Created attachment 277061 [details] Remove bad dom0 check.
Workaround: * Put fence_xvmd in /etc/rc.d/rc.local * Comment out line #192 (the domain-0 check) in /etc/init.d/cman
This request was evaluated by Red Hat Product Management for inclusion in a Red Hat Enterprise Linux maintenance release. Product Management has requested further review of this request by Red Hat Engineering, for potential inclusion in a Red Hat Enterprise Linux Update release for currently deployed products. This request is not yet committed for inclusion in an Update release.
An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on the solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHBA-2008-0347.html