LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

RE: Load balanced mail system

To: "LinuxVirtualServer.org users mailing list." <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: RE: Load balanced mail system
From: Pierre Ancelot <pierre@xxxxxxxxxxxxxxxxxxx>
Date: Thu, 15 Dec 2005 15:21:09 -0500
I think having AFS on all nodes and mounting this filesystem as /home or
something should solve it.
In case of the failure of a node, it synchrosine on the node.
Using this and maildir might be a good way to do it maybe.


On Thu, 2005-12-15 at 11:49 -0800, Mark wrote:
> I assume we are only talking about incoming mails - outgoing should not eb a 
> problem, right?
> 
> How about having a distributed file system (DRBD or redhat's "Global File 
> System (GFS)") distributed over 2 or 3 servers to keep the
> mailbox files, and then having LVS POP clients access those?
> 
> That way you have a virtual email server split over several real servers, 
> each of them accessing a virtual file system that is in
> turn split over several storage nodes.
> 
> I have not looked into DRBD nor GFS, but what I am thinking is something like 
> the mail servers accessing the mailboxes stored on
> something like a distributed remote NFS (which I hope DRBD or GFS can be used 
> for).
> I wanted to try this myself but havent had a chance yet, so I don't know if 
> this will work or if I have the wrong picture of
> DRBD/GFS...
> 
> MARK
> 
> > -----Original Message-----
> > From: 
> > lvs-users-bounces+msalists=gmx.net@xxxxxxxxxxxxxxxxxxxxxx 
> > [mailto:lvs-users-bounces+msalists=gmx.net@linuxvirtualserver.
> > org] On Behalf Of Joseph Mack NA3T
> > Sent: Thursday, December 15, 2005 11:31 AM
> > To: LinuxVirtualServer.org users mailing list.
> > Subject: Re: Load balanced mail system
> > 
> > 
> > On Thu, 15 Dec 2005, Pierre Ancelot wrote:
> > 
> > > - How to update a mail received on one host to every hosts ?
> > 
> > LVS's are read only. Writing to an LVS has always been a 
> > problem. The database section in the HOWTO talks about the 
> > problems you've already found. Shopping carts are the same 
> > problem.
> > 
> > You need to serialise (spool) your writes somehow. Everyone
> > has had to invent their own solution.
> > 
> > > using rsync would delete every mail received in the same
> > > time on other servers...
> > 
> > this is what you want right?
> > 
> > There are two mailbox formats. One is called mbox and I 
> > forget the other. One is suitable for rsync'ing, the other 
> > isn't.
> > 
> > > All this makes me think i should store mails in a mysql
> > > cluster database or in a filesystem like AFS for example.
> > 
> > hopefully simpler solutions exist. A single raid filesystem 
> > exported to all realservers is simpler, but rw to the disk 
> > doesn't scale with the number of realservers.
> > 
> > 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! 
> > _______________________________________________
> > LinuxVirtualServer.org mailing list - 
> > lvs-users@xxxxxxxxxxxxxxxxxxxxxx Send requests to 
> > lvs-users-request@xxxxxxxxxxxxxxxxxxxxxx
> > or go to http://www.in-addr.de/mailman/listinfo/lvs-users
> > 
> 
> _______________________________________________
> LinuxVirtualServer.org mailing list - lvs-users@xxxxxxxxxxxxxxxxxxxxxx
> Send requests to lvs-users-request@xxxxxxxxxxxxxxxxxxxxxx
> or go to http://www.in-addr.de/mailman/listinfo/lvs-users


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