[Pacemaker] Web farm question

and k not4mad at gmail.com
Wed Apr 24 20:02:46 UTC 2013


Hi,

what I understand you want split vhost on separate virtual ip adresses and
join all nodes into one cluster?

I dont think it is a good idea in case of web farm, as you mentioned it
wont scale so good. What if traffic on certain vhost (virtual ip) grow up
and you would need to spread it across more nodes?

I recommend you to use 2 lvs  loadballancer in Direct Routing mode (as
active-active) with keepalived or surealived as resource health checker, it
will be really efficent and scaleable. Use pacemaker on loadbalancers as a
VIP migration tool.

In that case you can easyly scale loadbalancers (but I doubt you would need
more than 2, in DR mode lvs pases only SYN, PSH and ACK from client to your
backend which reply directry to the gateway) and as well as http nodes.

regards
Andrew
24-04-2013 16:50, "Robert Parsons" <rparsons at tappublishing.com> napisał(a):

>
> We are building a new web farm to replace our 7 year old system. The old
> system used ipvs/ldirectord/heartbeat to implement redundant load
> balancers. All web server nodes were physical boxes.
>
> The proposed new system will utilize approximately 24 virtual machines as
> web servers. Load balancing and redundancy will be done via ClusterIP
> rather than an explicit load balancer. We're looking at potentially 50
> services running on 24 nodes. Pacemaker seemed like it would accommodate
> such a setup, however, from my research I am worried that perhaps it will
> not scale up to such a level.
>
> Does anyone have any experience or feedback on this proposed approach to a
> web farm? Should I consider another approach?
>
> Thanks for any info.
>
> - Rob Parsons
>
>
> ______________________________**_________________
> Pacemaker mailing list: Pacemaker at oss.clusterlabs.org
> http://oss.clusterlabs.org/**mailman/listinfo/pacemaker<http://oss.clusterlabs.org/mailman/listinfo/pacemaker>
>
> Project Home: http://www.clusterlabs.org
> Getting started: http://www.clusterlabs.org/**doc/Cluster_from_Scratch.pdf<http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf>
> Bugs: http://bugs.clusterlabs.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.clusterlabs.org/pipermail/pacemaker/attachments/20130424/fc1c526c/attachment.htm>


More information about the Pacemaker mailing list