Article ID: 6054, created on Feb 18, 2009, last review on May 11, 2014

  • Applies to:
  • Operations Automation 5.x
  • Operations Automation 2.9
  • Operations Automation 2.8

Summary

In order to avoid the single point of failure in the POA Qmail cluster deployment, Parallels advises you to configure one or more LDAP replication servers which will continue to serve requests when the primary server is failing or is put on maintenance.

Resolution

Follow steps from POA Linux Mail Hosting Deployment guide for the appropriate version of POA to set up the LDAP replication server.

Once it is set up per the Guide, edit /usr/local/qmail/shared/control/ldap_settings file on all the qmail hosts in the cluster and add a comma-separated list of IP addresses to look up the value of LDAP_SERVERS variable like below:# cat /usr/local/qmail/shared/control/ldap_settings |grep LDAP_SERVERS:
export LDAP_SERVERS=172.16.0.1,172.16.0.2,172.16.10.1
After that, edit file /etc/dovecot.ldap.poa_email_auth.conf  and /etc/dovecot.ldap.poa_login_auth.conf on the Dovecot host and add a space-separated list of IP addresses to look up the value of hosts variable like below:cat /etc/dovecot.ldap.poa_login_auth.conf | grep hosts
hosts = 172.16.0.1,172.16.0.2,172.16.10.1

Note that the above changes made manually to Qmail and Dovecot configuration files might get lost during a subsequent POA upgrade. You will need to re-apply them in that case.

790a5ccf065b0b25aa71bd7d87404381 5356b422f65bdad1c3e9edca5d74a1ae 37e602325b9e080e0d137546b764143c 2554725ed606193dd9bbce21365bed4e 80fcf07a72a3fc2739554dff85ce8fe7 caea8340e2d186a540518d08602aa065 e12cea1d47a3125d335d68e6d4e15e07

Email subscription for changes to this article
Save as PDF