Re: cman_too join fails

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

--
Linux-cluster mailing list
Linux-cluster@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/linux-cluster

[Index of Archives]     [Corosync Cluster Engine]     [GFS]     [Linux Virtualization]     [Centos Virtualization]     [Centos]     [Linux RAID]     [Fedora Users]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite Camping]

  Powered by Linux