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: Rotating Servers? |
|
Author |
|
xps400mediacenter
Joined: 07 Jun 2009 Posts: 4
|
Posted: Sun 07 Jun '09 21:53 Post subject: Rotating Servers? |
|
|
Hello,
Im not sure if its possible, but it sounds like it can be. Anyway, i have 2 servers on the same network (they are clones of each other) and i would like to have them rotate or switch. its hard to describe, but keep 1 on during the day, and 1 on during the night. and so automatically when someone tries to access my servers, it will go to which ever one is online at the moment. That way, if one is off at night, or some thing happens and it has to be taken offline, the people connecting, wont know which server they are connecting to..I hope this makes sense..If you have any questions, just ask |
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7371 Location: Germany, Next to Hamburg
|
Posted: Mon 08 Jun '09 9:59 Post subject: |
|
|
I think you search for a loadbalancer or a router which switches the internal IP by time.
Well if you had a third machine you could set up a loadbalancer with apache which choose the second server if the first one is offline.
See http://httpd.apache.org/docs/2.2/mod/mod_proxy_balancer.html
Also in the forum some examples.
if there is still a question ask again. |
|
Back to top |
|
xps400mediacenter
Joined: 07 Jun 2009 Posts: 4
|
Posted: Mon 08 Jun '09 18:12 Post subject: |
|
|
[quote="James Blond"]
Well if you had a third machine you could set up a loadbalancer with apache which choose the second server if the first one is offline.
quote]
This is what i was trying to explain, would i have to buy extra hardware? |
|
Back to top |
|
xps400mediacenter
Joined: 07 Jun 2009 Posts: 4
|
Posted: Mon 08 Jun '09 18:13 Post subject: |
|
|
Ok, I went to the link you gave, and its kinda confusing, I just started my servers a few days ago, but im not that formiliar with the mod_proxy, and other variations, is there anyway you give me like an overview |
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7371 Location: Germany, Next to Hamburg
|
Posted: Tue 09 Jun '09 9:43 Post subject: |
|
|
One solution is a loadlancer router. Yes that would be extra hardware.
Second solution mod_proxy_balancer requires another sever / pc. But that can be an older one, cause it just forwards the pages. |
|
Back to top |
|
|
|
|
|
|