Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Linux-HA: Users

Heartbeat and Apache

 

 

Linux-HA users RSS feed   Index | Next | Previous | View Threaded


cmay at stonemor

Dec 2, 2009, 12:19 PM

Post #1 of 2 (482 views)
Permalink
Heartbeat and Apache

I have setup a basic two node cluster for apache failover.



Ha.cf

use_logd yes

logfacility daemon

node hb1

node hb2



keepalive 3



warntime 5



deadtime 10

auto_failback on

ucast eth0 172.16.101.239

ucast eth0 172.16.101.136

crm yes



Then the haresources file which I put the floating ip with node1 as
primary

hb1 172.16.101.113 apache



This will work and start apache but I cant get it to listen on port 80

If I edit my httpd.conf file and add a Listen directive of

Listen 172.16.101.113:80

Or even just 80

Then Heartbeat fails to launch. Any help would be appreciated.







Thanks





Chris May

Sr. Linux Admin

Stonemor Partners

215.826.2944

cmay [at] stonemor




_______________________________________________
Linux-HA mailing list
Linux-HA [at] lists
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems


cmay at stonemor

Dec 2, 2009, 12:45 PM

Post #2 of 2 (436 views)
Permalink
Re: Heartbeat and Apache [In reply to]

The error I get in the messages file is.


hb1 apache[18714]: [18782]: ERROR: command failed: sh -c wget -O- -q -L
--bind-address=127.0.0.1 http://*:80 | tr '\012' ' ' | grep -Ei "</
*body *>[[:space:]]*</ *html *>" >/dev/null



-----Original Message-----
From: Chris May
Sent: Wednesday, December 02, 2009 3:20 PM
To: linux-ha
Subject: [Linux-HA] Heartbeat and Apache

I have setup a basic two node cluster for apache failover.



Ha.cf

use_logd yes

logfacility daemon

node hb1

node hb2



keepalive 3



warntime 5



deadtime 10

auto_failback on

ucast eth0 172.16.101.239

ucast eth0 172.16.101.136

crm yes



Then the haresources file which I put the floating ip with node1 as
primary

hb1 172.16.101.113 apache



This will work and start apache but I cant get it to listen on port 80

If I edit my httpd.conf file and add a Listen directive of

Listen 172.16.101.113:80

Or even just 80

Then Heartbeat fails to launch. Any help would be appreciated.







Thanks





Chris May

Sr. Linux Admin

Stonemor Partners

215.826.2944

cmay [at] stonemor




_______________________________________________
Linux-HA mailing list
Linux-HA [at] lists
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems


_______________________________________________
Linux-HA mailing list
Linux-HA [at] lists
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems

Linux-HA users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.