Quantcast
Channel: HAProxy community - Latest topics
Viewing all articles
Browse latest Browse all 4849

Haproxy & keepalived (chk_haproxy) problem

$
0
0

Hi.
I want to set haproxy & keepalived system and testing failover between 2 servers.
keepalived setting chk_haproxy and if haproxy down, I hope failover.

vrrp_script chk_haproxy {
script “systemctl is-active haproxy”
}

Starting keepalived first.
Haproxy is not starting , so failover start…

But haproxy cannot start before starting keepalived.
Because keepalived have VIP settings, so haproxy bind VIP fail…

I want to start haproxy before keepalived starting in MASTER server.
Thanks for any help.

2 posts - 2 participants

Read full topic


Viewing all articles
Browse latest Browse all 4849

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>