【发布时间】:2019-07-19 07:12:17
【问题描述】:
我使用 WSO2 Enterprise Integrator 6.5.0 开发了 4 个代理服务。
所以我需要在这些服务上使用负载均衡器实现集群以测试它们的性能(压力)
注意:我在我的本地主机(Windows 10)上实现
I followed below guide :
https://medium.com/@snsavithrik1/wso2-ei-worker-manager-clustering-on-a-single-machine-dae1161bcb78
但是好像不行,给我,没反应
这是我的管理节点axis.xml配置:
<parameter name="localMemberHost">mgt.esb.wso2.com</parameter>
<parameter name="localMemberPort">4100</parameter>
<member>
<hostName>esb.wso2.com</hostName>
<port>4200</port>
</member>
carbon.xml(管理节点 - 第一个节点):
<!--HostName>www.wso2.org</HostName-->
<HostName>esb.wso2.com</HostName>
<MgtHostName>mgt.esb.wso2.com</MgtHostName>
工作节点:Axis.XML
<parameter name="localMemberHost">esb.wso2.com</parameter>
<parameter name="localMemberPort">4200</parameter>
<member>
<hostName>mgt.esb.wso2.com</hostName>
<port>4100</port>
</member>
carbon.xml - 工作节点(第二个节点):
<HostName>esb.wso2.com</HostName>
system32/driver/hosts 配置:
127.0.0.1 esb.wso2.com
127.0.0.1 mgt.esb.wso2.com
# 127.0.0.1 esb.wso2.com
# 127.0.0.1 mgt.esb.wso2.com
# ::1 esb.wso2.com
请帮帮我! 问候, 谢谢
【问题讨论】:
-
您不需要集群来进行压力/性能测试。集群仅用于管理单例任务,例如消息处理器、计划任务、..
-
得到了你,但我需要
标签: wso2 wso2esb wso2-am wso2carbon wso2ei