Chris
 
/var/qmail/control needs to be the same.
/var/qmail/users needs to be the same.
 
If both machine have the same os and processors then I would just share out the vpopmail directory and run it from both machines off the share, That way when you upgrade vpopmail it upgrades both machines at once, But be careful of file locking problems using nfs and roaming users.
 
PS. You might wanna write a script that wraps vadddomain so that it sends the NOHUP to qmail on both machines to reload the virtualdomains file after you add a domain.
 
Sean
----- Original Message -----
From: chris
Sent: Tuesday, June 26, 2001 1:46 PM
Subject: Load balanced servers. IE. round-robin DNS

Hello all,
 
Now that I've got all my compile problems taken care of, I'm ready to complete the "big picture."
 
I would like to have (2) servers with qmail/vpopmail sharing the domains dir across NFS to a central server.  That server also has the mysql server running on it.  The point of this is to create a "load balanced" mail system using round-robin DNS.
 
I've already NFS'ed the domains dir and things work fine.  My questions is this:
 
With all the improvements to vpopmail using auth mysql, what other files need to be shared for everything to work right?  It seems that some things that USED to need to be shared across NFS, are now handled via common mysql tables.  
I have roaming users set, so it would seem that I need to share the tcp.smtp.cdb file.  What else needs to be shared?
 
I'd think that some qmail files need to be "common" as well.  Such as everything in /var/qmail/users/assign? 
 
Anything I'm missing?
 

Reply via email to