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

Re: [Linux-cluster] newbie questions



ok, one last question, I hope... im following the directions at
http://www.redhat.com/docs/manuals/csgfs/browse/rh-cs-en/s1-apache-inshttpd.html
to set up apache as a test... and I cannot see that apache gets started on either of my cluster 
nodes (only 2)
the ip address ive configured it as is an unused ip address in the subnet that both boxes are 
on. how/where can I troubleshoot this? I dont see anything in the logs about the service trying 
to start.  here is my cluster.config


<?xml version="1.0"?>
<cluster config_version="22" name="progressive">
        <fence_daemon clean_start="0" post_fail_delay="0" post_join_delay="3"/>
        <clusternodes>
                <clusternode name="tf1" votes="1">
                        <fence>
                                <method name="1">
                                        <device name="apc_power_switch" option="off" port="1" 
switch="1"/>
                                        <device name="apc_power_switch" option="off" port="2" 
switch="1"/>
                                        <device name="apc_power_switch" option="on" port="1" 
switch="1"/>
                                        <device name="apc_power_switch" option="on" port="2" 
switch="1"/>
                                </method>
                        </fence>
                </clusternode>
                <clusternode name="tf2" votes="1">
                        <fence>
                                <method name="1">
                                        <device name="apc_power_switch" option="off" port="3" 
switch="1"/>
                                        <device name="apc_power_switch" option="off" port="4" 
switch="1"/>
                                        <device name="apc_power_switch" option="on" port="3" 
switch="1"/>
                                        <device name="apc_power_switch" option="on" port="4" 
switch="1"/>
                                </method>
                        </fence>
                </clusternode>
        </clusternodes>
        <cman expected_votes="1" two_node="1"/>
        <fencedevices>
                <fencedevice agent="fence_apc" ipaddr="192.168.1.8" login="apc" 
name="apc_power_switch" passwd="apc"/>
        </fencedevices>
        <rm>
                <failoverdomains>
                        <failoverdomain name="httpd" ordered="1" restricted="1">
                                <failoverdomainnode name="tf1" priority="1"/>
                                <failoverdomainnode name="tf2" priority="2"/>
                        </failoverdomain>
                </failoverdomains>
                <resources>
                        <script file="/etc/init.d/httpd" name="cluster_apache"/>
                        <fs device="/dev/mapper/diskarray-lv1" fstype="ext3" 
mountpoint="/mnt/gfs/htdocs" name="apache_content"/>
                        <ip address="192.168.1.7" monitor_link="1"/>
                </resources>
                <service autostart="1" domain="httpd" name="Apache Service">
                        <script ref="cluster_apache"/>
                        <fs ref="apache_content"/>
                        <ip ref="192.168.1.7"/>
                </service>
        </rm>
</cluster>


ooh the other thing is that I had to lie about the filesystem in which it lives, it only gave 
me the ext2/ext3 options, (i chose ext3) but its on a gfs partition.

Jason


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