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

[Linux-cluster] cluster problem rhel as 4.2 and



Hi,

I have setup a simple cluster. Everything goes fine .. Cluster services
get started and I can manually restart cluster service without any
problem. But if I manually edit /etc/httpd/conf/httpd.conf  (to make it
not to work by rhcs) normally when I try to restart cluster it doesn´t
work but when I re-edit httpd.conf so cluster can work I can´t start
cluster. I always get error whatever I do until I reboot my system. I use
manual fencing to test it but I think it makes no problem since I don´t
use a shared storage.

I have found that the problem seems to be /etc/rc.d/init.d/cman script.
When I try to restart it it tries to reload dlm module. I use RHEL AS 4.2
(no up2date was done) and rhcs that can be downloaded from rhn (as iso). I
thínk this is a bug and I want to learn if this was resolved. By the way I
have added different services (vsftpd, nfs ... and proved that it is not
related with httpd ....)

Here is my cluster.conf:

<?xml version="1.0"?>
<cluster config_version="57" name="nns">
        <fence_daemon clean_start="0" post_fail_delay="0"
post_join_delay="3"/>
        <clusternodes>
                <clusternode name="node1" votes="1">
                        <fence/>
                </clusternode>
                <clusternode name="node2" votes="1">
                        <fence/>
                </clusternode>
        </clusternodes>
        <cman expected_votes="1" two_node="1"/>
        <fencedevices>
                <fencedevice agent="fence_manual" name="fence"/>
        </fencedevices>
        <rm>
                <failoverdomains>
                        <failoverdomain name="failover" ordered="0"
restricted="1">
                                <failoverdomainnode name="node1"
priority="1"/>
                                <failoverdomainnode name="node2"
priority="1"/>
                        </failoverdomain>
                </failoverdomains>
                <resources>
                        <script file="/etc/rc.d/init.d/httpd" name="httpd"/>
                        <ip address="192.168.2.100" monitor_link="1"/>
                        <netfs export="/nfs" force_unmount="1"
fstype="nfs" host="192.168.2.103"
mountpoint="/cluster" name="barisnfs" options=""/>
                </resources>
                <service autostart="1" domain="failover" name="http">
                        <script ref="httpd"/>
                        <ip ref="192.168.2.100"/>
                </service>
        </rm>
</cluster>



-- 
Omer Faruk Sen
http://www.faruk.net


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