SlideShare una empresa de Scribd logo
1 de 14
Clustering
                -Vijay Amrit Raj Sharma




 Scandihealth                             1
Application Server as Middleware



App Server is referred to as middleware because it is responsible for
 connecting the client with the database servers and for serving the
 information contained in the databases/Infomraition Systems.




    Scandihealth                                                        2
Weblogic Setup - Production




   Scandihealth               3
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




                                                config.xml




   Scandihealth                                              4
Administration Server
                                                                                     Managed Servers
  • What is it?
    – Central configuration controller for the entire
      domain
  • What else does it do?                                        Admin Server

    – Hosts the Administration Console
                                                                   config.xml
    – Enables you to start and stop servers from a
      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
    – An Administration Server controls only one
      domain.
    – For production use, we recommend not
      hosting application logic or resources on the
      Administration Server

  *The Administration Server does not need to run at all times, but is required for making
  configuration and deployment changes to a running domain.
    Scandihealth                                                                                  5
Managed Server


  • What is it?                              JNDI


   – A running instance that hosts             JMS Queue

     applications and resources needed by
     those applications - The real work        JDBC Pool


     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 isolation


   Scandihealth                                            6
Application Failover



Simply put, failover means that when an application component doing a
 particular “job”—some set of processing tasks—becomes unavailable for
 any reason, a copy of the failed object finishes the job
• For the new object to be able to take over for the failed object:
   • There must be a copy of the failed object available to take over the job.
   • There must be information, available to other objects and the program that manages
     failover, defining the location and operational status of all objects—so that it can be
     determined that the first object failed before finishing its job
   • WebLogic Server uses standards-based communication techniques and facilities—
     including IP sockets and the Java Naming and Directory Interface (JNDI)—to share and
     maintain information about the availability of objects in a cluster
   • Information about what has been done on a job is called state. WebLogic Server
     maintains information about state using techniques called session replication and
     replica-aware stubs




    Scandihealth                                                                               7
Load Balancing in a Cluster



Load balancing is the even distribution of jobs and associated
 communications across the computing and networking resources in your
 environment. For load balancing to occur:
   • There must be multiple copies of an object that can do a particular job.
   • Information about the location and operational status of all objects must be available


WebLogic Server shares and maintains the availability and location of deployed objects using
 unicast, IP sockets, and JNDI


• For JSPs and Servlets: load balancing is external
 – Web server proxy plug-in (round robin):
 – HTTP Proxy servlet (i.e., using WLS as a load balancer)
 – 3rd party hw or sw load balancer
 – Load balancing algorithms: Round robin, weighted, random, server affinity


     Scandihealth                                                                             8
Weblogic Cluster


• A WebLogic cluster is a collection of servers that coordinate their
  actions to provide scalable and highly-available services


• Scalable services
 – Add or remove servers as needed
 – Load balance requests
 – Concentrate communication
• Highly-available services
 – No single point of failure
 – Failover requests
 – Scalability: through parallelism
 – Reliability/Availability: through replication and redundancy



    Scandihealth                                                        9
Cluster Guidelines


• All servers in a cluster must also be in the same domain.
• All servers within a cluster must be at the same Maintenance Pack level.
• Clustered servers can be on the same or different machines.
• You can have multiple clusters in a domain.




    Scandihealth                                                        10
Communication in a Cluster

  • Peer to Peer using Sockets - used for:
   – Accessing non-clustered objects deployed to another clustered server
     instance on a different machine.
   – Replicating HTTP session states and stateful session EJB states
     between a primary and secondary server instance.
   – Accessing clustered objects that reside on a remote server instance.


  • Multicast - used for:
   – Cluster-wide JNDI updates
   – Heartbeats
  • Cluster-wide JNDI tree
   – Lists local resources and resources available throughout the cluster
   – List is maintained on all servers in the cluster




   Scandihealth                                                             11
