在单个主机中启动多个 wso2 APIM 配置文件
Start multiple wso2 APIM profiles in a single host
我需要在同一台机器上启动多个 wso2 apimanager 配置文件。如何做到这一点?
特别是我必须启动一台主机上的所有组件,但网关除外,它位于另一个节点上。我无法理解如何使用分析工具来满足我的需求。
如果不是集群,使用命令 -Dprofile=gateway-worker 在另一个节点上启动网关是否正确?
谢谢
I need to start multiple wso2 apimanager profiles in the same machine. How can this be done?
您可以将安装复制到不同的文件夹(例如网关),在每个副本(实例)的carbon.xml中设置Offset parameter,更改其他实例中的端口以匹配偏移端口,您可以在单个主机上启动多个实例
Particularly I have to start all components on one host except the gateway
不,您要么指定单个配置文件,要么启动一个 "all in one" 节点。没有简单的方法可以说您想要除网关之外的所有配置文件。
拥有一个带专用网关的默认实例(publisher、store、tm、km、..),您可以启动一个默认(一体化)实例,只需将网关配置为专用实例(在 api-manager.xml), 不使用本地的。
您可以使用选定的模块创建自己的 profile,例如有效地启动除网关模块之外的所有模块,尽管我认为这样做没有任何好处。禁用一些模块不会为您节省任何可观的内存或订阅费用
Is it correct to start the gateway on the other node with the command -Dprofile=gateway-worker given that its not a cluster?
配置文件参数与集群无关。网关实例可能在也可能不在与其他网关实例的集群中。
我需要在同一台机器上启动多个 wso2 apimanager 配置文件。如何做到这一点?
特别是我必须启动一台主机上的所有组件,但网关除外,它位于另一个节点上。我无法理解如何使用分析工具来满足我的需求。
如果不是集群,使用命令 -Dprofile=gateway-worker 在另一个节点上启动网关是否正确?
谢谢
I need to start multiple wso2 apimanager profiles in the same machine. How can this be done?
您可以将安装复制到不同的文件夹(例如网关),在每个副本(实例)的carbon.xml中设置Offset parameter,更改其他实例中的端口以匹配偏移端口,您可以在单个主机上启动多个实例
Particularly I have to start all components on one host except the gateway
不,您要么指定单个配置文件,要么启动一个 "all in one" 节点。没有简单的方法可以说您想要除网关之外的所有配置文件。
拥有一个带专用网关的默认实例(publisher、store、tm、km、..),您可以启动一个默认(一体化)实例,只需将网关配置为专用实例(在 api-manager.xml), 不使用本地的。
您可以使用选定的模块创建自己的 profile,例如有效地启动除网关模块之外的所有模块,尽管我认为这样做没有任何好处。禁用一些模块不会为您节省任何可观的内存或订阅费用
Is it correct to start the gateway on the other node with the command -Dprofile=gateway-worker given that its not a cluster?
配置文件参数与集群无关。网关实例可能在也可能不在与其他网关实例的集群中。