Oracle Web Logic server


Published on

This presentation concentrate on Oracle Web Logic Server

Published in: Technology
No Downloads
Total views
On SlideShare
From Embeds
Number of Embeds
Embeds 0
No embeds

No notes for slide

Oracle Web Logic server

  1. 1. WebLogic Server 11gOverview and Administration Basics
  2. 2. Oracle WebLogic Server 11g“ Oracle WebLogic Server is a scalable, enterprise-ready JavaPlatform, Enterprise Edition (Java EE) application server. ““The WebLogic Server infrastructure supports the deployment ofmany types of distributed applications and is an ideal foundationfor building applications based on Service Oriented Architectures(SOA).”“In addition to the Java EE implementation, WebLogic Serverenables enterprises to deploy mission-critical applications in arobust, secure, highly available, and scalable environment. Thesefeatures allow enterprises to configure clusters of WebLogic Serverinstances to distribute load, and provide extra capacity in case ofhardware or other failures.”
  3. 3. AGENDA• J2EE Application Server Basics• Oracle WebLogic Server 11g – Core Capabilities – Installing & Configuring WebLogic Server – WebLogic Server Administrative Topology – Managing & Monitoring WebLogic Server• Packaging• Q&A
  4. 4. Java EE (JEE) Application Server Services ProvidedPresentation • Java Servlets • Java Server Pages (JSP) Services • Java Server Faces (JSF) • Enterprise Java Beans (EJBs)Business Logic • Java Persistent Architecture (JPA) Services • Java Messaging Services (JMS) • Java Database Connectivity (JDBC) Integration • Java Connectivity Architecture (JCA) Services • Java Web Services (JWS, JAX-WS) • Java Transaction Services (JTS) Container • Java Authentication & Authorization Container (JAAC) Services • Java Management Extensions (JMX)
  5. 5. Oracle WebLogic Server 11gCore Capabilities – Standards Support
  6. 6. Oracle WebLogic Server 11g Administrative Topology
  7. 7. Domain• What is domainLogically related group of WebLogic Server instances which aremanaged from a single set of configuration artifacts• Whats in a domainDomain consists of servers/Clusters of Servers• Facts about a DomainAll instances at the same major & minor versionServers can be at different Maintenance Pack levelsAdministration Server must be at same or higher MaintenancePack Level than its Managed Servers
  8. 8. Domain Directory(Folders Layout)
  9. 9. WebLogic Server(Configuration Files)config.xml - A central configuration file for a domain• File includes the configuration for each server instance, cluster, resource, and service in the domain• Includes references to additional XML files that are stored in subdirectories of the domain/config directory : JMS, JDBC, WLDF, and Security• All files are based on schemas config.xml References to other files
  10. 10. Now – What is a ServerA configured instance to host applications and resources• WebApps, Enterprise Apps, Web Services,…• JMS, JDBC, Diagnostics,…..There are 2 types of server in a WebLogic Domain• Administration Server• Managed Server JNDI JMS Queue JDBC Pool
  11. 11. Now – What is a Administration ServerAdministration Server is the main configurationcontroller for the domain• It performs the following– Hosts the Administration Console– Enables you to start and stop servers– Enables you to migrate servers and services– Enables you to deploy applications• Important Guidelines:– There must be exactly one* AdministrationServer in domain– An Administration Server controls only onedomain.– For production use, hosting application logicor resources not recommended*The Administration Server does not need to run at all times, but is required for makingconfiguration and deployment changes to a running domain.
  12. 12. Now – What is a Managed ServerManaged Server is a runninginstance that hosts applications andapplication resources– Each Managed Server isindependent of other ManagedServers (unless they are in a cluster)– No limit to number of ManagedServers in a domain– Individual Managed Servers areadded for capacity and/or applicationisolation
  13. 13. Interaction between Administration andManaged ServerAdministration Server stores the master copy of the domainConfiguration• Administration Server stores the configuration for all managedservers in the domain• Each Managed Server stores a local copy of its configuration• When a Managed Server starts, it connects to theAdministration Server to synchronize the configuration• When configuration is changed, the Administration Serversends changed configuration to Managed Servers
  14. 14. Now – What is a ClusterA cluster is a group of Managed Servers runningsimultaneously and working together to provideincreased scalability and reliability.– Scalability: through parallelism– Reliability/Availability: through replication andredundancy• A cluster appears as a single instance to mostclients.• Clusters enable some advanced features, such asWhole Server Migration, Service Migration, andclustered JMS destinations.Cluster GuidelinesAll 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.
  15. 15. How does load balancing/failover happen in a clusterLoad BalancingFor 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 hardware or software load balancerEJBs 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 affinityFailoverServlets and JSPs:• HTTP session state is replicated to a secondary server in the cluster or to a databaseEJBs 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
  16. 16. How does communication happen in a clusterPeer 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• HeartbeatsCluster-wide JNDI tree• Lists local resources and resources available throughout the cluster• List is maintained on all servers in the cluster
  17. 17. What is a NODE MANAGER• Utility/process running on a physical server• 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.• Required for Whole Server Migration and for some configurations of Automatic Service Migration
  18. 18. 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
  19. 19. 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
  20. 20. 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
  21. 21. Configuring for High Availability• Clustered servers for HA and scalability• All managed servers in the same cluster are on different machines• Machines are frequently shared
  22. 22. Configuring for Performance & Utilization• Multiple Managed Servers per machine• All Managed Servers in one cluster• Cluster replication scheme considers location in determining secondary Managed Servers
  23. 23. Simplified Administration• Multiple applications deployed to a single cluster• Admin server on its own server (highly recommended)• Single domain to manage
  24. 24. Oracle WebLogic Server 11gManaging & Monitoring WebLogic Server- WLS Console • Start/Stop Managed Servers • Manage clusters • Manage services – JDBC, JMS, etc. • Configure Work Managers • Configure and deploy your applications • Monitor server and application performance • View server and domain log files • Edit runtime deployment descriptors
  25. 25. Oracle WebLogic Server 11gManaging & Monitoring WebLogic Server – WLST • Jython-based • Console Mode • Script Mode • Embedded Mode • Perform online & offline Tasks • Can be called from ANT • Recordable from WebLogic Console
  26. 26. Oracle WebLogic Server 11g Managing & Monitoring WebLogic Server – via Enterprise Manager• Oracle WebLogic Server 11g Monitor and manage multiple: – WebLogic domains EM Grid Control – WebLogic Server versions• Provides JVM diagnostics• Monitor FMW stack, Database, and Applications from same consoleWebLogic Server – 12c WebLogic Server – 11g WebLogic Server – 9.2 Admin Server Admin Server Admin ServerManaged Server 1 - n Managed Server 1 - n Managed Server 1 - n Domain A Domain B Domain C
  27. 27. Oracle WebLogic Server 11gManagement Pack Enterprise Edition for WebLogic Java Application Performance • Automatic service end-point detection • POJO framework (struts) support • Architectural Topology • In-context performance • SQL View Configuration Management • Discovery & asset tracking • Track configuration changes • Configuration provisioning • Ensure compliance with standards Provisioning and Patch Automation • Provisioning framework with deployment procedures • Customizable Deployment Procedures ->install, patch, clone, add capacity
  28. 28. WebLogic Server SE, Server EE, Suite Packaging• WebLogic Server Standard Edition WebLogic Server + Kodo Enterprise + TopLink and ADF + JDeveloper + Enterprise Pack for Eclipse + Oracle HTTP Server• WebLogic Server Enterprise Edition = WebLogic Server Standard Edition + Clustering + Enterprise Manager Diagnostics Pack• WebLogic Suite = WebLogic Server Enterprise Edition + Coherence EE + JRockit Real Time + Management Pack for Coherence + iAS EE + WL Operations Control
  29. 29. QUESTIONS Rakesh