私はクラスタ化されたAPIのマネージャーを5台の仮想マシンと2.0.0のインストールを展開しています:んのAPI - WSO2 APIマネージャ2.0.0
VM1 は鍵マネージャ+分析ノードを共有しない:
/var/wso2am/bin/wso2server.sh -Dprofile = API鍵マネージャとデフォルトのポートを使用して実行- 専用キーマネージャは/ VAR/wso2am-分析/ビンによって(+1)をオフセット/wso2server.sh
VM2
デフォルトで実行する専用ゲートウェイノードオフセット(+0)/var/wso2am/bin/wso2server.sh -Dprofile =ゲートウェイマネージャによって
VM3
/var/wso2am/var/wso2am/bin/wso2server.sh -Dprofile = api-storeによってデフォルトのオフセット(+0)で実行される専用ストアノード。
V M4デフォルトで実行
専用トラフィック・マネージャ・ノードは/var/wso2am/bin/wso2server.sh -Dprofile =トラフィックマネージャ
VM5
専用パブリッシャノード実行して(+0)オフセットデフォルトで私はClustering API Manager 2.0.0
I s内のすべてのステップを完了し/var/wso2am/bin/wso2server.sh -Dprofile = API-出版社
によって(0)オフセットVM3とVM5を持つ2つのクラスタノードがあり、storeノードとpublisherノードの両方で/ _system/governance/apimgt/applicationdataレジストリが表示されます。 私は、店舗カーボン管理インターフェース(メタデータ - >リスト> API)のパブリッシャーノードで作成されたAPIを閲覧することもできます。
しかし、VM3の専用店頭(「VM3/store」)ではAPIは表示されません。同じ時間で
私はパブリッシャノードの「VM5 /ストア」ページを開きますならば、私は何をチェックする必要があり、公開APIにうまく
を見ることができるのですか?
UPD:
APIはそれはそれに応じて更新されていない「作成」間違ったライフサイクルステータスを持つストアのノードにプッシュされます。ストアノードでLifecycle Statusを手動で変更しようとしましたが、APIはストアモードで正常に公開されています。
したがって、ストアノードのライフサイクルステータスのライブアップデートに問題があるようです。どうすれば修正できますか?
UPD2:ここ
が店に私のaxis2.xmlをコンフィグある(IPはx.x.x.ですここでは15)
<clustering class="org.wso2.carbon.core.clustering.hazelcast.HazelcastClusteringAgent"
enable="true">
<parameter name="membershipScheme">wka</parameter>
<parameter name="domain">wso2.carbon.domain</parameter>
<parameter name="localMemberHost">x.x.x.15</parameter>
<parameter name="localMemberPort">4000</parameter>
<members>
<member>
<hostName>x.x.x.17</hostName>
<port>4000</port>
</member>
<member>
<hostName>x.x.x.15</hostName>
<port>4000</port>
</member>
</members>
`
パブリッシャ上の私のaxis2.xmlをコンフィグある(IPは店舗ログファイルにxxx17)
<clustering class="org.wso2.carbon.core.clustering.hazelcast.HazelcastClusteringAgent"
enable="true">
<parameter name="membershipScheme">wka</parameter>
<parameter name="domain">wso2.carbon.domain</parameter>
<parameter name="localMemberHost">x.x.x.17</parameter>
<parameter name="localMemberPort">4000</parameter>
<members>
<member>
<hostName>x.x.x.15</hostName>
<port>4000</port>
</member>
<member>
<hostName>x.x.x.17</hostName>
<port>4000</port>
</member>
</members>
メッセージ
Cluster domain: wso2.carbon.domain
Loading hazelcast configuration from axis2 clustering configuration
Using wka based membership management scheme
Added member: Host:x.x.x.17, Remote Host:null, Port: 4000, HTTP:-1, HTTPS:-1, Domain: null, Sub-domain:null, Active:true
Added member: Host:x.x.x.15, Remote Host:null, Port: 4000, HTTP:-1, HTTPS:-1, Domain: null, Sub-domain:null, Active:true
Hazelcast initialized in 9167ms
Local member: [3c9c1b66-9ad9-4e4f-8d7e-de2864e8d56d] - Host:x.x.x.15, Remote Host:null, Port: 4000, HTTP:8280, HTTPS:8243, Domain: wso2.carbon.domain, Sub-domain:worker, Active:true
Cluster initialization completed
Task service starting in CLUSTERED mode...
Successfully Initialized Eventing on Registry
メッセージでありますサイト運営者ログファイル
Cluster domain: wso2.carbon.domain
Loading hazelcast configuration from axis2 clustering configuration
Using wka based membership management scheme
Added member: Host:x.x.x.15, Remote Host:null, Port: 4000, HTTP:-1, HTTPS:-1, Domain: null, Sub-domain:null, Active:true
Added member: Host:x.x.x.17, Remote Host:null, Port: 4000, HTTP:-1, HTTPS:-1, Domain: null, Sub-domain:null, Active:true
Hazelcast initialized in 10380ms
Local member: [094f544b-1cfe-41b1-9a5f-0664aefc1ba5] - Host:x.x.x.17, Remote Host:null, Port: 4000, HTTP:8280, HTTPS:8243, Domain: wso2.carbon.domain, Sub-domain:worker, Active:true
Cluster initialization completed
Error in instantiating class : org.wso2.carbon.apimgt.usage.publisher.APIMgtThrottleUsageHandler
Sequence Deployment from the file : /var/wso2am/repository/deployment/server/synapse-configs/default/sequences/_throttle_out_handler_.xml : Failed.
Deployment of the Synapse Artifact from file : /var/wso2am/repository/deployment/server/synapse-configs/default/sequences/_throttle_out_handler_.xml : Failed!
The file has been backed up into : NO_BACKUP_ON_WORKER.INFO
Deployment of synapse artifact failed. Error reading /var/wso2am/repository/deployment/server/synapse-configs/default/sequences/_throttle_out_handler_.xml : Sequence Deployment from the file : /var/wso2am/repository/deployment/server/synapse-configs/default/sequences/_throttle_out_handler_.xml : Failed.
org.apache.axis2.deployment.DeploymentException: Sequence Deployment from the file : /var/wso2am/repository/deployment/server/synapse-configs/default/sequences/_throttle_out_handler_.xml : Failed.
Error in instantiating class : org.wso2.carbon.apimgt.usage.publisher.APIMgtFaultHandler
Sequence Deployment from the file : /var/wso2am/repository/deployment/server/synapse-configs/default/sequences/fault.xml : Failed.
Deployment of the Synapse Artifact from file : /var/wso2am/repository/deployment/server/synapse-configs/default/sequences/fault.xml : Failed!
The file has been backed up into : NO_BACKUP_ON_WORKER.INFO
Deployment of synapse artifact failed. Error reading /var/wso2am/repository/deployment/server/synapse-configs/default/sequences/fault.xml : Sequence Deployment from the file : /var/wso2am/repository/deployment/server/synapse-configs/default/sequences/fault.xml : Failed.
org.apache.axis2.deployment.DeploymentException: Sequence Deployment from the file : /var/wso2am/repository/deployment/server/synapse-configs/default/sequences/fault.xml : Failed.
Task service starting in CLUSTERED mode...
Successfully Initialized Eventing on Registry
私はconfigsとログでトピックを更新しました。間違いを起こす可能性がありますか?更新された回答 –
。 – Bee
ここで、 'registry.xml 'の設定は です。 このURLはどのような点を指摘すべきですか? 9443ポートでローカルIPを設定する必要がありますか、443ポートでパブリックDNS名を設定する必要があります(正面に逆NGINXがあります)。 –