[Linux-cluster] cman_too join fails

Katriel Traum katriel at penguin-it.co.il
Tue May 15 12:18:45 UTC 2007


cluster.conf was created by system-config-cluster and passed an xmllint
chek.
cluser.conf:
<?xml version="1.0" ?>
<cluster alias="pit_clu" config_version="3" name="rhel5-test-cluster">
        <fence_daemon post_fail_delay="0" post_join_delay="3"/>
        <clusternodes>
                <clusternode name="r5-nd1" nodeid="1" votes="1">
                        <fence>
                                <method name="1">
                                        <device name="man_fence"
nodename="r5-nd1"/>
                                </method>
                        </fence>
                </clusternode>
                <clusternode name="r5-nd2" nodeid="2" votes="1">
                        <fence>
                                <method name="1">
                                        <device name="man_fence"
nodename="r5-nd2"/>
                                </method>
                        </fence>
                </clusternode>
        </clusternodes>
        <cman expected_votes="1" two_node="1"/>
        <fencedevices>
                <fencedevice agent="fence_manual" name="man_fence"/>
        </fencedevices>
        <rm>
                <failoverdomains/>
                <resources>
                        <ip address="10.40.0.45" monitor_link="1"/>
                        <script file="/etc/init.d/httpd" name="httpd"/>
                </resources>
                <service autostart="1" name="apache">
                        <ip ref="10.40.0.45">
                                <script ref="httpd"/>
                        </ip>
                </service>
        </rm>
</cluster>

cman_tool join -d gives no extra information on the subject.
Could this be because I'm running inside a VM?

Any clues appreciated.
+Katriel

Patrick Caulfield wrote:
> Katriel Traum wrote:
>> Hello.
>> I have a cluster that won't start. RHEL5 as a Xen VM, running
>> 2.6.18-8.el5xen
>> startup fails with cman_tool join with the error:
>> "Cannot start, ais may already be running"
>> "Error reading config from CCS"
>>
>> from an strace it seems that cman_tool forks to run aisexec which fails
>> on the "Error reading config from CCS".
> 
> 
> See if "cman_tool join -d" gives any more information, also check syslog for
> other messages.
> 
> It sounds like the information in cluster.conf is incorrect somehow.
> 

-- 
Katriel Traum
CTO, Penguin IT
RHCE, CLP
Tel: 03-9411224
Mobile: 054-6789953
http://www.penguin-it.co.il




More information about the Linux-cluster mailing list