Xeams behind HAProxy kalistyan
    Xeams behind HAProxy Synametrics Support
        Xeams behind HAProxy Kali
            Xeams behind HAProxy Synametrics Support
                Xeams behind HAProxy kalistyan
                    Xeams behind HAProxy Anonymous

From: kalistyan
Date: 7/8/17 4:50 AM
Topic: Xeams behind HAProxy
Type: General Discussions
Post a follow up

Hi,

 

I am trying to config the xeams (cluster) behind HAProxy, active/passive.

 

=> HAProxy 

  • srv-xeams01 (active) 
  • srv-xeams02 (passive)

 

The Xeams cluster works correctly, but sometimes access to the web interface does not work. 

 

Example, from my PC (Google Chrome) can not access the interface. So if I try from another browser, it works correctly.

 

My configuration file : haproxy.cfg

 

Thank you for your help

Top

From: Synametrics Support
Date: 7/8/17 12:30 PM
Topic: Xeams behind HAProxy
Type: General Discussions
Post a follow up

Dear Kalistyan,

We have not tested Xeams behind an HAProxy server and therefore, cannot comment on the intermittent problem you are having. However, reading their website I assume this HAProxy configuration does load balancing between MASTER and CLUSTER Xeams. You should not do that. When using Xeams in Clustered environment, you do not want anyone connecting to the SLAVE's web interface. That is because a SLAVE will never pull any information from the MASTER.

For example, when you search for an email on MASTER, it will pull the results from itself (MASTER) as well as SLAVES. This does not work the other way around. Similarly, if you change any rule on MASTER, it will get pushed to SLAVES. If you change any rule on SLAVE, that will get overwritten by the data pushed from the MASTER.

Therefore, you should NOT run a Xeams cluster through a reverse proxy server that can switch HTTP requests between MASTER and SLAVES

 

 

Top

From: Kali
Date: 7/11/17 6:38 AM
Topic: Xeams behind HAProxy
Type: General Discussions
Post a follow up

Hi,

 

My HAProxy configuration is not in load balancing, but in high availability mode.

For example, in a clustered Xeams configuration (without HAProxy). Srv-xeams01 to crash. Therefore, mails are processed by srv-xeams02. Restoring a quarantined mail is not possible because srv-xeams01 is no longer accessible. Indeed, in the user profile, the address https://antispam.srv-xeams01.com has been configured. By adding HAproxy, in high availability mode. I wish to avoid this problem.

For information, I bought a license. Is it possible to have a support in French ?

Top

From: Synametrics Support
Date: 7/11/17 8:33 AM
Topic: Xeams behind HAProxy
Type: General Discussions
Post a follow up

Kali,

Does HAProxy work with SMTP as well as HTTP? Although I have very limited knowledge about HAProxy, I could not find a way to provide HA for SMTP traffic. I only saw HTTP on their website.

In any case, the correct way to achieve HA in SMTP is through multiple MX records, not through a Proxy Server. The clustering page (http://www.xeams.com/clustering.htm) talks about this.

The web interface of Xeams is currently only available in English. However, it will be able to handle emails sent/received in other languages just fine.

Top

From: kalistyan
Date: 7/11/17 11:50 AM
Topic: Xeams behind HAProxy
Type: General Discussions
Post a follow up

Hi,

I have two MX records, my Xeams cluster works fine, i want to add high availability on the HTTP.

Top

From: Anonymous
Date: 7/12/17 3:25 AM
Topic: Xeams behind HAProxy
Type: General Discussions
Post a follow up

Hi,

 

Xeams uses Tomcat for HTTP access ?

Top