请问各位高手关于tuxedo配置的问题
因为项目原因,需要使用tuxedo实现代理功能,就是一个请求到tuxedo之后,通过配置把请求转发到另外的tuxedo服务器上去,请问各位高手,这种功能可以通过tuxedo的配置实现吗,我现在的配置文件是
**********************ubbconfig********************
*RESOURCES
IPCKEY 123456
MASTER kfzx10
DOMAINID PBCSWEB
UID 206
GID 207
PERM 0666
MAXACCESSERS 100
MAXSERVERS 100
MAXSERVICES 100
MODEL SHM
SCANUNIT 10
SANITYSCAN 12
BLOCKTIME 6
MAXCONV 500
NOTIFY DIPIN
*MACHINES
kfzx10 LMID = kfzx10
TUXCONFIG="/home/ap/pbcs/TUXAPPS/TUXCONFIG"
TUXDIR="/home/mw/tuxedo/tuxedo8.1"
APPDIR="/home/ap/pbcs/TUXAPPS"
ENVFILE="/home/ap/pbcs/bin/env.sh"
MAXCONV=50
MAXWSCLIENTS=50
*GROUPS
LDMGRP LMID=kfzx10 GRPNO=1
LGWGRP LMID=kfzx10 GRPNO=2
CLIENTPROXY LMID=kfzx10 GRPNO=3
*SERVERS
DEFAULT:
RESTART=Y
GRACE=100000
MAXGEN=255
CONV=N
CLOPT="-A -t -r -e /home/ap/pbcs/log/stderr -o /home/ap/pbcs/log/stdout"
WSL SRVGRP=CLIENTPROXY SRVID=7 CLOPT="-A -t -- -n //128.160.96.19:7005 -m 2"
DMADM SRVGRP = "LDMGRP" SRVID=1
GWADM SRVGRP = "LGWGRP" SRVID=2 REPLYQ=N MAXGEN=5 GRACE=1
GWTDOMAIN SRVGRP="LGWGRP" SRVID=3 REPLYQ=Y RQADDR=LGWGRP MAXGEN=5 GRACE=1
*SERVICES
***********************domconfig***********************
*DM_LOCAL_DOMAINS
PBCSWEB TYPE=TDOMAIN DOMAINID="BCSWEB" GWGRP=LGWGRP DMTLOGDEV="/home/ap/pbcs/log/DLOG"
*DM_REMOTE_DOMAINS
DMTSPT TYPE=TDOMAIN DOMAINID="DMTSPT"
*DM_TDOMAIN
DMTSPT NWADDR="//68.0.98.35:9012"
PBCSWEB NWADDR="//128.160.96.19:7004"
*DM_LOCAL_SERVICES
*DM_REMOTE_SERVICES
pbcssvc RDOM=DMTSPT
#ROUTING=GZTSPT
#*DM_ROUTING
#GZTSPT BUFTYPE="FML32" FIELD="branch" RANGES="510-510MTSPT"
说明:一个远程请求过来之后,可以直接路由到远程另一远程域DMTSPT上去,这种功能可以实现吗
使用tuxedo的路由功能(DDR)可以实现吗?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(5)
急求安装tuxedo for linux 全过程 ??知道答案的帮忙给一下。在这里谢过了!!!
ROUTING是专门为FML做的,除非你自己应用逻辑来做路由分发Service调用。
更多Tuxedo问题,请访问www.tuxdev.cn.
BUFTYPE = “type1[:subtype1[, subtype2 . . . ]][; type2[:subtype3[, . . . ]]] . . .”
A list of types and subtypes of data buffers for which this routing entry is valid. The types
are restricted to FML, FML32, VIEW, VIEW32, X_C_TYPE, X_COMMON, or XML. No subtype
can be specified for type FML, FML32, or XML; subtypes are required for types VIEW,
VIEW32, X_C_TYPE, and X_COMMON (“*” is not allowed). Duplicate type/subtype pairs
cannot be specified for the same routing criteria name; more than one routing entry can
have the same criteria name as long as the type/subtype pairs are unique. This parameter
is required. If multiple buffer types are specified for a single routing entry, the data types
of the routing field for each buffer type must be the same.
If the field value is not set (for FML or FML32 buffers), or does not match any specific
range and a wildcard range has not been specified, an error is returned to the application
process that requested the execution of the remote service.
File Formats, Data Descriptions, MIBs, and System Processes Reference
再问个问题,buffer 类型为string能不能实现路由
# BEA Tuxedo Domains Configuration File for the Central Bank
#
#
*DM_LOCAL
#
DEFAULT: SECURITY = NONE
c01 GWGRP = bankg1
TYPE = TDOMAIN
ACCESSPOINTID = "BA.CENTRAL01"
DMTLOGDEV = "/usr/apps/bank/DMTLOG"
DMTLOGNAME = "DMTLG_C01"
c02 GWGRP = bankg2
TYPE = OSITP
ACCESSPOINTID = "BA.CENTRAL02"
DMTLOGDEV = "/usr/apps/bank/DMTLOG"
DMTLOGNAME = "DMTLG_C02"
#
*DM_REMOTE
#
b01 TYPE = TDOMAIN
ACCESSPOINTID = "BA.BANK01"
b02 TYPE = TDOMAIN
ACCESSPOINTID = "BA.BANK02"
b03 TYPE = TDOMAIN
ACCESSPOINTID = "BA.BANK03"
b04 TYPE = OSITP
ACCESSPOINTID = "BA.BANK04"
*DM_TDOMAIN
#
# local network addresses
c01 NWADDR = "//newyork.acme.com:65432" NWDEVICE ="/dev/tcp"
# remote network addresses
b01 NWADDR = "//192.11.109.5:1025" NWDEVICE = "/dev/tcp"
b02 NWADDR = "//dallas.acme.com:65432" NWDEVICE = "/dev/tcp"
b03 NWADDR = "//192.11.109.156:4244" NWDEVICE = "/dev/tcp"
*DM_OSITP
#
c02 APT = "BA.CENTRAL01"
AEQ = "TUXEDO.R.4.2.1"
AET = "{1.3.15.0.3},{1}"
ACN = "XATMI"
b04 APT = "BA.BANK04"
AEQ = "TUXEDO.R.4.2.1"
AET = "{1.3.15.0.4},{1}"
ACN = "XATMI"
*DM_EXPORT
#
open_act ACL = branch
close_act ACL = branch
credit
debit
balance
loan LACCESSPOINT = c02 ACL = loans
*DM_IMPORT
#
tlr_add LACCESSPOINT = c01 ROUTING = ACCOUNT
tlr_bal LACCESSPOINT = c01 ROUTING = ACCOUNT
tlr_add RACCESSPOINT = b04 LACCESSPOINT = c02 RNAME ="TPSU002"
tlr_bal RACCESSPOINT = b04 LACCESSPOINT = c02 RNAME ="TPSU003"
tlr_bal RACCESSPOINT = b02,b03” LACCESSPOINT = c02
*DM_ROUTING
#
ACCOUNT FIELD = branchid BUFTYPE = “VIEW:account”
RANGES = “MIN-1000:b01,1001-3000:b02,*:b03”
*DM_ACCESS_CONTROL
#
branch ACLIST = “b01,b02,b03”
loans ACLIST = b04