Date post: | 14-Apr-2018 |
Category: |
Documents |
Upload: | nguyen-van-hai |
View: | 220 times |
Download: | 0 times |
of 31
7/27/2019 07 Integrate Development and Operations
1/31
07 | Integrate Development and OperatAnthony Borton | ALM Consultant, Enhance ALMSteven Borg | Co-founder & Strategist, Northwest Cadence
7/27/2019 07 Integrate Development and Operations
2/31
Implement an automated deployment process
Implement pre-production environments
Manage feedback between development and operat
Troubleshoot production issues
Module Overview
7/27/2019 07 Integrate Development and Operations
3/31
MVA
Implement an automated deploymentprocess
7/27/2019 07 Integrate Development and Operations
4/31
What the Study Guide says
architecting an automated build and deploy workflow
integrating automated tests
automating deployment into both test and productioenvironments
7/27/2019 07 Integrate Development and Operations
5/31
MVA
Implement pre-production environments
7/27/2019 07 Integrate Development and Operations
6/31
What the Study Guide says
automating the creation of virtual test lab environme
automating deployment into virtual test environment
7/27/2019 07 Integrate Development and Operations
7/31
Whats on a developers PC?
LINQPad
Web
Platfor
installe
DropBox
Paint.NET
TeamViewer
PowerShell
UltraMon
Te
Exp
Windows 8P
MProcess
Explorer
XMLSpy
SQL Complete
TestDriven .NET
Windows Live Writer
Auto Hot
Window Pad
Fences
NuGet
Microsoft Test
Manager
Visual
Studio
Notepad 2
Resharper
Fiddler
WinMerge
FireBug
NDepend
WatiN
StyleCop
Pex
{Inappropriate}
7/27/2019 07 Integrate Development and Operations
8/31
What does Production look like?
Server SOE Multiple servers Controlled patching Firewalls Server hardening scripts Load balancers
7/27/2019 07 Integrate Development and Operations
9/31
Lab Management Workflow
BUILD
restore
env.
DEPLOYtake env.
snapshot
TEST
7/27/2019 07 Integrate Development and Operations
10/31
Two types of environments
Standard SC
Automated deployment to environment
Execution of manual and automated tests Automated data collection Startup and shutdown of virtual machines Use of Snapshots to revert to different states Support for Network isolation Support for physical servers Support for Hyper-V Support for VMWare
7/27/2019 07 Integrate Development and Operations
11/31
Lab Environments
A lab environment is a collection of virtual and physic
machines, which you can use to develop and test ap
A lab environment can contain multiple roles neededmulti-tiered applications, such as workstations, web sdatabase servers.
You can use a build-deploy-test workflow with your lenvironment to automate the process of building, deand running automated tests on your application.
7/27/2019 07 Integrate Development and Operations
12/31
Benefits of Lab Environments
Reduced time between build and when a tester can s
You can use a test plan to run automated tests usingTest Manager
You can use a build-deploy-test workflow to test muapplications automatically
Collect diagnostic data from all machines, even durintesting
7/27/2019 07 Integrate Development and Operations
13/31
Benefits of SCVMM Environments
Quickly reproduce machine configurations store co
VMs that are configured to recreate typical productioenvironments.
Reproduce the exact conditions of a bug When a teyou can store a copy of the state of your lab environ
Run multiple copies of a lab environment at the sameYou can run multiple copies of your lab environmentsame time without conflicts.
7/27/2019 07 Integrate Development and Operations
14/31
Supported OSes for Virtual Machines
Windows XP SP3 and later versions
Windows Vista
Windows Server 2003
Windows Server 2008
Windows Server 2008 R2
Windows 8 or later versions
Mi f
7/27/2019 07 Integrate Development and Operations
15/31
DEMO
MicrosoftVirtualAcademy
The Build-Deploy-Test workflow in action
7/27/2019 07 Integrate Development and Operations
16/31
MVA
Manage feedback between developmentand operations
Wh h S d G id
7/27/2019 07 Integrate Development and Operations
17/31
What the Study Guide says
implementing tools to simplify communication
identifying, measuring, and reporting key analytics anperformance indicators such as cycle time and meanrepair (MTTR)
creating appropriate shared artefacts and process to communication
standardizing required artefacts for defect reports
creating strategies for test case reuse (both automate
manual) in production
Th Mi ft S t C t F il
7/27/2019 07 Integrate Development and Operations
18/31
The Microsoft System Center Family
Configuration Manager
Data Protection Manager
EndPoint Protection
Orchestrator
Operations Manager Service Manager
Virtual Machine Manager
7/27/2019 07 Integrate Development and Operations
19/31
MVA
Troubleshoot production issues
Wh t th St d G id
7/27/2019 07 Integrate Development and Operations
20/31
What the Study Guide says
gathering defect data from bugs in a production sett
providing actionable data to the development team
monitoring applications running in production for poissues
managing incident response times collaboratively bedevelopment and operations
A C P bl
7/27/2019 07 Integrate Development and Operations
21/31
A Common Problem
Developers typically spend considerable time debugg
Often bugs are difficult to find and in many cases wecant reproduce them
Much time is wasted stepping line by line through co IntelliTrace is a feature in Visual Studio Ultimate that
to help with this scenario
Find time Fix time
C t
7/27/2019 07 Integrate Development and Operations
22/31
Concept
Basic concept is capture debugger state information
program execution Think of it like a personal DVR for developers
Tester/Developer Scenario
7/27/2019 07 Integrate Development and Operations
23/31
Tester/Developer Scenario
Tester captures IntelliTrace data while executing test cases.iTrace file is attached when the Tester raises a Bug
Developers are able to find the issue much more quicklywith the aid of the .iTrace file. Once fixed they mark the
bug resolved so the tester can retest
Tester Dev T
Enabling the IntelliTrace Collector
7/27/2019 07 Integrate Development and Operations
24/31
Enabling the IntelliTrace Collector
The tester will enable the IntelliTrace data collector in
Properties for the test plan
Collector Configuration
7/27/2019 07 Integrate Development and Operations
25/31
Collector Configuration
The tester can configure the specific information that
collector will collect
Raising a bug with the IntelliTrace log inc
7/27/2019 07 Integrate Development and Operations
26/31
Raising a bug with the IntelliTrace log inc
When the tester creates a bug, the iTrace log file is a
linked if the collector is enabled
Developers receive bug work item
7/27/2019 07 Integrate Development and Operations
27/31
Developers receive bug work item
Developers open the iTrace file
7/27/2019 07 Integrate Development and Operations
28/31
Developers open the .iTrace file
The Importance of Symbol files
7/27/2019 07 Integrate Development and Operations
29/31
The Importance of Symbol files
Symbol Files
.PDB files Used during the debugging process
Includes Source File Names, Line Numbers and Local Vari
You should always keep your symbol files around
Symbol Server Central location for storing your PDB files
Essentially this is just a file share
7/27/2019 07 Integrate Development and Operations
30/31
Make sure you know the role of Lab Management an
offers a team Run through various Build Definition settings for
DefaultTemplate and LabDefaultTemplate processes
Be familiar with the capabilities of each System Cente
7/27/2019 07 Integrate Development and Operations
31/31
2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, Office, Azure, System Center, Dynamics and other produc t names are or may be registered trade
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 pre
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
the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.