You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cloudstack.apache.org by Alena Prokharchyk <Al...@citrix.com> on 2013/03/22 23:57:28 UTC

[PROPOSAL] "Internal Load Balancing between VPC tiers"

I would like to propose a new feature - "Internal Load Balancing between
VPC tiers".  With the feature support, you can set up the Load Balancer
inside the VPC without facing the public network side. It will allow to
balance internal traffic between tiers inside the VPC - for example,
traffic coming from Web Tier to the App tier.


Please review the firs draft of FS and provide your comments and feedback.
If you feel like some details are missing, let me know and I'll update it
promptly. 

https://cwiki.apache.org/confluence/display/CLOUDSTACK/Internal+Load+Balanc
ing+between+VPC+tiers


Alex/Chiradeep, would appreciate your reviewal as you were the original
contributors for the majority of cloudStack Networking code.


Thank you,
-Alena.


Re: [PROPOSAL] "Internal Load Balancing between VPC tiers"

Posted by Alena Prokharchyk <Al...@citrix.com>.
Marcus,

Supporting public LB on all tiers is a separate feature, and initially we
were planning to add support for that in 4.2 along with Internal LB. But
as we have limited engineering resources, so we decided to add support for
Internal LB only at this point, as this is the use case most of the
customers are interested in seeing covered.

-Alena.

On 3/25/13 9:32 AM, "Marcus Sorensen" <sh...@gmail.com> wrote:

>I'm not sure if this belongs in the same conversation, but we'd also
>like to remove the "only one loadbanced network per VPC" limitation.
>It seems like maybe this could be leveraged to do that, for example
>you could bring up a loadbalancer system VM in each VPC network and
>then forward a public IP to it... or something.
>
>On Mon, Mar 25, 2013 at 10:24 AM, Alena Prokharchyk
><Al...@citrix.com> wrote:
>> Hi Rajesh,
>>
>> The template for the InternalLBVM is still TBD. As I'm covering
>>management
>> server business logic only, I will probably use VR template for the
>>system
>> vm to test my stuff. It will be for the backend engineer to decide which
>> template to use as the default for InteranlLB.
>>
>> -Alena.
>>
>> On 3/22/13 8:08 PM, "Rajesh Battala" <ra...@citrix.com> wrote:
>>
>>>Hi Alena,
>>>Thanks for the FS.
>>>I was going through the FS,  is InternalLBVM is  a new system VM?A new
>>>system VM template will be there of the same VPCVR/VR template is used.
>>>
>>>Am making changes such that at Traffic to Web tier is balanced by
>>>NetScaler on the public side.
>>>
>>>Thanks
>>>Rajesh Battala
>>>
>>>> -----Original Message-----
>>>> From: Alena Prokharchyk [mailto:Alena.Prokharchyk@citrix.com]
>>>> Sent: Saturday, March 23, 2013 4:27 AM
>>>> To: cloudstack-dev@incubator.apache.org
>>>> Cc: Alex Huang; Chiradeep Vittal
>>>> Subject: [PROPOSAL] "Internal Load Balancing between VPC tiers"
>>>>
>>>> I would like to propose a new feature - "Internal Load Balancing
>>>>between VPC
>>>> tiers".  With the feature support, you can set up the Load Balancer
>>>>inside the
>>>> VPC without facing the public network side. It will allow to balance
>>>>internal
>>>> traffic between tiers inside the VPC - for example, traffic coming
>>>>from
>>>>Web Tier
>>>> to the App tier.
>>>>
>>>>
>>>> Please review the firs draft of FS and provide your comments and
>>>>feedback.
>>>> If you feel like some details are missing, let me know and I'll update
>>>>it promptly.
>>>>
>>>>
>>>>https://cwiki.apache.org/confluence/display/CLOUDSTACK/Internal+Load+Ba
>>>>la
>>>> nc
>>>> ing+between+VPC+tiers
>>>>
>>>>
>>>> Alex/Chiradeep, would appreciate your reviewal as you were the
>>>>original
>>>> contributors for the majority of cloudStack Networking code.
>>>>
>>>>
>>>> Thank you,
>>>> -Alena.
>>>
>>>
>>
>>
>



Re: [PROPOSAL] "Internal Load Balancing between VPC tiers"

Posted by Marcus Sorensen <sh...@gmail.com>.
I'm not sure if this belongs in the same conversation, but we'd also
like to remove the "only one loadbanced network per VPC" limitation.
It seems like maybe this could be leveraged to do that, for example
you could bring up a loadbalancer system VM in each VPC network and
then forward a public IP to it... or something.

On Mon, Mar 25, 2013 at 10:24 AM, Alena Prokharchyk
<Al...@citrix.com> wrote:
> Hi Rajesh,
>
> The template for the InternalLBVM is still TBD. As I'm covering management
> server business logic only, I will probably use VR template for the system
> vm to test my stuff. It will be for the backend engineer to decide which
> template to use as the default for InteranlLB.
>
> -Alena.
>
> On 3/22/13 8:08 PM, "Rajesh Battala" <ra...@citrix.com> wrote:
>
>>Hi Alena,
>>Thanks for the FS.
>>I was going through the FS,  is InternalLBVM is  a new system VM?A new
>>system VM template will be there of the same VPCVR/VR template is used.
>>
>>Am making changes such that at Traffic to Web tier is balanced by
>>NetScaler on the public side.
>>
>>Thanks
>>Rajesh Battala
>>
>>> -----Original Message-----
>>> From: Alena Prokharchyk [mailto:Alena.Prokharchyk@citrix.com]
>>> Sent: Saturday, March 23, 2013 4:27 AM
>>> To: cloudstack-dev@incubator.apache.org
>>> Cc: Alex Huang; Chiradeep Vittal
>>> Subject: [PROPOSAL] "Internal Load Balancing between VPC tiers"
>>>
>>> I would like to propose a new feature - "Internal Load Balancing
>>>between VPC
>>> tiers".  With the feature support, you can set up the Load Balancer
>>>inside the
>>> VPC without facing the public network side. It will allow to balance
>>>internal
>>> traffic between tiers inside the VPC - for example, traffic coming from
>>>Web Tier
>>> to the App tier.
>>>
>>>
>>> Please review the firs draft of FS and provide your comments and
>>>feedback.
>>> If you feel like some details are missing, let me know and I'll update
>>>it promptly.
>>>
>>>
>>>https://cwiki.apache.org/confluence/display/CLOUDSTACK/Internal+Load+Bala
>>> nc
>>> ing+between+VPC+tiers
>>>
>>>
>>> Alex/Chiradeep, would appreciate your reviewal as you were the original
>>> contributors for the majority of cloudStack Networking code.
>>>
>>>
>>> Thank you,
>>> -Alena.
>>
>>
>
>

Re: [PROPOSAL] "Internal Load Balancing between VPC tiers"

Posted by Alena Prokharchyk <Al...@citrix.com>.
Hi Rajesh,

The template for the InternalLBVM is still TBD. As I'm covering management
server business logic only, I will probably use VR template for the system
vm to test my stuff. It will be for the backend engineer to decide which
template to use as the default for InteranlLB.

-Alena.

On 3/22/13 8:08 PM, "Rajesh Battala" <ra...@citrix.com> wrote:

>Hi Alena,
>Thanks for the FS.
>I was going through the FS,  is InternalLBVM is  a new system VM?A new
>system VM template will be there of the same VPCVR/VR template is used.
>
>Am making changes such that at Traffic to Web tier is balanced by
>NetScaler on the public side.
>
>Thanks
>Rajesh Battala
>
>> -----Original Message-----
>> From: Alena Prokharchyk [mailto:Alena.Prokharchyk@citrix.com]
>> Sent: Saturday, March 23, 2013 4:27 AM
>> To: cloudstack-dev@incubator.apache.org
>> Cc: Alex Huang; Chiradeep Vittal
>> Subject: [PROPOSAL] "Internal Load Balancing between VPC tiers"
>> 
>> I would like to propose a new feature - "Internal Load Balancing
>>between VPC
>> tiers".  With the feature support, you can set up the Load Balancer
>>inside the
>> VPC without facing the public network side. It will allow to balance
>>internal
>> traffic between tiers inside the VPC - for example, traffic coming from
>>Web Tier
>> to the App tier.
>> 
>> 
>> Please review the firs draft of FS and provide your comments and
>>feedback.
>> If you feel like some details are missing, let me know and I'll update
>>it promptly.
>> 
>> 
>>https://cwiki.apache.org/confluence/display/CLOUDSTACK/Internal+Load+Bala
>> nc
>> ing+between+VPC+tiers
>> 
>> 
>> Alex/Chiradeep, would appreciate your reviewal as you were the original
>> contributors for the majority of cloudStack Networking code.
>> 
>> 
>> Thank you,
>> -Alena.
>
>



RE: [PROPOSAL] "Internal Load Balancing between VPC tiers"

Posted by Rajesh Battala <ra...@citrix.com>.
Hi Alena,
Thanks for the FS.
I was going through the FS,  is InternalLBVM is  a new system VM?A new system VM template will be there of the same VPCVR/VR template is used.

Am making changes such that at Traffic to Web tier is balanced by NetScaler on the public side.

Thanks
Rajesh Battala

> -----Original Message-----
> From: Alena Prokharchyk [mailto:Alena.Prokharchyk@citrix.com]
> Sent: Saturday, March 23, 2013 4:27 AM
> To: cloudstack-dev@incubator.apache.org
> Cc: Alex Huang; Chiradeep Vittal
> Subject: [PROPOSAL] "Internal Load Balancing between VPC tiers"
> 
> I would like to propose a new feature - "Internal Load Balancing between VPC
> tiers".  With the feature support, you can set up the Load Balancer inside the
> VPC without facing the public network side. It will allow to balance internal
> traffic between tiers inside the VPC - for example, traffic coming from Web Tier
> to the App tier.
> 
> 
> Please review the firs draft of FS and provide your comments and feedback.
> If you feel like some details are missing, let me know and I'll update it promptly.
> 
> https://cwiki.apache.org/confluence/display/CLOUDSTACK/Internal+Load+Bala
> nc
> ing+between+VPC+tiers
> 
> 
> Alex/Chiradeep, would appreciate your reviewal as you were the original
> contributors for the majority of cloudStack Networking code.
> 
> 
> Thank you,
> -Alena.


Re: [PROPOSAL] "Internal Load Balancing between VPC tiers"

Posted by Alena Prokharchyk <Al...@citrix.com>.
Francois,

We do plan to support a Netscaler VPX as an Internal LB provider - I've
mentioned it in the spec.

The reason we adding support for VPC networks only - most of the customers
are interested in this particular use case to be supported. Due to limited
time frame for dev/qa I'm planning to cover this use case only.

The code will be generic enough to adopt it for Regular Isolated networks
in the future, so anyone from the community is welcome to contribute to
this area. 

Manan, could you please point to PRD/Jira ticket for the feature, so I can
use it as a point of reference in my FS.

Thank you,
Alena.



On 3/22/13 4:09 PM, "Francois Gaudreault" <fg...@cloudops.com> wrote:

>Maybe extend to netscaler and also regular networks?
>
>I filed a ticket recently for the same feature request.
>
>Francois
>On 2013-03-22 6:58 PM, "Alena Prokharchyk" <Al...@citrix.com>
>wrote:
>
>> I would like to propose a new feature - "Internal Load Balancing between
>> VPC tiers".  With the feature support, you can set up the Load Balancer
>> inside the VPC without facing the public network side. It will allow to
>> balance internal traffic between tiers inside the VPC - for example,
>> traffic coming from Web Tier to the App tier.
>>
>>
>> Please review the firs draft of FS and provide your comments and
>>feedback.
>> If you feel like some details are missing, let me know and I'll update
>>it
>> promptly.
>>
>> 
>>https://cwiki.apache.org/confluence/display/CLOUDSTACK/Internal+Load+Bala
>>nc
>> ing+between+VPC+tiers
>>
>>
>> Alex/Chiradeep, would appreciate your reviewal as you were the original
>> contributors for the majority of cloudStack Networking code.
>>
>>
>> Thank you,
>> -Alena.
>>
>>
>



Re: [PROPOSAL] "Internal Load Balancing between VPC tiers"

Posted by Francois Gaudreault <fg...@cloudops.com>.
Maybe extend to netscaler and also regular networks?

I filed a ticket recently for the same feature request.

Francois
On 2013-03-22 6:58 PM, "Alena Prokharchyk" <Al...@citrix.com>
wrote:

> I would like to propose a new feature - "Internal Load Balancing between
> VPC tiers".  With the feature support, you can set up the Load Balancer
> inside the VPC without facing the public network side. It will allow to
> balance internal traffic between tiers inside the VPC - for example,
> traffic coming from Web Tier to the App tier.
>
>
> Please review the firs draft of FS and provide your comments and feedback.
> If you feel like some details are missing, let me know and I'll update it
> promptly.
>
> https://cwiki.apache.org/confluence/display/CLOUDSTACK/Internal+Load+Balanc
> ing+between+VPC+tiers
>
>
> Alex/Chiradeep, would appreciate your reviewal as you were the original
> contributors for the majority of cloudStack Networking code.
>
>
> Thank you,
> -Alena.
>
>

Re: [PROPOSAL] "Internal Load Balancing between VPC tiers"

Posted by Alena Prokharchyk <Al...@citrix.com>.
Chandan, reviewed the test plan and have a couple of comments:

1) there is no reboot operation supported for the Internal LB vm
2) The Internal LB Vm gets spanned for the guest IP address not when the
first Load Balancer is created per IP address, but when the first user vm
gets assigned to the Load Balancer.

I've updated the FS to reflect 1) and 2)

3) Create Load balancer with the source IP address specified. You should
add more test scenarios to this section:

* try to create lb rule with the sourceIpAddress that is assigned to the
existing user vm - should fail
* create lb rule using sourceIpAddress used by another LB rule (diff
instance/source port combinations) - should pass
* specify sourceIpAddress that is currently free in the system - should
pass.
* Try to deploy a regular user vm with the ip address that is used by the
load balancer rule - should fail.


-Alena.


On 5/3/13 3:51 PM, "Chandan Purushothama"
<Ch...@citrix.com> wrote:

>Renamed the location. The new location is
>https://cwiki.apache.org/confluence/display/CLOUDSTACK/2.2+Internal+Load+B
>alancing+between+VPC+tiers,
>
>Thank you,
>Chandan.
>
>-----Original Message-----
>From: Chandan Purushothama [mailto:Chandan.Purushothama@citrix.com]
>Sent: Friday, May 03, 2013 3:35 PM
>To: dev@cloudstack.apache.org
>Cc: Alex Huang; cloudstack-dev@incubator.apache.org; Chiradeep Vittal
>Subject: RE: [PROPOSAL] "Internal Load Balancing between VPC tiers"
>
>I uploaded the Test Plan to
>https://cwiki.apache.org/confluence/display/CLOUDSTACK/2.2+Load+Balancing+
>on+all+Tiers . Kindly let me know if there are any review comments,
>
>Thank you,
>Chandan.
>
>-----Original Message-----
>From: Alena Prokharchyk [mailto:Alena.Prokharchyk@citrix.com]
>Sent: Wednesday, May 01, 2013 12:14 PM
>To: dev@cloudstack.apache.org
>Cc: Alex Huang; cloudstack-dev@incubator.apache.org; Chiradeep Vittal
>Subject: Re: [PROPOSAL] "Internal Load Balancing between VPC tiers"
>
>On 5/1/13 11:43 AM, "Chandan Purushothama"
><Ch...@citrix.com> wrote:
>
>>Hello Alena,
>>
>>I have the following questions pertaining to the feature [Ref:
>>https://cwiki.apache.org/confluence/display/CLOUDSTACK/Internal+Load+Ba
>>lan
>>cing+between+VPC+tiers]
>>
>>1. Do we support Multiple Application Tiers with InternalLb Service?
>
>We do.
>
>
>>2. Do we support Network Tier Upgrade from a network offering with
>>InternalLb Service to another network offering that supports VPC VR as
>>LB provider?
>
>
>There is no separate service for the internal LB. It is the same LB
>service defined in the networkOffering, just with the capability
>lbSchemes=internal. In this release the upgrade from offering with
>lbSchemes=Internal to lbSchemes=Public (and vice versa) is not gonna be
>supported.
>
>
>-Alena.
>
>
>
>>
>>Thank you,
>>Chandan.
>>
>>-----Original Message-----
>>From: Alena Prokharchyk [mailto:Alena.Prokharchyk@citrix.com]
>>Sent: Tuesday, March 26, 2013 9:07 AM
>>To: dev@cloudstack.apache.org
>>Cc: Alex Huang; cloudstack-dev@incubator.apache.org; Chiradeep Vittal
>>Subject: Re: [PROPOSAL] "Internal Load Balancing between VPC tiers"
>>
>>Marcus is right. The LB VM resides just on one tier (App in my FS
>>example). To manage the access from Web Tier to the App tier, Network
>>ACLs will be used.
>>
>>-Alena.
>>
>>On 3/25/13 7:55 PM, "Marcus Sorensen" <sh...@gmail.com> wrote:
>>
>>>I assume, and it seems this way from the spec, that the load balancer
>>>VM just lives in the same network as the VMS you want to balance and
>>>redirects traffic to them. It has a link local nic plus 1 nic.
>>>
>>>That's why I was thinking it would be easy to just create a static Nat
>>>rule to the internal load balancer for public load balancing on any
>>>network tier.
>>>On Mar 25, 2013 8:46 PM, "Vijay Venkatachalam" <
>>>Vijay.Venkatachalam@citrix.com> wrote:
>>>
>>>> If the services are provided by a LBVM, it should have access to
>>>>both networks, one NIC in the web tier (the guest network where the
>>>>VIP is
>>>> present) and one NIC in the App Tier (the guest network where the
>>>>server  vms are present), would that understanding be right? So when
>>>>provisioning  the LB VM the user has to specify these 2 networks?
>>>>
>>>> On the similar lines, if an external LB Appliance is providing the
>>>> service,  it has to be wired to both the VIP network  and the server
>>>> vm network.
>>>>
>>>> Thanks,
>>>> Vijay V.
>>>>
>>>> > -----Original Message-----
>>>> > From: Alena Prokharchyk [mailto:Alena.Prokharchyk@citrix.com]
>>>> > Sent: Saturday, March 23, 2013 4:28 AM
>>>> > To: cloudstack-dev@incubator.apache.org
>>>> > Cc: Alex Huang; Chiradeep Vittal
>>>> > Subject: [PROPOSAL] "Internal Load Balancing between VPC tiers"
>>>> >
>>>> > I would like to propose a new feature - "Internal Load Balancing
>>>>between
>>>> > VPC tiers".  With the feature support, you can set up the Load
>>>>Balancer
>>>> inside
>>>> > the VPC without facing the public network side. It will allow to
>>>>balance
>>>> > internal traffic between tiers inside the VPC - for example,
>>>> > traffic
>>>> coming
>>>> > from Web Tier to the App tier.
>>>> >
>>>> >
>>>> > Please review the firs draft of FS and provide your comments and
>>>> feedback.
>>>> > If you feel like some details are missing, let me know and I'll
>>>>update it
>>>> > promptly.
>>>> >
>>>> > https://cwiki.apache.org/confluence/display/CLOUDSTACK/Internal+Lo
>>>> > a
>>>> > d+B
>>>> > alanc
>>>> > ing+between+VPC+tiers
>>>> >
>>>> >
>>>> > Alex/Chiradeep, would appreciate your reviewal as you were the
>>>>original
>>>> > contributors for the majority of cloudStack Networking code.
>>>> >
>>>> >
>>>> > Thank you,
>>>> > -Alena.
>>>>
>>>>
>>>
>>
>>
>>
>
>
>



RE: [PROPOSAL] "Internal Load Balancing between VPC tiers"

Posted by Chandan Purushothama <Ch...@citrix.com>.
Renamed the location. The new location is https://cwiki.apache.org/confluence/display/CLOUDSTACK/2.2+Internal+Load+Balancing+between+VPC+tiers,

Thank you,
Chandan.

-----Original Message-----
From: Chandan Purushothama [mailto:Chandan.Purushothama@citrix.com] 
Sent: Friday, May 03, 2013 3:35 PM
To: dev@cloudstack.apache.org
Cc: Alex Huang; cloudstack-dev@incubator.apache.org; Chiradeep Vittal
Subject: RE: [PROPOSAL] "Internal Load Balancing between VPC tiers"

I uploaded the Test Plan to https://cwiki.apache.org/confluence/display/CLOUDSTACK/2.2+Load+Balancing+on+all+Tiers . Kindly let me know if there are any review comments,

Thank you,
Chandan.

-----Original Message-----
From: Alena Prokharchyk [mailto:Alena.Prokharchyk@citrix.com]
Sent: Wednesday, May 01, 2013 12:14 PM
To: dev@cloudstack.apache.org
Cc: Alex Huang; cloudstack-dev@incubator.apache.org; Chiradeep Vittal
Subject: Re: [PROPOSAL] "Internal Load Balancing between VPC tiers"

On 5/1/13 11:43 AM, "Chandan Purushothama"
<Ch...@citrix.com> wrote:

>Hello Alena,
>
>I have the following questions pertaining to the feature [Ref:
>https://cwiki.apache.org/confluence/display/CLOUDSTACK/Internal+Load+Ba
>lan
>cing+between+VPC+tiers]
>
>1. Do we support Multiple Application Tiers with InternalLb Service?

We do.


>2. Do we support Network Tier Upgrade from a network offering with 
>InternalLb Service to another network offering that supports VPC VR as 
>LB provider?


There is no separate service for the internal LB. It is the same LB service defined in the networkOffering, just with the capability lbSchemes=internal. In this release the upgrade from offering with lbSchemes=Internal to lbSchemes=Public (and vice versa) is not gonna be supported.


-Alena.



>
>Thank you,
>Chandan.
>
>-----Original Message-----
>From: Alena Prokharchyk [mailto:Alena.Prokharchyk@citrix.com]
>Sent: Tuesday, March 26, 2013 9:07 AM
>To: dev@cloudstack.apache.org
>Cc: Alex Huang; cloudstack-dev@incubator.apache.org; Chiradeep Vittal
>Subject: Re: [PROPOSAL] "Internal Load Balancing between VPC tiers"
>
>Marcus is right. The LB VM resides just on one tier (App in my FS 
>example). To manage the access from Web Tier to the App tier, Network 
>ACLs will be used.
>
>-Alena.
>
>On 3/25/13 7:55 PM, "Marcus Sorensen" <sh...@gmail.com> wrote:
>
>>I assume, and it seems this way from the spec, that the load balancer 
>>VM just lives in the same network as the VMS you want to balance and 
>>redirects traffic to them. It has a link local nic plus 1 nic.
>>
>>That's why I was thinking it would be easy to just create a static Nat 
>>rule to the internal load balancer for public load balancing on any 
>>network tier.
>>On Mar 25, 2013 8:46 PM, "Vijay Venkatachalam" < 
>>Vijay.Venkatachalam@citrix.com> wrote:
>>
>>> If the services are provided by a LBVM, it should have access to 
>>>both networks, one NIC in the web tier (the guest network where the 
>>>VIP is
>>> present) and one NIC in the App Tier (the guest network where the 
>>>server  vms are present), would that understanding be right? So when 
>>>provisioning  the LB VM the user has to specify these 2 networks?
>>>
>>> On the similar lines, if an external LB Appliance is providing the 
>>> service,  it has to be wired to both the VIP network  and the server 
>>> vm network.
>>>
>>> Thanks,
>>> Vijay V.
>>>
>>> > -----Original Message-----
>>> > From: Alena Prokharchyk [mailto:Alena.Prokharchyk@citrix.com]
>>> > Sent: Saturday, March 23, 2013 4:28 AM
>>> > To: cloudstack-dev@incubator.apache.org
>>> > Cc: Alex Huang; Chiradeep Vittal
>>> > Subject: [PROPOSAL] "Internal Load Balancing between VPC tiers"
>>> >
>>> > I would like to propose a new feature - "Internal Load Balancing
>>>between
>>> > VPC tiers".  With the feature support, you can set up the Load
>>>Balancer
>>> inside
>>> > the VPC without facing the public network side. It will allow to
>>>balance
>>> > internal traffic between tiers inside the VPC - for example, 
>>> > traffic
>>> coming
>>> > from Web Tier to the App tier.
>>> >
>>> >
>>> > Please review the firs draft of FS and provide your comments and
>>> feedback.
>>> > If you feel like some details are missing, let me know and I'll
>>>update it
>>> > promptly.
>>> >
>>> > https://cwiki.apache.org/confluence/display/CLOUDSTACK/Internal+Lo
>>> > a
>>> > d+B
>>> > alanc
>>> > ing+between+VPC+tiers
>>> >
>>> >
>>> > Alex/Chiradeep, would appreciate your reviewal as you were the
>>>original
>>> > contributors for the majority of cloudStack Networking code.
>>> >
>>> >
>>> > Thank you,
>>> > -Alena.
>>>
>>>
>>
>
>
>



RE: [PROPOSAL] "Internal Load Balancing between VPC tiers"

Posted by Chandan Purushothama <Ch...@citrix.com>.
I uploaded the Test Plan to https://cwiki.apache.org/confluence/display/CLOUDSTACK/2.2+Load+Balancing+on+all+Tiers . Kindly let me know if there are any review comments,

Thank you,
Chandan.

-----Original Message-----
From: Alena Prokharchyk [mailto:Alena.Prokharchyk@citrix.com] 
Sent: Wednesday, May 01, 2013 12:14 PM
To: dev@cloudstack.apache.org
Cc: Alex Huang; cloudstack-dev@incubator.apache.org; Chiradeep Vittal
Subject: Re: [PROPOSAL] "Internal Load Balancing between VPC tiers"

On 5/1/13 11:43 AM, "Chandan Purushothama"
<Ch...@citrix.com> wrote:

>Hello Alena,
>
>I have the following questions pertaining to the feature [Ref:
>https://cwiki.apache.org/confluence/display/CLOUDSTACK/Internal+Load+Ba
>lan
>cing+between+VPC+tiers]
>
>1. Do we support Multiple Application Tiers with InternalLb Service?

We do.


>2. Do we support Network Tier Upgrade from a network offering with 
>InternalLb Service to another network offering that supports VPC VR as 
>LB provider?


There is no separate service for the internal LB. It is the same LB service defined in the networkOffering, just with the capability lbSchemes=internal. In this release the upgrade from offering with lbSchemes=Internal to lbSchemes=Public (and vice versa) is not gonna be supported.


-Alena.



>
>Thank you,
>Chandan.
>
>-----Original Message-----
>From: Alena Prokharchyk [mailto:Alena.Prokharchyk@citrix.com]
>Sent: Tuesday, March 26, 2013 9:07 AM
>To: dev@cloudstack.apache.org
>Cc: Alex Huang; cloudstack-dev@incubator.apache.org; Chiradeep Vittal
>Subject: Re: [PROPOSAL] "Internal Load Balancing between VPC tiers"
>
>Marcus is right. The LB VM resides just on one tier (App in my FS 
>example). To manage the access from Web Tier to the App tier, Network 
>ACLs will be used.
>
>-Alena.
>
>On 3/25/13 7:55 PM, "Marcus Sorensen" <sh...@gmail.com> wrote:
>
>>I assume, and it seems this way from the spec, that the load balancer 
>>VM just lives in the same network as the VMS you want to balance and 
>>redirects traffic to them. It has a link local nic plus 1 nic.
>>
>>That's why I was thinking it would be easy to just create a static Nat 
>>rule to the internal load balancer for public load balancing on any 
>>network tier.
>>On Mar 25, 2013 8:46 PM, "Vijay Venkatachalam" < 
>>Vijay.Venkatachalam@citrix.com> wrote:
>>
>>> If the services are provided by a LBVM, it should have access to 
>>>both networks, one NIC in the web tier (the guest network where the 
>>>VIP is
>>> present) and one NIC in the App Tier (the guest network where the 
>>>server  vms are present), would that understanding be right? So when 
>>>provisioning  the LB VM the user has to specify these 2 networks?
>>>
>>> On the similar lines, if an external LB Appliance is providing the 
>>> service,  it has to be wired to both the VIP network  and the server 
>>> vm network.
>>>
>>> Thanks,
>>> Vijay V.
>>>
>>> > -----Original Message-----
>>> > From: Alena Prokharchyk [mailto:Alena.Prokharchyk@citrix.com]
>>> > Sent: Saturday, March 23, 2013 4:28 AM
>>> > To: cloudstack-dev@incubator.apache.org
>>> > Cc: Alex Huang; Chiradeep Vittal
>>> > Subject: [PROPOSAL] "Internal Load Balancing between VPC tiers"
>>> >
>>> > I would like to propose a new feature - "Internal Load Balancing
>>>between
>>> > VPC tiers".  With the feature support, you can set up the Load
>>>Balancer
>>> inside
>>> > the VPC without facing the public network side. It will allow to
>>>balance
>>> > internal traffic between tiers inside the VPC - for example, 
>>> > traffic
>>> coming
>>> > from Web Tier to the App tier.
>>> >
>>> >
>>> > Please review the firs draft of FS and provide your comments and
>>> feedback.
>>> > If you feel like some details are missing, let me know and I'll
>>>update it
>>> > promptly.
>>> >
>>> > https://cwiki.apache.org/confluence/display/CLOUDSTACK/Internal+Lo
>>> > a
>>> > d+B
>>> > alanc
>>> > ing+between+VPC+tiers
>>> >
>>> >
>>> > Alex/Chiradeep, would appreciate your reviewal as you were the
>>>original
>>> > contributors for the majority of cloudStack Networking code.
>>> >
>>> >
>>> > Thank you,
>>> > -Alena.
>>>
>>>
>>
>
>
>



Re: [PROPOSAL] "Internal Load Balancing between VPC tiers"

Posted by Alena Prokharchyk <Al...@citrix.com>.
On 5/1/13 11:43 AM, "Chandan Purushothama"
<Ch...@citrix.com> wrote:

>Hello Alena,
>
>I have the following questions pertaining to the feature [Ref:
>https://cwiki.apache.org/confluence/display/CLOUDSTACK/Internal+Load+Balan
>cing+between+VPC+tiers]
>
>1. Do we support Multiple Application Tiers with InternalLb Service?

We do.


>2. Do we support Network Tier Upgrade from a network offering with
>InternalLb Service to another network offering that supports VPC VR as LB
>provider?


There is no separate service for the internal LB. It is the same LB
service defined in the networkOffering, just with the capability
lbSchemes=internal. In this release the upgrade from offering with
lbSchemes=Internal to lbSchemes=Public (and vice versa) is not gonna be
supported.


-Alena.



>
>Thank you,
>Chandan.
>
>-----Original Message-----
>From: Alena Prokharchyk [mailto:Alena.Prokharchyk@citrix.com]
>Sent: Tuesday, March 26, 2013 9:07 AM
>To: dev@cloudstack.apache.org
>Cc: Alex Huang; cloudstack-dev@incubator.apache.org; Chiradeep Vittal
>Subject: Re: [PROPOSAL] "Internal Load Balancing between VPC tiers"
>
>Marcus is right. The LB VM resides just on one tier (App in my FS
>example). To manage the access from Web Tier to the App tier, Network
>ACLs will be used.
>
>-Alena.
>
>On 3/25/13 7:55 PM, "Marcus Sorensen" <sh...@gmail.com> wrote:
>
>>I assume, and it seems this way from the spec, that the load balancer
>>VM just lives in the same network as the VMS you want to balance and
>>redirects traffic to them. It has a link local nic plus 1 nic.
>>
>>That's why I was thinking it would be easy to just create a static Nat
>>rule to the internal load balancer for public load balancing on any
>>network tier.
>>On Mar 25, 2013 8:46 PM, "Vijay Venkatachalam" <
>>Vijay.Venkatachalam@citrix.com> wrote:
>>
>>> If the services are provided by a LBVM, it should have access to both
>>>networks, one NIC in the web tier (the guest network where the VIP is
>>> present) and one NIC in the App Tier (the guest network where the
>>>server  vms are present), would that understanding be right? So when
>>>provisioning  the LB VM the user has to specify these 2 networks?
>>>
>>> On the similar lines, if an external LB Appliance is providing the
>>> service,  it has to be wired to both the VIP network  and the server
>>> vm network.
>>>
>>> Thanks,
>>> Vijay V.
>>>
>>> > -----Original Message-----
>>> > From: Alena Prokharchyk [mailto:Alena.Prokharchyk@citrix.com]
>>> > Sent: Saturday, March 23, 2013 4:28 AM
>>> > To: cloudstack-dev@incubator.apache.org
>>> > Cc: Alex Huang; Chiradeep Vittal
>>> > Subject: [PROPOSAL] "Internal Load Balancing between VPC tiers"
>>> >
>>> > I would like to propose a new feature - "Internal Load Balancing
>>>between
>>> > VPC tiers".  With the feature support, you can set up the Load
>>>Balancer
>>> inside
>>> > the VPC without facing the public network side. It will allow to
>>>balance
>>> > internal traffic between tiers inside the VPC - for example,
>>> > traffic
>>> coming
>>> > from Web Tier to the App tier.
>>> >
>>> >
>>> > Please review the firs draft of FS and provide your comments and
>>> feedback.
>>> > If you feel like some details are missing, let me know and I'll
>>>update it
>>> > promptly.
>>> >
>>> > https://cwiki.apache.org/confluence/display/CLOUDSTACK/Internal+Loa
>>> > d+B
>>> > alanc
>>> > ing+between+VPC+tiers
>>> >
>>> >
>>> > Alex/Chiradeep, would appreciate your reviewal as you were the
>>>original
>>> > contributors for the majority of cloudStack Networking code.
>>> >
>>> >
>>> > Thank you,
>>> > -Alena.
>>>
>>>
>>
>
>
>



