Hi Brem, Thanks for you answer. The problem was the qdiskd service not being started by CMAN. In my previous configuration, it was started by the CMAN startup script (located in init.d, it would start qdiskd if necessary) but this time the qdiskd service was configured to not start in system start-up (with chkconfig) so CMAN did not start it either. A strange behaviour/design decision, in my opinion. Now everything is solved and the multiple heuristic is working (I see the 2 ping processes working). I only need to check the "score" configuration to see if it is working properly. I plan to do it tomorrow. Cheers, Rafael El mié, 02-12-2009 a las 11:49 +0100, brem belguebli escribió: > Hi Rafael, > > Concerning your second point, have you initialized your > /dev/mpath/quorum device with mkqdisk ? > > Also, the qdisk daemon must be running if you want it to be > operationnal in your cluster. > > In my setup, everything is started manually, no automatic boot time > cluster start (safest option IMHO), and I use the following stepping: > > 1) start qdisk (service qdiskd start) > 2) start cman (service cman start) > 3) start rgmanager (service rgmanager start) > 4) wait untill the cluster is quorate (a shell loop) before starting clvmd > 5) start clvmd > > Output of clustat: > > > Cluster Status for rhcl1 @ Wed Dec 2 11:20:20 2009 > Member Status: Quorate > > Member Name ID Status > ------ ---- ---- ------ > node1.mydom 1 Online, Local, rgmanager > node2.mydom 2 Online, rgmanager > node3.mydom 3 Online, rgmanager > /dev/iscsi/storage.quorum 0 Online, Quorum > Disk <-- Qorum disk started... > > Service Name Owner (Last) > State > .... > > > [root@node1 ~]# ps -edf | grep qdisk > root 4409 1 0 Nov26 ? 00:04:00 qdiskd -Q > > > Concerning your point 1, you may address this by giving a different > score to each heuristic, but I clearly don't know if this is what it > intends to. > > Brem > Regards > > > 2009/12/2 Rafael Micó Miranda <rmicmirregs@xxxxxxxxx>: > > Hi all, > > > > As it can be found in qdiskd man page, it is allowed to use up to 10 > > different heuristics in one cluster. > > > > How is this specified into cluster.conf? I'm trying to make it work with > > the following piece of cluster.conf file: > > > > <quorumd device="/dev/mpath/quorum" interval="6" min_score="1" tko="10" > > votes="3"> > > <heuristic interval="3" program="ping -c3 -t2 10.240.199.1" score="1"/> > > <heuristic interval="3" program="ping -c3 -t2 10.240.199.47" > > score="1"/> > > </quorumd> > > > > My objective is to have 2 (or more) different heuristics which keep this > > node alive even if only one heuristic is OK. The cluster.conf file was > > created with system-config-cluster and later was edited by hand. > > > > The qdisk and heuristics are not working: > > 1.- system-config-cluster shows me a warning about an error related to > > some options not allowed into quorumd. I'm sorry i cannot be more > > specific right now, I could attach the exact message tomorrow. > > > > 2.- The cluster is operational, but using "clustat" i don't see the > > qdisk with its votes in the node list. The qdisk process is neither > > shown in the process list on the system. > > > > Is there somethin wrong? > > > > I'm using RHEL5.3 with: > > cman-2.0.98-1.el5.x86_64 > > openais-0.80.3-22.el5.x86_64 > > rgmanager-2.0.46-1.el5.x86_64 > > > > > > Thanks in advance. Cheers, > > > > Rafael > > > > > > -- > > Rafael Micó Miranda > > > > -- > > Linux-cluster mailing list > > Linux-cluster@xxxxxxxxxx > > https://www.redhat.com/mailman/listinfo/linux-cluster > > > > -- > Linux-cluster mailing list > Linux-cluster@xxxxxxxxxx > https://www.redhat.com/mailman/listinfo/linux-cluster -- Rafael Micó Miranda -- Linux-cluster mailing list Linux-cluster@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/linux-cluster