Redhat cluster for apache unknown state 110
Hi Guru,
I am setting up apache web server in redhat linux 6.5. I have tested node1 and node2 it was working fine and again i trying common IP for both node. Its not working.
I am getting following error
Restarting cluster "simha-cluster" service "Apache service for cluster" from node "simha1.blr.asicdesigners.com" failed: Apache service for cluster is in unknown state 118
I am using luci (conga GUI)
node1 /etc/hosts
127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4
::1 localhost localhost.localdomain localhost6 localhost6.localdomain6
10.193.185.76 simha1.blr.asicdesigners.com simha1
10.193.185.78 simha2.blr.asicdesigners.com simha2
10.193.185.80 simha.blr.asicdesigners.com simha
Node2 /etc/hosts/
127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4
::1 localhost localhost.localdomain localhost6 localhost6.localdomain6
10.193.185.78 simha2.blr.asicdesigners.com simha2
10.193.185.76 simha1.blr.asicdesigners.com simha1
10.193.185.80 simha.blr.asicdesigners.com simha
[root@simha2 ~]# clustat
Cluster Status for simha-cluster @ Thu Jun 25 22:10:51 2015
Member Status: Quorate
Member Name ID Status
------ ---- ---- ------
simha1 1 Online, rgmanager
simha2 2 Online, Local, rgmanager
Service Name Owner (Last) State
------- ---- ----- ------ -----
service:Apache service for clu none recovering
cluster config
<?xml version="1.0"?>
<cluster config_version="46" name="simha-cluster">
<clusternodes>
<clusternode name="simha1" nodeid="1">
<fence>
<method name="Method1">
<device name="simha1-ipmi"/>
</method>
</fence>
</clusternode>
<clusternode name="simha2" nodeid="2">
<fence>
<method name="Method1">
<device name="simha2-ipmi"/>
</method>
</fence>
</clusternode>
</clusternodes>
<cman expected_votes="1" two_node="1"/>
<fencedevices>
<fencedevice agent="fence_ipmilan" ipaddr="10.193.185.77" login="ADMIN" name="simha1-ipmi" passwd="cdrom888" power_wait="5"/>
<fencedevice agent="fence_ipmilan" ipaddr="10.193.185.79" login="ADMIN" name="simha2-ipmi" passwd="cdrom888" power_wait="5"/>
</fencedevices>
<rm>
<failoverdomains>
<failoverdomain name="simha1-simha2" ordered="1">
<failoverdomainnode name="simha1" priority="1"/>
<failoverdomainnode name="simha2" priority="2"/>
</failoverdomain>
</failoverdomains>
<resources>
<fs device="/dev/mapper/mpathep1" fsid="33529" mountpoint="/var/www/html" name="web directory root"/>
<ip address="10.193.185.80/22" sleeptime="10"/>
<apache config_file="conf/httpd.conf" name="apache for cluster" server_root="/etc/httpd" shutdown_wait="0"/>
</resources>
<service domain="simha1-simha2" name="Apache service for cluster" recovery="relocate">
<ip ref="10.193.185.80/22"/>
<fs ref="web directory root"/>
<apache ref="apache for cluster"/>
</service>
</rm>
</cluster>
Please help me to resolve this issue.
|