Hi all..
I am trying 2 node High avialable Apache web server cluster in RHEL 5..
My /etc/cluster/cluster.conf file is :
Code:
<?xml version="1.0" ?>
<cluster alias="Apache_cluster" config_version="14" name="Apache_cluster">
<fence_daemon post_fail_delay="0" post_join_delay="3"/>
<clusternodes>
<clusternode name="linuxcoe4.india.com" nodeid="1" votes="1">
<fence>
<method name="1">
<device name="test" nodename="linuxcoe4.india.com"/>
</method>
</fence>
</clusternode>
<clusternode name="lcoe123427.india.com" nodeid="2" votes="1">
<fence>
<method name="1">
<device name="test" nodename="lcoe123427.india.com"/>
</method>
</fence>
</clusternode>
</clusternodes>
<cman expected_votes="1" two_node="1"/>
<fencedevices>
<fencedevice agent="fence_manual" name="test"/>
</fencedevices>
<rm>
<failoverdomains/>
<resources>
<apache config_file="" httpd_options="" name="httpd" server_root="" shutdown_wait=""/>
<ip address="172.17.127.200" monitor_link="1"/>
<script file="/etc/init.d/httpd" name="Script"/>
</resources>
<service autostart="1" name="ipaddress" recovery="restart">
<ip ref="172.17.127.200"/>
</service>
</rm>
</cluster>
when i open system-config-cluster
I am not able to see the services running in Cluster Manager i.e., httpd
Also when i restart cman i am getting following error
Code:
Stopping cluster:
Stopping fencing... done
Stopping cman... failed
/usr/sbin/cman_tool: Error leaving cluster: Device or resource busy
[FAILED]
Starting cluster:
Enabling workaround for Xend bridged networking... done
Loading modules... done
Mounting configfs... done
Starting ccsd... done
Starting cman... done
Starting daemons... done
Starting fencing... done
[ OK ]
I am able to ping both the nodes from each other..
Can anyone please help me....