Thanks for replying

Im trying to get haproxy to monitor redis-sentinel / redis and see which one redis instance is the master so that traffic is sent there. As originally, per this example https://www.haproxy.com/blog/haproxy-advanced-redis-health-check/ (See the comment January 7, 2018 at 6:52)

Regards

Brent


On 05/06/2018 13:43, Lukas Tribus wrote:
On 5 June 2018 at 13:18, Brent Clark <[email protected]> wrote:
Good day Guys

I am at a total loss, and Im hoping someone on this list, would be so kind
to review my setup.

I am trying to get haproxy to monitor redis / sentinel. But I keep getting.

[WARNING] 155/110602 (309) : config : log format ignored for frontend
'ft_redis' since it has no log address.
[ALERT] 155/110602 (309) : parsing [/usr/local/etc/haproxy/haproxy.cfg:29] :
unable to find server '10.42.131.120' in proxy 'bk_redis', referenced in arg
1 of ACL keyword 'srv_is_up' in proxy 'bk_redis'.
[ALERT] 155/110602 (309) : parsing [/usr/local/etc/haproxy/haproxy.cfg:30] :
unable to find server '10.42.40.236' in proxy 'bk_redis', referenced in arg
1 of ACL keyword 'srv_is_up' in proxy 'bk_redis'.
[ALERT] 155/110602 (309) : parsing [/usr/local/etc/haproxy/haproxy.cfg:31] :
unable to find server '10.42.224.133' in proxy 'bk_redis', referenced in arg
1 of ACL keyword 'srv_is_up' in proxy 'bk_redis'.
[ALERT] 155/110602 (309) : Fatal errors found in configuration.

What I cant understand is, I changed to ips as opposed to hostnames. But
haproxy still cant  see the peer.

Here is my configuration file.
https://pastebin.com/raw/DGTsNRDs

If someone can assist it would be appreciated.
I don't understand what it is you are trying to achieve, none of what
you configured makes sense to me.

Can you elaborate what you expect haproxy to do and why you need all
those backends and use-server directives?


Regards,
Lukas

Reply via email to