On Wed, Jun 13, 2012 at 5:09 PM, <[email protected]> wrote: > Hi Andrew > > Obviously ... now after your response ;-) Sorry but I thougth it was > started by cman as it was with service corosync start ! > But I think the service pacemaker start is missing in the doc between > service cman start
Good point. My bad :) > and crm_mon -1 ;-) > http://www.clusterlabs.org/doc/en-US/Pacemaker/1.1/html/Clusters_from_Scratch/_bringing_the_cluster_online_with_cman.html > > But ok it starts now, I 'll test this stack. > Thanks a lot Andrew. > Alain > > > > De : Andrew Beekhof <[email protected]> > A : General Linux-HA mailing list <[email protected]> > Date : 13/06/2012 03:13 > Objet : Re: [Linux-HA] Pacemaker/corosync ==> Pacemaker/cman (on RH 6.2) > Envoyé par : [email protected] > > > > On Wed, Jun 13, 2012 at 12:41 AM, <[email protected]> wrote: >> Hi >> >> I tried to make a Pacemaker/cman stack working following the > instructions >> here : >> (on Red-Hat 6.2) >> >> So I stopped corosync and Pacemaker >> I remove the corosync.conf >> (and there were no /etc/corosync/service/pcmk file) >> >> I've patched the cman.conf : >> sed -i.sed "s/.*CMAN_QUORUM_TIMEOUT=.*/CMAN_QUORUM_TIMEOUT=0/g" >> /etc/sysconfig/cman >> >> I create the /etc/cluster/cluster.conf (and put it on both nodes chili2 > & >> chili3): >> <?xml version="1.0"?> >> <cluster config_version="1" name="chili2_chili3"> >> <logging debug="off"/> >> <clusternodes> >> <clusternode name="chili2" nodeid="1"> >> <fence> >> <method name="pcmk-redirect"> >> <device name="pcmk" port="chili2"/> >> </method> >> </fence> >> </clusternode> >> <clusternode name="chili3" nodeid="2"> >> <fence> >> <method name="pcmk-redirect"> >> <device name="pcmk" port="chili3"/> >> </method> >> </fence> >> </clusternode> >> </clusternodes> >> <fencedevices> >> <fencedevice name="pcmk" agent="fence_pcmk"/> >> </fencedevices> >> </cluster> >> >> but when I start cman, all daemon start successfully, >> Starting cluster: >> Checking if cluster has been disabled at boot... [ OK ] >> Checking Network Manager... [ OK ] >> Global setup... [ OK ] >> Loading kernel modules... [ OK ] >> Mounting configfs... [ OK ] >> Starting cman... [ OK ] >> Waiting for quorum... [ OK ] >> Starting fenced... [ OK ] >> Starting dlm_controld... [ OK ] >> Starting gfs_controld... [ OK ] >> Unfencing self... [ OK ] >> Joining fence domain... [ OK ] >> and I got : >> cman_tool nodes >> Node Sts Inc Joined Name >> 1 M 16 2012-06-12 15:20:53 chili2 >> 2 M 20 2012-06-12 15:30:27 chili3 >> >> but : >> crm_mon -1 >> Connection to cluster failed: connection failed >> >> I can't find what I have missed ... > > service pacemaker start :-) > >> Except if it is not expected to work on 6.2 ? >> >> I have installed the following rpms : >> openais-1.1.1-7.bl6.x86_64.rpm >> openaislib-1.1.1-7.bl6.x86_64.rpm >> modcluster-0.16.2-10.bl6.x86_64.rpm >> ricci-0.16.2-35.bl6.x86_64.rpm >> fence-virtd-checkpoint-0.2.1-8.bl6.x86_64.rpm >> fence-virtd-multicast-0.2.1-8.bl6.x86_64.rpm >> fence-virtd-0.2.1-8.bl6.x86_64.rpm >> fence-virt-0.2.1-8.bl6.x86_64.rpm >> (but not gfs2 and ocfs2 as I don't need them) >> >> Thanks for help >> Alain >> _______________________________________________ >> Linux-HA mailing list >> [email protected] >> http://lists.linux-ha.org/mailman/listinfo/linux-ha >> See also: http://linux-ha.org/ReportingProblems > _______________________________________________ > Linux-HA mailing list > [email protected] > http://lists.linux-ha.org/mailman/listinfo/linux-ha > See also: http://linux-ha.org/ReportingProblems > > _______________________________________________ > Linux-HA mailing list > [email protected] > http://lists.linux-ha.org/mailman/listinfo/linux-ha > See also: http://linux-ha.org/ReportingProblems _______________________________________________ Linux-HA mailing list [email protected] http://lists.linux-ha.org/mailman/listinfo/linux-ha See also: http://linux-ha.org/ReportingProblems
