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 ...
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