How do I set up a dev/test environment?
Today’s applications are more complex than ever and it can be very challenging to set up and maintain these environments. Many organizations resort to a small number of shared environments, but you are trying to keep up with frequent developer builds, concurrent projects, and ever-changing data.
This session introduces Microsoft’s Lab Management solution which allows developers and QA to self-provision their own environments. We’ll look at you can take advantage of virtualization (on-premises or cloud) to create environments, roll them back to known states, and attach them to bugs while minimizing the labor in your data center.
5. Virtualization reduces cost to
provision environments
Modern apps run in diverse
environments
Difficult to repro issues found
Replicating environments for
test is time-consuming, costly
Dramatically reduced hardware
and maintenance expenses
Templates allow a wide range
of baselines to be spun up
quickly and on demand
Improved quality and reliability
of apps across platforms
Snapshots capture states for
reproducing test conditions
and verifying defects
Operations engaged in earlier
phases of testing
7. Create and manage virtual or physical environments for
Dev/Test
Take snapshots or revert to existing snapshots for any
virtual machine
Deploy current or any build to environment
Interact with virtual machines through the environment
viewer
Define test settings for environments
8.
9. Test Controllers and Agents
Test agent controller
manages test agents
Web Server
Test Agent
Test Agent
Controller
Collect Intellitrace
Information
Client
Test Agent
Run Tests
Test Agent
Test Agent
Run Tests
Collect Test Impact
Data
Team
Foundation
Server
Collect System
Information
Network Emulation
Client
Register with Team
Project Collection
Database Server
Where to
run Tests?
Collect
Data?
Test agents run tests and collect
data or impact the system
Affect
Machine
10. Installed on the “client” machines
Three types of agents
Test Agent-Enables automated testing
Build Agent-Enables automated
deployment
Lab Agent-Enables network isolation
Install from the Lab Management
or TFS media
Can be installed/maintained using
the VMPrepTool
12. Create a new
environment using virtual
machine templates in
SCVMM
Create new
environments on
existing machines
Create an
environment using
machines running on
SCVMM
13. Quickly choose multiple
test suites to run after
deployment
Choose your environment,
and build, deploy and test in
that environment from a
single dialog
14. Spin up virtual test environments
from within Test Manager, or attach a
virtual environment to a manual
testing session
Snapshot environments
during manual testing to
increase reproducibility
21. Lab Management is included with Visual Studio Premium/Test
Pro
SCVMM license for dev/test is included
MSDN
Headless Hyper-V as the host OS
Guest OS license is part of MSDN subscription
Each person accessing the Virtual Machine Host (or accessing
a virtual machine on that host) must have an MSDN
subscription
24. Creating VMs
Create and store VMs - MSDN doc
Prepare a domain controller VM
Manage virtual environments
Creating virtual envs - MSDN doc
Creating and working with virtual envs
Concepts and guidelines
Creating network isolated environments
Networking
Networking basics
Network isolation
25. Topology 1 - Multiple AT, Load Balancer and Test network with firewall settings, controlling
the test traffic in and out of Corp network
Network load balancer
Firewall rules
Topology 2 - Multiple ATs and DTs without load balancers and Test network with SAN based
library and host
SAN support
Topology 3 - TMG, Windows NLB and with Test apps having DB tier outside of virtual
environment
Setting up rules in Threat Management Gateway
Deployment and testing on a shared machine outside the envt
Topology 4 - Multiple ATs and DTs, load balancers and environments joined to a different
domain
DNS conditional forwarding