简体   繁体   English

WSO2 API管理器2.1.0群集

[英]WSO2 api manager 2.1.0 clustering

I am trying to setup WSO2 api manager(as windows service) with clustering, used steps at the end of the page found at this link. 我正在尝试使用群集设置WSO2 api管理器(作为Windows服务),在此链接找到的页面末尾使用了步骤。 https://docs.wso2.com/display/CLUSTER44x/Clustering+API+Manager+2.0.0 https://docs.wso2.com/display/CLUSTER44x/Clustering+API+Manager+2.0.0

<clustering class="org.wso2.carbon.core.clustering.hazelcast.HazelcastClusteringAgent"
            enable="true">

I have 2 nodes in a load balancer, I have all 4 components(Publisher ,Store,Key Manager,Gateway) on both nodes. 我在负载均衡器中有2个节点,两个节点上都具有所有4个组件(发布者,商店,密钥管理器,网关)。 When setup individually, both nodes work. 单独设置时,两个节点都可以工作。

However, when clustering is enabled, store does not replicate from one node to another. 但是,启用群集后,存储不会从一个节点复制到另一个节点。 I have hosts file updated as needed. 我已根据需要更新主机文件。 I tried making several changes to axis2.xml, api-manager.xml; 我尝试对axis2.xml,api-manager.xml进行一些更改; some of these changes cause api manager to stop working altogether. 其中一些更改导致api管理器完全停止工作。

Does anyone have suggestions for a successful clustering setup? 有没有人建议成功建立集群? Is there something that is needed, is not mentioned in the steps mentioned at above link? 是否有需要的东西,以上链接中提到的步骤中未提及?

I think the documentation that you are following is not the relevant one. 我认为您所遵循的文档不是相关的文档。 If you are clustering WSO2 API Manager 2.1.0 version please use API Manager 2.1.0 clustering docuemntation which is inside the API Manager product documentation itself. 如果要群集WSO2 API Manager 2.1.0版本,请使用API​​ Manager产品文档本身中的API Manager 2.1.0群集文档。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM