Edge Components测试计划
拓扑
|
Hostname |
Ip Address |
安装软件 |
|
ESB1 |
122.8.14.83 |
Edge Componets V6.1.0.40 Message Broker |
|
ESB2 |
122.8.14.81 |
Message Broker |
|
Client |
122.8.46.133 |
安装并升级Edge components 到V6.1.0.40
-
安装Edge V6.1.0.0
-
解压eLBAIX-6.1.0.40.tar.Z,得到升级文件


-
使用命令进行升级

最后得到安装补丁的反馈信息,全部成功:

配置后端Server环境
由于是并置方式,因此,只需要在ESB2上添加Cluster地址到loopback地址上
命令为:
ifconfig lo0 alias Cluster_Address netmask 255.255.255.0

配置完毕,检查多余路由:
启动服务器上的服务。
配置Edge Server
为简化配置过程,备份edge默认加载的default.cfg文件,然后根据以下内容直接修改该文件。default.cfg文件的位置在:
/opt/ibm/edge/lb/servers/configurations/dispatcher/default.cfg
|
dscontrol executor start
dscontrol executor configure 122.8.14.246
dscontrol manager start |
以下为相关命令说明的摘录,供参考
|
// Start the server function. A default configuration file (default.cfg) gets automatically loaded when starting dsserver. If the user decides to save the Dispatcher configuration in default.cfg, then everything saved in this file is automatically loaded next time dsserver gets started dsserver
// start the executor function dscontrol executor start
// Define a cluster and set cluster options
// Define ports and set port options with the dscontrol port add command
// Define the load-balanced server machines
//配置工作站以接受集群地址的流量 dscontrol executor configure ClusterIP
|
测试配置结果
检查edge机器的网卡:
相关软件资源,测试客户端和服务器端代码资源
Socket连接测试: SocketClient.java Server.java
服务器端直接运行,默认侦听在4321端口
客户端可带参数,参数顺序为: 请求服务器ip 请求服务器端口 请求参数(1234567890000) 请求次数
UDP连接测试:UDPServerTest.java UDPClientTest.java
服务器端直接运行,默认侦听在4321端口
客户端直接运行,默认请求cluster246机器ip的4321端口,并请求20次
测试配置:default.cfg
以上资源打包放置到edge介质目录下的icbc目录下。
以下文章点击率最高
Loading…