Skip to main content

Posts

Showing posts with the label WSO2 ELB

Why we need atleast 2 WKMs for WSO2 Product cluster

Assume we have an ELB cluster with 2 nodes connected to AS and ESB clusters. (Here the well known members are 2 ELBs) All nodes are connected and working fine (members joined the cluster). Let’s say, if both ELBs were down and then restarted, the ASs and ESBs also have to be restarted to join the cluster again. This is a known issue in Hazelcast. If all WK members fail, the entire cluster has to be restarted. Thats why they have recommend to have two WKs members at minimum. To avoid this situation you can configure the AS and ESB management nodes also as well-known members. Clustering details can found on AS[2] and ESB[3] links. [1] https://docs.wso2.com/display/CLUSTER420/Overview [2] https://docs.wso2.com/display/CLUSTER420/Clustering+Application+Server [3] https://docs.wso2.com/display/CLUSTER420/Clustering+ESB To configure AS & ESB mgt nodes as WK members, follow the following steps - Update the AS mgt node axis2.xml file with WK member details as f...

WSO2 AS worker/manager cluster without WSO2 ELB

This blog describes how to setup WSO2 Application Server worker/manager cluster without using WSO2 Elastic Load Balancer and later we can use this cluster for configure different 3rd party load balances WSO2 Application Server - 5.2.1 1. Use Cases Each use case consist of 3 WSO2 AS instances form worker/manager cluster fronting with load balancer. Use Case 1: Requests direct to worker node cluster through LB No access to admin console through LB   Use Case 2: Requests direct to worker node cluster through LB. Allows to access admin console through LB. Use Case 3: Requests direct to worker node cluster through LB. Allows to access admin console through LB. Additionally manager node also serve requests. (Here manger node work as both worker and manager) Manager/Worker3 Worker1 Worker2 offset 1 2 3 localMemberPort 4100 4200 4300 http 9764 9765 9766 https 9444 9445 9446 2. Tips to configu...

WSO2 AS worker/manager cluster with WSO2 ELB

This blog describes how to setup WSO2 Application Server worker/manager cluster with WSO2 Elastic Load Balancer. WSO2 Elastic Load Balancer - 2.1.0 WSO2 Application Server - 5.2.1 1. Deployment Diagram 2. Configure the load balancer 1. Unzip the WSO2 ELB 2. Setting up the load balancing configuration Edit “<ELB_HOME>/repository/conf/loadbalancer.conf” file appserver {         domains   {                        wso2.as.domain {                 tenant_range     *; group_mgt_port 4500 ;        worker {            hosts as.wso2.com;        }    mgt {     hosts mgt.as.wso2.com; }     ...