I have the following doubt relating how to correctly set up a WSO2 MB cluster respecting the requirements of high availability.
(对于如何正确设置WSO2 MB群集(遵循高可用性要求),我有以下疑问。)
I am following this official guide: https://docs.wso2.com/display/EI650/Clustering+the+Message+Broker+Profile#ClusteringtheMessageBrokerProfile-Testingthecluster (我正在遵循此官方指南: https : //docs.wso2.com/display/EI650/Clustering+the+Message+Broker+Profile#ClusteringtheMessageBrokerProfile-Testingthecluster)
So I will have a two nodes WSO2 MB profile cluster.
(因此,我将有两个节点WSO2 MB配置文件集群。)
Now my doubt is related to the high availability concept (basically: if a single node is not working, the cluster should still works). (现在,我的疑问与高可用性概念有关(基本上:如果单个节点不工作,则群集仍应工作)。)
I have two nodes cluster, each node run on a specific server having a specific IP address, something like this
(我有两个节点集群,每个节点运行在具有特定IP地址的特定服务器上,如下所示)
NODE 1 with the IP: XXX.XXX.XXX.1
(IP为XXX.XXX.XXX.1的节点1)
NODE 2 with the IP: XXX.XXX.XXX.2
(IP为XXX.XXX.XXX.2的节点2)
So lets suppose that I want publish a message into a queue defined on this cluster.
(因此,假设我想将消息发布到此群集上定义的队列中。)
I suppose that I can send the message indifferently to one of these 2 nodes (correct me if I am doing wrong assertion). (我想我可以将消息无差别地发送到这两个节点之一(如果我做错了断言,请更正我)。)
If this is the situation: how can I guarantee the high availability requirement?
(如果是这种情况:我如何保证高可用性要求?)
Can I simply put both my nodes under a load balancer? (我可以简单地将两个节点都放在负载均衡器下吗?)
so that if one node doesn't work, the request is directed to the other (因此,如果一个节点不起作用,则该请求将定向到另一节点)
Is it a correct way to handle this situation?
(这是处理这种情况的正确方法吗?)
ask by AndreaNobili translate from so 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…