Solved

Suse 10, Apache2 load balance

Posted on 2008-10-23
13
734 Views
Last Modified: 2013-12-16
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
Comment
Question by:ampranti
  • 7
  • 4
  • 2
13 Comments
 
LVL 10

Assisted Solution

by:MadShiva
MadShiva earned 50 total points
Comment Utility
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
 
LVL 29

Assisted Solution

by:Michael W
Michael W earned 450 total points
Comment Utility
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
 
LVL 10

Author Comment

by:ampranti
Comment Utility
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
 
LVL 10

Author Comment

by:ampranti
Comment Utility
Unfortunatelly RoundRobin will loose the half users when one server goes down.

What other solutions are out there?
0
 
LVL 10

Expert Comment

by:MadShiva
Comment Utility
Hi !

Maybe to do one sync between the two server.
0
 
LVL 10

Author Comment

by:ampranti
Comment Utility
No! Applications servers are behind the web server
I want to share the clients
0
Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

 
LVL 29

Expert Comment

by:Michael W
Comment Utility
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
 
LVL 10

Author Comment

by:ampranti
Comment Utility
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
 
LVL 10

Author Comment

by:ampranti
Comment Utility
Anyone implemented using heartbeat?? VFS?
0
 
LVL 29

Expert Comment

by:Michael W
Comment Utility
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
 
LVL 10

Author Comment

by:ampranti
Comment Utility
Is any guide for heartbeat?
0
 
LVL 29

Accepted Solution

by:
Michael W earned 450 total points
Comment Utility
0
 
LVL 10

Author Closing Comment

by:ampranti
Comment Utility
HA is the solution
please give a glance here:
http://www.experts-exchange.com/OS/Linux/Administration/Q_23909547.html
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Suggested Solutions

#Citrix #XenApp #Citrix Scout #Citrix Insight Services #Microsoft VMMAP #Microsoft ADEXPLORE #Microsoft RAMMAP #Microsoft TCPVIEW #Microsoft AUTORUNS #Microsoft PROCESS EXPLORER #Microsoft PROCESS MONITOR
Will try to explain how to use the VMware feature TAGs in the VMs and create Veeam Backup Jobs using TAGs. Since this article is too long, I will create second article for the Veeam tasks.
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

771 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now