You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cloudstack.apache.org by Michael Phillips <mp...@hotmail.com> on 2014/03/10 04:40:53 UTC

Management Server Load Balancing

I noticed in the docs it states to LB the mgmt servers you need to use persistence.
Has anyone had any luck using cookie persistence? I am attempting to use HAproxy for LB, but anytime I enable persistence using cookies I get a 503 service unavailable. 		 	   		  

RE: Management Server Load Balancing

Posted by Michael Phillips <mp...@hotmail.com>.
I got Haproxy working by changing the LB type from RR to source IP hash. However I think I will checkout Zen LB as a training exercise.

> From: shanker.balan@shapeblue.com
> To: users@cloudstack.apache.org
> Subject: Re: Management Server Load Balancing
> Date: Mon, 10 Mar 2014 05:03:57 +0000
> 
> Comments inline.
> 
> On 10-Mar-2014, at 9:10 am, Michael Phillips <mp...@hotmail.com> wrote:
> 
> > I noticed in the docs it states to LB the mgmt servers you need to use persistence.
> > Has anyone had any luck using cookie persistence? I am attempting to use HAproxy for LB, but anytime I enable persistence using cookies I get a 503 service unavailable.
> 
> Hi Michael,
> 
> While I have used HA Proxy, I am yet to use it for CloudStack management server
> load balancing.
> 
> I have however, used Zen Loadbalancer (OpenSource and available at
> http://www.zenloadbalancer.com) to load balance management servers with
> HTTP and HTTPS “session” persistence without issues.
> 
> I’ll be happy to answer any queries on Zen LB if you have.
> 
> 
> Regards.
> @shankerbalan
> 
> --
> @shankerbalan
> 
> M: +91 98860 60539 | O: +91 (80) 67935867
> shanker.balan@shapeblue.com | www.shapeblue.com | Twitter:@shapeblue
> ShapeBlue Services India LLP, 22nd floor, Unit 2201A, World Trade Centre, Bangalore - 560 055
> 
> Need Enterprise Grade Support for Apache CloudStack?
> Our CloudStack Infrastructure Support<http://shapeblue.com/cloudstack-infrastructure-support/> offers the best 24/7 SLA for CloudStack Environments.
> 
> Apache CloudStack Bootcamp training courses
> 
> **NEW!** CloudStack 4.2.1 training<http://shapeblue.com/cloudstack-training/>
> 18th-19th February 2014, Brazil. Classroom<http://shapeblue.com/cloudstack-training/>
> 17th-23rd March 2014, Region A. Instructor led, On-line<http://shapeblue.com/cloudstack-training/>
> 24th-28th March 2014, Region B. Instructor led, On-line<http://shapeblue.com/cloudstack-training/>
> 16th-20th June 2014, Region A. Instructor led, On-line<http://shapeblue.com/cloudstack-training/>
> 23rd-27th June 2014, Region B. Instructor led, On-line<http://shapeblue.com/cloudstack-training/>
> 
> This email and any attachments to it may be confidential and are intended solely for the use of the individual to whom it is addressed. Any views or opinions expressed are solely those of the author and do not necessarily represent those of Shape Blue Ltd or related companies. If you are not the intended recipient of this email, you must neither take any action based upon its contents, nor copy or show it to anyone. Please contact the sender if you believe you have received this email in error. Shape Blue Ltd is a company incorporated in England & Wales. ShapeBlue Services India LLP is a company incorporated in India and is operated under license from Shape Blue Ltd. Shape Blue Brasil Consultoria Ltda is a company incorporated in Brasil and is operated under license from Shape Blue Ltd. ShapeBlue is a registered trademark.
 		 	   		  

Re: Management Server Load Balancing

Posted by Shanker Balan <sh...@shapeblue.com>.
Comments inline.

On 10-Mar-2014, at 9:10 am, Michael Phillips <mp...@hotmail.com> wrote:

> I noticed in the docs it states to LB the mgmt servers you need to use persistence.
> Has anyone had any luck using cookie persistence? I am attempting to use HAproxy for LB, but anytime I enable persistence using cookies I get a 503 service unavailable.

Hi Michael,

While I have used HA Proxy, I am yet to use it for CloudStack management server
load balancing.

I have however, used Zen Loadbalancer (OpenSource and available at
http://www.zenloadbalancer.com) to load balance management servers with
HTTP and HTTPS “session” persistence without issues.

I’ll be happy to answer any queries on Zen LB if you have.


Regards.
@shankerbalan

--
@shankerbalan

M: +91 98860 60539 | O: +91 (80) 67935867
shanker.balan@shapeblue.com | www.shapeblue.com | Twitter:@shapeblue
ShapeBlue Services India LLP, 22nd floor, Unit 2201A, World Trade Centre, Bangalore - 560 055

Need Enterprise Grade Support for Apache CloudStack?
Our CloudStack Infrastructure Support<http://shapeblue.com/cloudstack-infrastructure-support/> offers the best 24/7 SLA for CloudStack Environments.

Apache CloudStack Bootcamp training courses

**NEW!** CloudStack 4.2.1 training<http://shapeblue.com/cloudstack-training/>
18th-19th February 2014, Brazil. Classroom<http://shapeblue.com/cloudstack-training/>
17th-23rd March 2014, Region A. Instructor led, On-line<http://shapeblue.com/cloudstack-training/>
24th-28th March 2014, Region B. Instructor led, On-line<http://shapeblue.com/cloudstack-training/>
16th-20th June 2014, Region A. Instructor led, On-line<http://shapeblue.com/cloudstack-training/>
23rd-27th June 2014, Region B. Instructor led, On-line<http://shapeblue.com/cloudstack-training/>

This email and any attachments to it may be confidential and are intended solely for the use of the individual to whom it is addressed. Any views or opinions expressed are solely those of the author and do not necessarily represent those of Shape Blue Ltd or related companies. If you are not the intended recipient of this email, you must neither take any action based upon its contents, nor copy or show it to anyone. Please contact the sender if you believe you have received this email in error. Shape Blue Ltd is a company incorporated in England & Wales. ShapeBlue Services India LLP is a company incorporated in India and is operated under license from Shape Blue Ltd. Shape Blue Brasil Consultoria Ltda is a company incorporated in Brasil and is operated under license from Shape Blue Ltd. ShapeBlue is a registered trademark.