On Sat, Jun 25, 2011 at 11:16 AM, Afkham Azeez <[email protected]> wrote:
> This is working. I was able to load balance to the AS & G-Reg using a > single LB. Now we can save a few thousand $ from the Amazon bill :) wow. Excellent news. Regards, Pradeeban. > > > On Sat, Jun 25, 2011 at 2:46 AM, Afkham Azeez <[email protected]> wrote: > >> This has been implemented in the 3.2.0 branch and is almost complete. I'm >> facing a minor issue in trying to getting the requested domain or complete >> URL from the Synapse MessageContext. Once that is fixed, this will be >> complete. >> >> >> On Thu, Jun 23, 2011 at 3:39 PM, Afkham Azeez <[email protected]> wrote: >> >>> Oops, I have made a mistake; the http protocol should not be part of this >>> configuration; modified configuration shown below; >>> >>> <endpoint> >>> <serviceAwareDynamicLoadBalanceEndpoint failover="true" >>> >>> algorithm="org.apache.synapse.endpoints.algorithms.RoundRobin"> >>> <membershipHandler >>> >>> class="org.apache.synapse.core.axis2.ServiceAwareLoadBalanceMembershipHandler"> >>> <services> >>> <service> >>> <domain>as.cloud.wso2.com</domain> >>> <group>wso2as.domain</group> >>> </service> >>> <service> >>> <domain>esb.cloud.wso2.com</domain> >>> <group>wso2esb.domain</group> >>> </service> >>> <service> >>> <domain>governance.cloud.wso2.com >>> </domain> >>> <group>wso2governance.domain</group> >>> </service> >>> <service> >>> <domain>gs.cloud.wso2.com</domain> >>> <group>wso2gs.domain</group> >>> </service> >>> </services> >>> </membershipHandler> >>> </serviceAwareDynamicLoadBalanceEndpoint> >>> </endpoint> >>> >>> On Thu, Jun 23, 2011 at 3:36 PM, Afkham Azeez <[email protected]> wrote: >>> >>>> This is how the endpoint configuration in the synapse.xml will look >>>> like; >>>> >>>> <endpoint> >>>> <serviceAwareDynamicLoadBalanceEndpoint failover="true" >>>> >>>> algorithm="org.apache.synapse.endpoints.algorithms.RoundRobin"> >>>> <membershipHandler >>>> >>>> class="org.apache.synapse.core.axis2.ServiceAwareLoadBalanceMembershipHandler"> >>>> <services> >>>> <service> >>>> <url>http://as.cloud.wso2.com</url> >>>> <domain>wso2as.domain</domain> >>>> </service> >>>> <service> >>>> <url>http://esb.cloud.wso2.com</url> >>>> <domain>wso2esb.domain</domain> >>>> </service> >>>> <service> >>>> <url>http://governance.cloud.wso2.com >>>> </url> >>>> <domain>wso2governance.domain</domain> >>>> </service> >>>> <service> >>>> <url>http://gs.cloud.wso2.com</url> >>>> <domain>wso2gs.domain</domain> >>>> </service> >>>> </services> >>>> </membershipHandler> >>>> </serviceAwareDynamicLoadBalanceEndpoint> >>>> </endpoint> >>>> >>>> On Thu, Jun 23, 2011 at 2:20 PM, Afkham Azeez <[email protected]> wrote: >>>> >>>>> Folks, >>>>> I'm thinking of getting $subject implemented since otherwise we will >>>>> have to have a large number of LBs for our services. The plan is to write >>>>> a >>>>> new ServiceAwareDynamicLoadBalanceEndpoint, which will do LB based on the >>>>> service. >>>>> >>>>> Axis2 already has support for handling multiple cluster domains, so we >>>>> will have to write a new Axis2LoadBalanceMembershipHandler which is >>>>> service >>>>> aware. >>>>> >>>>> The autoscaling would also need to be modified, but autoscaling is >>>>> actually a separate aspect, and we can even run the autoscaler separately >>>>> if >>>>> we are going for the CPU load average based one. >>>>> >>>>> Thoughts please. >>>>> >>>>> Thanks >>>>> Azeez >>>>> >>>>> -- >>>>> *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* >>>>> >>>>> >>>> >>>> >>>> -- >>>> *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* >>>> >>>> >>> >>> >>> -- >>> *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* >>> >>> >> >> >> -- >> *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* >> >> > > > -- > *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* > > -- Kathiravelu Pradeeban. Software Engineer. WSO2 Inc. Blog: [Llovizna] http://kkpradeeban.blogspot.com/
_______________________________________________ Carbon-dev mailing list [email protected] http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
