Re: [Dev] How to configure a LB cluster?

2012-04-15 Thread Afkham Azeez
As per the EC2 based deployment implementation we had, the LB to which the
elastic IP is mapped becomes the primary LB. This will not be applicable in
the new model, and we may have to explicitly specify or have some mechanism
for one of the LBs to become the primary. The easier option is, as Sanjiva
mentioned, keep all LBs active and do DNS RR.

On Tue, Apr 10, 2012 at 4:39 PM, Nirmal Fernando  wrote:

> Hi All,
>
> Say I have a primary and secondary LBs. How to configure them such that
> LBs know each other's existence?
>
> PS: I know how to configure a single LB, and cluster of other instances.
> There we map LB's public IP in axis2.xml of other instances. I tried same
> way with 2 LBs, but it failed to build AxisConfig and I think it's not the
> correct way.
>
> --
>
> 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/
* **
email: **az...@wso2.com* * cell: +94 77 3320919
blog: **http://blog.afkham.org* *
twitter: **http://twitter.com/afkham_azeez*
*
linked-in: **http://lk.linkedin.com/in/afkhamazeez*
*
*
*Lean . Enterprise . Middleware*
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] How to configure a LB cluster?

2012-04-15 Thread Sanjiva Weerawarana
You don't set them up that way. If you have 2 LBs, then there are two modes:

1. they'd be mapped to the same IP and one will take over for the other via
Linux HA or some similar mechanism. So as far as the service nodes go
there's only one LB.
2. they'd be running hot-hot and clients will manage routing via (probably)
DNS round robin type scheme


Alternatively, you can set up another LB (maybe hardware one) in front of
our 2 LBs and then the service nodes would have that name/IP as the
endpoint. If you want that to have HA then you have to go to (1) or (2).

Sanjiva.

On Tue, Apr 10, 2012 at 4:39 PM, Nirmal Fernando  wrote:

> Hi All,
>
> Say I have a primary and secondary LBs. How to configure them such that
> LBs know each other's existence?
>
> PS: I know how to configure a single LB, and cluster of other instances.
> There we map LB's public IP in axis2.xml of other instances. I tried same
> way with 2 LBs, but it failed to build AxisConfig and I think it's not the
> correct way.
>
> --
>
> Thanks & regards,
> Nirmal
>
> Software Engineer- Platform Technologies Team, WSO2 Inc.
> Mobile: +94715779733
> Blog: http://nirmalfdo.blogspot.com/
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Sanjiva Weerawarana, Ph.D.
Founder, Chairman & CEO; WSO2, Inc.;  http://wso2.com/
email: sanj...@wso2.com; phone: +94 11 763 9614; cell: +94 77 787 6880 | +1
650 265 8311
blog: http://sanjiva.weerawarana.org/

Lean . Enterprise . Middleware
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] How to configure a LB cluster?

2012-04-10 Thread Nirmal Fernando
Hi All,

Say I have a primary and secondary LBs. How to configure them such that LBs
know each other's existence?

PS: I know how to configure a single LB, and cluster of other instances.
There we map LB's public IP in axis2.xml of other instances. I tried same
way with 2 LBs, but it failed to build AxisConfig and I think it's not the
correct way.

-- 

Thanks & regards,
Nirmal

Software Engineer- Platform Technologies Team, WSO2 Inc.
Mobile: +94715779733
Blog: http://nirmalfdo.blogspot.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev