[转帖] 配置tuxedo 的WSL_MQ, Tuxedo及OLTP讨论区_Weblogic技术|Tuxedo技术|中间件技术|Oracle论坛|JAVA论坛|Linux/Unix技术|hadoop论坛_联动北方技术论坛  
网站首页 | 关于我们 | 服务中心 | 经验交流 | 公司荣誉 | 成功案例 | 合作伙伴 | 联系我们 |
联动北方-国内领先的云技术服务提供商
»  游客             当前位置:  论坛首页 »  自由讨论区 »  MQ, Tuxedo及OLTP讨论区 »
总帖数
1
每页帖数
101/1页1
返回列表
0
发起投票  发起投票 发新帖子
查看: 4739 | 回复: 0   主题: [转帖] 配置tuxedo 的WSL        下一篇 
luxiaofan
注册用户
等级:上尉
经验:705
发帖:67
精华:0
注册:2012-10-8
状态:离线
发送短消息息给luxiaofan 加好友    发送短消息息给luxiaofan 发消息
发表于: IP:您无权察看 2012-10-17 14:51:58 | [全部帖] [楼主帖] 楼主

    如果tuxedo Server端想做load balance的话,有多台机器做Server端,那么对应的Client端不是要配置WSLADDR,这个WSLADDR就是对应的Server的地址啊,应该如何去配置呢?

你可以在WSNADDR配置多个地址,第一个不好使,自动找下一个地址。例如:

WSNADDR=//IP1:port1;IP2:port2;IP3:port3。或者你多几个配置IP的WSNADDR的配置文件小节(section),那么通过程序来控制读第一个ip是否失败。
WSL SRVGRP=GP_COMMON SRVID=1 CLOPT="-A -t -- -n//10.1.2.69:8888 -m3 -M20 -x5"


CLOP中参数的含义
-A :option requests that the WSL offer all its services when it is booted. tuxedo启动时开放所有的service
-t :The amount of time to allow for a client to connect to the WSH tuxedo允许一个client连接的时间多长,指连接的动作,不是连接后的持续时间,如果你用tuxedo6.5的client去连tuxedo7, 则必须要写此参数(自己总结的)

-- :The double-dash (--) marks the beginning of a list of parameters that is passed to the WSL after it has been booted. 表示服务器起来之后的参数,其总的值与UBB中的参数有约束。
-n//10.1.2.69:8888 :The network address used by WSCs to contact the listener. The WSC must set the appropriate environment variable (WSNADDR) to the value specified after -n. 网络连接参数,客户端可以按照这个设置。


-m : The minimum number of handlers that should be booted and always available. The default is 0. 服务器起来之后的最小常连接
-M : The maximum number of handlers that can be booted. The default is the value of MAXWSCLIENTS for the machine being configured, divided by the multiplexing value (specified with -x).最大常连接,默认值是UBB中的MAXWSCLIENTS的数量。
-x : The maximum number of clients that a WSH can multiplex at one time. The value must be greater than 0. The default is 10.服务器一次处理的最大客户端数量,必须大于0,默认值是10。




赞(0)    操作        顶端 
总帖数
1
每页帖数
101/1页1
返回列表
发新帖子
请输入验证码: 点击刷新验证码
您需要登录后才可以回帖 登录 | 注册
技术讨论