How do we test our softwaretoday?• Multiple environments• “On my machine!”• Give the package to the test team andforget• Is it seamless?
Visual Studio Team Lab Management2010• First release of the Microsoft‟s solution forautomating Quality Assurance tasks• It needs a huge infrastructure effort (ActiveDirectory in place, Hyper-V, System CenterVirtual Machine Manager)
New technologies on the edge!• Windows 8 provides us Hyper-V likeserver OSes, but without their limits• Visual Studio Team Lab Management 2012provides us a new set of features
Hyper-V Parent Partition Child Partition WMI Provider VM Management Service Applications vmwp.ex vmwp.ex e vmwp.ex e vmwp.ex e e Devic e VS VS Kernel Kernel Driver P C s VMBus VMBus Hypervisor (Hyper-V) Hardware (VT-x or AMD-V capable)
Hyper-V Requirements•Hardware virtualization capable CPU (IntelVT, AMD-V)•NX Bit support on CPU and motherboard(Intel XD bit, AMD Enhanced VirusProtection)•SLAT capable CPU (Intel Core iX, XeonL/E/X55xx, AMD Phenom, Athlon II) •For Windows 8 Hyper-V
Nice to have…• Fast dedicated HDDs (7200rpm+)• Gigabit Ethernet connection (if you want to do storage move)• Tons of RAM!
Hyper-V features for the vDev• Dynamic Memory • Dynamic allocation of memory based on consumption• Live storage move (while they are running,and without a shared storage!)• VHDX file format for Virtual Hard Drives upto 64TB each• Support for hybernation and sleep (so youcan use it on a laptop!)
Developer -> Team• Expanding developers‟ needs to acommon, shared testing environment• The testing environment must bepredictable and capable of managingmultiple, complex infrastructures• You might need allowing someone elseinteracting with it• You might need integration with TeamFoundation Server
Visual Studio StandardEnvironment• New VSTLM 2012 mode• No infrastructure requirements• The only requirements are Microsoft TestManager 2012, Team Build and the VisualStudio Agents
FAQs over Standard Environment“Feedback client?” Yes.“Deploy to it with Team Build?” Yes.“Physical machines?” Yes.“Use it on my laptop?” Yes. “VMWare support?” Yes.
DEMOA lap around Standard Environments a.k.a. Lab Management for Everyone
Virtual labs as a foundation foreverything• Virtual labs can be employed in thousand of different scenarios• It‟s a quality enabler at all levels • Developers can have a „certified‟ environment for testing • Continuous Delivery • Stakeholders‟ feedback
Tips for management• Sysprep Built-in into Windows, it enables creation of a clean base OS with all you need• Snapshots Hyper-V feature which allows taking snapshots to have certain states saved. Be careful: do not use it with Domain Controllers
Best practices• Use a separate high speed drive (7200rpm+) for VMs• Mark the environments „In Use‟ if shared• Use Dynamic Memory and set the OS as if it should save as much energy as possible