SlideShare a Scribd company logo
WebLogic Server Overview Topology, Configuration and Administration Oracle WebLogic Server
Agenda Topology Domain Server Admin Server Managed Server Cluster Node Manager Machine  Configuration Files Administration Tools Sample Configuration Schemes
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.  Servers within a domain can be at different Maintenance Pack levels as long as the Administration Server is at the same Maintenance Pack Level or higher than its Managed Servers. config.xml
Server What is it? A configured instance to host applications and resources WebApps, Enterprise Apps, Web Services, … JMS, JDBC, Diagnostics, … What types of servers are there? Administration Server Managed Server JNDI JMS Queue JDBC Pool
Administration Server What is it? Central configuration controller for the entire domain What else does it do? Hosts the Administration Console 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 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. Managed Servers Admin Console Admin Server config.xml
Managed Server What is it? A running instance that hosts 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 isolation JNDI JMS Queue JDBC Pool
Administration Server to Managed Server Interaction The Administration Server stores the master copy of the domain configuration, including the configuration for all managed servers in the domain Each Managed Server stores a local copy of its configuration.  When a Managed Server starts, it connects to the Administration Server to synchronize the configuration When configuration is changed, the Administration Server sends changed configuration to Managed Servers
Cluster A cluster is a group of Managed Servers running simultaneously and working together to provide increased scalability and reliability  Scalability: through parallelism  Reliability/Availability: through replication and redundancy A cluster appears as a single instance to most clients. Clusters enable some advanced features, such as Whole Server Migration, Service Migration, and clustered JMS destinations. Cluster 1 Cluster 2 Admin Svr
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.
Load Balancing in a Cluster 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) 3 rd  party hw or sw load balancer EJBs and RMI Objects: load balancing is done at connection Objects are cluster-aware Load balancing algorithm is stored in the clustered object’s stub Objects are available on all cluster members; remote objects connect/use according the LB algorithm in the stub Load balancing algorithms: Round robin, weighted, random, server affinity
Failover in a Cluster Servlets and JSPs: HTTP session state is replicated to a secondary server in the cluster or to a database EJBs and RMI Objects: Replicas available throughout the cluster Exceptions caught and retried on another instance For Stateful Session Beans, state is replicated on a secondary server
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.  Peer to Peer using Unicast or 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
Node Manager Utility/process running on a physical server that enables you to start, stop, suspend, and restart WebLogic Server instances remotely Must run on each physical server that hosts WebLogic Server instances that you want to control with Node Manager Not associated with a domain. Can start any server instance that resides on the same physical server. Optional, but required to start/stop servers using the Administration Console Required for Whole Server Migration and for some configurations of Automatic Service Migration Admin Server Managed Server Node Manager
Machine A definition that identifies a particular, physical piece of hardware.  A machine definition is used to associate a computer with the Managed Servers it hosts.  Used by Node Manager in restarting a failed Managed Server Used by a clustered Managed Server in selecting the best location for storing replicated session data
Service Configuration Besides topology elements, you also configure the services in a domain that applications rely on: JMS, JDBC, Diagnostics, etc. General notion: Configure the service in the domain Target to specific servers or clusters An instance of the resource is created on each server specified
Agenda Topology Domain Server Admin Server Managed Server Cluster Node Manager Machine  Configuration Files Administration Tools Sample Configuration Schemes
Domain Directory Domain name Start and stop scripts Root configuration for the domain Configuration files for WLDF, JDBC, JMS, and Security Pending configuration changes Subdirectory for each Managed Server in the domain
Configuration Files <domain (schema locations)>     <name> wl_server </name>  <security-configuration></security-configuration> <jta></jta> <server> <name> examplesServer </name>  </server> <app-deployment></app-deployment> <jms-server></jms-server> <jms-system-resource></jms-system-resource> <jdbc-system-resource> <name> examples-demo </name>  <target> examplesServer,managedServer-0 </target>  <descriptor-file-name> jdbc/examples-demo-jdbc.xml </descriptor-file-name>      </jdbc-system-resource> </domain> config.xml config.xml – central configuration file for a domain includes the configuration of each server instance, cluster, resource, and service in the domain.  references additional XML files that are stored in subdirectories of the domain/config directory: JMS, JDBC, WLDF, and Security All files are based on schemas examples-demo-jdbc.xml <jdbc-data-source> <name> examples-demo </name> <jdbc-driver-params></jdbc-driver-params> <jdbc-driver-params></jdbc-driver-params> <jdbc-data-source-params></jdbc-data-source-params> </jdbc-data-source> references to other files
Two-Phase Configuration Changes Changes activated in batches: Reliability, consistency: Make (related) changes as a group Validate before making the change Activate or Roll back as a single unit( all changes on all servers General process: Get an edit lock make changes changes are stored in the pending directory activate your changes (with implicit validation through the Admin Console or WLST) changes are distributed to servers in the domain Two phases: prepare and commit Prepared on all servers; any failures will cause total rollback
Agenda Topology Domain Server Admin Server Managed Server Cluster Node Manager Machine  Configuration Files Administration Tools Sample Configuration Schemes
Administration Tools Configuration Wizard GUI/scriptable tool to create and extend WebLogic domains Template based Administration Console Browser-based tool for configuring and monitoring domains, deploying applications, and controlling servers WebLogic Scripting Tool (WLST) Script or command line tool to do the same thing as the Administration Console and Configuration Wizard Note that we will cover details on WLST in a separate document weblogic.Admin Deprecated command line tool for configuring a domain Recommend using WLST instead weblogic.Deployer Command line tool for deploying applications
Configuration Wizard Wizard that walks you through domain creation off line Not intended to run against a running domain Requires a domain template WLS ships with a default template and templates for samples domains Customers and layered products can create their own templates Scriptable (aka “WLST Offline”) More info: http://e-docs.bea.com/common/docs100/confgwiz/index.html http://e-docs.bea.com/common/docs100/interm/config.html http://e-docs.bea.com/common/docs100/tempbuild/index.html http://e-docs.bea.com/common/docs100/tempref/index.html
Configuration Wizard
Configuration Wizard
Administration Console Graphical interface to configure, manage, monitor a domain One Administration Console for each domain The Administration Server in the domain hosts the Admin Console application Open the Admin Console with the following URL: http://host:port/console Typically in dev: http://localhost:7001/console Sample domains use weblogic/weblogic as the user name and password In WLS 10.3, the Admin Console application deploys lazily – on first use More info: http://e-docs.bea.com/wls/docs100/intro/console.html
 
WebLogic Scripting Tool (WLST) Scripting tool for administering a domain (create, configure, manage, monitor, deploy applications) Based on Jython, which is a pure Java implementation of Python Great for automating repetitive tasks Heavy use by customers and within BEA “ Record” feature in Admin console: record actions to a WLST script Two modes: Offline: analogous to the Configuration Wizard Online: analogous to the Administration Console More info:  http://e-docs.bea.com/wls/docs100/config_scripting/index.html
Agenda Topology Domain Server Admin Server Managed Server Cluster Node Manager Machine  Configuration Files Administration Tools Sample Configuration Schemes
Single Server/Development Configuration Single server acts as the Administration Server and as a host for applications Not recommended for production, but standard for development Admin Console JNDI JMS Queue JDBC Pool config.xml
Configuring for Application Isolation Deploy applications to their own servers  Admin server on its own server (highly recommended) Each managed server on its own physical server A1 A2 A3 Admin Server Managed Server Node Manager
Configuring for Extreme Application Isolation Each application gets its own  domain Admin server on its own server (highly recommended) Each managed server on its own physical server A1 A1 A1 A2 A2 A2 Domain 1 Domain 2
Configuring for High Availability Clustered servers for HA and scalability All managed servers in the same cluster are on different machines, although machines are frequently shared Admin Server Managed Server Node Manager A1 A2 A2 A2 A1 A1 A2 A1
Configuring for Perf and Utilization Multiple Managed Servers per machine All Managed Servers in one cluster Cluster replication scheme considers location in determining secondary Managed Servers A1 A1 A1 A1 A1 A1 A1 A1
Simplified Administration Multiple applications deployed to a single cluster Admin server on its own server (highly recommended) Single domain to manage A1 A2 A3 A1 A2 A3 A1 A2 A3
Summary WebLogic Server configuration is segmented by domain Each domain represents a configuration entity and uses one set of configuration artifacts Each domain has one Administration Server, and can have multiple managed servers and clusters Node Manager is a per-machine process used to start and stop WebLogic Server instances There are a number of administration tools available for configuring and managing a WebLogic domain: Config Wizard, Admin Console, WLST, weblogic.Deployer Admin Server Managed Servers config.xml Admin Console
A Q &
Ad

More Related Content

What's hot (20)

Weblogic
WeblogicWeblogic
Weblogic
sudeeporcl
 
WebLogic Scripting Tool Overview
WebLogic Scripting Tool OverviewWebLogic Scripting Tool Overview
WebLogic Scripting Tool Overview
James Bayer
 
Oracle Web Logic server
Oracle Web Logic serverOracle Web Logic server
Oracle Web Logic server
Rakesh Gujjarlapudi
 
Oracle WebLogic Diagnostics & Perfomance tuning
Oracle WebLogic Diagnostics & Perfomance tuningOracle WebLogic Diagnostics & Perfomance tuning
Oracle WebLogic Diagnostics & Perfomance tuning
Michel Schildmeijer
 
Introduction to weblogic
Introduction to weblogicIntroduction to weblogic
Introduction to weblogic
Vishal Srivastava
 
WebLogic FAQs
WebLogic FAQsWebLogic FAQs
WebLogic FAQs
Amit Sharma
 
WebLogic Deployment Plan Example
WebLogic Deployment Plan ExampleWebLogic Deployment Plan Example
WebLogic Deployment Plan Example
James Bayer
 
Weblogic 12c installation (oracle linux)
Weblogic 12c installation (oracle linux)Weblogic 12c installation (oracle linux)
Weblogic 12c installation (oracle linux)
Osama Mustafa
 
Ibm web sphere application server interview questions
Ibm web sphere application server interview questionsIbm web sphere application server interview questions
Ibm web sphere application server interview questions
praveen_guda
 
Weblogic12 c installation guide
Weblogic12 c installation guideWeblogic12 c installation guide
Weblogic12 c installation guide
Chinni Rajavardhan Reddy
 
IBM WebSphere Application Server (Clustering) Concept
IBM WebSphere Application Server (Clustering) ConceptIBM WebSphere Application Server (Clustering) Concept
IBM WebSphere Application Server (Clustering) Concept
ejlp12
 
WebLogic 12c & WebLogic Mgmt Pack
WebLogic 12c & WebLogic Mgmt PackWebLogic 12c & WebLogic Mgmt Pack
WebLogic 12c & WebLogic Mgmt Pack
DLT Solutions
 
Introduction to Ansible
Introduction to AnsibleIntroduction to Ansible
Introduction to Ansible
Knoldus Inc.
 
Ansible
AnsibleAnsible
Ansible
Rahul Bajaj
 
WebLogic Scripting Tool made Cool!
WebLogic Scripting Tool made Cool!WebLogic Scripting Tool made Cool!
WebLogic Scripting Tool made Cool!
Maarten Smeets
 
Tomcat
TomcatTomcat
Tomcat
Venkat Pinagadi
 
Springboot Microservices
Springboot MicroservicesSpringboot Microservices
Springboot Microservices
NexThoughts Technologies
 
Jboss Tutorial Basics
Jboss Tutorial BasicsJboss Tutorial Basics
Jboss Tutorial Basics
Anandraj Kulkarni
 
IBM WebSphere application server
IBM WebSphere application serverIBM WebSphere application server
IBM WebSphere application server
IBM Sverige
 
ibm websphere admin training | websphere admin course | ibm websphere adminis...
ibm websphere admin training | websphere admin course | ibm websphere adminis...ibm websphere admin training | websphere admin course | ibm websphere adminis...
ibm websphere admin training | websphere admin course | ibm websphere adminis...
Nancy Thomas
 
WebLogic Scripting Tool Overview
WebLogic Scripting Tool OverviewWebLogic Scripting Tool Overview
WebLogic Scripting Tool Overview
James Bayer
 
Oracle WebLogic Diagnostics & Perfomance tuning
Oracle WebLogic Diagnostics & Perfomance tuningOracle WebLogic Diagnostics & Perfomance tuning
Oracle WebLogic Diagnostics & Perfomance tuning
Michel Schildmeijer
 
WebLogic Deployment Plan Example
WebLogic Deployment Plan ExampleWebLogic Deployment Plan Example
WebLogic Deployment Plan Example
James Bayer
 
Weblogic 12c installation (oracle linux)
Weblogic 12c installation (oracle linux)Weblogic 12c installation (oracle linux)
Weblogic 12c installation (oracle linux)
Osama Mustafa
 
Ibm web sphere application server interview questions
Ibm web sphere application server interview questionsIbm web sphere application server interview questions
Ibm web sphere application server interview questions
praveen_guda
 
IBM WebSphere Application Server (Clustering) Concept
IBM WebSphere Application Server (Clustering) ConceptIBM WebSphere Application Server (Clustering) Concept
IBM WebSphere Application Server (Clustering) Concept
ejlp12
 
WebLogic 12c & WebLogic Mgmt Pack
WebLogic 12c & WebLogic Mgmt PackWebLogic 12c & WebLogic Mgmt Pack
WebLogic 12c & WebLogic Mgmt Pack
DLT Solutions
 
Introduction to Ansible
Introduction to AnsibleIntroduction to Ansible
Introduction to Ansible
Knoldus Inc.
 
WebLogic Scripting Tool made Cool!
WebLogic Scripting Tool made Cool!WebLogic Scripting Tool made Cool!
WebLogic Scripting Tool made Cool!
Maarten Smeets
 
IBM WebSphere application server
IBM WebSphere application serverIBM WebSphere application server
IBM WebSphere application server
IBM Sverige
 
ibm websphere admin training | websphere admin course | ibm websphere adminis...
ibm websphere admin training | websphere admin course | ibm websphere adminis...ibm websphere admin training | websphere admin course | ibm websphere adminis...
ibm websphere admin training | websphere admin course | ibm websphere adminis...
Nancy Thomas
 

Similar to Oracle WebLogic Server Basic Concepts (20)

WLS
WLSWLS
WLS
Bebo Yu
 
Weblogic Server Overview Weblogic Scripting Tool
Weblogic Server Overview Weblogic Scripting ToolWeblogic Server Overview Weblogic Scripting Tool
Weblogic Server Overview Weblogic Scripting Tool
Gokhan Fazli Celik
 
Weblogic 101 for dba
Weblogic  101 for dbaWeblogic  101 for dba
Weblogic 101 for dba
Osama Mustafa
 
Weblogicserveroverviewtopologyconfigurationadministration 1227546826890714-9
Weblogicserveroverviewtopologyconfigurationadministration 1227546826890714-9Weblogicserveroverviewtopologyconfigurationadministration 1227546826890714-9
Weblogicserveroverviewtopologyconfigurationadministration 1227546826890714-9
Bhaskar Naik
 
Weblogicserveroverviewtopologyconfigurationadministration 1227546826890714-9
Weblogicserveroverviewtopologyconfigurationadministration 1227546826890714-9Weblogicserveroverviewtopologyconfigurationadministration 1227546826890714-9
Weblogicserveroverviewtopologyconfigurationadministration 1227546826890714-9
Mohammed Khan
 
Weblogic 11g admin basic with screencast
Weblogic 11g admin basic with screencastWeblogic 11g admin basic with screencast
Weblogic 11g admin basic with screencast
Rajiv Gupta
 
Presentation about servers
Presentation about serversPresentation about servers
Presentation about servers
Sasin Prabu
 
Learn Oracle WebLogic Server 12c Administration
Learn Oracle WebLogic Server 12c AdministrationLearn Oracle WebLogic Server 12c Administration
Learn Oracle WebLogic Server 12c Administration
Revelation Technologies
 
Continuent Tungsten - Scalable Saa S Data Management
Continuent Tungsten - Scalable Saa S Data ManagementContinuent Tungsten - Scalable Saa S Data Management
Continuent Tungsten - Scalable Saa S Data Management
guest2e11e8
 
WebLogic for DBAs
WebLogic for DBAsWebLogic for DBAs
WebLogic for DBAs
Simon Haslam
 
Clustering
Clustering Clustering
Clustering
Vijay Sharma
 
Server Farms and XML Web Services
Server Farms and XML Web ServicesServer Farms and XML Web Services
Server Farms and XML Web Services
Jorgen Thelin
 
Database Mirror for the exceptional DBA – David Izahk
Database Mirror for the exceptional DBA – David IzahkDatabase Mirror for the exceptional DBA – David Izahk
Database Mirror for the exceptional DBA – David Izahk
sqlserver.co.il
 
HTTP Session Replication with Oracle Coherence, GlassFish, WebLogic
HTTP Session Replication with Oracle Coherence, GlassFish, WebLogicHTTP Session Replication with Oracle Coherence, GlassFish, WebLogic
HTTP Session Replication with Oracle Coherence, GlassFish, WebLogic
Oracle
 
Weblogic Domain Activity
Weblogic Domain ActivityWeblogic Domain Activity
Weblogic Domain Activity
subash prakash
 
Under the Hood 11g Identity Management
Under the Hood  11g Identity ManagementUnder the Hood  11g Identity Management
Under the Hood 11g Identity Management
InSync Conference
 
The Top 10 Things Oracle UCM Users Need To Know About WebLogic
The Top 10 Things Oracle UCM Users Need To Know About WebLogicThe Top 10 Things Oracle UCM Users Need To Know About WebLogic
The Top 10 Things Oracle UCM Users Need To Know About WebLogic
Brian Huff
 
Oracle Weblogic Server 11g: System Administration I
Oracle Weblogic Server 11g: System Administration IOracle Weblogic Server 11g: System Administration I
Oracle Weblogic Server 11g: System Administration I
Sachin Kumar
 
Web Sphere Application Server Features
Web Sphere Application Server FeaturesWeb Sphere Application Server Features
Web Sphere Application Server Features
Symbyo Technologies
 
PACLUG sametime presentation
PACLUG sametime presentationPACLUG sametime presentation
PACLUG sametime presentation
amhiggins
 
Weblogic Server Overview Weblogic Scripting Tool
Weblogic Server Overview Weblogic Scripting ToolWeblogic Server Overview Weblogic Scripting Tool
Weblogic Server Overview Weblogic Scripting Tool
Gokhan Fazli Celik
 
Weblogic 101 for dba
Weblogic  101 for dbaWeblogic  101 for dba
Weblogic 101 for dba
Osama Mustafa
 
Weblogicserveroverviewtopologyconfigurationadministration 1227546826890714-9
Weblogicserveroverviewtopologyconfigurationadministration 1227546826890714-9Weblogicserveroverviewtopologyconfigurationadministration 1227546826890714-9
Weblogicserveroverviewtopologyconfigurationadministration 1227546826890714-9
Bhaskar Naik
 
Weblogicserveroverviewtopologyconfigurationadministration 1227546826890714-9
Weblogicserveroverviewtopologyconfigurationadministration 1227546826890714-9Weblogicserveroverviewtopologyconfigurationadministration 1227546826890714-9
Weblogicserveroverviewtopologyconfigurationadministration 1227546826890714-9
Mohammed Khan
 
Weblogic 11g admin basic with screencast
Weblogic 11g admin basic with screencastWeblogic 11g admin basic with screencast
Weblogic 11g admin basic with screencast
Rajiv Gupta
 
Presentation about servers
Presentation about serversPresentation about servers
Presentation about servers
Sasin Prabu
 
Learn Oracle WebLogic Server 12c Administration
Learn Oracle WebLogic Server 12c AdministrationLearn Oracle WebLogic Server 12c Administration
Learn Oracle WebLogic Server 12c Administration
Revelation Technologies
 
Continuent Tungsten - Scalable Saa S Data Management
Continuent Tungsten - Scalable Saa S Data ManagementContinuent Tungsten - Scalable Saa S Data Management
Continuent Tungsten - Scalable Saa S Data Management
guest2e11e8
 
Server Farms and XML Web Services
Server Farms and XML Web ServicesServer Farms and XML Web Services
Server Farms and XML Web Services
Jorgen Thelin
 
Database Mirror for the exceptional DBA – David Izahk
Database Mirror for the exceptional DBA – David IzahkDatabase Mirror for the exceptional DBA – David Izahk
Database Mirror for the exceptional DBA – David Izahk
sqlserver.co.il
 
HTTP Session Replication with Oracle Coherence, GlassFish, WebLogic
HTTP Session Replication with Oracle Coherence, GlassFish, WebLogicHTTP Session Replication with Oracle Coherence, GlassFish, WebLogic
HTTP Session Replication with Oracle Coherence, GlassFish, WebLogic
Oracle
 
Weblogic Domain Activity
Weblogic Domain ActivityWeblogic Domain Activity
Weblogic Domain Activity
subash prakash
 
Under the Hood 11g Identity Management
Under the Hood  11g Identity ManagementUnder the Hood  11g Identity Management
Under the Hood 11g Identity Management
InSync Conference
 
The Top 10 Things Oracle UCM Users Need To Know About WebLogic
The Top 10 Things Oracle UCM Users Need To Know About WebLogicThe Top 10 Things Oracle UCM Users Need To Know About WebLogic
The Top 10 Things Oracle UCM Users Need To Know About WebLogic
Brian Huff
 
Oracle Weblogic Server 11g: System Administration I
Oracle Weblogic Server 11g: System Administration IOracle Weblogic Server 11g: System Administration I
Oracle Weblogic Server 11g: System Administration I
Sachin Kumar
 
Web Sphere Application Server Features
Web Sphere Application Server FeaturesWeb Sphere Application Server Features
Web Sphere Application Server Features
Symbyo Technologies
 
PACLUG sametime presentation
PACLUG sametime presentationPACLUG sametime presentation
PACLUG sametime presentation
amhiggins
 
Ad

More from James Bayer (8)

Cf summit2014 roadmap
Cf summit2014 roadmapCf summit2014 roadmap
Cf summit2014 roadmap
James Bayer
 
Cf application manifest
Cf application manifestCf application manifest
Cf application manifest
James Bayer
 
WebLogic Server Work Managers and Overload Protection
WebLogic Server Work Managers and Overload ProtectionWebLogic Server Work Managers and Overload Protection
WebLogic Server Work Managers and Overload Protection
James Bayer
 
JPA and Coherence with TopLink Grid
JPA and Coherence with TopLink GridJPA and Coherence with TopLink Grid
JPA and Coherence with TopLink Grid
James Bayer
 
64 bit arch
64 bit arch64 bit arch
64 bit arch
James Bayer
 
Application Grid Dev with Coherence
Application Grid Dev with CoherenceApplication Grid Dev with Coherence
Application Grid Dev with Coherence
James Bayer
 
App Grid Dev With Coherence
App Grid Dev With CoherenceApp Grid Dev With Coherence
App Grid Dev With Coherence
James Bayer
 
App Grid Dev With Coherence
App Grid Dev With CoherenceApp Grid Dev With Coherence
App Grid Dev With Coherence
James Bayer
 
Cf summit2014 roadmap
Cf summit2014 roadmapCf summit2014 roadmap
Cf summit2014 roadmap
James Bayer
 
Cf application manifest
Cf application manifestCf application manifest
Cf application manifest
James Bayer
 
WebLogic Server Work Managers and Overload Protection
WebLogic Server Work Managers and Overload ProtectionWebLogic Server Work Managers and Overload Protection
WebLogic Server Work Managers and Overload Protection
James Bayer
 
JPA and Coherence with TopLink Grid
JPA and Coherence with TopLink GridJPA and Coherence with TopLink Grid
JPA and Coherence with TopLink Grid
James Bayer
 
Application Grid Dev with Coherence
Application Grid Dev with CoherenceApplication Grid Dev with Coherence
Application Grid Dev with Coherence
James Bayer
 
App Grid Dev With Coherence
App Grid Dev With CoherenceApp Grid Dev With Coherence
App Grid Dev With Coherence
James Bayer
 
App Grid Dev With Coherence
App Grid Dev With CoherenceApp Grid Dev With Coherence
App Grid Dev With Coherence
James Bayer
 
Ad

Recently uploaded (20)

ThousandEyes Partner Innovation Updates for May 2025
ThousandEyes Partner Innovation Updates for May 2025ThousandEyes Partner Innovation Updates for May 2025
ThousandEyes Partner Innovation Updates for May 2025
ThousandEyes
 
"Rebranding for Growth", Anna Velykoivanenko
"Rebranding for Growth", Anna Velykoivanenko"Rebranding for Growth", Anna Velykoivanenko
"Rebranding for Growth", Anna Velykoivanenko
Fwdays
 
"PHP and MySQL CRUD Operations for Student Management System"
"PHP and MySQL CRUD Operations for Student Management System""PHP and MySQL CRUD Operations for Student Management System"
"PHP and MySQL CRUD Operations for Student Management System"
Jainul Musani
 
Technology Trends in 2025: AI and Big Data Analytics
Technology Trends in 2025: AI and Big Data AnalyticsTechnology Trends in 2025: AI and Big Data Analytics
Technology Trends in 2025: AI and Big Data Analytics
InData Labs
 
Automation Hour 1/28/2022: Capture User Feedback from Anywhere
Automation Hour 1/28/2022: Capture User Feedback from AnywhereAutomation Hour 1/28/2022: Capture User Feedback from Anywhere
Automation Hour 1/28/2022: Capture User Feedback from Anywhere
Lynda Kane
 
AI and Data Privacy in 2025: Global Trends
AI and Data Privacy in 2025: Global TrendsAI and Data Privacy in 2025: Global Trends
AI and Data Privacy in 2025: Global Trends
InData Labs
 
Buckeye Dreamin' 2023: De-fogging Debug Logs
Buckeye Dreamin' 2023: De-fogging Debug LogsBuckeye Dreamin' 2023: De-fogging Debug Logs
Buckeye Dreamin' 2023: De-fogging Debug Logs
Lynda Kane
 
Manifest Pre-Seed Update | A Humanoid OEM Deeptech In France
Manifest Pre-Seed Update | A Humanoid OEM Deeptech In FranceManifest Pre-Seed Update | A Humanoid OEM Deeptech In France
Manifest Pre-Seed Update | A Humanoid OEM Deeptech In France
chb3
 
Automation Dreamin': Capture User Feedback From Anywhere
Automation Dreamin': Capture User Feedback From AnywhereAutomation Dreamin': Capture User Feedback From Anywhere
Automation Dreamin': Capture User Feedback From Anywhere
Lynda Kane
 
Rusty Waters: Elevating Lakehouses Beyond Spark
Rusty Waters: Elevating Lakehouses Beyond SparkRusty Waters: Elevating Lakehouses Beyond Spark
Rusty Waters: Elevating Lakehouses Beyond Spark
carlyakerly1
 
Salesforce AI Associate 2 of 2 Certification.docx
Salesforce AI Associate 2 of 2 Certification.docxSalesforce AI Associate 2 of 2 Certification.docx
Salesforce AI Associate 2 of 2 Certification.docx
José Enrique López Rivera
 
Dev Dives: Automate and orchestrate your processes with UiPath Maestro
Dev Dives: Automate and orchestrate your processes with UiPath MaestroDev Dives: Automate and orchestrate your processes with UiPath Maestro
Dev Dives: Automate and orchestrate your processes with UiPath Maestro
UiPathCommunity
 
Special Meetup Edition - TDX Bengaluru Meetup #52.pptx
Special Meetup Edition - TDX Bengaluru Meetup #52.pptxSpecial Meetup Edition - TDX Bengaluru Meetup #52.pptx
Special Meetup Edition - TDX Bengaluru Meetup #52.pptx
shyamraj55
 
Procurement Insights Cost To Value Guide.pptx
Procurement Insights Cost To Value Guide.pptxProcurement Insights Cost To Value Guide.pptx
Procurement Insights Cost To Value Guide.pptx
Jon Hansen
 
Automation Dreamin' 2022: Sharing Some Gratitude with Your Users
Automation Dreamin' 2022: Sharing Some Gratitude with Your UsersAutomation Dreamin' 2022: Sharing Some Gratitude with Your Users
Automation Dreamin' 2022: Sharing Some Gratitude with Your Users
Lynda Kane
 
Image processinglab image processing image processing
Image processinglab image processing  image processingImage processinglab image processing  image processing
Image processinglab image processing image processing
RaghadHany
 
Leading AI Innovation As A Product Manager - Michael Jidael
Leading AI Innovation As A Product Manager - Michael JidaelLeading AI Innovation As A Product Manager - Michael Jidael
Leading AI Innovation As A Product Manager - Michael Jidael
Michael Jidael
 
Electronic_Mail_Attacks-1-35.pdf by xploit
Electronic_Mail_Attacks-1-35.pdf by xploitElectronic_Mail_Attacks-1-35.pdf by xploit
Electronic_Mail_Attacks-1-35.pdf by xploit
niftliyevhuseyn
 
Learn the Basics of Agile Development: Your Step-by-Step Guide
Learn the Basics of Agile Development: Your Step-by-Step GuideLearn the Basics of Agile Development: Your Step-by-Step Guide
Learn the Basics of Agile Development: Your Step-by-Step Guide
Marcel David
 
"Client Partnership — the Path to Exponential Growth for Companies Sized 50-5...
"Client Partnership — the Path to Exponential Growth for Companies Sized 50-5..."Client Partnership — the Path to Exponential Growth for Companies Sized 50-5...
"Client Partnership — the Path to Exponential Growth for Companies Sized 50-5...
Fwdays
 
ThousandEyes Partner Innovation Updates for May 2025
ThousandEyes Partner Innovation Updates for May 2025ThousandEyes Partner Innovation Updates for May 2025
ThousandEyes Partner Innovation Updates for May 2025
ThousandEyes
 
"Rebranding for Growth", Anna Velykoivanenko
"Rebranding for Growth", Anna Velykoivanenko"Rebranding for Growth", Anna Velykoivanenko
"Rebranding for Growth", Anna Velykoivanenko
Fwdays
 
"PHP and MySQL CRUD Operations for Student Management System"
"PHP and MySQL CRUD Operations for Student Management System""PHP and MySQL CRUD Operations for Student Management System"
"PHP and MySQL CRUD Operations for Student Management System"
Jainul Musani
 
Technology Trends in 2025: AI and Big Data Analytics
Technology Trends in 2025: AI and Big Data AnalyticsTechnology Trends in 2025: AI and Big Data Analytics
Technology Trends in 2025: AI and Big Data Analytics
InData Labs
 
Automation Hour 1/28/2022: Capture User Feedback from Anywhere
Automation Hour 1/28/2022: Capture User Feedback from AnywhereAutomation Hour 1/28/2022: Capture User Feedback from Anywhere
Automation Hour 1/28/2022: Capture User Feedback from Anywhere
Lynda Kane
 
AI and Data Privacy in 2025: Global Trends
AI and Data Privacy in 2025: Global TrendsAI and Data Privacy in 2025: Global Trends
AI and Data Privacy in 2025: Global Trends
InData Labs
 
Buckeye Dreamin' 2023: De-fogging Debug Logs
Buckeye Dreamin' 2023: De-fogging Debug LogsBuckeye Dreamin' 2023: De-fogging Debug Logs
Buckeye Dreamin' 2023: De-fogging Debug Logs
Lynda Kane
 
Manifest Pre-Seed Update | A Humanoid OEM Deeptech In France
Manifest Pre-Seed Update | A Humanoid OEM Deeptech In FranceManifest Pre-Seed Update | A Humanoid OEM Deeptech In France
Manifest Pre-Seed Update | A Humanoid OEM Deeptech In France
chb3
 
Automation Dreamin': Capture User Feedback From Anywhere
Automation Dreamin': Capture User Feedback From AnywhereAutomation Dreamin': Capture User Feedback From Anywhere
Automation Dreamin': Capture User Feedback From Anywhere
Lynda Kane
 
Rusty Waters: Elevating Lakehouses Beyond Spark
Rusty Waters: Elevating Lakehouses Beyond SparkRusty Waters: Elevating Lakehouses Beyond Spark
Rusty Waters: Elevating Lakehouses Beyond Spark
carlyakerly1
 
Salesforce AI Associate 2 of 2 Certification.docx
Salesforce AI Associate 2 of 2 Certification.docxSalesforce AI Associate 2 of 2 Certification.docx
Salesforce AI Associate 2 of 2 Certification.docx
José Enrique López Rivera
 
Dev Dives: Automate and orchestrate your processes with UiPath Maestro
Dev Dives: Automate and orchestrate your processes with UiPath MaestroDev Dives: Automate and orchestrate your processes with UiPath Maestro
Dev Dives: Automate and orchestrate your processes with UiPath Maestro
UiPathCommunity
 
Special Meetup Edition - TDX Bengaluru Meetup #52.pptx
Special Meetup Edition - TDX Bengaluru Meetup #52.pptxSpecial Meetup Edition - TDX Bengaluru Meetup #52.pptx
Special Meetup Edition - TDX Bengaluru Meetup #52.pptx
shyamraj55
 
Procurement Insights Cost To Value Guide.pptx
Procurement Insights Cost To Value Guide.pptxProcurement Insights Cost To Value Guide.pptx
Procurement Insights Cost To Value Guide.pptx
Jon Hansen
 
Automation Dreamin' 2022: Sharing Some Gratitude with Your Users
Automation Dreamin' 2022: Sharing Some Gratitude with Your UsersAutomation Dreamin' 2022: Sharing Some Gratitude with Your Users
Automation Dreamin' 2022: Sharing Some Gratitude with Your Users
Lynda Kane
 
Image processinglab image processing image processing
Image processinglab image processing  image processingImage processinglab image processing  image processing
Image processinglab image processing image processing
RaghadHany
 
Leading AI Innovation As A Product Manager - Michael Jidael
Leading AI Innovation As A Product Manager - Michael JidaelLeading AI Innovation As A Product Manager - Michael Jidael
Leading AI Innovation As A Product Manager - Michael Jidael
Michael Jidael
 
Electronic_Mail_Attacks-1-35.pdf by xploit
Electronic_Mail_Attacks-1-35.pdf by xploitElectronic_Mail_Attacks-1-35.pdf by xploit
Electronic_Mail_Attacks-1-35.pdf by xploit
niftliyevhuseyn
 
Learn the Basics of Agile Development: Your Step-by-Step Guide
Learn the Basics of Agile Development: Your Step-by-Step GuideLearn the Basics of Agile Development: Your Step-by-Step Guide
Learn the Basics of Agile Development: Your Step-by-Step Guide
Marcel David
 
"Client Partnership — the Path to Exponential Growth for Companies Sized 50-5...
"Client Partnership — the Path to Exponential Growth for Companies Sized 50-5..."Client Partnership — the Path to Exponential Growth for Companies Sized 50-5...
"Client Partnership — the Path to Exponential Growth for Companies Sized 50-5...
Fwdays
 

Oracle WebLogic Server Basic Concepts

  • 1. WebLogic Server Overview Topology, Configuration and Administration Oracle WebLogic Server
  • 2. Agenda Topology Domain Server Admin Server Managed Server Cluster Node Manager Machine Configuration Files Administration Tools Sample Configuration Schemes
  • 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 Rules: All WebLogic Server instances within the same domain must be at the same major and minor version. Servers within a domain can be at different Maintenance Pack levels as long as the Administration Server is at the same Maintenance Pack Level or higher than its Managed Servers. config.xml
  • 4. Server What is it? A configured instance to host applications and resources WebApps, Enterprise Apps, Web Services, … JMS, JDBC, Diagnostics, … What types of servers are there? Administration Server Managed Server JNDI JMS Queue JDBC Pool
  • 5. Administration Server What is it? Central configuration controller for the entire domain What else does it do? Hosts the Administration Console 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 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. Managed Servers Admin Console Admin Server config.xml
  • 6. Managed Server What is it? A running instance that hosts 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 isolation JNDI JMS Queue JDBC Pool
  • 7. Administration Server to Managed Server Interaction The Administration Server stores the master copy of the domain configuration, including the configuration for all managed servers in the domain Each Managed Server stores a local copy of its configuration. When a Managed Server starts, it connects to the Administration Server to synchronize the configuration When configuration is changed, the Administration Server sends changed configuration to Managed Servers
  • 8. Cluster A cluster is a group of Managed Servers running simultaneously and working together to provide increased scalability and reliability Scalability: through parallelism Reliability/Availability: through replication and redundancy A cluster appears as a single instance to most clients. Clusters enable some advanced features, such as Whole Server Migration, Service Migration, and clustered JMS destinations. Cluster 1 Cluster 2 Admin Svr
  • 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.
  • 10. Load Balancing in a Cluster 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) 3 rd party hw or sw load balancer EJBs and RMI Objects: load balancing is done at connection Objects are cluster-aware Load balancing algorithm is stored in the clustered object’s stub Objects are available on all cluster members; remote objects connect/use according the LB algorithm in the stub Load balancing algorithms: Round robin, weighted, random, server affinity
  • 11. Failover in a Cluster Servlets and JSPs: HTTP session state is replicated to a secondary server in the cluster or to a database EJBs and RMI Objects: Replicas available throughout the cluster Exceptions caught and retried on another instance For Stateful Session Beans, state is replicated on a secondary server
  • 12. 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. Peer to Peer using Unicast or 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
  • 13. Node Manager Utility/process running on a physical server that enables you to start, stop, suspend, and restart WebLogic Server instances remotely Must run on each physical server that hosts WebLogic Server instances that you want to control with Node Manager Not associated with a domain. Can start any server instance that resides on the same physical server. Optional, but required to start/stop servers using the Administration Console Required for Whole Server Migration and for some configurations of Automatic Service Migration Admin Server Managed Server Node Manager
  • 14. Machine A definition that identifies a particular, physical piece of hardware. A machine definition is used to associate a computer with the Managed Servers it hosts. Used by Node Manager in restarting a failed Managed Server Used by a clustered Managed Server in selecting the best location for storing replicated session data
  • 15. Service Configuration Besides topology elements, you also configure the services in a domain that applications rely on: JMS, JDBC, Diagnostics, etc. General notion: Configure the service in the domain Target to specific servers or clusters An instance of the resource is created on each server specified
  • 16. Agenda Topology Domain Server Admin Server Managed Server Cluster Node Manager Machine Configuration Files Administration Tools Sample Configuration Schemes
  • 17. Domain Directory Domain name Start and stop scripts Root configuration for the domain Configuration files for WLDF, JDBC, JMS, and Security Pending configuration changes Subdirectory for each Managed Server in the domain
  • 18. Configuration Files <domain (schema locations)>   <name> wl_server </name> <security-configuration></security-configuration> <jta></jta> <server> <name> examplesServer </name> </server> <app-deployment></app-deployment> <jms-server></jms-server> <jms-system-resource></jms-system-resource> <jdbc-system-resource> <name> examples-demo </name> <target> examplesServer,managedServer-0 </target> <descriptor-file-name> jdbc/examples-demo-jdbc.xml </descriptor-file-name>   </jdbc-system-resource> </domain> config.xml config.xml – central configuration file for a domain includes the configuration of each server instance, cluster, resource, and service in the domain. references additional XML files that are stored in subdirectories of the domain/config directory: JMS, JDBC, WLDF, and Security All files are based on schemas examples-demo-jdbc.xml <jdbc-data-source> <name> examples-demo </name> <jdbc-driver-params></jdbc-driver-params> <jdbc-driver-params></jdbc-driver-params> <jdbc-data-source-params></jdbc-data-source-params> </jdbc-data-source> references to other files
  • 19. Two-Phase Configuration Changes Changes activated in batches: Reliability, consistency: Make (related) changes as a group Validate before making the change Activate or Roll back as a single unit( all changes on all servers General process: Get an edit lock make changes changes are stored in the pending directory activate your changes (with implicit validation through the Admin Console or WLST) changes are distributed to servers in the domain Two phases: prepare and commit Prepared on all servers; any failures will cause total rollback
  • 20. Agenda Topology Domain Server Admin Server Managed Server Cluster Node Manager Machine Configuration Files Administration Tools Sample Configuration Schemes
  • 21. Administration Tools Configuration Wizard GUI/scriptable tool to create and extend WebLogic domains Template based Administration Console Browser-based tool for configuring and monitoring domains, deploying applications, and controlling servers WebLogic Scripting Tool (WLST) Script or command line tool to do the same thing as the Administration Console and Configuration Wizard Note that we will cover details on WLST in a separate document weblogic.Admin Deprecated command line tool for configuring a domain Recommend using WLST instead weblogic.Deployer Command line tool for deploying applications
  • 22. Configuration Wizard Wizard that walks you through domain creation off line Not intended to run against a running domain Requires a domain template WLS ships with a default template and templates for samples domains Customers and layered products can create their own templates Scriptable (aka “WLST Offline”) More info: http://e-docs.bea.com/common/docs100/confgwiz/index.html http://e-docs.bea.com/common/docs100/interm/config.html http://e-docs.bea.com/common/docs100/tempbuild/index.html http://e-docs.bea.com/common/docs100/tempref/index.html
  • 25. Administration Console Graphical interface to configure, manage, monitor a domain One Administration Console for each domain The Administration Server in the domain hosts the Admin Console application Open the Admin Console with the following URL: http://host:port/console Typically in dev: http://localhost:7001/console Sample domains use weblogic/weblogic as the user name and password In WLS 10.3, the Admin Console application deploys lazily – on first use More info: http://e-docs.bea.com/wls/docs100/intro/console.html
  • 26.  
  • 27. WebLogic Scripting Tool (WLST) Scripting tool for administering a domain (create, configure, manage, monitor, deploy applications) Based on Jython, which is a pure Java implementation of Python Great for automating repetitive tasks Heavy use by customers and within BEA “ Record” feature in Admin console: record actions to a WLST script Two modes: Offline: analogous to the Configuration Wizard Online: analogous to the Administration Console More info: http://e-docs.bea.com/wls/docs100/config_scripting/index.html
  • 28. Agenda Topology Domain Server Admin Server Managed Server Cluster Node Manager Machine Configuration Files Administration Tools Sample Configuration Schemes
  • 29. Single Server/Development Configuration Single server acts as the Administration Server and as a host for applications Not recommended for production, but standard for development Admin Console JNDI JMS Queue JDBC Pool config.xml
  • 30. Configuring for Application Isolation Deploy applications to their own servers Admin server on its own server (highly recommended) Each managed server on its own physical server A1 A2 A3 Admin Server Managed Server Node Manager
  • 31. Configuring for Extreme Application Isolation Each application gets its own domain Admin server on its own server (highly recommended) Each managed server on its own physical server A1 A1 A1 A2 A2 A2 Domain 1 Domain 2
  • 32. Configuring for High Availability Clustered servers for HA and scalability All managed servers in the same cluster are on different machines, although machines are frequently shared Admin Server Managed Server Node Manager A1 A2 A2 A2 A1 A1 A2 A1
  • 33. Configuring for Perf and Utilization Multiple Managed Servers per machine All Managed Servers in one cluster Cluster replication scheme considers location in determining secondary Managed Servers A1 A1 A1 A1 A1 A1 A1 A1
  • 34. Simplified Administration Multiple applications deployed to a single cluster Admin server on its own server (highly recommended) Single domain to manage A1 A2 A3 A1 A2 A3 A1 A2 A3
  • 35. Summary WebLogic Server configuration is segmented by domain Each domain represents a configuration entity and uses one set of configuration artifacts Each domain has one Administration Server, and can have multiple managed servers and clusters Node Manager is a per-machine process used to start and stop WebLogic Server instances There are a number of administration tools available for configuring and managing a WebLogic domain: Config Wizard, Admin Console, WLST, weblogic.Deployer Admin Server Managed Servers config.xml Admin Console
  • 36. A Q &