You are on page 1of 38

MGT302

APPLICATION
MONITORING
Daniele Muscetta
Program Manager
Microsoft Corporation

KEY CAPABILITIES OF OM 12 APPLICATION


MONITORING
Monitor Applications End-to-End
User

Transa
ction

Operations
Manager

Application

Synthetic Transaction

n
o
i
t
c
sa
n
a
r
T

.NET Monitoring
Where in the code caused the problem?
Which application is causing most
problems?
Which problem is an application
experiencing most?

Performance
Reliability
Availability

Java Monitoring
Which Java app servers and apps are
deployed in my environment?
Are they running?
How is my JVM performing?
Show me custom Java app metrics

KEY ADVANTAGES OF OM 12
APPLICATION MONITORING
Single tool for monitoring
Infrastructure and Applications
.Net and Java

No management pack authoring or code change


Easy to use
Express and advanced configuration
Consistent metrics
Problem categorization for .NET app

Always-on production monitoring with low overhead

.NET MONITORING

HOW TO SET UP .NET MONITORING?


Application monitoring agent and database are
installed with OM, no additional installation steps
needed
Data Warehouse
Operations
DB

DB

Monitored Server
OM Agent
APM Agent
CSM
Collector
Management
Server

OM Console
OM Web Console
App Diagnostics
console
App Advisor Console

CONFIGURE .NET MONITORING


IIS-Hosted Components

Import IIS management packs to discover apps

Microsoft.Windows.InternetInformationServices.2008.mp
Microsoft.SystemCenter.Apm.Web.IIS7.mp
Microsoft.Windows.InternetInformationServices.2012.mp NEW (Out of Band
Release)
Microsoft.SystemCenter.Apm.Web.IIS8.mp NEW in SP1!

Discovery Overrides on
http://technet.microsoft.com/en-us/library/hh916929.aspx

Windows Services Components - NEW in SP1!


Configure Windows Service Template first

Configure monitoring through APM template

DEMO
CONFIGURING .NET
MONITORING

CONFIGURE .NET MONITORING


Express configuration
Alert or not on events
Performance thresholds

Advanced configuration
Various levels of data collection
Component
Transaction
Namespace
Method

Limit end user IP range for browser side monitoring

HOW TO WORK WITH .NET


MONITORING?
React to an application problem
Detect
Triage
Diagnose

Proactively reduce problems


Find the most problematic app
Find the biggest problem in the app
Provide info that developer needs to solve the problem

DEMO
.NET MONITORING
DETECT, TRIAGE,
DIAGNOSE

HOW TO WORK WITH .NET


MONITORING?
React to an application problem
Detect
Triage
Diagnose

Proactively reduce problems


Find the most problematic app
Find the biggest problem in the app
Provide info that developer needs to solve the problem

DEMO
.NET MONITORING
ANALYZE

JAVA
Monitoring

JAVA EE APPLICATION SERVER OVERVIEW


Windows, UNIX, Linux

Java EE
Application Server
JEE
JEEApplication
ApplicationServer
Server(JBOSS,
(JBOSS,Tomcat,
Tomcat,WebSphere,
WebSphere,WebLogic)
WebLogic)
Application
Web
Web Server
Server
Application
Application
Message
Message Queues
Queues
Connection
Connection Pools
Pools
Naming
Naming Service
Service
Transaction
Transaction Service
Service

MBean
Store

.
.
.
.
.
.
AppServer

Customer

Java
Java Mgmt
Mgmt Extension
Extension
(JMX)
(JMX)

Microsoft

JAVA MONITORING - OVERVIEW


Windows, UNIX, Linux
Java EE
Application Server
JEE
JEEApplication
ApplicationServer
Server(JBOSS,
(JBOSS,Tomcat,
Tomcat,WebSphere,
WebSphere,WebLogic)
WebLogic)
Application
Web
Web Server
Server
Application
Application
Message
Message Queues
Queues
Connection
Connection Pools
Pools
Naming
Naming Service
Service
Transaction
Transaction Service
Service

