WSNADDR=//128.192.109.50:6830
多個地址的方式是:
export WSNADDR='(//128.192.109.50:6830|//128.192.109.51:6830)'
注意這里需要單引號,。,。。
WSL相關(guān)配置參數(shù)介紹可以在WSNADDR配置多個地址,第一個不好使,,自動找下一個地址,。例如: WSNADDR=//IP1:port1;IP2:port2;IP3:port3?;蛘吣愣鄮讉€配置IP的WSNADDR的配置文件小節(jié)(section),,那么通過程序來控制讀第一個ip是否失敗。 WSL SRVGRP=GP_COMMON SRVID=1 CLOPT="-A -t -- -n//10.1.2.69:8888 -m3 -M20 -x5" CLOP中參數(shù)的含義 -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連接的時間多長,,指連接的動作,,不是連接后的持續(xù)時間,如果你用tuxedo6.5的client去連tuxedo7, 則必須要寫此參數(shù)(自己總結(jié)的) -- :The double-dash (--) marks the beginning of a list of parameters that is passed to the WSL after it has been booted. 表示服務(wù)器起來之后的參數(shù),,其總的值與UBB中的參數(shù)有約束,。 -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. 網(wǎng)絡(luò)連接參數(shù),客戶端可以按照這個設(shè)置,。 -m : The minimum number of handlers that should be booted and always available. The default is 0. 服務(wù)器起來之后的最小常連接 -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).最大常連接,,默認(rèn)值是UBB中的MAXWSCLIENTS的數(shù)量。 -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.服務(wù)器一次處理的最大客戶端數(shù)量,,必須大于0,,默認(rèn)值是10。 tuxedo wsl 負(fù)載均衡 unix 下的配置WSNADDR=//128.192.109.50:6830
多個地址的方式是: export WSNADDR='(//128.192.109.50:6830|//128.192.109.51:6830)'
注意這里需要單引號,。,。。 |
|