hyper-v overview and building test network - harold.wong
DESCRIPTION
Hyper-V Overview and how to use it to build a test network.TRANSCRIPT
Hyper-V Overview andBuilding a Test EnvironmentHyper-V Overview andBuilding a Test Environment
Presented by Harold WongSenior IT Pro Evangelistblogs.technet.com/haroldwong
Agenda
Hyper-V Architecture Disk2vhd Virtual Hard Disks (VHD’s) Virtual Networks Snapshots
Windows Server 2008
VSPWindows
Kernel
Hyper-V Architecture
Applications
Applications
Applications
Non-Hypervisor Aware OS
Windows Server 2003,
2008
Windows Kernel VSC
VMBus
Emulation
“Designed for Windows” Server Hardware
Windows hypervisor
Xen-Enabled
Linux KernelLinux VSC
Hypercall Adapter
Parent Partition
Child Partitions
VM Service
WMI Provider
VM Worker
Processes
OSISV / IHV / OEM
Microsoft Hyper-VMicrosoft / XenSource
User Mode
Kernel Mode
Provided by:
Ring -1
IHV Driver
s
VMBus
VMBus
Applications
Disk2vhd
Free Windows Sysinternals Tool Captures Online operating systems Can run from GUI or Command Line Runs on XPSP2, Server2003 SP1 and
higher (Including x64 systems)
Demo
Disk2vhd Capture
Virtual Hard Disks
VHD is the common Virtualization format Supported on Virtual PC, Virtual Server and
Hyper-V OS/Applications/Data in a single file
VHD Types
Dynamically Expanding Fixed Size Differencing
VHD Sources
Build them from scratch Microsoft VHD Test Drive Program Migrate VHD’s from VPC or VS Import them from other Hyper-V Servers Capture a physical machine
Migrate A VHD from Virtual PC or Virtual Server VHD format is portable Remove Virtual Machine Additions first! Create a New Virtual Machine Add an existing Virtual Hard Disk
“DO NOT IMPORT!”
Import/Export VHD’s
Use the Export and Import tools in Hyper-V In order to import an .exp must be present No moving VHD’s after import
DemoWorking with VHD’s
Migrate a VHD Import a VHD with a
differencing diskExport a VHD
Virtual Networks
Internal External Private
Bridging Wireless Adapters
DemoCreating Virtual NetworksBridging Wireless Network Adapters
Snapshots
Point in time snapshot of a VHD Stored as AVHD file type Can be structured into hierarchical
trees Can be imported and exported
DemoWorking with Snapshots
Virtualization as a SQL Server consolidation Strategy
Compelling features SQL running in a VM gives immediate isolation capabilities at different levels
Hardware isolation facilitates easy migration and HA Resource isolation enables predictable performance
Increased hardware utilization with multiple VMs Multi Server Management cost savings Convenient unit of SQL Application life cycle management Identify opportunities for Data platform standardization
Root Partition
I/OStackI/O
Stack
DriversDrivers
Child Partition
I/OStackI/O
Stack
ServerServer
VMBusVMBusShared Memory
VSCsVSCs
HypervisorHypervisor
Devices Processors Memory
VMBusVMBus
VSPsVSPsVSPsVSPs
Child Partition
I/OStackI/O
Stack
VSCsVSCs
ServerServer
VMBusVMBus
Enlightenments
Summary
Hyper-V is a great base for building a testing environment!
TechNet Plus is a great source for Operating Systems and Applications
VHD format is very flexible Disk2vhd makes captures free and easy Snapshots make moving from point in time
to point in time very easy
Resources for Hyper-V Building the Ultimate Test Network
TechNet Library
Hyper-V getting Started Guidehttp://technet.microsoft.com/en-us/library/cc732470(WS.10).aspx
The Best Virtualization Toolshttp://www.microsoft.com/virtualization/en /us/resources.aspx