1 / 40

Monitoring and Managing Oracle WebLogic Server: Development to Production

Monitoring and Managing Oracle WebLogic Server: Development to Production . France Zhao-Perez WebLogic Server Product Management James Kao Enterprise Manager Product Management. Safe Harbor Statement.

arin
Télécharger la présentation

Monitoring and Managing Oracle WebLogic Server: Development to Production

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Monitoring and Managing Oracle WebLogic Server: Development to Production France Zhao-Perez WebLogic Server Product ManagementJames Kao Enterprise Manager Product Management

  2. Safe Harbor Statement The following is intended to outline our general product direction. It is intended for information purposes only, and may not be incorporated into any contract. It is not a commitment to deliver any material, code, or functionality, and should not be relied upon in making purchasing decisions.The development, release, and timing of any features or functionality described for Oracle’s products remain at the sole discretion of Oracle.

  3. Agenda • Management and monitoring in WebLogic Server • Configuration and Operations • Monitoring • Continuous Integration Environment • Moving to stage and production with Enterprise Manager Cloud Control • WebLogic Management overview • New Key Enterprise Manager 12c Release 2 features

  4. Oracle Cloud Application Foundation Foundation for Oracle Fusion Middleware in the Cloud ORACLE Cloud Web Social Mobile • Complete • Open • Integrated • Best in Class User Engagement Cloud Application Foundation Traffic Director/Web Tier Business Process Management Content Management Business Intelligence WebLogic Server Coherence Tuxedo Service Integration Data Integration Virtual Assembly Builder Identity Management Development Tools Cloud Application Foundation Enterprise Management Exalogic Elastic Cloud

  5. Deliver Cloud elasticity with built-in Oracle Database 12c integration and dynamic clustering • Simplify management with common install, update and administrative tools • Increase developer productivity with support for Maven, HTML5, WebSockets and more WebLogic Server 12.1.2 The #1 Application Server Across Conventional and Cloud Environments

  6. Management and MonitoringWebLogic Server

  7. WebLogic Topology Basics App 1 App 2 Domain Machine 1 Machine 2 NM NM Cluster • Domains are the unit of administration • Admin Servers manage domains • Managed Servers host applications • Clustered and non-clustered servers • Node managers start/stop servers • Flexible scaling • Apps/server • Servers/cluster • Clusters/domain Managed Server Managed Server Machine 3 NM Admin Server Managed Server Managed Server Managed Server Managed Server

  8. Domain Segmentation Domain 1 Machine 1 Machine 2 Machine 3 Machine 4 Cluster 1 Managed Server Managed Server Managed Server Managed Server • Flexibility • Application management • Configuration, Deployment • Security • Versioning/maintenance • Scalability advantages • Scale individual applications • Better capacity management Managed Server Managed Server Managed Server Managed Server Managed Server Managed Server Managed Server Managed Server Managed Server Managed Server Managed Server Managed Server

  9. Domain Segmentation Domain 2 Domain 1 Machine 3 Machine 4 Machine 1 Machine 2 Cluster 3 Cluster 1 Managed Server Managed Server Managed Server Managed Server • Flexibility • Application management • Configuration, Deployment • Security • Versioning/maintenance • Scalability advantages • Scale individual applications • Better capacity management Managed Server Managed Server Managed Server Managed Server Cluster 4 Cluster 2 Managed Server Managed Server Managed Server Managed Server Managed Server Managed Server Managed Server Managed Server

  10. Management Tools in WebLogic Server • Configuration • Offline Configuration Framework • Configuration Wizard • WLST Offline • Domain Templates / Domain Template Builder • Administration Console • WLST Online • Maven Plugins • Operations • Administration Console • WLST Online • weblogic.Deployer • Monitoring • Administration Console • Dashboard • WLST Online • WebLogic Diagnostics Framework • RESTful Management Service • Java Mission Control • Fusion Middleware Control Focus is on applications in a single domain

  11. Domain Templates and Domain Scripts Rich Template AdmSvr Lib AdmSvr AdmSvr Lib Lib DS • Both templates and scripts can be used for repeatability, automation, standardization • Domain Templates enable encapsulation of a “standard” domain • WLST Offline is a full-featured tool: • Create/modify templates • Create/modify domains • Common practice: Favor scripts over templates • Use few templates • Use scripts to consistently modify domains MgdSvr DS DS MgdSvr MgdSvr MgdSvr MgdSvr MgdSvr Basic Template AdmSvr WLST WLST WLST WLST

  12. WLST Editor in Oracle Enterprise Pack for Eclipse • Added in Oracle Enterprise Pack for Eclipse 11.1.1.6.0 • Simplifies script writing and editing • Script Templates • Syntax highlighting • Code completion for Jython and WLST built-in functions. • WLST Help view that includes detailed WLST command reference materials. • MBean tree with generated code • Debugging • Other tips: • WLST Recording • Admin Console MBean identification

  13. Configuring WebLogic with the Administration Console • Access to all configuration options • Simple navigation • Wizards that guide you through some more complicated configuration processes • WLST Script Recording • Console Help provides mapping of attributes to MBeans

  14. Monitoring with the Administration Console • Quick view: System Status • Many pages for monitoring • Applications • Servers • Clusters • Services • Dashboard • Built-in views • Build your own views

  15. Monitor WebLogic with WLST • Access runtime MBeans to get current state, metrics • Repeatable, loopable • Example: JMS current message count • More elaborate: WLS Watcher

  16. Monitoring and Automation with WLDF Capture Process Expose Retrieve • WLST API • JMX API • WLDF Dashboard Log File Event Collector Pull • Complete monitoring toolkit • Logs • Runtime metrics • Instrumentation • Data storage and access • Visualization with the Dashboard • Watch rules and notifications Accessor Archiver MBean Property Harvester • SNMP Trap • JMS Message • JMX Notification • SMTP Email • Diagnostic Image Watcher Notifier Push Code Instrumentor JRockit Flight Recorder Buffer JRockit Mission Control

  17. WebLogic Diagnostics/Java Flight Recorder • Java Flight Recorder • Powerful tool for performance, debugging and post-incident analysis • Capture events in circular buffer • Low overhead • Persist buffer to disk • Analyze in Java Mission Control • WLDF acts as event producer • Events stored in buffer • WLDF-driven buffer capture • Based on WLDF Watch rules • JFR file in WLDF Image • Integrated snapshot

  18. WebLogic 12c RESTful Management Services • Monitor: • Servers • Clusters • Applications • Data sources • Single instances and collections • Formats: • JSON • XML • HTML

  19. WebLogic Maven Plug-in • Simple and intuitive • Complete set of Maven goals, functional support • Enable/support/automate the full development lifecycle from Maven • Additional WebLogic, Fusion Middleware enhancements planned • mvnwls:install: automate install from zip file • mvnwls:create-domain: create a simple domain • mvnwls:start-server: process control • mvnwls:wlst: execute inline and external WLS scripts • mvnwls:appc: compile Maven artifacts using appc • mvnwls:deploy: deploy apps to server

  20. Dynamic ClustersSimplified Configuration with Scalability and Elasticity Simplified Operations for Cluster Scale Out Simplified Initial Cluster Configuration Dynamic Cluster 1 Dynamic Cluster 1 Server Template Server Template Server 2 Server 2 Server 1 Server 1 Server 4 Server 3 Server 6 Server 5 Elastic scaling for Cloud Environments Server 8 Server 7

  21. Dynamic ClustersScale Clusters by Changing one Parameter How it works Create cluster with dynamic servers based on server template Servers inherit attributes from template Rules for calculating server-specific attributes Server name, listen ports, machines….. “N” servers available in the configuration Configuration changes are dynamic Start /stop servers to scale cluster Supported with Console, WLST, Enterprise Manager Elastic JMS (not WSM, ASM, UOO, UOW, SAF) Managed Coherence Servers Dynamic Cluster 1 Server Template Server 2 Server 1 Server 4 Server 3 Server 6 Server 5 Server 8 Server 7 Scale to “N” Managed Servers

  22. Coherence Managed Servers WebLogic Domain/Coherence Containers Machine Node Manager • Streamlined development and management environment for distributed applications • Introduces the Grid Archive (GAR) • Follows the Java EE model • Consolidates configuration into a single distributable entity • Provides Application Isolation & Lifecycle Events • Leverages WebLogic infrastructure to provide: • A Coherence container similar to EJB, JMS and JCA • Management through Configuration Wizard, WebLogic admin console, WLST, JMX, FMWC • Deployment of Coherence applications (GARs) • Node Manager for lifecycle management • Release and install Coherence libraries on the system classpath (no need to package in your application) • Coherence remains available “standalone” Admin Server Machine Machine Node Manager Node Manager Java EE/Coh Server Java EE/Coh Server Cluster Standalone Coherence Clusters Coherence Server Coherence Server Cluster

  23. Enterprise Manager Cloud ControlMoving to Staging & Production

  24. Considerations for Production Environments • Managing WebLogic Server performance & availability • Across the enterprise • Across multiple domains • Enterprise Java Application performance & availability • Business transactions span shared components / services • Deployed across several tiers in different containers • Control over changes that • Affect application availability • May not be authorized • Lead to compliance & security concerns • Administrative tasks to patch, clone & scale up that are • Time consuming • Error prone

  25. WebLogic Management via Enterprise Manager • Performance Monitoring and Diagnostics • Manage across multiple domains • Improve performance and availability of Java EE and web service applications • Diagnose performance problems across tiers • Trace business transactions in the context of the payload • Configuration Management • Track and maintain configurations • Minimize/eliminate downtime due to infrastructure changes • Comply with security and compliance standards • Lifecycle Management • Automate time consuming, manual installation, patching, disaster recovery, and configuration process • Middleware and Java as a Service • Streamline communication with support when encountering bugs Reduce IT operational cost and improve Quality of Service

  26. Centralized Mgmt & Out-of-box Monitoring Monitor all applications, all domains, multiple versions from one console • Manage multiple domains centrally • Monitoring spans: • Clusters and servers • Applications (servlets, JSPs, EJBs) • Hosts • Resources (JVM threads, JDBC connection pool, JMS, data sources) • Predefined metrics • Performance and availability • Real-time monitoring • Historical monitoring for trending and reporting

  27. Routing Topology Viewer • Predefined, graphical topology of middle-tier environment • Understand routing details (e.g. Web Cache to OHS to WLS to data source) • Assess overall health across domain • Search/filter topology • Overlay performance data • Context sensitive menus via right-mouse click on nodes • Print as .PNG file Identify potential performance problems impact across tiers

  28. Log Viewer • Access WebLogic and Fusion Middleware log files from single console • Search and correlate messages across log files based on time, severity or Execution Context ID (ECID) • Download log files or export messages to file Gain access to log files regardless of where they reside

  29. JVM Diagnostics Diagnosing Java apps in production with 24x7 visibility • Always on, real-time and historical monitoring and diagnostics • No application instrumentation or server restarts required • Complete visibility into the JVM stack heap and threads • Analyze impact bi-directionally JVM to DB, DB to JVM • Deploy on any JVM (i.e. Sun, JRockit, IBM) • Accelerate production JVM diagnostics with minimal impact

  30. Enhanced Configuration Comparison for WLS • Find configuration data across domains more efficiently • Support for comparing WebLogic Domains • Predefined, customizable configuration compare template • Ignore expected differences • Receive email when differences detected • Save output of compare in printable, data-centric format • Provision and synchronize configurations via Application Configuration Console • Understand differences across environments quickly

  31. Deploy/Rollback Java EE Applications • Control roll-outs and reduce need for multiple administration consoles • New deployment procedure automates deploying, redeploying, rolling back application(s) to/from domain(s) • Include archive, deployment plan, pre/post deployment scripts, additional files as part of operation • Specify staging mode, start mode, whether to deploy archive as library • WLS domain provisioning also available for complete domains • Reduce need for multiple administration consoles

  32. Patching Oracle WebLogic Server • Automate application of patches across managed servers • Search for and download WebLogic Server patches available on My Oracle Support • Automate applying one-off patches and critical patch updates across domain via Patch Plan • Eliminate downtime by applying patches in rolling mode (parallel mode also supported) • Rollback already applied patches in cases where new problems occur • Automate application of patches across managed servers

  33. Automate Disaster Recovery Operations • Primary and standby sites represented as Generic System targets • Supports stopping and starting a site, Switchover, and Failover operations • Automatic pre-check performed prior to any operation • Operations initiated via EM Command Line Interface (EMCLI) • Track progress of Switchover or Failover operations via Cloud Control console • Available with EM12c Bundle Patch 1 and 12.1.0.2 Plug-in Update • Ensure high availability as well as data protection

  34. Java PaaS “Middleware” as a Service • Self-service deployment of Java apps • Underlying runtime/container delivered as a platform • Enables developers to focus on building and deploying application logic • Chargeback based on application usage and WebLogic configuration • Self-service application lifecycle • Start, stop, monitor, scale-out • Consistent with Oracle Cloud implementation

  35. Wrap-Up

  36. Summary • Automation and standardization are important at all stages • Management tools in WebLogic and Cloud Control complement each other: automation and standardization in the platform and across the data center • Combination of tools in WebLogic and Cloud Control offer full functionality from development to production

  37. Other Resources • http://wlstbyexamples.blogspot.com/ • http://docs.oracle.com/cd/E27086_03/help/oracle.eclipse.tools.weblogic.doc/html/wlst.html • http://sourceforge.net/projects/domainhealth/ • http://www.oracle.com/technetwork/oem/soa-mgmt/index.html • http://www.youtube.com/user/OracleWebLogic • http://www.youtube.com/user/OracleLearning

  38. Monitoring and Managing Oracle WebLogic Server: Development to Production France Zhao-Perez WebLogic Server Product ManagementJames Kao Enterprise Manager Product Management

More Related