[Dovecot] Test Environment Question
I have my master IMAP server running DC V1.0.10. The homedir and INBOXdir are physically resident there and NFS exported (no caching) to 3 other machines. I have installed V1.1beta13 on one of them (which thus accesses the homedir/INBOXdir remotely) and plan to have a limited community test-drive it there. Are there any hazards or drawbacks in doing this? While the homedirs and INBOXdirs are thus shared, I have it so that each machine has its own local index directory and /var/run dir. Comments or dire warnings?
Is there a way of setting dovecot to use two mysql authentication databases, either in a live/failover format or a round robin method.
Regards
John
John Lyons wrote:
Is there a way of setting dovecot to use two mysql authentication databases, either in a live/failover format or a round robin method.
Yes, just provide as many MySQL hosts as you wish in "sql.conf"
"connect = host=mysql1 host=mysql2 dbname=mail user=dovecot .."
MySQL hosts are queried in round-robin fashion.
Tomi
On Tue, 2008-01-08 at 09:22 -0500, Stewart Dean wrote:
I have my master IMAP server running DC V1.0.10. The homedir and INBOXdir are physically resident there and NFS exported (no caching) to 3 other machines. I have installed V1.1beta13 on one of them (which thus accesses the homedir/INBOXdir remotely) and plan to have a limited community test-drive it there. Are there any hazards or drawbacks in doing this? While the homedirs and INBOXdirs are thus shared, I have it so that each machine has its own local index directory and /var/run dir. Comments or dire warnings?
If indexes are separate, there should be nothing to worry about. Although with the beta13 machine you could enable NFS attribute cache and set mail_nfs_storage=yes. If there are no bugs it should improve performance.
participants (4)
-
John Lyons
-
Stewart Dean
-
Timo Sirainen
-
Tomi Hakala