打开APP
userphoto
未登录

开通VIP,畅享免费电子书等14项超值服

开通VIP
WSL相关配置参数介绍

WSL相关配置参数介绍

可以在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。
 

tuxedo wsl 负载均衡 unix 下的配置

WSNADDR=//128.192.109.50:6830

多个地址的方式是:

export WSNADDR='(//128.192.109.50:6830|//128.192.109.51:6830)'

 

注意这里需要单引号。。。

本站仅提供存储服务,所有内容均由用户发布,如发现有害或侵权内容,请点击举报
打开APP,阅读全文并永久保存 查看更多类似文章
猜你喜欢
类似文章
【热】打开小程序,算一算2024你的财运
tuxedo错误解析和常用配置说明
Tuxedo杂记
路由器的使用小技巧
无线路由器设置从入门到精通
路由器宽带限速:图示设置过程
tuxedo管理命令之tmboot与tmshutdown
更多类似文章 >>
生活服务
热点新闻
分享 收藏 导长图 关注 下载文章
绑定账号成功
后续可登录账号畅享VIP特权!
如果VIP功能使用有故障,
可点击这里联系客服!

联系客服