Download as pptx, pdf, or txt
Download as pptx, pdf, or txt
You are on page 1of 13

www.blackmarble.com blogs.blackmarble.co.

uk @blackmarble

Tips for Visual Studio


Lab Management
Office Customizable Project Server
Version Processes Build
Control Automation
Web Access System Center
Requirements Test Case
Management Management
SharePoint TEAM Windows Azure
Project FOUNDATION End-to-End
Management SERVER Traceability
Team Explorer
Everywhere Analytics Lab Management SQL Server

EXTENSIBLE APIs
SC-VMM Lab Management Architecture
TFS Server SCVMM (Library)

TFS Build

Controller Agents(s)

Hyper-V Host(s)

TFS Test Controller

Developers and Testers


Lab Deployment – SC-VMM

A lab build is
requested
TFS BUILD BUILD
SERVER CONTROLLER AGENT(S)
HYPER-V HOST

If build is OK SC
then lab provisioned VMM

ENVIRONMENT

TEST VM TFS
CONTROLLER AGENT

Deploy application VM TFS


and run automated tests AGENT

DEVELOPER

Debug test
environments
TESTER

Run manual
tests
What is Network Isolation?
HYPER-V HOST
CORP.COM
10.X.X.X
LAB.LOCAL
192.168.23.X
.1
.10 DC, DHCP, DNS
TFS . Etc.
SERVER

.101 LAB[GUID] . CORP . COM .2


.11 WEBSERVER
SC
VMM

.102 LAB[GUID] . CORP . COM .3


CLIENT
.1
DC, DHCP, DNS
Etc.

.12
Standard Lab Management Architecture
TFS Server Any PCs and VMs

TFS Build

Controller Agents(s)

TFS Test Controller

Developers and Testers


Lab Deployment – Standard

A lab build is
requested
TFS BUILD BUILD
SERVER CONTROLLER AGENT(S)
YOUR NETWORK

ENVIRONMENT

TEST VM TFS
CONTROLLER AGENT

Deploy application PHYSICAL TFS


and run automated tests AGENT

DEVELOPER

Debug test
environments
TESTER

Run manual
tests
Tips
 You are probably licensed for Lab Management
 Invest in good hardware for VM Hosts
 Look at the ALM Rangers VM Factory as a way to create
VMs
 If you wish to use Templates you have to set properties
via SC-VMM 2012 now, can’t be done in MTM anymore
 VM & Lab Environments are bound to Team Projects, you
can move them but it is awkward
Tips
 Don’t create labs directly in the SC-VMM library
 Build your VMs and domains first
 Store them in the SCVMM library as VMs
 Build your network isolated environments from these
 Only when all is working store the whole environment in
the library
Tips
 Important to consider governance
 Think about dedicated host groups to separate the Lab
Management from other VMs
 Don’t try to be clever, and be patient
 Don’t tinker in SCVMM let Lab Management automation do
the work if possible (but you will need to tinker!)
 Remember even if you don’t have Hyper-V you can still run
standard environments
Resources
Brian Keller’s TFS 2012 VM
http://aka.ms/VS11ALMVM

ALM Rangers Lab Management Guide


http://aka.ms/treasure28

ALM Rangers VM Factory


http://aka.ms/treasure32

Techday 2010 – End to end demo of Lab Management


http://tinyurl.com/BMTFSLab
Forthcoming Events
What? Where? When?
Global Windows Azure Bootcamp Black Marble’s office 27 April

Introduction to Windows Azure Mobile Services Webinar 30 April

Introduction to Service Bus Webinar 11 June

DevOps with Visual Studio TFS Webinar 18 June

For more details or to book see http://www.blackmarble.co.uk/events


blackmarble.com @blackmarble

blogs.blackmarble.co.uk black marble ltd.

+44 1274 300175 black marble

You might also like