Partner Webcast - Oracle WebLogic Server High Availability Concepts - 21 Mar 2013


Published on

Using Oracle WebLogic clustering, you are able to implement an environment of alternative instances available for users to be routed to via load balancing, hence reducing the impacts of any instance outages. A WebLogic Server cluster consists of multiple WebLogic Server instances running simultaneously and working together to provide the increased scalability and reliability you need. To implement a WebLogic cluster you must understand the elements that constitute a WebLogic clustering environment as well as the benefits of one type of clustering design over another.

During this webcast we discuss how to keep your applications consistently accessible and operational at all times even in case of failure(s). We see how to design and implement highly available, high performance systems that offer performance regardless of load and can scale to meet new requirements by using WebLogic Server's High Availability Infrastructure.

Find out more at

Published in: Technology
  • Be the first to comment

No Downloads
Total views
On SlideShare
From Embeds
Number of Embeds
Embeds 0
No embeds

No notes for slide

Partner Webcast - Oracle WebLogic Server High Availability Concepts - 21 Mar 2013

  1. 1. “This slide format serves to call attention to a quote from a prominent customer, executive, or thought leader • Name • in regards to a particular topic.” Title, Company Name CUSTOMER
  2. 2. <Insert Picture Here>WebLogic Server High Availability ConceptsGokhan GungorOracle ISV Migration Center @gokhangungor1
  3. 3. Partner Hub - ISV Migration Center Team• Who we Are ISV Migration Center Team is a team of senior technical consultants based in Eastern and Central Europe and represents Oracles technical investment for partners.• Mission Statement Enable partners to rapidly and successfully adopt and implement Oracle latest technology• What do we Offer Whether you are selling Oracle technology, building business solutions, including hosted Internet solutions or providing system integration and implementation services for Oracle technology, IMC Team can help you succeed.• How can we assist We offer a wide range of free services for partners such as one2one assistance, webinars, seminars and hands-on workshops. ISV Migration Center blog: • • •
  4. 4. WebLogic HA Agenda• WebLogic High Availability Overview <Insert Picture Here>• WebLogic Server Clusters• Failover and Replication in a Cluster• Load Balancing• Demo• Q&A
  5. 5. WLS High Availability Data Failure Backup & Recovery Human ErrorSite Disaster Software Failure UNPLANNED DOWNTIME Failures & SolutionsWAN Clusters ClustersDisaster Recovery Node Manager Cluster wide JNDI Service Migration Clusters Hardware Server Migration Failure Clusterware Integration
  6. 6. WLS High Availability Deploy and Re-deploy Hot Deployment Applications Side By Side Deployment Configuration ChangesUpgrades PLANNED DOWNTIMERolling Operations & Solutionscluster upgrade •Online Configuration Changes and warnings •Batching changes/Deferred Activation Transformations, scalability •Cluster wide JNDI and topology extensions •Dynamic Clusters •Cloning
  7. 7. WebLogic Typical High Availability TopologyDesktop Node Mgr Node Mgr X X Administration Server Apache WLS Cluster Oracle DB Server or OHS DMZ IntranetInternet Node Mgr Node Mgr X X Apache WLS Cluster FW-2 WLS Cluster Oracle DB FW-1 LB-1 Server or OHS
  8. 8. WLS Concepts Admin ConsoleWLSDomainAdmin ServerNode ManagerManaged ServerClusterConfig.xmlMigratable ServiceAdmin Console
  9. 9. Domain• What is it? • a logically related group of WebLogic Server instances that you manage from a single set of configuration artifacts.• What’s in a domain? • Servers • Clusters of servers• Rules: • All WebLogic Server instances within the same domain must be at the same major and minor version. config.xml
  10. 10. Server• What is it? • A configured instance to host JNDI applications and resources • WebApps, Enterprise Apps, JMS Queue Web Services, … JDBC Pool • JMS, JDBC, Diagnostics, …• What types of servers are there? • Administration Server • Managed Server
  11. 11. Administration Server Managed Servers• What is it? • Configuration controller for the entire domain• What else does it do? Admin Server • Hosts the Administration Console • Enables you to start and stop servers from a config.xml central location • Enables you to migrate servers and services within the domain• Enables you to deploy applications within the domain• Guidelines: • There must be exactly one* Administration Admin Console Server in domain • Administration Server controls only one domain.
  12. 12. Managed Server JND I • What is it? JMS Queue • A running instance that hosts JDBC Pool applications and resources needed by those applications - The real work horses in a WebLogic domain • Each Managed Server is independent of all other Managed Servers in the domain (unless they are in a cluster, defined later) • You can have as many Managed Servers in a domain as you need • Individual Managed Servers are typically added for capacity and application isolation13
  13. 13. Cluster Cluster 1• A group of Managed Servers running simultaneously and working together to provide increased scalability and Admin Svr reliability • Scalability: through parallelism • Reliability/Availability: through replication and redundancy• Appears as a single instance to most clients. Cluster 2• Enables some advanced features • Whole Server Migration • Service Migration, and clustered JMS destinations.
  14. 14. Introduction What is WebLogic Cluster ?• Multiple WLS instances running simultaneously and working together.• Cluster is part of a WLS domain. A domain can have multiple clusters.• Cluster members can run in same machine or be located on different machines.• Rolling upgrade of cluster members is supported.• Clients view a cluster as a single WLS instance.
  15. 15. Introduction Key Benefits of Clustering• Scalability • Load Balance • Even distribution of jobs • Multiple copies of an object that can do a particular job must be available• High-Availability • Failover • When a object processing a job becomes unavailable, a copy of the object elsewhere takes over and finishes the job
  16. 16. Cluster Communication Use of IP Multicast / Unicast• Each cluster member instance uses multicast or Unicast for • Cluster heartbeats • Broadcast regular "heartbeat" messages to advertise its availability. • Maintains list of live cluster members when “heartbeat” is received from a member. • Cluster-wide JNDI updates • Announce the availability of clustered objects that are deployed or removed locally. • Updates local JNDI after receiving announcements for clustered objects from peers.
  17. 17. Session State ReplicationJSPs and Servlets #1 #2 A B BC AB Browser C Web Servers Servlet Engines
  18. 18. Web ClusterWebServer with proxy plug-in Cluster WebServer WLS instance Proxy plugin WLS instance WebServer Proxy plugin WLS instance •iPlanet/SunOne •Apache •IIS •WLS with HttpCLusterServlet
  19. 19. Web ClusterExternal Load Balancer Cluster WLS instance Load WLS instance Balancer WLS instance•BigIP from F5•Alteon from Nortel•Cisco
  20. 20. WLS ClusteringClusterable objects• Clusterable objects include• EJB• JSP• Servlets• JDBC• JMS
  21. 21. Cluster Master Not a Single Point of Failure• Cluster Master is responsible for monitoring all servers’ liveness• What happens when the cluster master fails? • All servers compete to be the new cluster master • New cluster master is determined as the server that can write the cluster master record in the database (DB leasing) or with the earliest start time (consensus leasing) • Lease data is available either through replication in memory or in a database
  22. 22. All hosts compete to get the lease to The server with run Server 4. The cluster master HA – Failure the earliest start Scenario with Whole Server Migration and grants the lease to this server time becomes the calls the node manager to start the cluster master server.Node managersstart the serversin the cluster Server 1 Server 2 Server 4 NM NMServers sendheartbeats to the This host failscluster master to and then loses itsrenew their leases, lease to runand the cluster Server 4. Server 3 Server 4master sendslease table data toNM NMother servers inthe cluster.
  23. 23. HA with Side by Side Deployment Zero Application Downtime Existing External New External Client Client Connections Connections When Activated Newer version of application deployed side-by-side with older version in same JVM Clients already connected continued to be served by Application Application older version Version Version One Two New clients connect to newer Managed WebLogic Server version Single Java VM• Test versions before opening up to users Test First in• Rollback to previous versions Administrative Mode• Automatic retirement – graceful or timeout Internal Client Connections
  24. 24. Oracle RAC - Multi Data SourceConfiguration
  25. 25. Cluster Implementation Roadmap• Install WebLogic Server• Create a Clustered Domain• Configure Node Manager• Configure Load Balancing (Proxy Plug-Ins)• Configure Replication Groups• Configure Clustered JDBC / JMS Resources• Package Applications for Deployment• Deploy Applications• Configure In-Memory HTTP Replication
  26. 26. “This slide format serves to call attention to a quote from a prominent customer, executive, or thought leader • Name • in regards to a particular topic.” Title, Company Name CUSTOMER