Re: [vchkpw] load balance suggestions

2004-02-04 Thread Ted Deppner
On Wed, Feb 04, 2004 at 10:44:36AM -0800, Joe Boyce wrote:
> RM> Hello guys I would like what would you suggest for load balance with
> RM> vpopmail and mysql any suggestions on how to set it up?  I would also like
> RM> to have Round robin with DNS etc.. 
> 
> We are using Linux Virtual Server to accomplish this:

LVS is getting much easier to setup and maintain, but a simple round
robin dns system is also quite easy to put together for a perl coder[1].
None of the mail servers need any sort of "LVS" magic, and nothing about
mail is really CPU bound (other than AV), and mail systems nicely
distribute themselves when given the opportunity to.

[1] we use mon, a custom alert script, and djbdns' tinydns.  Very
lightweight and failover is seconds.

-- 
Ted Deppner
http://www.deppner.us/


Re: [vchkpw] load balance suggestions

2004-02-04 Thread Joe Boyce

Tuesday, February 3, 2004, 8:11:49 PM, you wrote:

RM> Hello guys I would like what would you suggest for load balance with
RM> vpopmail and mysql any suggestions on how to set it up?  I would also like
RM> to have Round robin with DNS etc.. 

We are using Linux Virtual Server to accomplish this:

http://www.linuxvirtualserver.org/

Basically it involves 4 machines, 2 mail toasters using qmail,
vpopmail, spamassassin, clamav, squirrelmail, 1 NFS/MySQL server and 1 load
balancer.

The load balancer does weighted round robin to serve
POP3/IMAP/SMTP/WWW to the mail toasters.  It also runs service checks
to make sure those services are active, if they are not, it removes
the server from the cycle.

Setup is easy, the queue is local to the machine, the only thing that
is mounted is /home/vpopmail/domains/, all of the qmail and vpopmail
config and control files are synced to each individual machine off of
the nfs server when changes are made via a perl script that we hacked
up.  User authentication is of course via MySQL.  Oh, and the
Squirrelmail software is shared via NFS also.

Regards,

Joe Boyce
---
InterStar, Inc. - Shasta.com Internet
Phone: +1 (530) 224-6866 x105
Email: [EMAIL PROTECTED]



Re: [vchkpw] load balance suggestions

2004-02-04 Thread Chris Moody
Remo Mattei wrote:

Hello guys I would like what would you suggest for load balance with
vpopmail and mysql any suggestions on how to set it up?  I would also like
to have Round robin with DNS etc.. 

Thanks for your support

Remo Mattei
Network Security Engineer
cell 801-808-unix
email [EMAIL PROTECTED]
In that case, I would build nameservers to point to 2+ mail servers 
under the same name.  Bind can easily perform this round robin 
function...and is free.  There are a load of howto's that can help...or 
I might recommend the O'Reilly press dns series.  Also Google can find a 
 LOAD of DNS info.

If you are interested in load-balancing, I would try the information at 
http://lartc.org

All this...if you are willing to build your own.  Otherwise start 
contacting vendors that can do it for you.

the toaster is designed to handle mail only.  Perhaps this is not the 
right forum to ask of such unrelated matters.  Once you have the 
load-balancing and round robin setupthen I would perhaps approach 
with the question of how to share mail between the server(s).

Hope this helps direct you in the right place.

Cheers,
~Chris
--
===
| Chris Moody
 |  |   | Silicon Hotrod - Linux Architects
:|::|:  | Network & Security Engineer
   :|||:  :|||: | [EMAIL PROTECTED]
.:|||:..:|||:.  |~-~-~
  CCNP - CCNA - CCDA| I route, therefore you are...
===


[vchkpw] load balance suggestions

2004-02-03 Thread Remo Mattei
Hello guys I would like what would you suggest for load balance with
vpopmail and mysql any suggestions on how to set it up?  I would also like
to have Round robin with DNS etc.. 

Thanks for your support


Remo Mattei
Network Security Engineer
cell 801-808-unix
email [EMAIL PROTECTED]