Network Load Balancing Server in OpenSuse 11.1

 
Thread Tools Search this Thread
Operating Systems Linux SuSE Network Load Balancing Server in OpenSuse 11.1
# 1  
Old 01-02-2010
Network Load Balancing Server in OpenSuse 11.1

Hi,
How i can build Network Load Balancing (NLB) Server between two openSuse Server (for example Web Server)?

thanks.
# 2  
Old 01-06-2010
Network Load Balancing Server

Hi,
For this solution:
install two identical servers with Linux OpenSUSE
In both servers this daemons will install: Heartbeat (HA Linux), HAproxy, HTTPD

1. The heartbeat daemon will manage the virtual IP (VIP) and the HAproxy daemon. The entire requested package goes through the VIP and only one HAproxy daemon will be up.

2. The HAproxy will work in active standby mode. The Heartbeat daemon will manage the failover of the HAproxy between the servers.

3. HAproxy transfer the http request to one of the web servers, the balancer algorithm can be use is:
• leastconn - The server with the lowest number of connections receives the connection. This algorithm is recommended where very long sessions are expected. leastconn is not very well suited for protocols using short sessions such as HTTP.
• Roundrobin - Each server is used in turns, according to their weights. This is the smoothest and fairest algorithm when the server's processing time remains equally distributed. This algorithm is dynamic, which means that server weights may be adjusted on the fly for slow starts for instance.

4. HAproxy check if the HTTPD daemon are up, in case one of the HTTPD daemon is down all the http request will forward the available web server.

Link:
HAProxy: http://haproxy.1wt.eu/
Heartbeat: http://www.linux-ha.org/Heartbeat

hope this help you,
Tal.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Load Balancing in UNIX

Dear All, Can any one help me for this request? There is a case. I have 20 files which I need to FTP to 5 servers. I want to know if there is any possibility to make a load balancer which transfers files in round robin manner to 5 servers. As per theoretical algorithm, what I think, flow can... (9 Replies)
Discussion started by: Zaib
9 Replies

2. Ubuntu

Load Balancing - LB Server & BackEnd1 & BackEnd2

Hello, What I wish to succeed is to setup loadbalancing between two dedicated servers. Here is my case: ======================================================================================================= LB IP (Just an IP address): Provided by hosting company (11.22.33.44) Hosting company... (1 Reply)
Discussion started by: baris35
1 Replies

3. UNIX for Advanced & Expert Users

Load balancing in Autosys

Hi, I am working on development project where I have to migrate many jobs from Tidal to Autosys R11. During this project we came across the following requirements. 1. There are 3 real machines. There could be many jobs activated simultaneously, but only one job should execute at a time and... (0 Replies)
Discussion started by: sujeetp
0 Replies

4. UNIX for Advanced & Expert Users

Help in MQ load balancing

Hi, Currently we have 3 old and 3 new servers catering to Live traffic. As my component move from legacy interfaces to MQ one, we want to have load balancing of old interfaces available on MQ interface as well. For this, we want to send only 30% of all MQ traffic on 3 OLD Live servers, and want... (1 Reply)
Discussion started by: senkerth
1 Replies

5. IP Networking

Load Balancing ppp

Hello everybody How can i Load Balance two slow ppp(gprs) connections with iptables . (4 Replies)
Discussion started by: rink
4 Replies

6. Web Development

Load Balancing in Apache

Hi All, I have one webserver which has an application for a set of internal users can be accessed by _http://server1.com I am planning to load balance this application. For that I have cloned this server and build a new one which can be accessed using _http://server2.com]Server2.com. Also i... (2 Replies)
Discussion started by: Tuxidow
2 Replies

7. Solaris

Load balancing with IPMP

Is it possible to do a load balancing ( incoming and outgoing )with with IPMP in solaris 10 like sun trunking ? If yes what are the steps involved in it , i know how to do the failover IPMP both link based and probe based but i 'm looking for possible load balancing (3 Replies)
Discussion started by: fugitive
3 Replies

8. AIX

Load balancing across network cards

The title speaks for itself. I have never attempted this but understand there is a way to use two network cards (en0 and en1) with the same IP address so as to load balance the traffic flow through both cards. Anyone know the answer? (4 Replies)
Discussion started by: johnf
4 Replies

9. UNIX for Dummies Questions & Answers

Question about load balancing

If you have two or more servers load balancing, are the servers mirroring one another? If images, etc., are uploaded, will they be stored on all the servers so that if one server goes down, the images will be served up by another server? (1 Reply)
Discussion started by: wvmlt
1 Replies

10. UNIX for Advanced & Expert Users

How can I use DNS Server to Load Balancing my Web Servers ??

Anyone can give me some idea about DNS Server Configuration that I want to load balancing my Web Servers . (1 Reply)
Discussion started by: ottobian
1 Replies
Login or Register to Ask a Question