1 / 13

WebLogic Clustering - Failover, and Load Balancing

WebLogic Clustering - Failover, and Load Balancing. Bryan Ferrel and Ramarao Desaraju CS 522 Computer Communications December 4, 2002. Introduction. What is Clustering? Close cooperation of two or more replicated servers to ensure fast, continuous service to users.

lanitar
Download Presentation

WebLogic Clustering - Failover, and Load Balancing

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. WebLogic Clustering - Failover, and Load Balancing Bryan Ferrel and Ramarao Desaraju CS 522 Computer Communications December 4, 2002

  2. Introduction • What is Clustering? • Close cooperation of two or more replicated servers to ensure fast, continuous service to users. • Clustering must provide the following: • No bottlenecks to scaling • No single point of failure • Transparency to application developers • Single-system image to administrators WebLogic Clustering

  3. Clustering • Benefits of Clustering • High-Availability and Scalability • Key Capabilities of Clustering • Failover • New object can take over for the failed object • Load Balancing • Even distribution of jobs • Challenges • Replication without increasing load • Propagating changes to servers participating in the cluster • Complex setup WebLogic Clustering

  4. WebLogic Clustering • What is WebLogic? • J2EE Application Server that is a platform for developing distributed applications • A hosting environment for EJBs • Provides several services such as: JMS, JNDI, JDBC, Transaction control, etc… • WebLogic Clustering • Consists of multiple copies of the WL Server working together—so that there are alternative objects to do the same job. WebLogic Clustering

  5. WebLogic Clustering • Types of objects that can be clustered • Servlets and JSPs • EJBs • RMI objects • JMS destinations • JDBC Connections WebLogic Clustering

  6. Replica-aware stubs created at compile time • Contains load-balancing algorithm WebLogic Clustering

  7. Typical Clustered Multi-Tier Architecture WebLogic Clustering

  8. Load Balancing • Algorithms used: • Round-Robin • Cycles through instances in order • Weight-Based • Allocation of requests based upon relative weights • Random WebLogic Clustering

  9. What we did • Set up a WL server in a clustered environment • 2 Nodes and 1 Admin. server • Deploy an EJB • Stateful Session Bean that is replicated on the cluster • Simulate the action of multiple clients • Remote Java client that creates multiple threads and sends off requests in quick succession • Server logs client requests • Used for gathering statistics WebLogic Clustering

  10. Test Setup WebLogic Clustering

  11. Results • Most effective algorithm was Round-Robin • Weight-based is useful when there are differences in the cluster hardware • Degenerates to Round-Robin when using identical weights in the cluster. • Random was close to Round-Robin • Scalability • 1 server results in cacheful exceptions • Adding another node to the cluster removed this problem with identical clients WebLogic Clustering

  12. WebLogic Clustering

  13. References • Girdley, Woollen, Emerson, J2EE Applications and BEA WebLogic Server, Prentice Hall, Upper Saddle River, NJ, 2002 • On Line References: • http://e-docs.bea.com/wls/docs70/cluster/ • http://www.getgamma.com/wlscert/wls6clustering.html • http://www.distributedobjex.com/resources/techbriefs_BEA.htm • http://java.sun.com/j2ee WebLogic Clustering

More Related