From 3a266118418a9a94c36aafe516b54f584fec187a Mon Sep 17 00:00:00 2001 From: Kevin Fenzi Date: Mon, 17 May 2021 09:55:58 -0700 Subject: [PATCH] haproxy: add ipa03 into the mix as a backup behind ipa02 Signed-off-by: Kevin Fenzi --- roles/haproxy/templates/haproxy.cfg | 2 ++ 1 file changed, 2 insertions(+) diff --git a/roles/haproxy/templates/haproxy.cfg b/roles/haproxy/templates/haproxy.cfg index 4f7882868d..c86d0bdfe1 100644 --- a/roles/haproxy/templates/haproxy.cfg +++ b/roles/haproxy/templates/haproxy.cfg @@ -285,6 +285,7 @@ backend ipa-backend server ipa01 ipa01:443 check inter 10s rise 1 fall 2 ssl verify required ca-file /etc/haproxy/ipa.pem {% if env != "staging" %} server ipa02 ipa02:443 check inter 10s rise 1 fall 2 ssl verify required ca-file /etc/haproxy/ipa.pem backup + server ipa03 ipa03:443 check inter 10s rise 1 fall 2 ssl verify required ca-file /etc/haproxy/ipa.pem backup {% endif %} option httpchk GET /ipa/ui/ @@ -326,6 +327,7 @@ backend krb5-backend server ipa01 ipa01:88 weight 1 maxconn 16384 {% if env == "production" %} server ipa02 ipa02:88 weight 1 maxconn 16384 + server ipa03 ipa03:88 weight 1 maxconn 16384 {% endif %} frontend oci-candidate-registry-frontend