Ce diaporama a bien été signalé.
Nous utilisons votre profil LinkedIn et vos données d’activité pour vous proposer des publicités personnalisées et pertinentes. Vous pouvez changer vos préférences de publicités à tout moment.

Weblogic 101 for dba

Weblogic 101 for dba, Oracle APACOUC Webinar

  • Soyez le premier à commenter

  • Soyez le premier à aimer ceci

Weblogic 101 for dba

  1. 1. Weblogic 101 for DBA Osama Mustafa
  2. 2. Agenda  Basic Concepts – Architecture.  Installing WLS & Configuring a Domain.  WebLogic & Java EE Compatibility.  Managing WebLogic.
  3. 3. Who Am I ?  Founder/CEO for Gurus Solutions company.  Leader & Director for JAOUG.  Oracle ACE Director.  Certified OCP,OCE,OCS 10g,11g  Certified Ethical hacker / LPT  Sun / Linux Certified  Author Of Oracle Penetration testing book, Now Working on 2nd one.  Presenter & Contributor in Oracle Community .  Published Articles in different Magazine.  Blogger.
  4. 4. Basic Concepts – Architecture.
  5. 5. Weblogic concept • Domains • Server / Admin Server • Managed Server. • Node Manager • Cluster • Machine
  6. 6. Domain  Domain ◦ Grouping of config/resources for an environment ◦ Has one set of administrators/security privileges ◦ Supports one major release of WebLogic at a time ◦ Is run in either ‘Production’ or ‘Development’ mode Consists of o Server o Cluster
  7. 7. Server • Server is where we : • Deploy Enterprise Applications or Web Applications. • Create JDBC Resources. • Create JMS Resources. • Two Weblogic Server type: • Admin Server • Managed Server
  8. 8. Admin Server • Only ONE per domain. • Controls start and stop of other servers in the Domain. • Manages the creation of JDBC, JMS and other resources. • Manages the deployment to servers in the domain. • In development we use Admin Server for Deployment and Testing. This is usually done via the Integrated WebLogic instance installed within JDeveloper.
  9. 9. Managed Server • Managed Server is an instance of WebLogic Server Managed by an Admin Server. • Managed Servers in a Domain are Independent of each other, in every aspect. • Applications Deployed in a Managed Server do not share any resources, including JDBC and JMS Connections and Connection Factories. • Configuration changes are send over to the Managed Server from the Admin Server.
  10. 10. Managed Server
  11. 11. Node Manager • Process to Start/Stop Managed Server instance on a Physical Machine. • Connect to Admin Server and starts/stops WebLogic instance based • Independent of Domain • Default port 5556. • Check the port using netstat –anp | grep port#.
  12. 12. Weblogic Installation • Install JVM Depend on version. • 2. Install a Middleware Home and WebLogic • 3. Configure a Domain Note: I usually install the JVM and use the generic .jar installer (i.e. same for all platforms) rather than using installer bundled with a JVM
  13. 13. Note about Install JVM  Sun HotSpot or JRockit (being merged in Java7/8), or JVM for your platform (e.g. IBM or HP).  JRockit specific:  Don’t install demos & samples/source code  You probably don’t want JRockit as the public JRE
  14. 14. Install Weblogic  Command line :-  java -jar wls_version_generic.jar  Don’t forget WLS has PSUs (e.g. 10.3.6.0.3) and quarterly SPUs (fka CPUs)  See the screens 
  15. 15. Configure a Domain  You use the config wizard to create domains ◦ $WL_HOME/common/bin/config.sh (.cmd) ◦ there are several other methods too
  16. 16. Weblogic Cluster • Scalability • Load Balance • Even distribution of jobs • Multiple copies of an object that can do a particular job must be available • High-Availability • Failover • When a object processing a job becomes unavailable, a copy of the object elsewhere takes over and finishes the job
  17. 17. Understand Clustering
  18. 18.  Stand Alone  High Availability  Another feature in Cluster Called Scalability Node with OFM No System Active Passive Active Active Active Active Active Active
  19. 19. Load Balancer Active FMW Active FMW Domain, Database - Oracle OHS - Clients Active OFM Passive Domain, Database VIP
  20. 20. Active-Passive (Bad & Good) • Cost. • Easier configuration & administration. • Provide availability for Application. • No Additional H.W Cost ( Two Nodes ). • Failover Time. • Second node will not be used. • Does not scale
  21. 21. Active-Active ( Bad & Good)  Not all the application load is hosted by a single server.  No Time For Failover.  Flexibility to scale up.  Load balancers improve manageability by routing application deployment and system configuration requests to the most available node. • Cost • complexity  mean more maintaining and administering
  22. 22. WebLogic & Java EE Compatibility • WebLogic 11g - JEE 5 Certified • WebLogic 12c - JEE 6 Certified • Java EE 6 • JSP 2.1, JSF 2.0 • EJB 3.1, JPA 2.0 • Context and Dependency Injection • Restful Web Services • Weblogic 12cR2 - Java SE Development Kit 8 • Always check certification martix
  23. 23. Typical Application Archt.
  24. 24. Examples :- #EMC12c  Installer sets up WebLogic for you  Some options to customise to be consistent with your environment
  25. 25. Quick Demo Live
  26. 26. Managing Weblogic  Admin console is usually starting point  Processes to check  java for admin server & managed server  Admin & Managed server logs are under:  DOMAIN_HOME/servers/<name>/logs
  27. 27. Monitoring Tools  Pure WebLogic / Admin Console  Weblogic Enterprise manager  Enterprise manager 12c.
  28. 28. Quick Demo Live Processes Log files Monitoring Dashboard
  29. 29. WebLogic Scripting Tool / wlst  interface that system administrators and operators use to monitor and manage WebLogic Server instances and domains.  WLST scripting environment is based on the Java scripting interpreter, Jython.  use common features of interpreted languages, including local variables, conditional variables, and flow control statements  WebLogic Server developers and administrators can extend the WebLogic scripting language to suit their environmental needs
  30. 30. Benefits of Wlst  Retrieve domain configuration and runtime information.  Edit the domain configuration and persist the changes in the domain's configuration files.  Automate domain configuration tasks and application deployment.  Control and manage the server life cycle.  Access the Node Manager and start, stop, and suspend server instances remotely or locally, without requiring the presence of a running Administration Server.  Can be used Online and offline.
  31. 31. Summary  WebLogic is a java application server.  All WLS processes run on a JVM.  Middleware home is static; domain home contains config and logs.  WLS Console is usually first point of contact (though don’t forget about WLST for automation).  OEM 12c runs on WebLogic but the installer now does the WLS set up work for you
  32. 32.  Twitter : @OsamaOracle  My Blog : Osamamustafa.blogspot.com  Linkedin :- https://jo.linkedin.com/in/osamamustafa Or Google Me : Osama Mustafa Oracle

    Soyez le premier à commenter

    Identifiez-vous pour voir les commentaires

Weblogic 101 for dba, Oracle APACOUC Webinar

Vues

Nombre de vues

292

Sur Slideshare

0

À partir des intégrations

0

Nombre d'intégrations

8

Actions

Téléchargements

0

Partages

0

Commentaires

0

Mentions J'aime

0

×