Configuring for High Availability


  • Clustered servers for
    HA and scalability
                                        A1      A1   A1   A1

  • All managed servers
    in the same cluster                 A2      A2   A2   A2
    are on different
    machines, although
    machines are
    frequently shared


                               Admin Server

                               Managed Server

                               Node Manager


   Scandihealth                                            12
HttpClusterServlet


• WebLogic provides a rudimentary software load balancer, the
  HttpClusterServlet, which round-robins HTTP requests through all the
  available servers in the cluster.


• A hardware solution typically includes additional logic to monitor the load
on individual machines and distribute the requests accordingly.

      <!-- web.xml entry -->
      <init-param>
       <param-name>WebLogicCluster</param-name>
       <param-value>
         10.0.10.10:7001:7002|10.0.10.10:7003:7004
       </param-value>
      </init-param




    Scandihealth                                                           13
Recommended Architecture




   Scandihealth            14

Más contenido relacionado

La actualidad más candente

Planning For Catastrophe with IBM WAS and IBM BPM
Planning For Catastrophe with IBM WAS and IBM BPMPlanning For Catastrophe with IBM WAS and IBM BPM
Planning For Catastrophe with IBM WAS and IBM BPMWASdev Community
 
Learn Oracle WebLogic Server 12c Administration
Learn Oracle WebLogic Server 12c AdministrationLearn Oracle WebLogic Server 12c Administration
Learn Oracle WebLogic Server 12c AdministrationRevelation Technologies
 
