Back to home page

Enduro/X

 
 

    


0001 #
0002 # Sample UBB Config, single machine
0003 #
0004 *RESOURCES
0005 IPCKEY          46000 # some sample resource
0006 DOMAINID        TEST1
0007 MASTER          TEST1
0008 MAXACCESSERS    2000
0009 MAXSERVERS      1500
0010 MAXSERVICES     2000
0011 MAXGTT          1000
0012 MODEL           SHM
0013 SANITYSCAN      5
0014 SCANUNIT        20
0015 BLOCKTIME       30
0016 NOTIFY          SIGNAL
0017 LDBAL           Y
0018 
0019 *MACHINES
0020 "SOME-MACHINE"  LMID=TEST1
0021                 TUXDIR="/some/folder/tuxedo12"
0022         APPDIR="/user90/bin"
0023         TUXCONFIG="/user90/conf/tuxconfig"
0024         ULOGPFX="/user90/log/ULOG"
0025         TLOGDEVICE="/user90/conf/TLOG"
0026         ENVFILE="./env_common.txt" 
0027         TLOGSIZE=1000
0028         MAXWSCLIENTS=300
0029 
0030 *GROUPS
0031 
0032 ADMINGRP        LMID=TEST1
0033                 GRPNO=1
0034                 
0035 ORAGRP1 LMID=TEST1
0036                 GRPNO=5
0037                 TMSNAME=TMS_ORA_1
0038                 TMSCOUNT=2
0039                 OPENINFO="Oracle_XA:ORACLE_XA+DB=ROCKY+SqlNet=SID1+ACC=P/username/password+SesTM=10+LogDir=/user90/xalog+Threads=true"
0040                 CLOSEINFO="Oracle_XA:CLOSE_STR"
0041                 
0042 ORAGRP2 LMID=TEST1
0043                 GRPNO=6
0044                 TMSNAME=TMS_ORA_2
0045                 TMSCOUNT=2
0046                 OPENINFO="Oracle_XA:ORACLE_XA+DB=ROCKY+SqlNet=SID1+ACC=P/username/password+SesTM=10+LogDir=/user90/xalog+Threads=true"
0047                 CLOSEINFO="Oracle_XA:CLOSE_STR"
0048 
0049 ORAGRP3 LMID=TEST1
0050                 GRPNO=7
0051                 TMSNAME=TMS_ORA_3
0052                 TMSCOUNT=2
0053                 OPENINFO="Oracle_XA:ORACLE_XA+DB=ROCKY+SqlNet=SID1+ACC=P/username/password+SesTM=10+LogDir=/user90/xalog+Threads=true"
0054                 CLOSEINFO="Oracle_XA:CLOSE_STR"         
0055                 ENVFILE="./env_cctag.txt"
0056 
0057 # all stuff on the same line
0058 QGRP1   LMID=TEST1 GRPNO=8 TMSNAME=TMS_QM TMSCOUNT=2 OPENINFO="TUXEDO/QM:/user90/conf/QUEUEA:QSPA"
0059 
0060 QGRP2  LMID=TEST1
0061         GRPNO=9
0062         TMSNAME=TMS_QM
0063         TMSCOUNT=2
0064                 OPENINFO="TUXEDO/QM:/user90/conf/QUEUEB:QSPB"
0065 
0066 QGRP3  LMID=TEST1
0067     GRPNO=10
0068         TMSNAME=TMS_QM
0069         TMSCOUNT=2
0070                 OPENINFO="TUXEDO/QM:/user90/conf/QUEUEC:QSPC"
0071 
0072 DEFAULT:
0073         LMID=TEST1
0074 
0075 # Have some ddr groups:
0076 DDR1 GRPNO=11 OPENINFO="NONE" TMSNAME="TMS"
0077 DDR2 GRPNO=12 OPENINFO="NONE" TMSNAME="TMS"
0078 DFLTGRP GRPNO=13 OPENINFO="NONE"
0079 #
0080 # Servers section
0081 #
0082 *SERVERS # OK
0083 
0084 DEFAULT:        CLOPT="-A"
0085 
0086 # have events
0087 TMSYSEVT        SRVGRP=ADMINGRP
0088                 SRVID=10
0089                 RESTART=N
0090                 GRACE=900
0091                 MAXGEN=5
0092                 CLOPT="-A --"
0093 
0094 TMUSREVT        SRVGRP=ADMINGRP
0095                 SRVID=10
0096                 RESTART=N
0097                 GRACE=900
0098                 MAXGEN=5
0099                 CLOPT="-A --"
0100 
0101 # pull in restincl
0102 JSL             SRVGRP=ADMINGRP
0103                 SRVID=30
0104                 CLOPT="-A -- -n //127.0.0.1:9999"
0105 
0106 # pull in restincl
0107 WSL             SRVGRP=ADMINGRP
0108                 SRVID=20
0109                 CLOPT="-A -- -n //127.0.0.1:1112"
0110 
0111 DEFAULT:        SRVGRP=QGRP1
0112                 RESTART=N
0113                 REPLYQ=N
0114                 CLOPT="-A"
0115 
0116 TMQUEUE         SRVID=40 CLOPT="-A -s QSPA:TMQUEUE -- "
0117 
0118 DEFAULT:                        SRVGRP=QGRP2
0119                                 RESTART=N
0120                                 REPLYQ=N
0121                                 GRACE=0
0122                                 CLOPT="-A"
0123 
0124 TMQUEUE                 SRVID=50 MIN=2 MAX=10 CLOPT="-A -s QSPB:TMQUEUE -- "
0125 
0126 DEFAULT:                        SRVGRP=QGRP3
0127                                 MAXGEN=10
0128                                 RESTART=Y
0129                                 CLOPT="-A"
0130 
0131 TMQUEUE                 SRVID=60 MIN=1 MAX=5 CLOPT="-A -s QSPC:TMQUEUE -- "
0132 
0133 #
0134 # Have some user processes
0135 #
0136 DEFAULT:        SRVGRP=DFLTGRP
0137                 MIN=1
0138                 MAX=5
0139                 REPLYQ=Y
0140                 MAXGEN=10
0141                 RESTART=N
0142                 CLOPT="-A"
0143 
0144 "atmi.sv90"     SRVID=100 MIN=2 MAX=4 CLOPT="-A --"
0145 
0146 "atmi.sv90_2"   SRVID=200 MIN=1 MAX=4 CLOPT="-A -e /user90/log/err.out -o /user90/log/std.out -- -c \"HELLO \\\"WORLD\""
0147 "atmi.sv90_3"   SRVID=300 MIN=2 MAX=4 CLOPT="--"
0148 
0149 "atmi.sv90_3"   SRVID=400 MIN=2 MAX=4 SRVGRP=DDR1 CLOPT="-sTESTSV_DDR:TESTSV -- "
0150 "atmi.sv90_4"   SRVID=500 MIN=2 MAX=4 SRVGRP=DDR2 CLOPT="-sTESTSV_DDR:TESTSV -o /user90/unknown/path -- "
0151 #
0152 # Use As Q responder
0153 #
0154 exbenchsv  SRVID=600 MIN=1 MAX=1 SRVGRP=DDR1 CLOPT="-sQGRP1_2,QGRP2_2,QGRP3_2:EXBENCHSV -A -- -T"
0155 exbenchsv SRVID=700 MIN=1 MAX=1 SRVGRP=DDR2 CLOPT="-A -- -T -eTESTEV"
0156 exbenchsv SRVID=750 MIN=1 MAX=1 SRVGRP=DDR2 CLOPT="-A -- -eTESTEV -s TESTEV"
0157 #
0158 # Have some forward queues...
0159 #
0160 DEFAULT:                        SRVGRP=QGRP1
0161 
0162 TMQFORWARD      SRVID=1100 MIN=1 MAX=1 CLOPT="-A -- -i 2 -qQGRP1_1"
0163 TMQFORWARD      SRVID=1120 MIN=1 MAX=1 CLOPT="-A -- -i 2 -qQGRP1_2 -t60"
0164 TMQFORWARD      SRVID=1130 MIN=2 MAX=3 CLOPT="-A -- -i 2 -qQGRP1_3 "
0165 
0166 DEFAULT:                        SRVGRP=QGRP2 MIN=10 MAX=10
0167 TMQFORWARD      SRVID=1200 CLOPT="-A -- -i 2 -qQGRP1_1"
0168 TMQFORWARD      SRVID=1220 CLOPT="-A -- -i 2 -qQGRP1_2 -t60"
0169 TMQFORWARD      SRVID=1230 CLOPT="-A -- -i 2 -qQGRP1_3 "
0170 
0171 DEFAULT:                        SRVGRP=QGRP3 MIN=10 MAX=10
0172 TMQFORWARD      SRVID=1300 CLOPT="-A -- -i 2 -qQGRP1_1"
0173 TMQFORWARD      SRVID=1320 CLOPT="-A -- -i 2 -qQGRP1_2 -t60"
0174 TMQFORWARD      SRVID=1330 CLOPT="-A -- -i 2 -qQGRP1_3 "
0175 
0176 
0177 # check merge max to 11
0178 DEFAULT:                        MAX=11
0179 
0180 orabin1       SRVID=2000 SRVGRP=ORAGRP1
0181 orabin2            SRVID=2100 SRVGRP=ORAGRP2
0182 orabin3            SRVID=2200 SRVGRP=ORAGRP3 THREADSTACKSIZE=6500000
0183 
0184 *SERVICES   
0185 
0186 DEFAULT:            AUTOTRAN=Y
0187                     TRANTIME=60
0188                     ROUTING=ROUT1
0189                     PRIO=15
0190 
0191 TESTSV_DDR ROUTING=ROUT1
0192 EXBENCH         AUTOTRAN=Y ROUTING=ROUT2 PRIO=10 TRANTIME=40
0193 
0194 
0195 *ROUTING
0196 
0197 ROUT1   FIELD=T_STRING_10_FLD   BUFTYPE="FML32"  FIELDTYPE=STRING
0198                 RANGES="'0':DDR1,'2':DDR2,*:*"
0199 
0200 ROUT2   FIELD=T_STRING_10_FLD   BUFTYPE="FML32"  FIELDTYPE=STRING
0201                 RANGES="'0':DDR1,'2':DDR2,*:*"
0202 
0203