Operations Management in the Application Lifecycle


Published on

Application Lifecycles start when the software is envisioned and lasts until it is retired. Most of that time is generally spent in maintenance and upgrade, after an application is deployed into production but before it is retired. This session will describe how to optimize this segment of the application’s lifecycle with new Microsoft Visual Studio tools.

Published in: Technology
  • Be the first to comment

  • Be the first to like this

No Downloads
Total views
On SlideShare
From Embeds
Number of Embeds
Embeds 0
No embeds

No notes for slide
  • First, show an exception or issue with IntelliTraceCopy:Source: C:\\Program Files (x86)\\Microsoft Visual Studio 11.0\\Common7\\IDE\\CommonExtensions\\Microsoft\\IntelliTrace\\11.0.0Create Trace folder at rootCopy to Server Trace folderPrepare:Expand "IntelliTraceCollection.cab" -F:*.* c:\\TraceCreate Log subdirSet permissions on the subdir to allow IIS APPPOOL\\DefaultAppPoolTurn onOpen PowerShellImport-Module c:\\Trace\\Microsoft.VisualStudio.IntelliTrace.PowerShell.dllGet-Command *IntelliTrace*Get-Help Start-IntelliTraceCollectionStart-IntelliTraceCollectionDefaultAppPool c:\\Trace\\Log c:\\Trace\\collection_plan.ASP.NET.trace.xmlCaptureGo to web site and generate an errorGet-IntelliTraceCollectionStatus -ApplicationPoolDefaultAppPoolTurn offStop-IntelliTraceCollectionDefaultAppPoolReview resultsCopy log file back from production to devGo to devDouble-click on iTraceDrill in…
  • Want to know more?
  • Want to know more?
  • Operations Management in the Application Lifecycle

    1. 1. Imaginet Live Webcast: Operations Managementin the Application Lifecycle Imaginet and ALM…Efficiently Build Better Software
    2. 2. Agenda• Overview Dev/Ops• SCOM 2012 – Monitoring applications – Integration with TFS• PreEmptive Analytics• IntelliTrace in Production
    3. 3. Application Lifecycle Management in 2012• SCOM Integration• IntelliTrace in Production• PreEmptive Analytics Operate Define •Monitor •Requirements •Support •Validation •Upgrade •Prioritization •Release Plan Develop •Iteration Plan •Develop •Test
    4. 4. A day in the life…Hello, Help desk? Ok… We‟ll getThe application is right on it… broken… again. 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…
    5. 5. Agenda• Overview Dev/Ops• SCOM 2012 – Monitoring applications – Integration with TFS• PreEmptive Analytics• IntelliTrace in Production
    6. 6. “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
    7. 7. 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
    8. 8. .NET APM with SCOM 2012
    9. 9. Bridge the Gap between Ops and DevAPM with System Center Hmmm… It looks likeOperations Manager: an application problem. Let me send you some actionable information• Out of box App Discovery and so that we can resolve Monitoring the issue quickly!• Help IT isolate and triage application issues• No noticeable impact on throughput of the app• Less than 5% CPU impact for Wow… This is enough the managed server useful information that I might be able to fix this today!• No need to write custom SC management packs or instrument the code• Useful information for efficient escalation to development
    10. 10. DEMONSTRATIONSCOM 2012 and TFS• Capturing application events in SCOM 2012• Assigning to Development• Reviewing issues in TFS• Closing the loop
    11. 11. Agenda• Overview Dev/Ops• SCOM 2012 – Monitoring applications – Integration with TFS• PreEmptive Analytics• IntelliTrace in Production
    12. 12. 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
    13. 13. 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
    14. 14. A day in the life… with PAHmmm… The application is throwing someexceptions – I should let the development team know.
    15. 15. 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
    16. 16. 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
    17. 17. 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
    18. 18. DEMONSTRATIONPreEmptive Analytics• Installing and configuring the server• Instrumenting the client
    19. 19. 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
    20. 20. Agenda• Overview Dev/Ops• SCOM 2012 – Monitoring applications – Integration with TFS• PreEmptive Analytics• IntelliTrace in Production
    21. 21. 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
    22. 22. What is IntelliTrace? Without IntelliTraceWith IntelliTrace • Record • Playback • Rewind
    23. 23. 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
    24. 24. DEMONSTRATIONIntelliTrace in Production• „Install‟ IntelliTrace• Prepare the server• Turn on IntelliTrace• Capture the events• Turn off IntelliTrace• Review the results in development
    25. 25. 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.
    26. 26. Questions?
    27. 27. Want to know more...?
    28. 28. Imaginet‟s New Blog Keeps You In The KnowStay up to speed on the latest news from Imaginet, Microsoft,Visual Studio, and the entire software development world. http://blog.imaginet.com
    29. 29. More Webcasts on ALM / TFS / Visual Studio 2012 Upcoming ALM Workshops & Webcasts:• How Microsofts ALM Tools Can • Lean, Kanban, and TFS Improve Your Bottom Line • March 7 (1:00-2:30pm CT) • February 4 (1:00-2:00pm CT) • March 21 (1:00-2:30pm CT)• Upgrading to TFS 2012: What You • Using Lean and Kanban to Need to Know! Revolutionize Your Organization • February 7 (1:00-2:30pm CT) • March 11 (1:00-2:00pm CT) • February 21 (1:00-2:30pm CT) • The newest of the new with Visual• Getting Started With Coded UI Studio and TFS 2012 testing: Building Your First • March 14 (1:00-2:30pm CT) Automated Test • March 28 (1:00-2:30pm CT) • February 14 (1:00-2:30pm CT) • February 28 (1:00-2:30pm CT)
    30. 30. For attendees of today‟s session that fill out the survey FREE Imaginet On Demand Web Training Subscription OfferComplete our Post-Webcast survey, and receive 1free Imaginet On Demand web trainingsubscription, good for 1 person for 1 month!! Thesurvey will be emailed to you immediately after thiswebcast is over.What is Imaginet On Demand? Imaginet is proud to announce our newestweb-based training program called Imaginet On Demand, your source for thebest Application Lifecycle Management (ALM) training on the internet.Imaginet On Demand is a subscription-based training program centric to theVisual 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.Its that simple!
    31. 31. FREE Services from Imaginet & MicrosoftThere are a number of different Microsoft Programs that youmight 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 bmadison@imaginet.com.
    32. 32. ALM Planning & Implementation ServicesALM Planning Testing• ALM Assessment & Envisioning Workshops • Manual Testing with Test Manager Quick (3 or 5 days) Start (5 days)• VS & TFS Migration Planning Workshop (5 • Visual Studio Testing Tools Quick Start (10 days) days)• TFS Deployment Planning* (5 days) • Visual Studio Automated Testing Quick Start• Visual SourceSafe to TFS Migration (5 days) Planning* (3 Days) • Visual Studio Load Testing Quick Start (5 or• Visual Studio Quality Tools Deployment 10 Days) Planning* (5 days) BuildsUpgrade • Automated Build & Release Management• TFS 2010 Adoption Quick Start (5 or 10 Quick Start (5 days) days) • Automated Build Center of Excellence (CoE)• TFS 2012 Adoption Quick Start (5 or 10 days) Database• TFS 2010 Upgrade Quick Start (10 days) • Visual Studio Database Tools Quick Start• TFS 2012 Upgrade Quick Start (10 days) (10 days)Remote Support Integrations• Remote Support for TFS & Visual Studio • Team Foundation Server (TFS) & Project Server Integration Quick Start (10 days)Lab • TFS & Quality Center Integration/Migration• Visual Studio Lab Management Quick Start Quick Start (10 days) (10 days)
    33. 33. 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: info@imaginet.com
    34. 34. Upcoming Class – Tester Training with VS 2012 Testers Training Using Visual Studio 2012 ALM Tools (4 Days Class)This four-day instructor-led course provides students with theknowledge and skills to use the latest testing tools provided by VisualStudio 2012 to support a variety of different testing needs (manualand automated).Date: March 11-15, 2013Location: Dallas (Irving, TX)Price: $2375/student Registration link will be included in our follow-up email later today!
    35. 35. For questions or more information, please contact us at:info@imaginet.com or (972)607-4830Remember to add http://blog.imaginet.com to your favorite reader!
    36. 36. http://www.imaginet.com