WSO2 Analytics HA配置不工作

发布于 2025-01-31 05:47:54 字数 1301 浏览 4 评论 0原文

在流浪的照片中,我展示了我的设置: [“在此处输入图像说明”] WSO2 API Manager(3.2.0)配置文档说:

Configure the following event receiver configuration groups.
    [[apim.analytics.url_group]]
    analytics_url = 
    ["tcp://10.192.69.103:7612","tcp://10.192.69.104:7612"]
    analytics_auth_url = 
    ["ssl://10.192.69.103:7712","ssl://10.192.69.104:7712"]
    type = "loadbalance"

我将此configuratin添加到API Manager节点中,并指向7612和7712端口的分析节点1和2的节点,并且类型是负载。 下面是我的分析仪表板配置:

## Authentication configuration
 auth.configs:
kmDcrUrl: https://APIM-NODE1-IP:9443/client- 
registration/v0.17/register
kmDcrUrl: https:// APIM-NODE2-IP:9443/client- 
registration/v0.17/register
kmTokenUrlForRedirection: https://APIM-Domain/oauth2
kmTokenUrl: https:// APIM-NODE1-IP:9443/oauth2
kmTokenUrl: https:// APIM-NODE2-IP:9443/oauth2
baseUrl: https://APIM-Analtics-domain:9643  
publisherUrl: https:// APIM-NODE1-IP:9443
publisherUrl: https:// APIM-NODE2-IP:9443
devPortalUrl: https:// APIM-NODE1-IP:9443
devPortalUrl: https:// APIM-NODE2-IP:9443
externalLogoutUrl: https://APIM-Domain:9443/oidc/logout

我还更改了相关的WSO2 API管理器碳设置以进行分析 我的问题是,当我停止API-M节点1和分析节点2时,API-M的节点2无法连接到分析Node1,负载Balacing不起作用。我的配置中有什么问题或缺少部分,非常感谢Anaybody是否可以帮助我。

in the fallowing picture I showed my setup :
[enter image description here]
wso2 api manager(3.2.0) configuration document said :

Configure the following event receiver configuration groups.
    [[apim.analytics.url_group]]
    analytics_url = 
    ["tcp://10.192.69.103:7612","tcp://10.192.69.104:7612"]
    analytics_auth_url = 
    ["ssl://10.192.69.103:7712","ssl://10.192.69.104:7712"]
    type = "loadbalance"

I added this configuratin to both api manager nodes and pointed to node 1 and 2 of analytics on 7612 and 7712 ports and type is loadbalance .
and below is my analytics dashboard config :

## Authentication configuration
 auth.configs:
kmDcrUrl: https://APIM-NODE1-IP:9443/client- 
registration/v0.17/register
kmDcrUrl: https:// APIM-NODE2-IP:9443/client- 
registration/v0.17/register
kmTokenUrlForRedirection: https://APIM-Domain/oauth2
kmTokenUrl: https:// APIM-NODE1-IP:9443/oauth2
kmTokenUrl: https:// APIM-NODE2-IP:9443/oauth2
baseUrl: https://APIM-Analtics-domain:9643  
publisherUrl: https:// APIM-NODE1-IP:9443
publisherUrl: https:// APIM-NODE2-IP:9443
devPortalUrl: https:// APIM-NODE1-IP:9443
devPortalUrl: https:// APIM-NODE2-IP:9443
externalLogoutUrl: https://APIM-Domain:9443/oidc/logout

and I also change the related wso2 API manager carbon setting for analytics
my problem is when I stop API-M node 1 and Also Analytics node 2, node 2 of API-M can't connect to Analytics node1,actully the load balacing doesn't work .what is the problem or missing part in my configs , really appreciate if anaybody can help me guys .thanx so much.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文