wso2is - wso2 api-manager configurations for cluster environment -


environment

so have clustered environment api manager , 2 gateway workers (the gateways on load balancer) , 2 identity servers key managers (load balancer).

i confused when comes configuring below code.

            <environment type="hybrid" api-console="true">             <name>production , sandbox</name>             <description>this hybrid gateway handles both production , sandbox token traffic.</description>             <!-- server url of api gateway -->             <serverurl>https://gatemgrdev.byui.edu/services/</serverurl>                     <!-- admin username api gateway. -->             <username>${admin.username}</username>             <!-- admin password api gateway.-->             <password>${admin.password}</password>             <!-- endpoint urls apis hosted in api gateway.-->             <gatewayendpoint>http://${carbon.local.ip}:${http.nio.port},https://${carbon.local.ip}:${https.nio.port}</gatewayendpoint>         </environment>     </environments> </apigateway> 

in identity servers point server url api manager. so

<serverurl>https://apimgr.org/services/</serverurl> 

in api manager change configs

<gatewayendpoint>http://gateworker.org,https://gateworker.org</gatewayendpoint> 

so how should configure gateway workers? have them? also, i'm configuring 2 above correctly?

you can find gateway configurations [1]

[1] https://docs.wso2.com/display/am210/clustering+the+api+manager#clusteringtheapimanager-configuringthegateway

thanks
isura.


Comments

Popular posts from this blog

c# - Update a combobox from a presenter (MVP) -

How to understand 2 main() functions after using uftrace to profile the C++ program? -

How to put a lock and transaction on table using spring 4 or above using jdbcTemplate and annotations like @Transactional? -