WSO2 API 管理器添加额外的服务器节点

WSO2 API Manager adding extra server node

如果我有 WSO2 API 管理器 运行 并且想添加一个额外的节点(比如我有 2 个并且想添加第三个),似乎 API xml 文件不会传播到 synapse-configs 目录。

有什么方法可以将api同步到新节点吗?

类似地,如果我在共享数据库上有 WSO2 API 管理器 运行 并删除实例但保留数据库,有没有办法从数据库?

谢谢。

If I have WSO2 API Manager running and want to add an extra node (say I have 2 and want to add a third), it seems that API xml files are not propagated to the synapse-configs directory.

Is there any way to synchronize the apis to a new node?

Deployment Synchronizer 提供跨产品集群节点同步部署工件的功能。为了让您的集群正常运行,所有节点必须具有相同的配置。

所有基于 Carbon 的产品,包括 WSO2 API Manager 使用 Deployment Synchronizer (DepSync) 来确保在集群中的所有节点上保持相同的状态。它维护 <APIM_HOME>/repository/deployment/server 文件夹的中央存储库,这是存储所有基于 Carbon 的产品的部署配置的地方,并使用该存储库同步节点。

Similarly, if I have WSO2 API Manager running on a shared database and delete the instance but keep the DB, is there a way to restore the APIs from the DB?

由于一些参数保存在文件系统中,您无法仅从数据库中恢复 API。