【问题标题】:WSO2 APIM 2.0 Clustering deployment with traffic manager cluster使用流量管理器集群的 WSO2 APIM 2.0 集群部署
【发布时间】:2016-08-31 11:26:17
【问题描述】:

从文档中,对于流量管理器,除了发布者会使用HTTPS与流量管理器通信,其他使用thrift和jms。所以对于 thrift & jms 相关的 URL:

connectionfactory.TopicConnectionFactory = amqp://admin:admin@clientid/carbon?brokerlist='tcp://<Traffic-Manager-host>:5676'
topic.throttleData = throttleDat

<ThrottlingConfigurations>
        <EnableAdvanceThrottling>true</EnableAdvanceThrottling>
        <DataPublisher>
            <Enabled>false</Enabled>
            <Type>Binary</Type>
            <ReceiverUrlGroup>tcp://<Traffic-Manager-host>:9611</ReceiverUrlGroup>
            <AuthUrlGroup>ssl://<Traffic-Manager-host>:9711</AuthUrlGroup>
        ……………………
        </DataPublisher>
        <PolicyDeployer><ServiceURL>https://<Traffic-Manager-host>:9443/services/</ServiceURL>
        ……………………
        </PolicyDeployer>
        ………………
        <JMSConnectionDetails>
            <Enabled>false</Enabled>
            <ServiceURL>tcp://<Traffic-Manager-host>:5672</ServiceURL>
        <JMSConnectionDetails>
        …………………
</ThrottlingConfigurations>

我们可以在 gateway/publisher/store/key manager 中配置流量管理器集群中的任何流量管理器主机吗?

【问题讨论】:

  • 你的问题不是很清楚。请进一步解释。
  • 我的意思是如果我有 2 个流量管理器节点,如何在 gateway/publisher/store/key-manager 中填充这些流量管理器的非 http(s) URL。
  • 或者在我的 POC 环境中(只有一台服务器),没有硬件级别的 LB,没有 DNS 级别的 LB,非 http(s) 传输的任何 LB 选择?

标签: wso2 wso2-am api-manager


【解决方案1】:

你可以这样做。

<ReceiverUrlGroup>{tcp://127.0.0.1:9612},{tcp://127.0.0.1:9613} </ReceiverUrlGroup>
<AuthUrlGroup>{ssl://127.0.0.1:9712},{ssl://127.0.0.1:9713}</AuthUrlGroup>

您可以找到几种流量管理器部署模式in this blog

【讨论】:

  • 谢谢!我会试试的。
猜你喜欢
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 2022-08-23
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
相关资源
最近更新 更多