19
Enabling Test Automation Using Windows Server 2008 Hyper-V Taylor Brown Test Lead Microsoft Corporation ES09

Taylor Brown Test Lead Microsoft Corporation ES09

Embed Size (px)

Citation preview

Page 1: Taylor Brown Test Lead Microsoft Corporation ES09

Enabling Test Automation Using Windows Server 2008 Hyper-V

Taylor BrownTest LeadMicrosoft Corporation

ES09

Page 2: Taylor Brown Test Lead Microsoft Corporation ES09

High level overview of Hyper-V Virtual Machines

Key dev/test features of Windows Server 2008 Hyper-V

System Center Virtual Machine Manager New Dev/Test Features in Windows Server

2008 R2 (Windows 7) Hyper-V

Agenda

Page 3: Taylor Brown Test Lead Microsoft Corporation ES09

Multiple isolated operating systems at the same time on the same physical computer

Switch between virtual machines easily without restarting

Run legacy applications, provide support, train users, enhance quality assurance

Hyper-V, Virtual PC, Virtual Server, VMWare, Parallels, Xen

Virtual Machines What Are They?

Page 4: Taylor Brown Test Lead Microsoft Corporation ES09

Multi-Processor 64-bit Virtual Processors 64 GB memory per virtual machine Multiple network adapters

Up to 8 synthetic + 4 emulatedFlexible networking and VLAN capabilities

Multiple storage adaptersUp to 4 SCSI adapters,

up to 64 disks per adapter Loopback mounting of VHDs Full WMI scripting model

Key Developer/Test Features in Hyper-V

Page 5: Taylor Brown Test Lead Microsoft Corporation ES09

demo

Page 6: Taylor Brown Test Lead Microsoft Corporation ES09

Save current state of virtual machine Without turning off virtual machine Change any virtual machine setting without

affecting the base state Allows creation of tree’s of snapshots

RTM to SP1 and RTM to SP2 etc.… Quickly revert back to previous snapshot Allows tree’s up to 50 deep (10/15 advised)

Snapshots

Page 7: Taylor Brown Test Lead Microsoft Corporation ES09

demo

Page 8: Taylor Brown Test Lead Microsoft Corporation ES09

Drivers for enlightened devicesNetwork, storage, video, keyboard, mouseEnable functionality (mouse/keyboard capture)Provide better performance

Windows servicesShutdown, heartbeat, time synchronization, VSS backup,

key value pair exchange Installed using VmGuest.iso Inbox for Windows Server 2008*,

Windows Server 2008 R2

* Windows Server 2008 requires update to Hyper-V RTM

Integration Components

Page 9: Taylor Brown Test Lead Microsoft Corporation ES09

demo

Page 10: Taylor Brown Test Lead Microsoft Corporation ES09

Not just for data center or IT guys… Heterogeneous management

Hyper-V, Virtual Server, VMware ESX Physical to virtual conversion (P2V) Virtual to virtual conversion (V2V) Library management

Templates and libraries of ready to use images, configurations, scripts

Storage of repro’s, issues VM Automation: SCVMM built on a layer of PowerShell Web-based self service portal

Dev/test can create, manage, interact with assigned VM’s Used for managing www.microsoft.com/msdn.com

System Center Virtual Machine Manager

Page 11: Taylor Brown Test Lead Microsoft Corporation ES09

demo

Page 12: Taylor Brown Test Lead Microsoft Corporation ES09

Windows Server 2008 R2Native VHD integration and Boot from VHD

Native VHD Provides complete operating system

support and integration for VHD’s Standard Disk Management Tools Support VHD’s Win32 API’s for Creation and Management of VHD’s DCOM Remotable API’s

Boot From VHD Ability to boot physical hardware from a VHD Multiple Virtual Hard Disk Types

Fixed Disk, Dynamic Disks and Differencing Parent of a differencing disk can a fixed, dynamic, or

differencing disk (differencing chain) Build a Single VHD for Physical or Virtual!

Page 13: Taylor Brown Test Lead Microsoft Corporation ES09

Windows Server 2008 R2Hot add of storage

Add and remove storage to a running VM without requiring a reboot Hot-add/remove VHD’s or Passthrough disks Hot-add/remove only allowed on Virtual SCSI

connected disks Hot-add remove of storage controllers

is not supported Provides ability to move data without

networking To Guest: Create a new VHD, mount VHD, copy

data into VHD, hot add VHD to VM From Guest: Create a new VHD, hot add VHD

to VM, copy data into VHD, remove VHD

Page 14: Taylor Brown Test Lead Microsoft Corporation ES09

demo

Page 15: Taylor Brown Test Lead Microsoft Corporation ES09

http://blogs.msdn.com/taylorb http://blogs.msdn.com/virtual_pc_guy http://blogs.technet.com/howardhao http://blogs.technet.com/jamesone http://www.codeplex.com/PSHyperv http://msdn.microsoft.com/en-us/library/cc136940(VS.85).aspx http://msdn.microsoft.com/en-us/library/cc136845(VS.85).aspx http://msdn.microsoft.com/en-us/library/cc136938(VS.85).aspx

Referances and Additional Content

Page 16: Taylor Brown Test Lead Microsoft Corporation ES09

Evals & Recordings

Please fill

out your

evaluation for

this session at:

This session will be available as a recording at:

www.microsoftpdc.com

Page 17: Taylor Brown Test Lead Microsoft Corporation ES09

Please use the microphones provided

Q&A

Page 18: Taylor Brown Test Lead Microsoft Corporation ES09

© 2008 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the 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 presentation. Because Microsoft 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 any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Page 19: Taylor Brown Test Lead Microsoft Corporation ES09