HAProxy: Configurando o HAProxy para o Sterling B2B

From Wiki
Revision as of 16:57, 9 September 2020 by Ebasso (talk | contribs) (Criou a página com "After you install HAProxy, edit file '''/etc/haproxy/haproxy.cfg''', and add: <nowiki> #-------------------------- # Rules for IBM Sterling B2Bi #-------------------------...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

After you install HAProxy, edit file /etc/haproxy/haproxy.cfg, and add:

#--------------------------
# Rules for IBM Sterling B2Bi
#--------------------------
frontend sb2bi_frontend 10.0.0.1:23000
    default_backend    sb2bi_backend

backend sb2bi_backend
    option prefer-last-server
    cookie mycookies insert indirect nocache
    server server1 10.0.0.2:23000 check cookie server1
    server server2 10.0.0.2:23000 check cookie server2
 


Image below: Check before changes, restart service and check after.

Ficheiro:Haproxy b2b.png

Ver também