LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: Connecting to services not hosted locally.

To: "LinuxVirtualServer.org users mailing list." <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: Connecting to services not hosted locally.
From: Joseph Mack NA3T <jmack@xxxxxxxx>
Date: Sat, 1 Oct 2005 15:43:27 -0700 (PDT)

On Sat, 1 Oct 2005, Dan wrote:

(and Joe rewrote)

Is there a way to connect from one of the real servers hosting web to the VIP:smtp service? The problem is that telnet to VIP:smtp from one of the web real servers is going to try to connect to smtp locally,

I think you want to have an LVS'ed webserver and you want the webservers then to send mail, via an LVS'ed set of smtp servers also operating on the came IP (the VIP) on the same realservers.

Unless you use LVS-NAT, this doesn't work at the moment.

I'm thinking aloud here and haven't done this...:

I assume you want the LVS'ed smtp for loadbalancing and redundancy (failover). Lets asssume that the traffic is load balanced by the time it arrives at the webservers, and that the amount of mail generated by each realserver is about the same averaged over a long enough time. THen there is no real problem to have the httpd send the mail to the smtpd on the same machine. Sure it won't be as well balanced as with an LVS'ed mailserver, but it might be good enough. As for failover, if you loose either of the smtpd or the httpd you'll have to shut that realserver down, rather than just the httpd or smtpd on that machine. Oh well

Joe

--
Joseph Mack NA3T EME(B,D), FM05lw North Carolina
jmack (at) wm7d (dot) net - azimuthal equidistant map
generator at http://www.wm7d.net/azproj.shtml Homepage http://www.austintek.com/ It's GNU/Linux!

<Prev in Thread] Current Thread [Next in Thread>