Hi all,
First I would like to thank LVS team for the great work and fine howto.
I successfully installed and tested a LVS-DR in a small network (1 director and
2 real servers)
with http and pop3 load balancing/high availability, using too some hints from
ultramonkey
project (which team I thank too for the very good howto :)).
About the pop3 LVS here is what I did, and if someone feels like correcting me
or
suggesting/advicing me something better I will be grateful !
I used on both real servers :
- the smtp daemon postfix with the VDA patch to handle maildir (
http://www.oav.net/~kiwi/postfix/ ).
Here LVS doesn't handle smtp, I just use dns multiple MX feature.
- the light weighted pop3 daemon tpop3d (
http://www.ex-parrot.com/~chris/tpop3d/ )
which can manage maildir.
The incoming mails are stored on the real servers in maildir type account
following
dns MX shedulding, and so are stored quite randomly on each real server.
To synchronize both real servers so that pop3 accounts are correct when checked,
I use rsync and especially drsync.pl rsync wrapper (
http://hacks.dlux.hu/drsync/ )
which keeps track of a given filelist between rsync synchronizations (here the
filelist
is all the maildirs content).
At the moment, using crontab, drsync is run on each real server every minutes
and
synchronizes the content of the other real server with his one. It seems to work
with a dozen pop3 accounts and hundreds of mail sent (no loss).
There may be flaws in this configuration, case in witch it could be quite wrong.
Thanks then for any suggestions/advices etc. I hope it helps or give ideas
nevertheless.
Bye !
Fabien
|