HAproxy Configuration

Hi Team,

As we tried to configure the haproxy for morpheus 3node HA we are geeting the different errror. Currently we are using the same haproxy.cfg which is mentioned in the document.

Load Balancer Configuration — Morpheus Docs documentation (morpheusdata.com)
After adding above config If I restarted the haproxy service getting the below errors.


Dec 1 07:06:27 baasloadbal01 haproxy[415805]: [ALERT] 334/070627 (415805) : parsing [/etc/haproxy/haproxy.cfg:54] : ‘http-check send’ only supports ‘hdr’ and ‘body’, found ‘meth’.
Dec 1 07:09:54 baasloadbal01 haproxy[415902]: [ALERT] 334/070954 (415902) : parsing [/etc/haproxy/haproxy.cfg:54] : ‘http-check send’ only supports ‘hdr’ and ‘body’, found ‘uri’.

Please let me know which http-check we need to use. " http-check send meth GET uri /ping" this is mentioned in the document.

I set HAProxy up recently. Absolutely, not an expert, but I have this for the ping check in my .cfg file.

option httpchk GET /ping
http-check expect string PING

I think @Ollie_Phillips is correct the ‘meth’ statement is erroneous.

My backend is this (could update yours Ollie haha)

option httpchk GET /ping
http-check expect string MORPHEUS\ PING

That example is also assuming you are doing cert termination at the LB (probably are). But just wanted to call that out.