This discussion is archived
1 Reply Latest reply: Jul 11, 2011 5:45 AM by 874578 RSS

Tuxedo load balance between Master/Slave

874578 Newbie
Currently Being Moderated
Hi ALL,

We have the setup like master/slave configuration for load balancing purpose. For this we have two groups, say G1(Master node) and G2 (Slave Node), having the same server ("SCBPPr") advertising the same service (single), say "ReqA". UBBCONFIG files for load balance (config copied few part) setup are as follows.
----
# MULTI DOMAIN template
*RESOURCES
DOMAINID MA
MASTER M_A,M_B
MODEL MP
OPTIONS LAN,MIGRATE
LDBAL Y

*MACHINES
HOSTA LMID=M_A
MAXWSCLIENTS=1500
CMPLIMIT="50000,MAXLONG"
APPDIR="....."
TUXCONFIG="..../config/TUXCONFIG"
TUXDIR="/opt/tuxedo/tuxedo9.1"
ULOGPFX="..../logs/ULOG"

HOSTB LMID=M_B
MAXWSCLIENTS=1500
CMPLIMIT="50000,MAXLONG"
APPDIR="....."
TUXCONFIG="..../config/TUXCONFIG"
TUXDIR="/opt/tuxedo/tuxedo9.1"
ULOGPFX="..../logs/ULOG"
*GROUPS
G1 LMID=M_A,M_B GRPNO=34 OPENINFO=NONE
G2 LMID=M_B,M_A GRPNO=35 OPENINFO=NONE
*SERVERS
DEFAULT: RESTART=Y REPLYQ=Y GRACE=0 MAXGEN=100
################# NODE A TUXEDO SERVERS ################
SCBPPr
SRVGRP=G1
SRVID=1600
MIN=24
MAX=24
MAXGEN=225
RQADDR="GBP1"
CLOPT="-p 1,900:2,5 -o ../logs/A.out -e ../logs/B.stat -r config=SCBP"

################# NODE B TUXEDO SERVERS ################
SCBPPr
SRVGRP=G2
SRVID=10600
MIN=24
MAX=24
MAXGEN=225
RQADDR="GBP2"
CLOPT="-p 1,900:2,5 -o ../logs/A.out -e ../logs/B.stat -r config=SCBP"
-------

We are facing issue in load distribution, as per tuxedo report (txrpt) from both nodes we can see that for service "ReqA" load on Node A is always greater (too much) than the load on Node B.
Let me know what need to be add or alter in ubbconfig file.

Thanks & regards,
Pras

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points