I'm working on implementing WSO2 API Manager with the following architecture: A single publisher/store node. A 2 node cluster that both servers run the Gateway and key Manager on.
When I'm following: http://docs.wso2.org/display/CLUSTER420/Clustering+API+Manager#ClusteringAPIManager-Configuringcomponentfeatures
and I get to the step for "Configuring the connections among the components" for api-manager.xml I'm confused when configuring the gateway for:
<APIKeyManager>
<ServerURL>https://keymanager.apim-wso2.com:9444/services/</ServerURL>
<Username>admin</Username>
<Password>admin</Password>
...
</APIKeyManager>
Should each gateway/key manager node for API Key Manager point to itself?
Further since my Publisher and Store are on a different server when I configure their api-manager.xml for the authmanager and APIGateway do I point that to the cluster name? When configuring:
<AuthManager>
<ServerURL>https://keymanager.apim-wso2.com:9444/services/</ServerURL>
<Username>admin</Username>
<Password>admin</Password>
</AuthManager>
<APIGateway>
<Environments>
<Environment type="hybrid">
<ServerURL>https://gwmanager.apim-wso2.com:9445/services/</ServerURL>
<Username>admin</Username>
<Password>admin</Password>
<GatewayEndpoint>http://gwmanager.apim-wso2.com:8282,https://gwmanager.apim-
wso2.com:8245</GatewayEndpoint>
</Environment>
</Environments>
</APIGateway>