Enterprise Application Management with Spring



Similar documents
Operations and Monitoring with Spring

Winning the J2EE Performance Game Presented to: JAVA User Group-Minnesota

Glassbox: Open Source and Automated Application Troubleshooting. Ron Bodkin Glassbox Project Leader

How to Enable Remote JMX Access to Quartz Schedulers. M a y 1 2,

Java Management Extensions (JMX) and IBM FileNet System Monitor

OSGi Service Platform in Integrated Management Environments Telefonica I+D, DIT-UPM, Telvent. copyright 2004 by OSGi Alliance All rights reserved.

Performance Management for Cloudbased STC 2012

A technical guide for monitoring Adobe LiveCycle ES deployments

RTI Quick Start Guide for JBoss Operations Network Users

JBS-102: Jboss Application Server Administration. Course Length: 4 days

Manage and Monitor your JVM with JMX

Top Weblogic Tasks You can Automate Now

BIRT Application and BIRT Report Deployment Functional Specification

Oracle Exam 1z0-599 Oracle WebLogic Server 12c Essentials Version: 6.4 [ Total Questions: 91 ]

1. Spring Batch Admin User Guide

Configuring and Integrating JMX

OpenSSO Monitoring Euro User Groups Winter 2010

Management Packs for Database

Chapter 2 SYSTEM MANAGEMENT. SYS-ED/ Computer Education Techniques, Inc.

Foglight. Monitoring Application Servers User and Reference Guide

Monitoring Experience Redefined

Global Headquarters: 5 Speen Street Framingham, MA USA P F

Contents 1 Overview 2 Introduction to WLS Management Services iii

Introduction to Oracle WebLogic. Presented by: Fatna Belqasmi, PhD, Researcher at Ericsson

Tomáš Müller IT Architekt 21/04/2010 ČVUT FEL: SOA & Enterprise Service Bus IBM Corporation

Deploying a Logi Info Application on WAS

System Management Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice

Pivotal tc Server BUILDING AND RUNNING SPRING APPLICATIONS

APAC WebLogic Suite Workshop Oracle Parcel Service Overview. Jeffrey West Application Grid Product Management

Designing an Enterprise Application Framework for Service-Oriented Architecture 1

Simba XMLA Provider for Oracle OLAP 2.0. Linux Administration Guide. Simba Technologies Inc. April 23, 2013

Put a Firewall in Your JVM Securing Java Applications!

Deep TIBCO Monitoring: Broad Application Visibility. SL Corporation Corte Madera, CA October, 2012

Managing Application Performance with JBoss Operations Network and OC Systems RTI

Monitoring, Managing and Supporting Enterprise Clouds with Oracle Enterprise Manager 12c Name, Title Oracle

Minder. simplifying IT. All-in-one solution to monitor Network, Server, Application & Log Data

Oracle WebLogic Server

Java Mission Control

FileNet System Manager Dashboard Help

Portal In Anger. Ray Ploski Team Lead - Solutions Architecture, JBoss by Red Hat June 22, 2010

NNMi120 Network Node Manager i Software 9.x Essentials

JBOSS OPERATIONS NETWORK (JBOSS ON) MONITORING

ManageEngine (division of ZOHO Corporation) Infrastructure Management Solution (IMS)

Deploying Rule Applications

CHAPTER 1 - JAVA EE OVERVIEW FOR ADMINISTRATORS

Robert Honeyman

Introduction to WebSphere Administration

WebLogic Server 11g Administration Handbook

MySQL Enterprise Monitor

Application Monitoring 6.1 Associate Certification

WebSphere Business Modeler

EclipseLink. Solutions Guide for EclipseLink Release 2.5

Oracle WebLogic Server

Oracle WebLogic Server Monitoring and Performance Tuning

WEBLOGIC SERVER MANAGEMENT PACK ENTERPRISE EDITION

A Guide to Migrating Enterprise Applications to Spring

Monitoring Custom Applications User and Reference Guide

How To Monitor A Server With Zabbix

Case Study - I. Industry: Social Networking Website Technology : J2EE AJAX, Spring, MySQL, Weblogic, Windows Server 2008.

Oracle WebLogic Server 11g Administration

LEARNING SOLUTIONS website milner.com/learning phone

IBM InfoSphere MDM Server v9.0. Version: Demo. Page <<1/11>>

Solutions for detect, diagnose and resolve performance problems in J2EE applications

Oracle Service Bus Examples and Tutorials

Application Discovery Manager User s Guide vcenter Application Discovery Manager 6.2.1

Deployment and Monitoring. Pascal Robert MacTI

WEBLOGIC ADMINISTRATION

Developing modular Java applications

Understanding class paths in Java EE projects with Rational Application Developer Version 8.0

HP Business Availability Center software. Improving IT operational efficiency and customer satisfaction

Exam Name: IBM InfoSphere MDM Server v9.0

<Insert Picture Here> Java Application Diagnostic Expert

5 Critical Strategies for Application Performance Management

Ikasan ESB Reference Architecture Review

RTI Quick Start Guide

CA Wily Introscope. CA Advantage. Benefits. Overview

KillTest. 半 年 免 费 更 新 服 务

Informatica Master Data Management Multi Domain Hub API: Performance and Scalability Diagnostics Checklist

Oracle Database Security and Audit

TDA - Thread Dump Analyzer

mod_cluster A new httpd-based load balancer Brian Stansberry JBoss, a division of Red Hat

FUSE-ESB4 An open-source OSGi based platform for EAI and SOA

IBM Tivoli Composite Application Manager for WebSphere

Enabling ITIL Best Practices Through Oracle Enterprise Manager, Session # Ana Mccollum Enterprise Management, Product Management

Figure 1: Illustration of service management conceptual framework

Monitoring SAP Business Objects

Getting Started with vfabric tc Server

Data Integration Checklist

Oracle Service Bus. Situation. Oracle Service Bus Primer. Product History and Evolution. Positioning. Usage Scenario

How To Use The Dcml Framework

A COMPARISON OF AOP BASED MONITORING TOOLS

MESSAGING SECURITY USING GLASSFISH AND OPEN MESSAGE QUEUE

Transcription:

Enterprise Application Management with Spring

Why Manage Your Applications? Identify and eliminate performance bottlenecks Minimize application downtime Prevent problems before they occur Analyze trends in application usage and performance Control application at runtime Enforce SLAs

Agenda Introducing SpringSource Application Management Suite Instrumenting a Spring-powered Application Full Stack Monitoring with SpringSource AMS Demo: Managing the Spring Travel Application Summary Q&A

Introducing... SpringSource Application ( AMS ) Management Suite Manage and monitor Spring-powered applications and the platforms and servers they run on Granular monitoring and control of Spring components Monitor and control the entire cluster from one easy-to-use dashboard Bridges the gap between development and operations staff

SpringSource AMS Features Auto-Discovery Monitoring Alerting and Corrective Control Enterprise Reporting Configuration and Log Event Tracking Metric Base-lining Integration with Existing Management Tools

System Requirements Monitored Spring-Powered Applications must be run using Java 5 (and instrumented using latest Spring ( Frameworkcomponents AMS specifically recognizes apps running in SpringSource Application Platform, WebSphere, WebLogic, Tomcat, and JBoss Standalone applications and applications in other web/application servers can be recognized by using a System Property

Traditional Architecture/Terminology SpringSource AMS consists of: AMS Server (Management ( System ( Agent ) AMS Agent Instrumentation Agent ( Instrumentation ) Instrumented Spring Portfolio Libraries ( Instrumentation )

SpringSource AMS Architecture

Deliverables Platform-Specific Installer Archive that will install SpringSource AMS server and optionally the AMS agent Platform-Specific AMS Agent Archive Instrumentation Agent Archive Latest Spring Releases Instrumented: Spring Framework Spring Web Flow Spring Security Spring Web Services

Instrumenting a Spring-Powered Application

Instrumentation Deploy your application using Spring jars instrumented for management by compile-time weaving with AspectJ

Application Discovery

Application Discovery Applications automatically discovered by advising refresh method of ApplicationContexts Aspects are used to add a BeanPostProcessor to any BeanFactory created in the application The BeanPostProcessor considers all newly created beans for automatic export to the management model

Inventory

Inventory - ManagementServer Main entry point into instrumentation agent ManagementServer Supports: Retrieval of Domains

Inventory - Domains Domain A logical grouping of managed resources ex. Applications, Subsystems Subsystems Domain Supports: Retrieval of ManagedResources Retrieval of Configuration Attributes and Operations

Inventory Managed Resources Managed resources contain: Attributes Metrics Operations Configuration Attributes Configuration Operations

Inventory - Attributes Attributes contain: Name - unique wrt containing ManagedResource or Domain Class type of the attribute value Description ReadOnly flag Attributes support: getvalue/setvalue

Inventory - Metrics Metrics contain: Name - unique wrt containing ManagedResource MetricCategory ChangeType DefaultCollectionInterval Class type of metric value Unit of metric value Units contain Dimension and Symbol Support: Conversion of values between units, division, power, root Indicator Flag

( cont ) Inventory Metrics Metrics support: getvalue Values returned as Measures Measure is the result of a measurement Measures contain a numeric value and unit Measures support conversion between units, representation of numeric values in long, int, double, and float

Inventory - Operations Operations contain: Name unique wrt containing ManagedResource Description OperationParameter Metadata Class type of return value Operations support: Invoke

Inventory - Configuration Configuration Attributes Domains and Managed Resources have them Configures property of management system ( managed (as opposed to the resource being ex. monitoringenabled Configuration Operations Domains and Managed Resources have them Control operation that configures the management system (as opposed to the ( managed resource being ex. resetmetrics

Monitoring

Aggregate Monitoring Only aggregrate performance and utilization data maintained in memory Monitors stored in MonitorRepository by Monitor Key MonitorInstanceKey MonitorClassKey Individual operation information discarded after used to update monitors

Performance Monitors Updated via recordexecution and recordfailure methods Collect and expose metrics (as Measures): Accumulated Time Average Elapsed Time Count Failure Count Max Time Min Time Throughput

Utilization Monitors Updated via incrementcount and decrementcount methods Collect and expose metrics (as Measures): Count Max Count Min Count

Operation Monitoring Operations monitored through startoperationmonitor, endoperationmonitor, and endoperationmonitorfailure methods MonitoredOperations contain the following information about a single execution of an operation: ( messages Count (ex. 10 Start Time End Time Failure Count MonitoredOperationError Parent MonitoredOperation

Spring AOP Monitoring Proxies Spring AOP used to monitor stereotyped components or third parties that cannot be compile-time woven Automatically exposes execution time metrics for each operation Uses same Operation Monitoring approach as aspects woven into Spring components at compile-time

JMX Adapter

MBean Server Discovery When JMX Adapter jar is on classpath, MbeanServer discovery happens on agent bootstrap Same discovery algorithm as Spring Framework Discovers WebLogic server by JNDI lookup Discovers WebSphere server using AdminClient interface Discovers local MBeanServer

MBean Export Constructs ModelMBeans representing Domains and ManagedResources Builds ModelMBeanInfos from Attribute, Operation, and Metric metadata Converts Attribute/Operation types to JMX OpenTypes

Configuring Remote JMX Access Standalone applications and Tomcat must expose a JSR-160 Connector to view JMX MBeans Can be created programatically using ConnectorServerFactoryBean Can be created automatically by VM using system properties ex. -Dcom.sun.management.jmxremote - Dcom.sun.management.jmxremote.port=6969 - Dcom.sun.management.jmxremote.ssl=false - Dcom.sun.management.jmxremote.authenticate=false

SpringSource AMS Server and Agent Full Stack Monitoring Solution

SpringSource AMS Server/Agent SpringSource AMS contains Hyperic HQ Enterprise Edition inside. The AMS server is SpringSource's version of the HQ Server. The AMS agent is SpringSource's version of the HQ Agent.

SpringSource AMS Server

SpringSource AMS Agent

Demo Managing the Spring Travel Sample Application

Summary of Benefits Instrumentation Consistent management model uniformly representing all components of your application AMS- Across-Cluster Views of Management Data (versus tools like ( Jconsole Initial customers wil have large influence over future features/instrumentation

Benefits Continued Development time savings as well as production time savings Lower performance overhead on instrumentation due to compile-time weaving

Future Directions Add deeper and broader instrumentation Publish API/provide toolboxes for users to instrument their own components ( STS (includes integration with Predefined alerts and corrective control Custom reports, diagnostic views (such ( transactions as in-flight

SpringSource AMS Beta Program Participate in the AMS Beta Program http://www.springsource.com/products/s uite/ams

Questions? Jennifer Hickey jennifer.hickey@springsource.com

Thank You for Attending Find out more at: http://www.springsource.com/products/su ite/ams