RE: [PROPOSAL] "Internal Load Balancing between VPC tiers"

Posted by Chandan Purushothama <Ch...@citrix.com>.
Hello Alena,

I have the following questions pertaining to the feature [Ref: https://cwiki.apache.org/confluence/display/CLOUDSTACK/Internal+Load+Balancing+between+VPC+tiers]

1. Do we support Multiple Application Tiers with InternalLb Service?
2. Do we support Network Tier Upgrade from a network offering with InternalLb Service to another network offering that supports VPC VR as LB provider?

Thank you,
Chandan.

-----Original Message-----
From: Alena Prokharchyk [mailto:Alena.Prokharchyk@citrix.com] 
Sent: Tuesday, March 26, 2013 9:07 AM
To: dev@cloudstack.apache.org
Cc: Alex Huang; cloudstack-dev@incubator.apache.org; Chiradeep Vittal
Subject: Re: [PROPOSAL] "Internal Load Balancing between VPC tiers"

Marcus is right. The LB VM resides just on one tier (App in my FS example). To manage the access from Web Tier to the App tier, Network ACLs will be used.

-Alena.

On 3/25/13 7:55 PM, "Marcus Sorensen" <sh...@gmail.com> wrote:

>I assume, and it seems this way from the spec, that the load balancer 
>VM just lives in the same network as the VMS you want to balance and 
>redirects traffic to them. It has a link local nic plus 1 nic.
>
>That's why I was thinking it would be easy to just create a static Nat 
>rule to the internal load balancer for public load balancing on any 
>network tier.
>On Mar 25, 2013 8:46 PM, "Vijay Venkatachalam" < 
>Vijay.Venkatachalam@citrix.com> wrote:
>
>> If the services are provided by a LBVM, it should have access to both  
>>networks, one NIC in the web tier (the guest network where the VIP is
>> present) and one NIC in the App Tier (the guest network where the 
>>server  vms are present), would that understanding be right? So when 
>>provisioning  the LB VM the user has to specify these 2 networks?
>>
>> On the similar lines, if an external LB Appliance is providing the 
>> service,  it has to be wired to both the VIP network  and the server 
>> vm network.
>>
>> Thanks,
>> Vijay V.
>>
>> > -----Original Message-----
>> > From: Alena Prokharchyk [mailto:Alena.Prokharchyk@citrix.com]
>> > Sent: Saturday, March 23, 2013 4:28 AM
>> > To: cloudstack-dev@incubator.apache.org
>> > Cc: Alex Huang; Chiradeep Vittal
>> > Subject: [PROPOSAL] "Internal Load Balancing between VPC tiers"
>> >
>> > I would like to propose a new feature - "Internal Load Balancing
>>between
>> > VPC tiers".  With the feature support, you can set up the Load
>>Balancer
>> inside
>> > the VPC without facing the public network side. It will allow to
>>balance
>> > internal traffic between tiers inside the VPC - for example, 
>> > traffic
>> coming
>> > from Web Tier to the App tier.
>> >
>> >
>> > Please review the firs draft of FS and provide your comments and
>> feedback.
>> > If you feel like some details are missing, let me know and I'll
>>update it
>> > promptly.
>> >
>> > https://cwiki.apache.org/confluence/display/CLOUDSTACK/Internal+Loa
>> > d+B
>> > alanc
>> > ing+between+VPC+tiers
>> >
>> >
>> > Alex/Chiradeep, would appreciate your reviewal as you were the
>>original
>> > contributors for the majority of cloudStack Networking code.
>> >
>> >
>> > Thank you,
>> > -Alena.
>>
>>
>



Re: [PROPOSAL] "Internal Load Balancing between VPC tiers"

Posted by Alena Prokharchyk <Al...@citrix.com>.
Marcus is right. The LB VM resides just on one tier (App in my FS
example). To manage the access from Web Tier to the App tier, Network ACLs
will be used.

-Alena.

On 3/25/13 7:55 PM, "Marcus Sorensen" <sh...@gmail.com> wrote:

>I assume, and it seems this way from the spec, that the load balancer VM
>just lives in the same network as the VMS you want to balance and
>redirects
>traffic to them. It has a link local nic plus 1 nic.
>
>That's why I was thinking it would be easy to just create a static Nat
>rule
>to the internal load balancer for public load balancing on any network
>tier.
>On Mar 25, 2013 8:46 PM, "Vijay Venkatachalam" <
>Vijay.Venkatachalam@citrix.com> wrote:
>
>> If the services are provided by a LBVM, it should have access to both
>> networks, one NIC in the web tier (the guest network where the VIP is
>> present) and one NIC in the App Tier (the guest network where the server
>> vms are present), would that understanding be right? So when
>>provisioning
>> the LB VM the user has to specify these 2 networks?
>>
>> On the similar lines, if an external LB Appliance is providing the
>> service,  it has to be wired to both the VIP network  and the server vm
>> network.
>>
>> Thanks,
>> Vijay V.
>>
>> > -----Original Message-----
>> > From: Alena Prokharchyk [mailto:Alena.Prokharchyk@citrix.com]
>> > Sent: Saturday, March 23, 2013 4:28 AM
>> > To: cloudstack-dev@incubator.apache.org
>> > Cc: Alex Huang; Chiradeep Vittal
>> > Subject: [PROPOSAL] "Internal Load Balancing between VPC tiers"
>> >
>> > I would like to propose a new feature - "Internal Load Balancing
>>between
>> > VPC tiers".  With the feature support, you can set up the Load
>>Balancer
>> inside
>> > the VPC without facing the public network side. It will allow to
>>balance
>> > internal traffic between tiers inside the VPC - for example, traffic
>> coming
>> > from Web Tier to the App tier.
>> >
>> >
>> > Please review the firs draft of FS and provide your comments and
>> feedback.
>> > If you feel like some details are missing, let me know and I'll
>>update it
>> > promptly.
>> >
>> > https://cwiki.apache.org/confluence/display/CLOUDSTACK/Internal+Load+B
>> > alanc
>> > ing+between+VPC+tiers
>> >
>> >
>> > Alex/Chiradeep, would appreciate your reviewal as you were the
>>original
>> > contributors for the majority of cloudStack Networking code.
>> >
>> >
>> > Thank you,
>> > -Alena.
>>
>>
>



RE: [PROPOSAL] "Internal Load Balancing between VPC tiers"

Posted by Marcus Sorensen <sh...@gmail.com>.
I assume, and it seems this way from the spec, that the load balancer VM
just lives in the same network as the VMS you want to balance and redirects
traffic to them. It has a link local nic plus 1 nic.

That's why I was thinking it would be easy to just create a static Nat rule
to the internal load balancer for public load balancing on any network tier.
On Mar 25, 2013 8:46 PM, "Vijay Venkatachalam" <
Vijay.Venkatachalam@citrix.com> wrote:

> If the services are provided by a LBVM, it should have access to both
> networks, one NIC in the web tier (the guest network where the VIP is
> present) and one NIC in the App Tier (the guest network where the server
> vms are present), would that understanding be right? So when provisioning
> the LB VM the user has to specify these 2 networks?
>
> On the similar lines, if an external LB Appliance is providing the
> service,  it has to be wired to both the VIP network  and the server vm
> network.
>
> Thanks,
> Vijay V.
>
> > -----Original Message-----
> > From: Alena Prokharchyk [mailto:Alena.Prokharchyk@citrix.com]
> > Sent: Saturday, March 23, 2013 4:28 AM
> > To: cloudstack-dev@incubator.apache.org
> > Cc: Alex Huang; Chiradeep Vittal
> > Subject: [PROPOSAL] "Internal Load Balancing between VPC tiers"
> >
> > I would like to propose a new feature - "Internal Load Balancing between
> > VPC tiers".  With the feature support, you can set up the Load Balancer
> inside
> > the VPC without facing the public network side. It will allow to balance
> > internal traffic between tiers inside the VPC - for example, traffic
> coming
> > from Web Tier to the App tier.
> >
> >
> > Please review the firs draft of FS and provide your comments and
> feedback.
> > If you feel like some details are missing, let me know and I'll update it
> > promptly.
> >
> > https://cwiki.apache.org/confluence/display/CLOUDSTACK/Internal+Load+B
> > alanc
> > ing+between+VPC+tiers
> >
> >
> > Alex/Chiradeep, would appreciate your reviewal as you were the original
> > contributors for the majority of cloudStack Networking code.
> >
> >
> > Thank you,
> > -Alena.
>
>

RE: [PROPOSAL] "Internal Load Balancing between VPC tiers"

Posted by Vijay Venkatachalam <Vi...@citrix.com>.
If the services are provided by a LBVM, it should have access to both networks, one NIC in the web tier (the guest network where the VIP is present) and one NIC in the App Tier (the guest network where the server vms are present), would that understanding be right? So when provisioning the LB VM the user has to specify these 2 networks?

On the similar lines, if an external LB Appliance is providing the service,  it has to be wired to both the VIP network  and the server vm network.

Thanks,
Vijay V.

> -----Original Message-----
> From: Alena Prokharchyk [mailto:Alena.Prokharchyk@citrix.com]
> Sent: Saturday, March 23, 2013 4:28 AM
> To: cloudstack-dev@incubator.apache.org
> Cc: Alex Huang; Chiradeep Vittal
> Subject: [PROPOSAL] "Internal Load Balancing between VPC tiers"
> 
> I would like to propose a new feature - "Internal Load Balancing between
> VPC tiers".  With the feature support, you can set up the Load Balancer inside
> the VPC without facing the public network side. It will allow to balance
> internal traffic between tiers inside the VPC - for example, traffic coming
> from Web Tier to the App tier.
> 
> 
> Please review the firs draft of FS and provide your comments and feedback.
> If you feel like some details are missing, let me know and I'll update it
> promptly.
> 
> https://cwiki.apache.org/confluence/display/CLOUDSTACK/Internal+Load+B
> alanc
> ing+between+VPC+tiers
> 
> 
> Alex/Chiradeep, would appreciate your reviewal as you were the original
> contributors for the majority of cloudStack Networking code.
> 
> 
> Thank you,
> -Alena.