On Mon, May 28, 2012 at 9:39 PM, Afkham Azeez <[email protected]> wrote:
> > > On Mon, May 28, 2012 at 9:31 PM, Nirmal Fernando <[email protected]> wrote: > >> Hi Azeez, >> >> I would like to know bit more details on this (sorry for the trouble, I'm >> not that familiar with the concept of adding static endpoints, but like to >> know.). >> >> 1. Is the configuration something like >> http://docs.wso2.org/display/ESB403/Load-balance+Endpoint ? Are we >> adding this to main sequence? >> >> > Yes. But we won't add it to the main sequence. > I see! So shall we decide on what additional entries should be added in loadbalancer.conf? Should we add an entry under *loadbalancer* to specify the staticism or dynamicism of the endpoint to be used? Should we have a separate *static_endpoint* element, which lists all static endpoints' related entries? Can you please suggest an appropriate rough configuration? Current loadbalancer.conf looks like following: ---------------------------------------------------------------------------------------------------------------------------------------- #configuration details of WSO2 Load Balancer loadbalancer { # minimum number of load balancer instances instances 1; # whether autoscaling should be enabled or not, currently we do not support autoscaling enable_autoscaler false; # End point reference of the Autoscaler Service #autoscaler_service_epr https://10.100.2.85:9443/services/AutoscalerService/; # interval between two task executions in milliseconds #autoscaler_task_interval 5000; } # services' details which are fronted by this WSO2 Load Balancer services { # default parameter values to be used in all services defaults { min_app_instances 1; max_app_instances 5; queue_length_per_node 3; rounds_to_average 2; instances_per_scale_up 1; message_expiry_time 60000; } appserver { # multiple hosts should be separated by a comma. hosts appserver.cloud-test.wso2.com,as.cloud-test.wso2.com; domains { wso2.as1.domain { tenant_range 1-100; } wso2.as2.domain { tenant_range 101-200; } wso2.as.domain { # all tenants other than 1-200 will belong to this domain. tenant_range *; } } } } ------------------------------------------------------------------------------------------------------- > When we add stuff to the loadbalancer.conf, the main sequence & all other > relevant parts should get automatically populated & configured. We are > targeting LBs are sysadmins. We don't want to expose them to the > complexities of Axis2/Synapse etc. > > > >> 2. If we're statically defining endpoints in main sequence, why we do >> need to care about loadbalancer.conf? >> >> > The same reason why we went through to make configuring autoscaling, > domains etc. using the loadbalancer.conf file. > > On Mon, May 28, 2012 at 9:07 PM, Afkham Azeez <[email protected]> wrote: >> >>> >>> >>> On Mon, May 28, 2012 at 7:28 PM, Selvaratnam Uthaiyashankar < >>> [email protected]> wrote: >>> >>>> Are we doing this feature for coming release? >>>> >>> >>> I don't know whether we have enough time for this. I think we can do an >>> independent minor release of the LB with this feature if necessary. >>> >>> >>>> >>>> >>>> >>>> On Fri, May 25, 2012 at 1:03 PM, Sanjeewa Malalgoda >>>> <[email protected]>wrote: >>>> >>>>> +1 we have to implement this. >>>>> Thanks. >>>>> >>>>> >>>>> On Fri, May 25, 2012 at 12:45 PM, Afkham Azeez <[email protected]> wrote: >>>>> >>>>>> This should be a feature in the LB. Without this, basically, using >>>>>> the new loadbalancer.conf, we will not be able to add static endpoints, >>>>>> and >>>>>> thereby, not be able to load balance across non-WSO2 products, or will >>>>>> not >>>>>> be able to loadbalance across WSO2 products without clustering being >>>>>> enabled. >>>>>> >>>>>> -- >>>>>> *Afkham Azeez* >>>>>> Director of Architecture; WSO2, Inc.; http://wso2.com >>>>>> Member; Apache Software Foundation; http://www.apache.org/ >>>>>> * <http://www.apache.org/>** >>>>>> email: **[email protected]* <[email protected]>* cell: +94 77 3320919 >>>>>> blog: **http://blog.afkham.org* <http://blog.afkham.org>* >>>>>> twitter: >>>>>> **http://twitter.com/afkham_azeez*<http://twitter.com/afkham_azeez> >>>>>> * >>>>>> linked-in: **http://lk.linkedin.com/in/afkhamazeez* >>>>>> * >>>>>> * >>>>>> *Lean . Enterprise . Middleware* >>>>>> >>>>>> >>>>> >>>>> >>>>> -- >>>>> *Sanjeewa Malalgoda* >>>>> mobile : +94 713068779 >>>>> <http://sanjeewamalalgoda.blogspot.com/>blog >>>>> :http://sanjeewamalalgoda.blogspot.com/<http://sanjeewamalalgoda.blogspot.com/> >>>>> >>>>> _______________________________________________ >>>>> Dev mailing list >>>>> [email protected] >>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev >>>>> >>>>> >>>> >>>> >>>> -- >>>> S.Uthaiyashankar >>>> Senior Software Architect >>>> Chair, Management Committee – Cloud Technologies >>>> WSO2 Inc. >>>> http://wso2.com/ - "lean . enterprise . middleware" >>>> >>>> Phone: +94 714897591 >>>> >>> >>> >>> >>> -- >>> *Afkham Azeez* >>> Director of Architecture; WSO2, Inc.; http://wso2.com >>> Member; Apache Software Foundation; http://www.apache.org/ >>> * <http://www.apache.org/>** >>> email: **[email protected]* <[email protected]>* cell: +94 77 3320919 >>> blog: **http://blog.afkham.org* <http://blog.afkham.org>* >>> twitter: **http://twitter.com/afkham_azeez*<http://twitter.com/afkham_azeez> >>> * >>> linked-in: **http://lk.linkedin.com/in/afkhamazeez* >>> * >>> * >>> *Lean . Enterprise . Middleware* >>> >>> >>> _______________________________________________ >>> Dev mailing list >>> [email protected] >>> http://wso2.org/cgi-bin/mailman/listinfo/dev >>> >>> >> >> >> -- >> >> Thanks & regards, >> Nirmal >> >> Software Engineer- Platform Technologies Team, WSO2 Inc. >> Mobile: +94715779733 >> Blog: http://nirmalfdo.blogspot.com/ >> > > > > -- > *Afkham Azeez* > Director of Architecture; WSO2, Inc.; http://wso2.com > Member; Apache Software Foundation; http://www.apache.org/ > * <http://www.apache.org/>** > email: **[email protected]* <[email protected]>* cell: +94 77 3320919 > blog: **http://blog.afkham.org* <http://blog.afkham.org>* > twitter: **http://twitter.com/afkham_azeez*<http://twitter.com/afkham_azeez> > * > linked-in: **http://lk.linkedin.com/in/afkhamazeez* > * > * > *Lean . Enterprise . Middleware* > > -- Thanks & regards, Nirmal Software Engineer- Platform Technologies Team, WSO2 Inc. Mobile: +94715779733 Blog: http://nirmalfdo.blogspot.com/
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
