Basically, you have one IP address that is used by two hosts, active one
only one at a time. If one service fails, the other node take the IP
thanks to keepalived.

 

This works only if you're on the same network segment.

 

Google on "vrrp keepalived apache" and you'll get this first link:
http://www.cyberciti.biz/faq/rhel-centos-fedora-keepalived-lvs-cluster-c
onfiguration/

 

 

 

 

 

 

 

From: Harsimranjit singh Kler [mailto:simran...@gmail.com] 
Sent: Monday 6 February 2012 10:53
To: DENIS Laurent
Cc: users@httpd.apache.org
Subject: Re: [users@httpd] High availabilty through Apache httpd

 

Intially i want failover setup only with two node

 

can you explain little about vrrp + keepalived.  else some reference
link how i can achive it step by step(on linux setup only)

?

On Mon, Feb 6, 2012 at 3:12 PM, DENIS Laurent
<laurent.de...@mail.mobistar.be> wrote:

If you just want failover on the head apache: use two nodes with vrrp +
keepalived (if you're on linux) to monitor your service.

 

If you need load-balancing, then you should use two VRRP addresses with
DNS round-robin. But you'll stumble on client-server persistence problem
if you don't use tomcat clustering.

 

 

From: Jaco Kroon [mailto:j...@uls.co.za] 
Sent: Monday 6 February 2012 10:24
To: users@httpd.apache.org
Cc: Harsimranjit singh Kler
Subject: Re: [users@httpd] High availabilty through Apache httpd

 

Not that I'm aware of but someone else on the list may very well know
something I don't.

May I inquire as to why not?

Kind Regards,
Jaco

On 06/02/12 11:17, Harsimranjit singh Kler wrote: 


Its is not possible for me  to use "haproxy" in my setup. Is there
alternate to use with Apache only?


 

On Mon, Feb 6, 2012 at 2:43 PM, Jaco Kroon <j...@uls.co.za> wrote:

Hi,

Perhaps look at "haproxy" instead of apache.  Run it on two or more
machines with multiple IPs and have then distribute the load to your
Tomcat worker nodes.

Kind Regards,
Jaco 



On 06/02/12 11:09, Harsimranjit singh Kler wrote:

Hi
How i can make apache httpd High Available(HA)?.If i want to achive with
out hardware based HA.
I have httpd 2.2.17 on one Phsical Node(IP xxx.xxx.xxx) and Six Tomcat
worker on other 6 Phsical Node.Now if IP xxx.xxx.xxx goes down my
application completly down.?
regards
Harsimran

 

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server
Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
 "   from the digest: users-digest-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org

 

 

*****DISCLAIMER*****

 

This electronic transmission (and any attached document) is intended 

exclusively for the person or entity to whom it is addressed and may 

contain confidential and/or privileged material. 

Any disclosure, copying, distribution or other action based upon 

the information by persons or entities other than the intended recipient

is prohibited. If you receive this message in error, please contact the 

sender and delete the material from any and all computers. 

Mobistar does not warrant a proper and complete transmission of this

information, nor does it accept liability for any delays.

 

*****END OF DISCLAIMER*****

 


*****DISCLAIMER*****

This electronic transmission (and any attached document) is intended 
exclusively for the person or entity to whom it is addressed and may 
contain confidential and/or privileged material. 
Any disclosure, copying, distribution or other action  based upon 
the information by persons or entities other than the intended recipient
is prohibited. If you receive this message in error, please contact the 
sender and delete the material from any and all computers. 
Mobistar does not warrant a proper and complete transmission of this
information, nor does it accept liability for any delays.

*****END OF DISCLAIMER*****

Reply via email to