IBM Sterling: Preparing Linux OS for this environment

From Wiki
Revision as of 16:55, 9 September 2020 by Ebasso (talk | contribs) (→‎HA Proxy)

Procedure

Create users

useradd siuser01
useradd siuser02
useradd ccuser01
useradd ccuser02

Configure /etc/hosts

Example of my /etc/hosts file

10.0.0.1 demo.test.net sidb.test.net ccdb.test.net ldap.test.net si.test.net demo
10.0.0.2 six.test.net six 
10.0.0.3 siy.test.net siy
10.0.0.4 ccx.test.net ccx
10.0.0.5 ccy.test.net ccy
 

Add IP to my network adapter

Create ip alias to my network adapter

HA Proxy

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

LDAP Server


NFS Sharer - Cluster only