MBean
Store

.
.
.
.
.
.
AppServer

Customer

Java
Java Mgmt
Mgmt Extension
Extension
(JMX)
(JMX)

Microsoft

Discover/Monito
r App Servers
Discover
/Monitor
Applications

JAVA MONITORING SUPPORTED PLATFORMS


Supported Java EE Application Servers

IBM WebSphere
Oracle WebLogic
Redhat JBoss
Apache Tomcat

6.1, 7.0
11gRel1, 10gRel3
4.2, 5.1, 6
5.5, 6.0, 7

Supported Operating Systems Matrix


Tomcat

JBoss

WebSphere

WebLogic

Windows

RHEL

SLES

Solaris
AIX

Java Monitoring - Windows


Windows OS
Java EE
Application Server
JEE
JEEApplication
ApplicationServer
Server(JBOSS,
(JBOSS,Tomcat,
Tomcat,WebSphere,
WebSphere,WebLogic)
WebLogic)
Application
Web
Web Server
Server
Application
Application
Message
Message Queues
Queues
Connection
Connection Pools
Pools
Naming
Naming Service
Service
Transaction
Transaction Service
Service

Customer

Java
Java Mgmt
Mgmt Extension
Extension
(JMX)
(JMX)
MBean
Store

.
.
.
.
.
.
AppServer

BeanSpy

Microsoft

SCOM Agent

Java MP

HTTP
HTTPS

JAVA MONITORING UNIX/LINUX


UNIX/Linux
Java EE
Application Server
JEE
JEEApplication
ApplicationServer
Server(JBOSS,
(JBOSS,Tomcat,
Tomcat,WebSphere,
WebSphere,WebLogic)
WebLogic)
Application
Web
Web Server
Server
Application
Application
Message
Message Queues
Queues
Connection
Connection Pools
Pools
Naming
Naming Service
Service
Transaction
Transaction Service
Service

Customer

Java
Java Mgmt
Mgmt Extension
Extension
(JMX)
(JMX)
MBean
Store

.
.
.
.
.
.
AppServer

BeanSpy

Microsoft

SCX Agent
Java Provider

WSMAN

HTTP
HTTPS
Mgmt
Server

JEE PACKAGE FOR OM 2012


Download: http://www.microsoft.com/download/en/details.aspx?
id=29270
16 MPs in one .msi
4 MP Guides

1 Readme
(known issues & quick start guide)

WORKING WITH JAVA MONITORING


Customer Actions

1. Import Java MPs

Monitoring Scenarios

Which app servers are deployed?


Are they running?

TWO TYPES OF DISCOVERY


Automatic Discovery
By registry key on Windows
Different application server editions have different regkeys
Regkeys created under HKEY_USERS can be removed when user is not logged in

By command line option of running processes


Discoverable only when process is running
Process name can be changed
Command line option can be customized

Manual Discovery
By supplying a list of URLs to a Powershell script
Deep monitoring only
Agentless, management server (pool) must have access to application
server URLs

WORKING WITH JAVA MONITORING


Customer Actions

1. Import Java MPs

2. Deploy BeanSpy

Monitoring Scenarios

What app servers are deployed?


Are they running?

Are my app servers responsive?


Hows my app server performing?
What apps are deployed in my app server?
Are my apps running?

JAVA MONITORING HOW IT WORKS


Windows, UNIX, Linux
JEE Application
Server
JEE
JEEApplication
ApplicationServer
Server(JBOSS,
(JBOSS,Tomcat,
Tomcat,WebSphere,
WebSphere,WebLogic)
WebLogic)
Application
Web
Web Server
Server
Application
Application
Message
Message Queues
Queues
Connection
Connection Pools
Pools
Naming
Naming Service
Service
Transaction
Transaction Service
Service

Customer

Java
Java Mgmt
Mgmt Extension
Extension
(JMX)
(JMX)
MBean
Store

.
.
.
.
.
.
AppServer

BeanSpy

Microsoft

HTTP
HTTPS

TWO TYPES OF DISCOVERY


Automatic Discovery
By registry key on Windows
Different application server editions have different regkeys
Regkeys created under HKEY_USERS can be removed when user is not logged in

By running process command line option


Discoverable only when process is running
Process name can be changed
Command line option can be customized

Manual Discovery
By supplying Java application server URLs to a Powershell script
Deep monitoring only
Agentless, management server (pool) must have access to application
server URLs

WORKING WITH JAVA MONITORING


Customer Actions

1. Import Java MPs

2. Deploy BeanSpy

3. Run Java Templates

Monitoring Scenarios

What app servers are deployed?


Are they running?

Are my app servers responsive?


Hows my app server performing?
What apps are deployed in my app server?
Are my apps running?

Whats the status of my app component?


Whats the throughput of my app?
Should I change the size of my message
queue, or connection pool?

DEMO
JEE Monitoring

RETRIEVE MANAGEMENT INFO FROM


BEANSPY
Application Server Info
/BeanSpy/Stats/Info

Application Server Performance Info


/BeanSpy/Stats

Custom Application Server and Application Info


Query Syntax is Java Standard
Query: /BeanSpy/MBeans?JMXQuery=WebSphere:name=PlantsByWebSphere,*
Invoke: /BeanSpy/MBeans/Invoke
<Invoke>
<BeanObjectName>WebSphere:name=PLANTSDB,*</BeanObjectName>
<Method name=getStatus />
</Invoke>

Need more? BeanSpy is open sourced on GitHub with test suit


and build script included

360 - Bringing all


together
Daniele Muscetta
ke Pettersson

APPLICATION MONITORING PERSPECTIVES


Your Application: SCOM .Net Application
Performance Monitoring & Java
Monitoring
First mile: SCOM internal synthetic
transactions
Mid-mile: Global Service
Monitor
Last mile: SCOM clientside monitoring

360o VIEW OF APPLICATION HEALTH


Availability
Global Service Monitor
Internal Synthetic
Transactions

Resolution

Reliability

Team Foundation
Services Work Item
Synchronization
Visual Studio

.NET Application
Performance
Monitoring
Global Service Monitor

Diagnostics

Performance

NET Application
Performance
Monitoring
SCOM Infra Monitoring
MPs

NET Application
Performance
Monitoring
Global Service Monitor
Client-Side Monitoring

DEMO
360 - Bringing all
together

Q&A

Related Content
MGT301 Operations Manager 2012: Overview of Whats New
MGT306 - Tips & Tricks for Creating Custom Management Packs for Microsoft System Center Operations
Manager
MGT307 - How to Have Microsoft System Center 2012 Operations Manager Work for You: Lessons
Learned, Beyond the Install
MGT308 - Massively Multi-Instance: Building and Deploying Microsoft System Center Operations
Manager Management Packs in the Enterprise
MGT31-HOL
MGT52-HOL
MGT32-HOL
MGT33-HOL

Microsoft
Microsoft
Microsoft
Microsoft

System
System
System
System

Center
Center
Center
Center

2012
2012
2012
2012

Operations Manager: A Look at Whats New


Application Performance Monitoring
Operations Manager Java Monitoring
Operations Manager Linux Monitoring

Product Demo Stations (demo station title and location)


Related Certification Exam
Find Me Later At

Resources
Learnin
g
Connect. Share. Discuss.

Microsoft Certification & Training Resources

http://northamerica.msteched.com

www.microsoft.com/learning

TechNe
t
Resources for IT Professionals

http://microsoft.com/technet

Resources for Developers

http://microsoft.com/msdn

Complete an evaluation on CommNet and enter to


win!

MS Tag

Scan the Tag


to evaluate this
session now on
myTechEd
Mobile

2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries.
The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to
be a commitment on the
part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS
PRESENTATION.

You might also like