Operations Management in the Application Lifecycle

1,526 views

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
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
1,526
On SlideShare
0
From Embeds
0
Number of Embeds
50
Actions
Shares
0
Downloads
15
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide
  • Having established that the issue is at the application layer the administrator sends the issue to the development team through the integrated connection with Team Foundation Server.
  • Following the triage of the issue by the product owner the issue is passed to a member of the development team.The work item includes rich and actionable data for the developer (environmental data, stack trace, AVICode telemetry …) letting them rapidly identify the issue and jump directly to the related line of code with a single click!
  • 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 www.Imaginet.com
    2. 2. Upcoming Class – Tester Training with VS 2012This 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).
    3. 3. Agenda• Overview Dev/Ops• SCOM 2012 – Monitoring applications – Integration with TFS• PreEmptive Analytics• IntelliTrace in Production
    4. 4. 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
    5. 5. 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…
    6. 6. Agenda• Overview Dev/Ops• SCOM 2012 – Monitoring applications – Integration with TFS• PreEmptive Analytics• IntelliTrace in Production
    7. 7. “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
    8. 8. 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
    9. 9. .NET APM with SCOM 2012
    10. 10. 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
    11. 11. DEMONSTRATIONSCOM 2012 and TFS• Capturing application events in SCOM 2012• Assigning to Development• Reviewing issues in TFS• Closing the loop
    12. 12. Agenda• Overview Dev/Ops• SCOM 2012 – Monitoring applications – Integration with TFS• PreEmptive Analytics• IntelliTrace in Production
    13. 13. 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
    14. 14. 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
    15. 15. A day in the life… with PAHmmm… The application is throwing someexceptions – I should let the development team know.
    16. 16. 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
    17. 17. 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
    18. 18. 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
    19. 19. DEMONSTRATIONPreEmptive Analytics• Installing and configuring the server• Instrumenting the client• Reporting on incidents
    20. 20. 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
    21. 21. Agenda• Overview Dev/Ops• SCOM 2012 – Monitoring applications – Integration with TFS• PreEmptive Analytics• IntelliTrace in Production
    22. 22. 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
    23. 23. What is IntelliTrace? Without IntelliTraceWith IntelliTrace • Record • Playback • Rewind
    24. 24. 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
    25. 25. DEMONSTRATIONIntelliTrace in Production• „Install‟ IntelliTrace• Prepare the server• Turn on IntelliTrace• Capture the events• Turn off IntelliTrace• Review the results in development
    26. 26. 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.
    27. 27. Questions?
    28. 28. Want to know more...?
    29. 29. Imaginet‟s New Visual Studio 2012 Website!Visit Imaginet‟s new Visual Studio 2012 website, your one-stophub for all your Visual Studio 2012 needs! http://visualstudio.imaginet.com
    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. 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
    32. 32. More Webcasts on ALM / TFS / Visual Studio 2012 Upcoming ALM Workshops & Webcasts:• Top 10 Business Benefits of • Upgrading to TFS 2012: What You Application Lifecycle Management Need to Know! (ALM) • February 7 (1:00-2:30pm CT) • January 22 (1:00-2:00pm CT) • February 21 (1:00-2:30pm CT)• Operations Management in the • Getting Started With Coded UI Application Lifecycle testing: Building Your First • January 31 (1:00-2:30pm CT) Automated Test • February 14 (1:00-2:30pm CT)• A Day in the Life: Developer • February 28 (1:00-2:30pm CT) Enhancements with Visual Studio 2012 • Lean, Kanban, and TFS • January 24 (1:00-2:30pm CT) • March 7 (1:00-2:30pm CT) • March 21 (1:00-2:30pm CT)• How Microsofts ALM Tools Can Improve Your Bottom Line • Using Lean and Kanban to • February 4 (1:00-2:00pm CT) 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)
    33. 33. 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) Email us at:
    34. 34. For questions or more information, please contact us at:info@imaginet.com or (972)607-4830
    35. 35. http://www.imaginet.com

    ×