RE: Re: Load balancing across multiple ports.

"Terry, Jason" <[email protected]>
Newsgroups gmane.linux.highavailability.ultramonkey
Message-ID <[email protected]>
Just dropping a note to say thanks... This is exactly what I need.

Works perfect, even with different SSL certificates for each IP address.

-----Original Message-----
From: news [mailto:[email protected]] On Behalf Of Horms
Sent: Tuesday, March 21, 2006 7:45 PM
To: [email protected]
Subject: Re: Load balancing across multiple ports.

Terry, Jason <[email protected]> wrote:
> [-- text/plain, encoding quoted-printable, charset: us-ascii, 34 lines
--]
> 
> I have ldirectord working to balance a web server that listens on
> several IP addresses, all port 443, all running in a single instance
of
> apache.
> 
> 
> 
> virtual=10.10.225.11:443
> 
>        real=10.10.224.11:443 gate 500
> 
>        real=10.10.226.11:443 gate 500
> 
> 
> 
> virtual=10.10.225.12:443
> 
>        real=10.10.224.12:443 gate 500
> 
>        real=10.10.226.12:443 gate 500
> 
> 
> 
> What I would like to be able to do, since my IPs are both running on
the
> same instance of apache... is group them.  So that the load balancer
is
> be more intelligent, and balance across the actual apache load...
rather
> then just that specific IP:Port load.  Is that possible?
> 
> 
> 
> I actually have 30 different SSL IP addresses I'm dealing with, so as
> you can imagine the apache loads can get a bit unbalanced at times....
> Even with load balancing on.

Yes, use an fwmark virtual service.

There is an example on UltraMonkey.Org of how to do this
for LVS-NAT. The same approach also works with LVS-DR.

http://www-test.ultramonkey.org/3/topologies/ha-lb-eg-fwmark.html

-- 
Horms


-- 
Ultra Monkey - http://www.ultramonkey.org/
To UNSUBSCRIBE, email to [email protected], with a body:
unsubscribe ultramonkey-users [email protected]
where "[email protected]" is YOUR email address.



-- 
Ultra Monkey - http://www.ultramonkey.org/
To UNSUBSCRIBE, email to [email protected], with a body:
unsubscribe ultramonkey-users [email protected]
where "[email protected]" is YOUR email address.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.