• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 756
  • Last Modified:

Suse 10, Apache2 load balance

Hi all,

I have two standalone webservers. I would like to confgiure for load balance without the use of additional hardware.

Is this possible? After searching i have found that is possible with HAproxy. Is it stable?
Any tutorial how can be done on Suse? Is any rpm available for Suse ?


Thanks
0
ampranti
Asked:
ampranti
  • 7
  • 4
  • 2
3 Solutions
 
TobiasCommented:
Hi !

Yes.

Like you have say it's possible.

It's seem stable and there are support for bug fix.

I don't have find one tutorial with suse.

Maybe you can use the rpm of opensuse.

Best Regards
0
 
Michael WorshamInfrastructure / Solutions ArchitectCommented:
In a perfect world, you will need a 3rd system to act as a front-end server to delegate the round-robin or distributed load technique between the two servers.

There are a couple of options, however, if budgeting resources are not available...

You can use an Apache module called 'backhand' which allows seamless redirection of HTTP requests from one web server to another. This redirection can be used to target machines with under-utilized resources, thus providing fine-grained, per-request load balancing of web requests.

http://www.backhand.org/mod_backhand/

---

Another option is via an Apache module called 'Proxy Balancer'...
http://httpd.apache.org/docs/2.2/mod/mod_proxy_balancer.html
0
 
amprantiAuthor Commented:
Finally it will be implemented with Round Robin DNS....

Even if i install HAproxy on one of two WebServers if it fails the Load Balance and FailOver will fail...
So i need at leat an extra server....
0
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
amprantiAuthor Commented:
Unfortunatelly RoundRobin will loose the half users when one server goes down.

What other solutions are out there?
0
 
TobiasCommented:
Hi !

Maybe to do one sync between the two server.
0
 
amprantiAuthor Commented:
No! Applications servers are behind the web server
I want to share the clients
0
 
Michael WorshamInfrastructure / Solutions ArchitectCommented:
I recommend that you read over this article to see what solution you are looking for...

http://en.wikipedia.org/wiki/Load_balancing_(computing)


0
 
amprantiAuthor Commented:
Microsoft Windows can achieve this by using a proprietary protocol between the two servers. A virtual IP addres is assigned to them and an algorithm decides how to load balance the requests

Anything similar exist to linux world?
0
 
amprantiAuthor Commented:
Anyone implemented using heartbeat?? VFS?
0
 
Michael WorshamInfrastructure / Solutions ArchitectCommented:
We architected a full-scale webserver and database infrastructure that uses a heartbeat network. We aren't using SUSE, but RHEL 5 with Global File System (GFS), twin NICs (one for network, other in seperate VLAN for heartbeat/fencing needs).

We have found that Xen (as well as other virtual environments) have problems with 'virtual' network cards in different VLANs, thus a limitation in itself -- especially when web serving and heartbeat networks are concerned.
0
 
amprantiAuthor Commented:
Is any guide for heartbeat?
0
 
Michael WorshamInfrastructure / Solutions ArchitectCommented:
0
 
amprantiAuthor Commented:
HA is the solution
please give a glance here:
http://www.experts-exchange.com/OS/Linux/Administration/Q_23909547.html
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 7
  • 4
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now