Operations Management in the Application Lifecycle

36
Imaginet Live Webcast: Operations Management in the Application Lifecycle Imaginet and ALM… Efficiently Build Better Software

Transcript of Operations Management in the Application Lifecycle

Page 1: Operations Management in the Application Lifecycle

Imaginet Live Webcast:

Operations Managementin the Application Lifecycle

Imaginet and ALM…Efficiently Build Better Software

Page 2: Operations Management in the Application Lifecycle

Agenda

• Overview Dev/Ops

• SCOM 2012– Monitoring applications– Integration with TFS

• PreEmptive Analytics

• IntelliTrace in Production

Page 3: Operations Management in the Application Lifecycle

Application Lifecycle Management in 2012

Define• Requirements• Validation• Prioritization• Release Plan

Develop• Iteration Plan• Develop• Test

Operate• Monitor• Support• Upgrade

DefineIdeation

OperateDeployment to feedback

DevelopIdea to working software

• PowerPoint Storyboarding• Agile Planning

• Suspend & Resume• Code Reviews• Feedback Collection• Unit Testing• Exploratory Testing• Continuous Integrations• Continuous Deployments

• SCOM Integration• IntelliTrace in Production• PreEmptive Analytics

Page 4: Operations Management in the Application Lifecycle

A day in the life…

Hello, Help desk? The application is broken… again.

Ok… We’ll get right on it…

Hmmm… Server looks fine.

Network is good. Must be the app…

Hey Development? Your app is broken

again. Please fix it.

WTF??? Here we go

again…

Page 5: Operations Management in the Application Lifecycle

Agenda

• Overview Dev/Ops

• SCOM 2012– Monitoring applications– Integration with TFS

• PreEmptive Analytics

• IntelliTrace in Production

Page 6: Operations Management in the Application Lifecycle

“The App” in the world of Infrastructure

• Operations/IT supports Infrastructure & Applications– Infrastructure supports applications– The Cloud is shifting focus to the application

• Applications aren’t inherently easily monitored– Application instrumentation is an afterthought– Instrumentation is inconsistent

• IT can’t be an expert on each application

Page 7: Operations Management in the Application Lifecycle

What is System Center?

• System Center is a family of operations management applications

• Historically used to monitor system and network health

• SC 2012 Supports:– Infrastructure management and

monitoring– System deployment and

configuration automation– Application Management

• Application Performance Management (APM)– Integrated in 2012– Leverages AVICode purchase

from October 2010– Supports .NET and Java

Page 8: Operations Management in the Application Lifecycle

Application

Code

.NET Framewor

k

APM modules

Server

Compute

Memory

Storage

Network

System CenterOperations Manager 2012

Perf. C

ounte

rs / Event Lo

gOS

APM Module intercepts

calls

.NET APM with SCOM 2012

Operations Manager

reports issues

Page 9: Operations Management in the Application Lifecycle

Bridge the Gap between Ops and Dev

APM with System Center Operations Manager:

• Out of box App Discovery and Monitoring

• Help IT isolate and triage application issues

• No noticeable impact on throughput of the app

• Less than 5% CPU impact for the managed server

• No need to write custom SC management packs or instrument the code

• Useful information for efficient escalation to development

Hmmm… It looks like an application problem. Let me send you some actionable information so that we can resolve

the issue quickly!

Wow… This is enough useful information

that I might be able to fix this today!

Page 10: Operations Management in the Application Lifecycle

DEMONSTRATION

SCOM 2012 and TFS

• Capturing application events in SCOM 2012

• Assigning to Development

• Reviewing issues in TFS

• Closing the loop

Page 11: Operations Management in the Application Lifecycle

Agenda

• Overview Dev/Ops

• SCOM 2012– Monitoring applications– Integration with TFS

• PreEmptive Analytics

• IntelliTrace in Production

Page 12: Operations Management in the Application Lifecycle

What is PreEmptive Analytics?

• PreEmptive Solutions has been know for their Dotfuscator obfuscation tools

• PreEmptive Analytics (PA) Runtime Intelligence Service was released in 2010:– What features are people

using – Where in the world are they – When are they using it – What are their machines like

• PreEmptive Analytics (PA) for TFS provides incident tracking for Team Foundation Server

Page 13: Operations Management in the Application Lifecycle

PreEmptive Analytics for TFS

• Runtime data transmitted from instrumented applications– Binaries are instrumented after the compilation process– Instrumentation supports existing and emerging platforms– Integrated into optimization and security platforms as needed– Built-in support for personal privacy and opt-in policy enforcement

• Data is filtered and aggregated based on rules and forwarded to Visual Studio Team Foundation Server as work items– Aggregates and analyzes exceptions and automatically creates work

items based upon your rules and operational thresholds. – Can respond within seconds or in cadence with your development sprint.

• Intelligent, feedback-driven development– Understand how the app is behaving in production– Developers can prioritize fixes based on quantitative data

• Community Edition – Free and out-of-the-box with TFS 2012

Page 14: Operations Management in the Application Lifecycle

A day in the life… with PA

Hmmm… The application is throwing some

exceptions – I should let the development team

know.

Page 15: Operations Management in the Application Lifecycle

PA for TFS Installation

• Install:– Log into the TFS Application Tier and Access TFS Admin

Console – Click the installation link and walk through the wizard– Provide an account used to create/sync Work Items– Provide an endpoint

(e.g., VSALM:8000/message/EndPoint.ashx)

• Configure:– Add a TFS and collection– Apply team project(s)

• Create the Incident Work Item Type• Creates the All Incidents Work Item Query• Adds two reports

– As needed, modify exception sets

Page 16: Operations Management in the Application Lifecycle

Configuring Assemblies for Instrumentation

• Optionally, add the PreEmptive functional attributes in the source code– Reference the PreEmptive.Attributes assembly– Add a Setup attribute to a startup method:

[PreEmptive.Attributes.Setup(CustomEndpoint=“vsalm:8000/message/EndPoint.ashx”)]

– Add a Teardown attribute to a shutdown method:[PreEmptive.Attributes.TearDown()]

– Build the .NET solution

• Create and build a Dotfuscator project– Select the input assemblies– For each assembly to report on…

• Add an ExceptionTrackAttribute• Add a BusinessAttribute with the CompanyKey GUID• Add a ApplicationAttribute with the Application GUID• Optionally, add functional attributes to setup and tear down

– Build the project

Page 17: Operations Management in the Application Lifecycle

PreEmptive Analytics Incident Reports

• Available as “Incident” work items in TFS– Work Item type and query

installed with server– Uses a custom work item

control to display details

• Provides standard reports for viewing summary data:– Incidents Over Time– Open Incidents

• Incident data includes:– Applications– Businesses– Components– Faults– Chain of exceptions– Stack trace

Page 18: Operations Management in the Application Lifecycle

DEMONSTRATION

PreEmptive Analytics

• Installing and configuring the server

• Instrumenting the client

Page 19: Operations Management in the Application Lifecycle

PA for TFS - Community Edition Restrictions

• Community edition is limited to:– On-premises data repository– One TFS Instance– Two Team Projects– Three rules per Project– .NET Only

• Professional (paid) edition includes:– Customizable exception rule types– Thrown and caught exception processing– Custom data support– Java, Win 32/64 C++ or JavaScript– SSL Support– Technical Support

Page 20: Operations Management in the Application Lifecycle

Agenda

• Overview Dev/Ops

• SCOM 2012– Monitoring applications– Integration with TFS

• PreEmptive Analytics

• IntelliTrace in Production

Page 21: Operations Management in the Application Lifecycle

What is IntelliTrace?

• “Application flight recorder”– Captures events during application execution

• Dynamically instruments code– Can capture selected events– Can also capture call information (more intensive)

• Records program execution flow

• Records program data – parameters & return values

• Supports analysis and replay of the logs from within the Visual Studio debugger

Page 22: Operations Management in the Application Lifecycle

What is IntelliTrace?

+ =

ApplicationInstrumentation

(Manual)Log File

Without IntelliTrace

+ ==

With IntelliTrace • Record• Playback• Rewind

IntelliTrace

Page 23: Operations Management in the Application Lifecycle

IntelliTrace in 2010 and 2012

• In Visual Studio 2010– Highly configurable

• Capture selected events• Can capture call information

– Can be used in development, directly from Visual Studio

– From a test environment, log files can be captured and replayed in Visual Studio

• In Visual Studio 2012– All of the above– Can be used in production– No “installation” required– Uses PowerShell scripts:

• Start Collection• Get Collection Status• Stop Collection

Page 24: Operations Management in the Application Lifecycle

DEMONSTRATION

IntelliTrace in Production

• ‘Install’ IntelliTrace

• Prepare the server

• Turn on IntelliTrace

• Capture the events

• Turn off IntelliTrace

• Review the results in development

Page 25: Operations Management in the Application Lifecycle

Summary

• One of the next gaps being bridged by Microsoft with Visual Studio 2012 is Development Operations

• Visual Studio 2012 integrates with Microsoft System Center 2012– System Center supports Application Performance Management– Issues reported in TFS directly from operations and SCOM

• Microsoft partner PreEmptive has released PreEmptive Analytics for TFS which will allow your applications to “phone home” directly without IT involvement

• Microsoft has expanded IntelliTrace so that actionable logs can be captured in production and then consumed by developers for troubleshooting.

Page 26: Operations Management in the Application Lifecycle

Questions?

Page 27: Operations Management in the Application Lifecycle

Want to know more...?

Page 28: Operations Management in the Application Lifecycle

Imaginet’s New Blog Keeps You In The Know

http://blog.imaginet.com

Stay up to speed on the latest news from Imaginet, Microsoft, Visual Studio, and the entire software development world.

Page 29: Operations Management in the Application Lifecycle

More Webcasts on ALM / TFS / Visual Studio 2012

• How Microsoft's ALM Tools Can Improve Your Bottom Line• February 4 (1:00-2:00pm CT)

• Upgrading to TFS 2012: What You Need to Know!• February 7 (1:00-2:30pm CT)• February 21 (1:00-2:30pm CT)

• Getting Started With Coded UI testing: Building Your First Automated Test• February 14 (1:00-2:30pm CT)• February 28 (1:00-2:30pm CT)

Upcoming ALM Workshops & Webcasts:

• Lean, Kanban, and TFS • March 7 (1:00-2:30pm CT)• March 21 (1:00-2:30pm CT)

• Using Lean and Kanban to Revolutionize Your Organization• March 11 (1:00-2:00pm CT)

• The newest of the new with Visual Studio and TFS 2012• March 14 (1:00-2:30pm CT)• March 28 (1:00-2:30pm CT)

Page 30: Operations Management in the Application Lifecycle

For attendees of today’s session that fill out the survey

FREE Imaginet On DemandWeb Training Subscription Offer

Complete our Post-Webcast survey, and receive 1 free Imaginet On Demand web training subscription, good for 1 person for 1 month!! The survey will be emailed to you immediately after this webcast is over.

What is Imaginet On Demand? Imaginet is proud to announce our newest web-based training program called Imaginet On Demand, your source for the best Application Lifecycle Management (ALM) training on the internet. Imaginet On Demand is a subscription-based training program centric to the Visual Studio ALM tools, including Visual Studio, Team Foundation Server (TFS), Microsoft Test Manager, and Microsoft Visual Studio Lab Management. Learn the new tools of Visual Studio at your pace, from wherever you want. It's that simple!

Page 31: Operations Management in the Application Lifecycle

FREE Services from Imaginet & Microsoft

There are a number of different Microsoft Programs that you might be able to leverage for free services from Imaginet:

• Deployment Planning Services (DPS) – You can trade in your Microsoft Software Assurance credits to receive some free TFS/ALM Deployment Planning Services days with Imaginet

• Partner Services Credit (PSC) – Have you or are you about to spend money with Microsoft on Visual Studio 2012 products? If so, Microsoft may kick in some funding to help you successfully adopt.

• Virtual Technical Specialist (VTS) hours –You may be eligible to receive some free remote consulting/training hours with Imaginet through the Microsoft Virtual Technical Specialist program.

For more information, email [email protected].

Page 32: Operations Management in the Application Lifecycle

ALM Planning & Implementation ServicesALM Planning • ALM Assessment & Envisioning Workshops

(3 or 5 days)• VS & TFS Migration Planning Workshop (5

days)• TFS Deployment Planning* (5 days)• Visual SourceSafe to TFS Migration

Planning* (3 Days)• Visual Studio Quality Tools Deployment

Planning* (5 days)

Upgrade• TFS 2010 Adoption Quick Start (5 or 10

days)• TFS 2012 Adoption Quick Start (5 or 10

days)• TFS 2010 Upgrade Quick Start (10 days)• TFS 2012 Upgrade Quick Start (10 days)

Remote Support• Remote Support for TFS & Visual Studio

Lab• Visual Studio Lab Management Quick Start

(10 days)

Testing• Manual Testing with Test Manager Quick

Start (5 days)• Visual Studio Testing Tools Quick Start (10

days)• Visual Studio Automated Testing Quick Start

(5 days)• Visual Studio Load Testing Quick Start (5 or

10 Days)

Builds• Automated Build & Release Management

Quick Start (5 days)• Automated Build Center of Excellence (CoE)

Database• Visual Studio Database Tools Quick Start (10

days)

Integrations• Team Foundation Server (TFS) & Project

Server Integration Quick Start (10 days)• TFS & Quality Center Integration/Migration

Quick Start (10 days)

Page 33: Operations Management in the Application Lifecycle

Top Gun Academy Training Classes

• Other Imaginet Training Classes– ALM

• Microsoft Visual Studio & TFS 2012 – Skills Upgrade (2 days)• Overview Training with Microsoft Visual Studio 2012 ALM Tools (4 days)• Overview Training with Microsoft Visual Studio 2010 ALM Tools (4 days)• Testers Training with Microsoft Visual Studio 2012 ALM Tools (4 days)• Testers Training with Microsoft Visual Studio 2010 ALM Tools (4 days)• Developers Training with Microsoft Visual Studio 2012 ALM Tools (4 days)• Developers Training with Microsoft Visual Studio 2010 ALM Tools (4 days)• Imaginet On Demand Online Web Training

– Scrum/Kanban• Professional Scrum Foundations (PSF) (2 days)• Professional Scrum Master (PSM) (2 days)• Professional Scrum Developer (PSD) (5 days)• Professional Scrum Master (PSM) Using Microsoft ALM (3 days)• Accredited Core Kanban Using Microsoft ALM (3 days)

To register or for more information, please visit our website here: http://www.imaginet.com/ or contact us: [email protected]

Page 34: Operations Management in the Application Lifecycle

Upcoming Class – Tester Training with VS 2012

This four-day instructor-led course provides students with the knowledge and skills to use the latest testing tools provided by Visual Studio 2012 to support a variety of different testing needs (manual and automated).

Date: March 11-15, 2013Location: Dallas (Irving, TX)Price: $2375/student

Registration link will be included in our follow-up email later today!

Testers Training Using Visual Studio 2012 ALM Tools

(4 Days Class)

Page 35: Operations Management in the Application Lifecycle

For questions or more information,please contact us at:

[email protected] or (972)607-4830

Remember to add http://blog.imaginet.com to your favorite reader!

Page 36: Operations Management in the Application Lifecycle

http://www.imaginet.com