Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 16 Sep 1999 01:33:12 -0500
From:      river <river@theriver.nu>
To:        freebsd-isp@FreeBSD.ORG
Subject:   RE: SMTP load balancing
Message-ID:  <21DC5E98AE1FD311B1290020AFDB6C6E63DC@cx288885-b.okcs1.ok.home.com>

next in thread | raw e-mail | index | archive | help
I.E.:


MX record mail.yourdomain.com priority 10
MX record pop.yourdomain.com priority 20

A record mail X.X.X.15   <- server 1
A record mail X.X.X.16   <- server 2
A record mail X.X.X.17   <- server 3
A record mail X.X.X.18   <- server 4

A record pop X.X.X.19    <- pop server

its the same process for www round robin....whenever a client dns's
mail.yourdomain.com they get the 1st server, the next person that dns's
mail.yourdomain.com gets the 2nd server....etc

they key here is to have each one of these servers forward mail to the pop3
server. and in turn, the pop3 server forwards outgoing mail to "mail" and
then each one gets round robin on outgoing mail also.

NOTE:  the pop3 server will still have to be a nice machine....but the 4
"forwarding" machines can be mid range...because each one will be processing
1/4 of the mail.


NOTE:  round robin is handled automatically by the DNS server

-----Original Message-----
From: Shawn Workman [mailto:sworkman@iea-software.com]
Sent: Thursday, September 16, 1999 1:19 AM
To: river; freebsd-isp@FreeBSD.ORG
Subject: Re: SMTP load balancing


I would love to have more info on this as well.. If I have one MX record for
my mail server and 4 A records would the A records (with different IP's)
point to the same machine name?

Is the round-robin automatic at this point?

If you could point me to some documentation on this I would appreciate it.

Thanks in advance..


----- Original Message -----
From: river <river@theriver.nu>
To: <freebsd-isp@FreeBSD.ORG>
Sent: Wednesday, September 15, 1999 6:04 PM
Subject: RE: SMTP load balancing


> Why not setup the MX record to point at mail.yourhost.com
>
> and then have mail with the 4 machines ip's in round robin style (4 A
> Records if I remebmer correctly).  These 4 machines can deliver mail to
the
> pop3 server on the backend that all your users connect to.  Yes all the
> users will still connect to the same machine for pop3, but the sending and
> recieving of mail is processed by the 4 BSD machines.
>
> -----Original Message-----
> From: Fernando Schapachnik [mailto:fpscha@ns1.sminter.com.ar]
> Sent: Wednesday, September 15, 1999 8:38 AM
> To: freebsd-isp@freebsd.org
> Subject: SMTP load balancing
>
>
> Hello:
> I've a situation on which I need some help. We're running a busy
> mail server, now on a Sun. As vertical scalability is very expensive I'm
> considering building an -individually inexpensive- FreeBSD cluster.
>
> What I'm certain about is that I don't what to use NFS, because of
> all the problem it generates (locking, etc.).
>
> I thought about building something like:
>
>
> +-----------+        +----- Server 1
> | Front end |        |
> | DNS MX    |--------+----- Server 2
> +-----------+        |
>                      +----- Server ...
>                      |
>                      +----- Server n
>
> The idea is that there is one machine pointed by the MX record
> that receives incoming mail and distributes it between the other servers.
> Some problems arise:
>
> a) The front end still has to manage the huge amount of incoming mail.
>
> b) Uniform POP3 access to mailboxes under the same name becomes imposible.
>
> Another posibility would be to have something like
>
> +-------------+   +-------------+   +---------------+  +-------------+
> | Front end 1 |   | Front end 2 |   | Front end ... |  | Front end n |
> +-------------+   +-------------+   +---------------+  +-------------+
>         |               |                   |                 |
> +---------------+---------+---------+-----------------+
>                                   |
>                            +------------+
>                            | Disk array |
>                            +------------+
>
> But... such a thing exists? I mean: an external disk array that
> can be mounted by several FreeBSD machines at the same time. I think not.
> May be replacing the disk array by another machine, which has the file
> repository and is the POP3 server?
>
> I would really aprettiate any comment or suggestion.
>
> Thanks for your time!
>
>
> Fernando P. Schapachnik
> Administración de la red
> VIA Net Works Argentina SA
> Diagonal Roque Sáenz Peña 971, 4º y 5º piso.
> 1035 - Capital Federal, Argentina.
> (54-11) 4323-3333
> http://www.via-net-works.net.ar
>
>
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-isp" in the body of the message
>
>
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-isp" in the body of the message
>


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-isp" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?21DC5E98AE1FD311B1290020AFDB6C6E63DC>