LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 06-25-2015, 11:44 AM   #1
asteroid4u
Member
 
Registered: Jun 2015
Posts: 58

Rep: Reputation: Disabled
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.
 
  


Reply

Tags
cluster, high availability, linux cluster, red hat linux



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
erreur unknown state 118 in cluster adel87 Linux - Server 0 04-28-2015 01:44 PM
Redhat Cluster Fencing state ravindert Linux - Software 1 04-23-2013 01:49 AM
cman service stucks during booting of cluster node (RedHat Cluster Suite) zama Linux - Software 0 07-09-2012 08:50 AM
Create N+1 cluster in redhat using redhat cluster software ranadeep Linux - Enterprise 2 04-03-2010 08:45 PM
unknown authorization state shawn_db Linux - Software 0 09-24-2005 11:16 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 11:14 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration