LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: LVS'ing mail

To: "David D.W. Downey" <david.downey@xxxxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: LVS'ing mail
Cc: lvs-users@xxxxxxxxxxxxxxxxxxxxxx
From: Joseph Mack <mack@xxxxxxxxxxx>
Date: Sun, 17 Sep 2000 19:16:27 -0400 (EDT)
On Sun, 17 Sep 2000, David D.W. Downey wrote:

> Got a question. How would you set up mail in an LVS cluster? 

The thorny problem with LVS is that it is a many-reader/single-writer
setup. As long as you're downloading webpages or ftp files you're fine. If
the client writes anything (mail, database), you have to arrange for all
clients to see the write within a short (by your definition) time. LVS is
being used for mail, but it requires a bit of thinking as there can only
be one distinct copy of all the mail.

I haven't set one of these up, so wait for replies from other people about
that. One way is to have a separate mailhub machine, and have the disk nfs
exported to the real-servers, who have the pop/imap servers running.
You could  have sendmail on the real-servers relay through the
hub machine.

You could have separate sendmails running on each real-server and have the
/var/spool/mail directory nfs mounted from a single machine.

> dover.com sends email to mydomain.com which is using the LVS'd mail
> servers. 1) would mail loss result from being sent to various mail hosts
> by load balancing? (I don't think they'd actually be lost, just split
> accross the various servers based on the algo used) 2) How would you
> instruct your users to get their mail? (Especially if the incoming
> messages ARE split accross the servers.) 3) Are there any other issues I
> should be looking at? 

turn off identd (see the HOWTO)

> If I am correct, I would only list the VIP for the
> virtual mail server in the MX record. Correct?

yes

Joe

--
Joseph Mack mack@xxxxxxxxxxx



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