I'm looking to setup 2 dovecot servers behind HAProxy using gluster for a high-availability solution. From the reading I've been doing, it seems that dovecot highly suggests the use of the dovecot director when both dovecot servers have access to the same file system.
However - in this case where traffic is routing through HAProxy first, would that even work in this configuration?
Currently, I'm planning to use balance source
in haproxy to gain affinity. I have also set mmap_disable = yes
.
Are there any recommendations on how to best handle this setup?
Thanks!