Exchange 2013 Haute disponibilité et tolérance aux sinistres (Session 1/2 pre...
Exchange 2013 Haute disponibilité et tolérance aux sinistres (Session 1/2 pre...Exchange 2013 Haute disponibilité et tolérance aux sinistres (Session 1/2 pre...
Exchange 2013 Haute disponibilité et tolérance aux sinistres (Session 1/2 pre...Microsoft Technet France
 
Scott Schnoll - Exchange server 2013 high availability and site resilience
Scott Schnoll - Exchange server 2013 high availability and site resilienceScott Schnoll - Exchange server 2013 high availability and site resilience
Scott Schnoll - Exchange server 2013 high availability and site resilienceNordic Infrastructure Conference
 
Building WebLogic Domains With WLST
Building WebLogic Domains With WLSTBuilding WebLogic Domains With WLST
Building WebLogic Domains With WLSTC2B2 Consulting
 
Weblogic application server
Weblogic application serverWeblogic application server
Weblogic application serverAnuj Tomar
 
WebLogic Scripting Tool Overview
WebLogic Scripting Tool OverviewWebLogic Scripting Tool Overview
WebLogic Scripting Tool OverviewJames Bayer
 
MariaDB High Availability Webinar
MariaDB High Availability WebinarMariaDB High Availability Webinar
MariaDB High Availability WebinarMariaDB plc
 
WebLogic Administration course outline
WebLogic Administration course outlineWebLogic Administration course outline
WebLogic Administration course outlineVybhava Technologies
 
AAI-3281 Smarter Production with WebSphere Application Server ND Intelligent ...
AAI-3281 Smarter Production with WebSphere Application Server ND Intelligent ...AAI-3281 Smarter Production with WebSphere Application Server ND Intelligent ...
AAI-3281 Smarter Production with WebSphere Application Server ND Intelligent ...WASdev Community
 
Chef conf-2015-chef-patterns-at-bloomberg-scale
Chef conf-2015-chef-patterns-at-bloomberg-scaleChef conf-2015-chef-patterns-at-bloomberg-scale
Chef conf-2015-chef-patterns-at-bloomberg-scaleBiju Nair
 
Weblogic configuration & administration
Weblogic   configuration & administrationWeblogic   configuration & administration
Weblogic configuration & administrationMuhammad Mansoor
 
Oracle WebLogic 12c New Multitenancy features
Oracle WebLogic 12c New Multitenancy featuresOracle WebLogic 12c New Multitenancy features
Oracle WebLogic 12c New Multitenancy featuresMichel Schildmeijer
 
Learn Oracle WebLogic Server 12c Administration
Learn Oracle WebLogic Server 12c AdministrationLearn Oracle WebLogic Server 12c Administration
Learn Oracle WebLogic Server 12c AdministrationRevelation Technologies
 

La actualidad más candente (20)

Planning For Catastrophe with IBM WAS and IBM BPM
Planning For Catastrophe with IBM WAS and IBM BPMPlanning For Catastrophe with IBM WAS and IBM BPM
Planning For Catastrophe with IBM WAS and IBM BPM
 
Learn Oracle WebLogic Server 12c Administration
Learn Oracle WebLogic Server 12c AdministrationLearn Oracle WebLogic Server 12c Administration
Learn Oracle WebLogic Server 12c Administration
 
Exchange 2013 Haute disponibilité et tolérance aux sinistres (Session 1/2 pre...
Exchange 2013 Haute disponibilité et tolérance aux sinistres (Session 1/2 pre...Exchange 2013 Haute disponibilité et tolérance aux sinistres (Session 1/2 pre...
Exchange 2013 Haute disponibilité et tolérance aux sinistres (Session 1/2 pre...
 
Liberty Deep Dive
Liberty Deep DiveLiberty Deep Dive
Liberty Deep Dive
 
Scott Schnoll - Exchange server 2013 high availability and site resilience
Scott Schnoll - Exchange server 2013 high availability and site resilienceScott Schnoll - Exchange server 2013 high availability and site resilience
Scott Schnoll - Exchange server 2013 high availability and site resilience
 
Building WebLogic Domains With WLST
Building WebLogic Domains With WLSTBuilding WebLogic Domains With WLST
Building WebLogic Domains With WLST
 
Weblogic application server
Weblogic application serverWeblogic application server
Weblogic application server
 
Exchange Server 2013 High Availability - Site Resilience
Exchange Server 2013 High Availability - Site ResilienceExchange Server 2013 High Availability - Site Resilience
Exchange Server 2013 High Availability - Site Resilience
 
WebLogic Scripting Tool Overview
WebLogic Scripting Tool OverviewWebLogic Scripting Tool Overview
WebLogic Scripting Tool Overview
 
MariaDB High Availability Webinar
MariaDB High Availability WebinarMariaDB High Availability Webinar
MariaDB High Availability Webinar
 
WebLogic Administration course outline
WebLogic Administration course outlineWebLogic Administration course outline
WebLogic Administration course outline
 
AAI-3281 Smarter Production with WebSphere Application Server ND Intelligent ...
AAI-3281 Smarter Production with WebSphere Application Server ND Intelligent ...AAI-3281 Smarter Production with WebSphere Application Server ND Intelligent ...
AAI-3281 Smarter Production with WebSphere Application Server ND Intelligent ...
 
WLS
WLSWLS
WLS
 
Oracle Web Logic server
Oracle Web Logic serverOracle Web Logic server
Oracle Web Logic server
 
Chef conf-2015-chef-patterns-at-bloomberg-scale
Chef conf-2015-chef-patterns-at-bloomberg-scaleChef conf-2015-chef-patterns-at-bloomberg-scale
Chef conf-2015-chef-patterns-at-bloomberg-scale
 
Introduction to weblogic
Introduction to weblogicIntroduction to weblogic
Introduction to weblogic
 
Weblogic configuration & administration
Weblogic   configuration & administrationWeblogic   configuration & administration
Weblogic configuration & administration
 
Oracle WebLogic 12c New Multitenancy features
Oracle WebLogic 12c New Multitenancy featuresOracle WebLogic 12c New Multitenancy features
Oracle WebLogic 12c New Multitenancy features
 
Learn Oracle WebLogic Server 12c Administration
Learn Oracle WebLogic Server 12c AdministrationLearn Oracle WebLogic Server 12c Administration
Learn Oracle WebLogic Server 12c Administration
 
Weblogic cluster
Weblogic clusterWeblogic cluster
Weblogic cluster
 

Destacado

Reality TV Travel Adventure - Casting Call for Video Submissions - Journey of...
Reality TV Travel Adventure - Casting Call for Video Submissions - Journey of...Reality TV Travel Adventure - Casting Call for Video Submissions - Journey of...
Reality TV Travel Adventure - Casting Call for Video Submissions - Journey of...Journey Lifetime
 
Refilmagens dos filmes de terror
Refilmagens dos filmes de terrorRefilmagens dos filmes de terror
Refilmagens dos filmes de terrorMarcio Wolfarth
 
Intro to Microsoft PowerPoint (2007)
Intro to Microsoft PowerPoint (2007)Intro to Microsoft PowerPoint (2007)
Intro to Microsoft PowerPoint (2007)Matteo Wyllyamz
 
Global Green New Orleans: Reinvention 2010
Global Green New Orleans: Reinvention 2010Global Green New Orleans: Reinvention 2010
Global Green New Orleans: Reinvention 2010globalgreenusa
 
Principles of Design for Web (2006)
Principles of Design for Web (2006)Principles of Design for Web (2006)
Principles of Design for Web (2006)Matteo Wyllyamz
 
Adobe Acrobat 9 welcome & workshop outline w forms (2009)
Adobe Acrobat 9 welcome & workshop outline w forms (2009)Adobe Acrobat 9 welcome & workshop outline w forms (2009)
Adobe Acrobat 9 welcome & workshop outline w forms (2009)Matteo Wyllyamz
 

Destacado (6)

Reality TV Travel Adventure - Casting Call for Video Submissions - Journey of...
Reality TV Travel Adventure - Casting Call for Video Submissions - Journey of...Reality TV Travel Adventure - Casting Call for Video Submissions - Journey of...
Reality TV Travel Adventure - Casting Call for Video Submissions - Journey of...
 
Refilmagens dos filmes de terror
Refilmagens dos filmes de terrorRefilmagens dos filmes de terror
Refilmagens dos filmes de terror
 
Intro to Microsoft PowerPoint (2007)
Intro to Microsoft PowerPoint (2007)Intro to Microsoft PowerPoint (2007)
Intro to Microsoft PowerPoint (2007)
 
Global Green New Orleans: Reinvention 2010
Global Green New Orleans: Reinvention 2010Global Green New Orleans: Reinvention 2010
Global Green New Orleans: Reinvention 2010
 
Principles of Design for Web (2006)
Principles of Design for Web (2006)Principles of Design for Web (2006)
Principles of Design for Web (2006)
 
Adobe Acrobat 9 welcome & workshop outline w forms (2009)
Adobe Acrobat 9 welcome & workshop outline w forms (2009)Adobe Acrobat 9 welcome & workshop outline w forms (2009)
Adobe Acrobat 9 welcome & workshop outline w forms (2009)
 

Similar a Clustering

Weblogicserveroverviewtopologyconfigurationadministration 1227546826890714-9
Weblogicserveroverviewtopologyconfigurationadministration 1227546826890714-9Weblogicserveroverviewtopologyconfigurationadministration 1227546826890714-9
Weblogicserveroverviewtopologyconfigurationadministration 1227546826890714-9Bhaskar Naik
 
Weblogic 101 for dba
Weblogic  101 for dbaWeblogic  101 for dba
Weblogic 101 for dbaOsama Mustafa
 
Weblogic Domain Activity
Weblogic Domain ActivityWeblogic Domain Activity
Weblogic Domain Activitysubash prakash
 
F428435966 odtug web-logic for developers
F428435966 odtug   web-logic for developersF428435966 odtug   web-logic for developers
F428435966 odtug web-logic for developersMeng He
 
Weblogicserveroverviewtopologyconfigurationadministration
WeblogicserveroverviewtopologyconfigurationadministrationWeblogicserveroverviewtopologyconfigurationadministration
WeblogicserveroverviewtopologyconfigurationadministrationGokhan Fazli Celik
 
Cloudstack for beginners
Cloudstack for beginnersCloudstack for beginners
Cloudstack for beginnersJoseph Amirani
 
CloudStack Architecture and Refactor
CloudStack Architecture and RefactorCloudStack Architecture and Refactor
CloudStack Architecture and Refactorgavin_lee
 
CloudStack - LinuxFest NorthWest
CloudStack - LinuxFest NorthWestCloudStack - LinuxFest NorthWest
CloudStack - LinuxFest NorthWestke4qqq
 
PCA_Admin_Presentation-1.pptx
PCA_Admin_Presentation-1.pptxPCA_Admin_Presentation-1.pptx
PCA_Admin_Presentation-1.pptxssuser21ded1
 
Oracle RAC and Your Way to the Cloud by Angelo Pruscino
Oracle RAC and Your Way to the Cloud by Angelo PruscinoOracle RAC and Your Way to the Cloud by Angelo Pruscino
Oracle RAC and Your Way to the Cloud by Angelo PruscinoMarkus Michalewicz
 
Weblogic 11g admin basic with screencast
Weblogic 11g admin basic with screencastWeblogic 11g admin basic with screencast
Weblogic 11g admin basic with screencastRajiv Gupta
 
Server Day 2009: Oracle/Bea Fusion Middleware by Paolo Ramasso
Server Day 2009: Oracle/Bea Fusion Middleware by Paolo RamassoServer Day 2009: Oracle/Bea Fusion Middleware by Paolo Ramasso
Server Day 2009: Oracle/Bea Fusion Middleware by Paolo RamassoJUG Genova
 
AAI-1445 Managing Dynamic Workloads with WebSphere ND and in the Cloud
AAI-1445 Managing Dynamic Workloads with WebSphere ND and in the CloudAAI-1445 Managing Dynamic Workloads with WebSphere ND and in the Cloud
AAI-1445 Managing Dynamic Workloads with WebSphere ND and in the CloudWASdev Community
 
OpenStack Days East -- MySQL Options in OpenStack
OpenStack Days East -- MySQL Options in OpenStackOpenStack Days East -- MySQL Options in OpenStack
OpenStack Days East -- MySQL Options in OpenStackMatt Lord
 
Cloud stack overview
Cloud stack overviewCloud stack overview
Cloud stack overviewhowie YU
 
Stay productive_while_slicing_up_the_monolith
Stay productive_while_slicing_up_the_monolithStay productive_while_slicing_up_the_monolith
Stay productive_while_slicing_up_the_monolithMarkus Eisele
 
MySQL Options in OpenStack
MySQL Options in OpenStackMySQL Options in OpenStack
MySQL Options in OpenStackTesora
 
Win2k8 cluster kaliyan
Win2k8 cluster kaliyanWin2k8 cluster kaliyan
Win2k8 cluster kaliyanKaliyan S
 
Hyper-V’s Virtualization Enhancements - EPC Group
Hyper-V’s Virtualization Enhancements - EPC GroupHyper-V’s Virtualization Enhancements - EPC Group
Hyper-V’s Virtualization Enhancements - EPC GroupEPC Group
 

Similar a Clustering (20)

Weblogicserveroverviewtopologyconfigurationadministration 1227546826890714-9
Weblogicserveroverviewtopologyconfigurationadministration 1227546826890714-9Weblogicserveroverviewtopologyconfigurationadministration 1227546826890714-9
Weblogicserveroverviewtopologyconfigurationadministration 1227546826890714-9
 
Weblogic 101 for dba
Weblogic  101 for dbaWeblogic  101 for dba
Weblogic 101 for dba
 
Weblogic Domain Activity
Weblogic Domain ActivityWeblogic Domain Activity
Weblogic Domain Activity
 
F428435966 odtug web-logic for developers
F428435966 odtug   web-logic for developersF428435966 odtug   web-logic for developers
F428435966 odtug web-logic for developers
 
Weblogicserveroverviewtopologyconfigurationadministration
WeblogicserveroverviewtopologyconfigurationadministrationWeblogicserveroverviewtopologyconfigurationadministration
Weblogicserveroverviewtopologyconfigurationadministration
 
Cloudstack for beginners
Cloudstack for beginnersCloudstack for beginners
Cloudstack for beginners
 
CloudStack Architecture and Refactor
CloudStack Architecture and RefactorCloudStack Architecture and Refactor
CloudStack Architecture and Refactor
 
CloudStack - LinuxFest NorthWest
CloudStack - LinuxFest NorthWestCloudStack - LinuxFest NorthWest
CloudStack - LinuxFest NorthWest
 
PCA_Admin_Presentation-1.pptx
PCA_Admin_Presentation-1.pptxPCA_Admin_Presentation-1.pptx
PCA_Admin_Presentation-1.pptx
 
Oracle RAC and Your Way to the Cloud by Angelo Pruscino
Oracle RAC and Your Way to the Cloud by Angelo PruscinoOracle RAC and Your Way to the Cloud by Angelo Pruscino
Oracle RAC and Your Way to the Cloud by Angelo Pruscino
 
Weblogic 11g admin basic with screencast
Weblogic 11g admin basic with screencastWeblogic 11g admin basic with screencast
Weblogic 11g admin basic with screencast
 
Server Day 2009: Oracle/Bea Fusion Middleware by Paolo Ramasso
Server Day 2009: Oracle/Bea Fusion Middleware by Paolo RamassoServer Day 2009: Oracle/Bea Fusion Middleware by Paolo Ramasso
Server Day 2009: Oracle/Bea Fusion Middleware by Paolo Ramasso
 
Cloud stack for_beginners
Cloud stack for_beginnersCloud stack for_beginners
Cloud stack for_beginners
 
AAI-1445 Managing Dynamic Workloads with WebSphere ND and in the Cloud
AAI-1445 Managing Dynamic Workloads with WebSphere ND and in the CloudAAI-1445 Managing Dynamic Workloads with WebSphere ND and in the Cloud
AAI-1445 Managing Dynamic Workloads with WebSphere ND and in the Cloud
 
OpenStack Days East -- MySQL Options in OpenStack
OpenStack Days East -- MySQL Options in OpenStackOpenStack Days East -- MySQL Options in OpenStack
OpenStack Days East -- MySQL Options in OpenStack
 
Cloud stack overview
Cloud stack overviewCloud stack overview
Cloud stack overview
 
Stay productive_while_slicing_up_the_monolith
Stay productive_while_slicing_up_the_monolithStay productive_while_slicing_up_the_monolith
Stay productive_while_slicing_up_the_monolith
 
MySQL Options in OpenStack
MySQL Options in OpenStackMySQL Options in OpenStack
MySQL Options in OpenStack
 
Win2k8 cluster kaliyan
Win2k8 cluster kaliyanWin2k8 cluster kaliyan
Win2k8 cluster kaliyan
 
Hyper-V’s Virtualization Enhancements - EPC Group
Hyper-V’s Virtualization Enhancements - EPC GroupHyper-V’s Virtualization Enhancements - EPC Group
Hyper-V’s Virtualization Enhancements - EPC Group
 

Último

Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024The Digital Insurer
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProduct Anonymous
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...Martijn de Jong
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsMaria Levchenko
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAndrey Devyatkin
 
Tech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdfTech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdfhans926745
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CVKhem
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century educationjfdjdjcjdnsjd
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slidevu2urc
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024The Digital Insurer
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processorsdebabhi2
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Scriptwesley chun
 
HTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation StrategiesHTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation StrategiesBoston Institute of Analytics
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityPrincipled Technologies
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationRadu Cotescu
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfsudhanshuwaghmare1
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)wesley chun
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Miguel Araújo
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptxHampshireHUG
 

Último (20)

Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
Tech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdfTech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdf
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
HTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation StrategiesHTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation Strategies
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 

Clustering

  • 1. Clustering -Vijay Amrit Raj Sharma Scandihealth 1
  • 2. Application Server as Middleware App Server is referred to as middleware because it is responsible for connecting the client with the database servers and for serving the information contained in the databases/Infomraition Systems. Scandihealth 2
  • 3. Weblogic Setup - Production Scandihealth 3
  • 4. 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 config.xml Scandihealth 4
  • 5. Administration Server Managed Servers • What is it? – Central configuration controller for the entire domain • What else does it do? Admin Server – Hosts the Administration Console config.xml – Enables you to start and stop servers from a 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 – An Administration Server controls only one domain. – For production use, we recommend not hosting application logic or resources on the Administration Server *The Administration Server does not need to run at all times, but is required for making configuration and deployment changes to a running domain. Scandihealth 5
  • 6. Managed Server • What is it? JNDI – A running instance that hosts JMS Queue applications and resources needed by those applications - The real work JDBC Pool 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 isolation Scandihealth 6
  • 7. Application Failover Simply put, failover means that when an application component doing a particular “job”—some set of processing tasks—becomes unavailable for any reason, a copy of the failed object finishes the job • For the new object to be able to take over for the failed object: • There must be a copy of the failed object available to take over the job. • There must be information, available to other objects and the program that manages failover, defining the location and operational status of all objects—so that it can be determined that the first object failed before finishing its job • WebLogic Server uses standards-based communication techniques and facilities— including IP sockets and the Java Naming and Directory Interface (JNDI)—to share and maintain information about the availability of objects in a cluster • Information about what has been done on a job is called state. WebLogic Server maintains information about state using techniques called session replication and replica-aware stubs Scandihealth 7
  • 8. Load Balancing in a Cluster Load balancing is the even distribution of jobs and associated communications across the computing and networking resources in your environment. For load balancing to occur: • There must be multiple copies of an object that can do a particular job. • Information about the location and operational status of all objects must be available WebLogic Server shares and maintains the availability and location of deployed objects using unicast, IP sockets, and JNDI • For JSPs and Servlets: load balancing is external – Web server proxy plug-in (round robin): – HTTP Proxy servlet (i.e., using WLS as a load balancer) – 3rd party hw or sw load balancer – Load balancing algorithms: Round robin, weighted, random, server affinity Scandihealth 8
  • 9. Weblogic Cluster • A WebLogic cluster is a collection of servers that coordinate their actions to provide scalable and highly-available services • Scalable services – Add or remove servers as needed – Load balance requests – Concentrate communication • Highly-available services – No single point of failure – Failover requests – Scalability: through parallelism – Reliability/Availability: through replication and redundancy Scandihealth 9
  • 10. Cluster Guidelines • All servers in a cluster must also be in the same domain. • All servers within a cluster must be at the same Maintenance Pack level. • Clustered servers can be on the same or different machines. • You can have multiple clusters in a domain. Scandihealth 10
  • 11. Communication in a Cluster • Peer to Peer using Sockets - used for: – Accessing non-clustered objects deployed to another clustered server instance on a different machine. – Replicating HTTP session states and stateful session EJB states between a primary and secondary server instance. – Accessing clustered objects that reside on a remote server instance. • Multicast - used for: – Cluster-wide JNDI updates – Heartbeats • Cluster-wide JNDI tree – Lists local resources and resources available throughout the cluster – List is maintained on all servers in the cluster Scandihealth 11
  • 12. Configuring for High Availability • Clustered servers for HA and scalability A1 A1 A1 A1 • All managed servers in the same cluster A2 A2 A2 A2 are on different machines, although machines are frequently shared Admin Server Managed Server Node Manager Scandihealth 12
  • 13. HttpClusterServlet • WebLogic provides a rudimentary software load balancer, the HttpClusterServlet, which round-robins HTTP requests through all the available servers in the cluster. • A hardware solution typically includes additional logic to monitor the load on individual machines and distribute the requests accordingly. <!-- web.xml entry --> <init-param> <param-name>WebLogicCluster</param-name> <param-value> 10.0.10.10:7001:7002|10.0.10.10:7003:7004 </param-value> </init-param Scandihealth 13
  • 14. Recommended Architecture Scandihealth 14

Notas del editor

  1. The following figure shows a typical production environment that contains an Administration Server and multiple WebLogic Servers instances. When you start the server instances in such a domain, the Administration Server is started first. As each additional server instance is started, it contacts the Administration Server for its configuration information. In this way, the Administration Server operates as the central control entity for the configuration of the entire domain
  2. You can use a variety of criteria for organizing WebLogic Server instances into domains. For instance, you might choose to allocate resources to multiple domains based on logical divisions of the hosted application, geographical considerations, or the number or complexity of the resources under management. For additional information about domains see Understanding Domain Configuration. Domain Restrictions In designing your domain configuration, note the following restrictions: Each domain requires its own Administration Server for performing management activities. When you use the Administration Console to perform management and monitoring tasks, you can switch back and forth between domains, but in doing so, you are connecting to different Administration Servers. All Managed Servers in a cluster must reside in the same domain; you cannot split a cluster over multiple domains. All Managed Servers in a domain must run the same version of the WebLogic Server software. The Administration Server may run either the same version as the Managed Servers in the domain, or a later service pack. If you have created multiple domains, each domain must reference its own database schema. You cannot share a configured resource or subsystem between domains. For example, if you create a JDBC data source in one domain, you cannot use it with a Managed Server or cluster in another domain. Instead, you must create a similar data source in the second domain. Furthermore, two or more system resources cannot have the same name.
  3. Do you need to explicitly configure the admin server? Administration Server The Administration Server operates as the central control entity for the configuration of the entire domain. It maintains the domain&apos;s configuration documents and distributes changes in the configuration documents to Managed Servers. You can also use the Administration Server as a central location from which to monitor all resources in a domain. To interact with the Administration Server, you can use the Administration Console, WLST, or create your own JMX client. See Summary of System Administration Tools and APIs in Overview of WebLogic Server System Administration to modify the domain&apos;s configuration. Each WebLogic Server domain must have one server instance that acts as the Administration Server. In each domain, one WebLogic Server instance acts as the Administration Server—the server instance which configures, manages, and monitors all other server instances and resources in the domain. Each Administration Server manages one domain only. If a domain contains multiple clusters, each cluster in the domain has the same Administration Server. More Thoughts: -MSI Mode -Disabling the Admin Console
  4. Managed Servers host business applications, application components, Web services, and their associated resources. To optimize performance, Managed Servers maintain a read-only copy of the domain&apos;s configuration document. Managed Servers can use the following resources: Machine definitions that identify a particular, physical piece of hardware. A machine definition is used to associate a computer with the Managed Servers it hosts. This information is used by Node Manager in restarting a failed Managed Server, and by a clustered Managed Server in selecting the best location for storing replicated session data. For more information about Node Manager, see Using Node Manager to Control Servers in Managing Server Startup and Shutdown . Network channels that define default ports, protocols, and protocol settings that a Managed Server uses to communicate with clients. After creating a network channel, you can assign it to any number of Managed Servers and clusters in the domain. For more information, see Configuring Network Resources in Configuring WebLogic Server Environments . Virtual hosting, which defines a set of host names to which WebLogic Server instances (servers) or clusters respond. When you use virtual hosting, you use DNS to specify one or more host names that map to the IP address of a server or cluster. You also specify which Web applications are served by each virtual host. JNDI Naming services as a means for locating objects over the network. EJB EJB provides a mechanism that contains business logic for building reusable Java components. It also helps users build component-based distributed applications JMS It aids communication between applications with the help of message exchanges.
  5. WebLogic provides a rudimentary software load balancer, the HttpClusterServlet, which round-robins HTTP requests through all the available servers  in the cluster. A hardware solution typically includes additional logic to monitor the load  on individual machines and distribute the requests accordingly
  6. WebLogic provides a rudimentary software load balancer, the HttpClusterServlet, which round-robins HTTP requests through all the available servers  in the cluster. A hardware solution typically includes additional logic to monitor the load  on individual machines and distribute the requests accordingly