HAProxy: Configurando o HAProxy para o Sterling B2B

From Wiki

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