Keep Server Online
If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.
or
A donation makes a contribution towards the costs, the time and effort that's going in this site and building.
Thank You! Steffen
Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
| |
|
Topic: Apache in Hot-StandBy Mode - Clustering |
|
Author |
|
r4k3sh
Joined: 02 Jun 2011 Posts: 1
|
Posted: Thu 02 Jun '11 5:56 Post subject: Apache in Hot-StandBy Mode - Clustering |
|
|
Hello All,
This is my first post so I am not sure if this is the right forum to ask questions on server hot standby. I have a requirement for making servers hot stand by. The requirement is:
Have 2 servers running windows sbs server (Currently stand alone mode running Apache Tomcat)
Need to make these hot-standby. If one goes down, the other must get up and running.
Tried mod_jk connector, but it does not work if the load balancer server goes down.
Have no idea about how to make the data shared between these servers.
I would really appreciate your help. Thanks,
Rakesh |
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7371 Location: Germany, Next to Hamburg
|
Posted: Thu 14 Jul '11 20:40 Post subject: |
|
|
Code: |
<Proxy balancer://hotcluster>
BalancerMember ajp://1.2.3.4:8009 loadfactor=1
BalancerMember ajp://1.2.3.5:8009 loadfactor=2
# The below is the hot standby
BalancerMember ajp://1.2.3.6:8009 status=+H
ProxySet lbmethod=bytraffic
</Proxy>
ProxyPass / balancer://hotcluster/
|
|
|
Back to top |
|
|
|
|
|
|