部署同步问题 - API Manager 1.8
Deployment synchronization Issue - API Manager 1.8
我已经集群了 WSO2 API Manager 1.8 并根据 WSO2 文档中给出的 to this guide 实现了部署同步。除了一件事,一切都恰好有效。
假设我们有以下 2 个实例 运行 API 经理。
192.168.X.123 - API 经理 1
192.168.X.124 - API 经理 2
问题是,一旦我在 API Manager 1 上创建并发布了 API,它就会出现在发布者的 API Manager 2 上。但是特定的 API 没有出现在 API Manager 2 Store 中。
另请注意,我正在为 API 管理器集群(API 管理器 1 和 2)使用共享的 MySQL 数据库。我检查了日志但没有包含任何错误。
我该如何解决这个问题?
请看WSO2 Clustering and Deployment Guide. Please check the docs on Clustering API Manager and SVN-based Deployment Synchronizer
如果所有配置都正确,一旦您拥有 "Published" the API,您的 API 应该会显示在商店中。由于索引等原因,可能需要一些时间(可能是几分钟)才能出现在商店中。
In our situation, we defined 2 different servers with extra CPU and
memory, on these servers we have installed the full WSO2 API Manager
and defined the cluster configuration. Everything provisioned via
Puppet.
Just a straightforward install, all data-source pointing to one schema
in an Oracle database.
And...it is working; Our Developers happy, Operations happy, Architect
department happy
来自WSO2 API Manager Clustering configuration
我已经集群了 WSO2 API Manager 1.8 并根据 WSO2 文档中给出的 to this guide 实现了部署同步。除了一件事,一切都恰好有效。
假设我们有以下 2 个实例 运行 API 经理。
192.168.X.123 - API 经理 1
192.168.X.124 - API 经理 2
问题是,一旦我在 API Manager 1 上创建并发布了 API,它就会出现在发布者的 API Manager 2 上。但是特定的 API 没有出现在 API Manager 2 Store 中。
另请注意,我正在为 API 管理器集群(API 管理器 1 和 2)使用共享的 MySQL 数据库。我检查了日志但没有包含任何错误。
我该如何解决这个问题?
请看WSO2 Clustering and Deployment Guide. Please check the docs on Clustering API Manager and SVN-based Deployment Synchronizer
如果所有配置都正确,一旦您拥有 "Published" the API,您的 API 应该会显示在商店中。由于索引等原因,可能需要一些时间(可能是几分钟)才能出现在商店中。
In our situation, we defined 2 different servers with extra CPU and memory, on these servers we have installed the full WSO2 API Manager and defined the cluster configuration. Everything provisioned via Puppet.
Just a straightforward install, all data-source pointing to one schema in an Oracle database.
And...it is working; Our Developers happy, Operations happy, Architect department happy
来自WSO2 API Manager Clustering configuration