Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Oracle WebLogic Server: Remote Monitoring and Management

1,117 views

Published on

Oracle WebLogic Server 12c introduces RESTful Management Services, allowing anyone to query and monitor numerous Oracle WebLogic Server metrics from a multitude of programming languages, including mobiles devices. We also introduce a tool we've developed that supports mobile monitoring, management, and alerting of Oracle WebLogic Server and would like to share our architecture and design.

Published in: Technology
  • Be the first to comment

Oracle WebLogic Server: Remote Monitoring and Management

  1. 1. Raastech, Inc. 2201 Cooperative Way, Suite 600 Herndon, VA 20171 +1-703-884-2223 info@raastech.com Oracle WebLogic Server: Remote Monitoring and Management October 13, 2015
  2. 2. © Raastech, Inc. 2015 | All rights reserved. Slide 2 of 58@Raastech About Us  Ahmed Aboulnaga @Ahmed_Aboulnaga  18+ years Oracle experience  OCE (SOA Foundation Practitioner)  Oracle ACE  Harold Dost III @hdost  7+ years of Oracle Fusion Middleware experience  Co-author of “Oracle SOA Suite 12c Administrator’s Handbook”  Oracle ACE Associate .
  3. 3. © Raastech, Inc. 2015 | All rights reserved. Slide 3 of 58@Raastech About Raastech  Small systems integrator founded in 2009  Headquartered in the Washington DC area  Specializes in Oracle Fusion Middleware  Oracle Platinum Partner – 1 in 3,000 worldwide  Oracle SOA Specialized – 1 in 1,500 worldwide  Oracle ACE – 2 of 500 worldwide  100% of consultants are Oracle certified  100% of consultants present at major Oracle conferences  100% of consultants have published books, whitepapers, or articles
  4. 4. © Raastech, Inc. 2015 | All rights reserved. Slide 4 of 58@Raastech Agenda 1. Monitoring and Managing Oracle WebLogic Server 2. Manual via Consoles 3. Automated via Tools 4. Custom via Scripts 5. Remote Options
  5. 5. © Raastech, Inc. 2015 | All rights reserved. Slide 5 of 58@Raastech
  6. 6. © Raastech, Inc. 2015 | All rights reserved. Slide 6 of 58@Raastech  Application servers (i.e., middleware) reside between the frontend and the backend  The mostly (but not always) host and execute web application code and web services  Oracle WebLogic Server is one such application server Middleware
  7. 7. © Raastech, Inc. 2015 | All rights reserved. Slide 7 of 58@Raastech Introducing Oracle WebLogic Server  Obtained through acquisition of BEA Systems in 2008  Latest version is Oracle WebLogic Server 12c (12.1.3)  Industry’s best Java EE application server  Oracle marketing stuff:  New features for lowering cost of operations, improving performance, enhancing scalability  Provides flexibility between on-premise and third-party clouds  Increases developer productivity with mobile application development and maven support  Optimized for Oracle Exalogic Elastic Cloud  Provides extreme cloud performance, scalability, and elasticity, unmatched integration with Oracle’s Database 12c including multi-tenant database support
  8. 8. © Raastech, Inc. 2015 | All rights reserved. Slide 8 of 58@Raastech  WebLogic Server is the core foundation of all Oracle Fusion Middleware products (and applications) OEM Grid Control OBIEE Access Manager SOA Suite WebCenter Portal Data Integrator Oracle WebLogic Server Clustering – JNDI – Resource Adapters – JDBC – Security – Self Tuning WebLogic Server: Foundation for Fusion Middleware
  9. 9. © Raastech, Inc. 2015 | All rights reserved. Slide 9 of 58@Raastech Monitoring versus Management  Monitoring involves being aware of the state of the system  View real-time state of the environment  Obtain historical metrics for analysis purposes  Receive notification and alerts  Management involves the ability to take action somehow  Turn on/off services and components  Modify configuration settings  Execute jobs (e.g., purge, backup, queues, etc.)  Issue a garbage collection
  10. 10. © Raastech, Inc. 2015 | All rights reserved. Slide 10 of 58@Raastech Key Areas of Monitoring and Administration  We want to monitor/administer key areas in WebLogic Server, such as:  Managed servers  Persistent stores  JMS servers  JMS destinations (i.e., queues, topics)  Work managed (i.e., threads)  Java applications  Clusters  Data sources and connection pools  Security realms (i.e., users)  Logs
  11. 11. © Raastech, Inc. 2015 | All rights reserved. Slide 11 of 58@Raastech Monitoring Approaches  Several monitoring approaches exist:  Manual (via the consoles)  Automated (via monitoring tools)  Custom (via custom scripts)
  12. 12. © Raastech, Inc. 2015 | All rights reserved. Slide 12 of 58@Raastech
  13. 13. © Raastech, Inc. 2015 | All rights reserved. Slide 13 of 58@Raastech WebLogic Server Administration Console  Indispensable  All administration performaned through here  View real-time state of environment  Does not have to be running for your applications to run, but highly recommend
  14. 14. © Raastech, Inc. 2015 | All rights reserved. Slide 14 of 58@Raastech DMS Spy Servlet  The DMS Spy Servlet is available with WebLogic Server  Provides real-time metrics of your environments at this URL:  Can be invoked via command line as well for scripting purposes http://<adminhost>:7001/dms/Spy
  15. 15. © Raastech, Inc. 2015 | All rights reserved. Slide 15 of 58@Raastech
  16. 16. © Raastech, Inc. 2015 | All rights reserved. Slide 16 of 58@Raastech Oracle Enterprise Manager Cloud Control  OEM Cloud Control 12c is the ideal tool for monitoring WebLogic Server (as well as your entire infrastructure)  Perform administration, schedule jobs, correlate events, receive email triggered alerts, and much, much more  Be prepared to spend some money on this
  17. 17. © Raastech, Inc. 2015 | All rights reserved. Slide 17 of 58@Raastech Oracle Enterprise Manager Cloud Control
  18. 18. © Raastech, Inc. 2015 | All rights reserved. Slide 18 of 58@Raastech Oracle Enterprise Manager Cloud Control
  19. 19. © Raastech, Inc. 2015 | All rights reserved. Slide 19 of 58@Raastech Oracle Enterprise Manager Cloud Control
  20. 20. © Raastech, Inc. 2015 | All rights reserved. Slide 20 of 58@Raastech VMware vFabric Hyperic  Was a decent monitoring tool, though less comprehensive than OEM  Very cost effective (at least before VMware acquired them)  Many other 3rd party tools on the market exist as well (e.g., AppDynamics, etc.) * We are not endorsing any product over another; just merely demonstrating the availability of 3rd party monitoring tools
  21. 21. © Raastech, Inc. 2015 | All rights reserved. Slide 21 of 58@Raastech VMware vFabric Hyperic
  22. 22. © Raastech, Inc. 2015 | All rights reserved. Slide 22 of 58@Raastech VMware vFabric Hyperic
  23. 23. © Raastech, Inc. 2015 | All rights reserved. Slide 23 of 58@Raastech VMware vFabric Hyperic
  24. 24. © Raastech, Inc. 2015 | All rights reserved. Slide 24 of 58@Raastech VMware vFabric Hyperic
  25. 25. © Raastech, Inc. 2015 | All rights reserved. Slide 25 of 58@Raastech VMware vFabric Hyperic
  26. 26. © Raastech, Inc. 2015 | All rights reserved. Slide 26 of 58@Raastech VMware vFabric Hyperic
  27. 27. © Raastech, Inc. 2015 | All rights reserved. Slide 27 of 58@Raastech Agents  All monitoring tools require an “agent” to be installed on the target server  Usually employ a “push” concept Advantages  Agents can continue collecting even if there is no connectivity to the management server  Powerful features and capabilities can be built into the agents Disadvantages  Becomes painful if trying to install / upgrade hundreds or thousands of agents Management Server Target Target Target Target Agent Agent Agent Agent
  28. 28. © Raastech, Inc. 2015 | All rights reserved. Slide 28 of 58@Raastech
  29. 29. © Raastech, Inc. 2015 | All rights reserved. Slide 29 of 58@Raastech WLST (WebLogic Scripting Tool)  WLST is WebLogic Servers’s preferred scripting language  Common among administrators from a BEA background  WebLogic Server centric  Uses Jython (which allows Python scripts to be executed)  Scripts can be developed cross-platform, requiring little to no changes  Example of starting up a managed server using WLST: $WL_HOME/common/bin/wlst.sh wls:/offline> connect('weblogic', 'welcome1', 't3://adminhost:7001') wls:/soa_domain/serverConfig> start('soa_server1' , 'Server')
  30. 30. © Raastech, Inc. 2015 | All rights reserved. Slide 30 of 58@Raastech WLST Example: Managed Server State & Heap Size
  31. 31. © Raastech, Inc. 2015 | All rights reserved. Slide 31 of 58@Raastech WLST Example: JDBC Connection Pool Information
  32. 32. © Raastech, Inc. 2015 | All rights reserved. Slide 32 of 58@Raastech WLST Example: JMS Destination Message Information
  33. 33. © Raastech, Inc. 2015 | All rights reserved. Slide 33 of 58@Raastech WebLogic RESTful Management Service  Oracle WebLogic Server 11g introduces the RESTful Management Services  The monitoring resources are hosted by an internal web application  This is a feature that must be enabled  It provides access to key metrics easily accessible via REST (i.e., essentially another API into WebLogic Server metrics)  They are generally accessible via a URL, for example: http://<adminhost>:7001/management/tenant-monitoring/servers
  34. 34. © Raastech, Inc. 2015 | All rights reserved. Slide 34 of 58@Raastech WebLogic REST Service: Servers
  35. 35. © Raastech, Inc. 2015 | All rights reserved. Slide 35 of 58@Raastech WebLogic REST Service: Managed Server
  36. 36. © Raastech, Inc. 2015 | All rights reserved. Slide 36 of 58@Raastech WebLogic REST Service: Clusters
  37. 37. © Raastech, Inc. 2015 | All rights reserved. Slide 37 of 58@Raastech WebLogic REST Service: The “full format” option
  38. 38. © Raastech, Inc. 2015 | All rights reserved. Slide 38 of 58@Raastech HTML, JSON, and XML Formats  Data can be retrieved in HTML, JSON, and XML formats
  39. 39. © Raastech, Inc. 2015 | All rights reserved. Slide 39 of 58@Raastech Disadvantages of the RESTful Management Service  No historical metrics (only real-time, similar to the DMS Spy Servlet)  No administrative capabilities (monitoring only)  Limited to the following object types:  Servers  Clusters  Applications  Data Sources
  40. 40. © Raastech, Inc. 2015 | All rights reserved. Slide 40 of 58@Raastech
  41. 41. © Raastech, Inc. 2015 | All rights reserved. Slide 41 of 58@Raastech Remote Monitoring  Our definition of remote monitoring:  “Not-at-your-desk monitoring”  Could be through:  Emails  Web-based console  Mobile app Only alerts, but cannot view adhoc Difficult if VPN access required first Ideal scenario
  42. 42. © Raastech, Inc. 2015 | All rights reserved. Slide 42 of 58@Raastech Remote Management  Our definition of remote management:  “Issue commands when away from your desk”  Could be through:  Parsed email replies  Web-based console  Mobile app Was cool back in 2004 Difficult if VPN access required first Ideal scenario
  43. 43. © Raastech, Inc. 2015 | All rights reserved. Slide 43 of 58@Raastech
  44. 44. © Raastech, Inc. 2015 | All rights reserved. Slide 44 of 58@Raastech Raastech Mobile Manager  “Raastech Mobile Manager for Oracle Fusion Middleware 1.0.0”  Developed by Raastech  Beta launch in October 2015  The world’s only mobile monitoring and management solution for Oracle Fusion Middleware
  45. 45. © Raastech, Inc. 2015 | All rights reserved. Slide 45 of 58@Raastech Mobile App  Support for iOS and Android  Must connect to a backend management server
  46. 46. © Raastech, Inc. 2015 | All rights reserved. Slide 46 of 58@Raastech Designed with UX and CX in Mind  Emphasis placed on usability  Extremely responsive UI, even when viewing huge data sets  Focuses on top 20% core features  Management requests are instantaneous  Can literally get up and running within minutes
  47. 47. © Raastech, Inc. 2015 | All rights reserved. Slide 47 of 58@Raastech True Mobile Monitoring and Management
  48. 48. © Raastech, Inc. 2015 | All rights reserved. Slide 48 of 58@Raastech Remote Management  Runs on GlassFish Server or WebLogic Server, with a backend MySQL database  Relies on cloud service for notifications  The 3 components are:  Raastech Mobile Manager  Raastech Management Server  Raastech Notification Server
  49. 49. © Raastech, Inc. 2015 | All rights reserved. Slide 49 of 58@Raastech Customizable Views  Display data as:  Raw  Percent bar  Line graph  Time bar  Framework allows the ability to dynamically add additional metrics to monitor
  50. 50. © Raastech, Inc. 2015 | All rights reserved. Slide 50 of 58@Raastech Historical Metrics  Hourly  Daily  Weekly  Monthly (6 months max)
  51. 51. © Raastech, Inc. 2015 | All rights reserved. Slide 51 of 58@Raastech Agentless Architecture  No “agent” required on target servers  Employs a “pull” concept  Intended to simplify provisioning  Simply enter host, port, username, and password! Management Server Target Target Target Target
  52. 52. © Raastech, Inc. 2015 | All rights reserved. Slide 52 of 58@Raastech Management & Administration  Start and stop managed servers  Start and stop JMS servers  Start and stop data sources  Start and stop JMS resources such as topics and queues  Dump thread stacks  Garbage collect  Logs
  53. 53. © Raastech, Inc. 2015 | All rights reserved. Slide 53 of 58@Raastech Complete Oracle Fusion Middleware  Current:  Oracle WebLogic Server  Near term:  Oracle SOA Suite  Oracle Service Bus (OSB)  Oracle Business Activity Monitoring (BAM)  Oracle Business Intelligence Enterprise Edition (OBIEE)  Oracle Data Integrator (ODI)  Oracle Access Manager (OAM)  Oracle Internet Directory (OID)  Future:  TBD
  54. 54. © Raastech, Inc. 2015 | All rights reserved. Slide 54 of 58@Raastech Features and Differentiators
  55. 55. © Raastech, Inc. 2015 | All rights reserved. Slide 55 of 58@Raastech
  56. 56. © Raastech, Inc. 2015 | All rights reserved. Slide 56 of 58@Raastech Summary  Monitoring approaches:  Console-based  Tool-based  Custom-based  Poor remote monitoring and management options  No mobile app solution by any vendor (except for Raastech Mobile Manager), likely due to complexity  They’re missing the point, the key is to narrow focus to the most widely used areas
  57. 57. © Raastech, Inc. 2015 | All rights reserved. Slide 57 of 58@Raastech Q&A
  58. 58. © Raastech, Inc. 2015 | All rights reserved. Slide 58 of 58@Raastech Contact Information  Ahmed Aboulnaga  Technical Director  @Ahmed_Aboulnaga  ahmed.aboulnaga@raastech.com  Harold Dost III  Principal Consultant  @hdost  harold.dost@raastech.com

×