Converged LoadBalancer Overview
Click here to load reader
-
Upload
eduardo-pelegri-llopart -
Category
Technology
-
view
1.073 -
download
0
description
Transcript of Converged LoadBalancer Overview
Converged Load-Balancer Overview1
SAILFINWEBINAR
Overview of Converged Load-Balancer
Kshitiz Saxena
CLB Eng. Lead,
Sun Microsystems, Inc
Converged Load-Balancer Overview2
SAILFINWEBINAR
Agenda● Why Converged Load Balancer● Deployment Topology● Heterogeneous Application Deployments● What JavaEE developer needs to know● Load Balancing Policies● Health Detect Mechanism● Configuration interface● Demo● References
Converged Load-Balancer Overview3
SAILFINWEBINAR
Why we need Converged Load Balancer
● SIP, Converged Applications● Messages over Web path and SIP path need to be
directed to same server replica.
● Multiple client invocations need to be directed to same server replica.
● SIP component can result in outgoing requests as well.
Converged Load-Balancer Overview4
SAILFINWEBINAR
Deployment Topology
Converged Load-Balancer Overview5
SAILFINWEBINAR
Deployment Topology
Converged Load-Balancer Overview6
SAILFINWEBINAR
Heterogeneous Application Deployments
● Pure JavaEE Web Applications, SIP Applications, Converged SIP and JavaEE Applications.
● Application Level Load Balancing.
● Load Balancing and Fail-over of pure Web App's over HTTP protocol.
● Converged Load Balancing and Fail-over of SIP, Converged App's over SIP and HTTP application protocol.
Converged Load-Balancer Overview7
SAILFINWEBINAR
What JavaEE developer needs to know
Primarily needs to concentrate on building a distributable application using standard platform constructs.
+
Data Centric Rules
Converged Load-Balancer Overview8
SAILFINWEBINAR
Load Balancing policies● Consistent Hash Algorithm
● Hash key is extracted from request using configured data-centric rules or default-headers
● Above hash key is used to pick which instance should service the request
● Requests mapping to unhealthy instances are failed over to other healthy instances
● Fail-over is restricted to cluster boundary● Used for pure sip applications and converged applications
Converged Load-Balancer Overview9
SAILFINWEBINAR
Load Balancing policies(cont ...)
● Round Robin Algorithm● Instance to service request are selected in round-robin
fashion from a set of healthy instances● Sticky requests are serviced by same instance if it is
healthy● Sticky requests for unhealthy instances are failed over
to other healthy instances● Fail-over is restricted to cluster boundary● Used for pure web applications
Converged Load-Balancer Overview10
SAILFINWEBINAR
Health Check Mechanism
● CLB gathers cluster health information from Group Management Service(GMS) at startup
● CLB registers itself as listener for GMS events● GMS propagates all cluster view change events to CLB
Converged Load-Balancer Overview11
SAILFINWEBINAR
Configuration interface
● CLI● Sailfin user can create CLB using asadmin command
asadmin > create-converged-lb --target <cluster-name> --autocommit=true --configfile <converged-load-balancer-xml> <converged-load-balancer-name>
● GUI● Sailfin user can create CLB using admin GUI
interface as well
Converged Load-Balancer Overview12
SAILFINWEBINAR
DEMO
Converged Load-Balancer Overview13
SAILFINWEBINAR
References● Documentation :
http://docs.sun.com/app/docs/doc/820-4287/gghcl?a=view
● Functional Specification : http://wiki.glassfish.java.net/attach/FunctionalSpecsOnePagers/ConvergedLB-FSD.pdf
● Blog : http://blogs.sun.com/kshitiz/entry/converged_load_balancer
Converged Load-Balancer Overview14
SAILFINWEBINAR
Thanks
Kshitiz Saxena
CLB Eng. Lead,
Sun Microsystems, Inc