hyper-v overview and building test network - harold.wong

19
Hyper-V Overview and Building a Test Environment Presented by Harold Wong Senior IT Pro Evangelist blogs.technet.com/haroldwong

Upload: harold-wong

Post on 15-Jan-2015

3.690 views

Category:

Education


0 download

DESCRIPTION

Hyper-V Overview and how to use it to build a test network.

TRANSCRIPT

Page 1: Hyper-V overview and building test network - harold.wong

Hyper-V Overview andBuilding a Test EnvironmentHyper-V Overview andBuilding a Test Environment

Presented by Harold WongSenior IT Pro Evangelistblogs.technet.com/haroldwong

Page 2: Hyper-V overview and building test network - harold.wong

Agenda

Hyper-V Architecture Disk2vhd Virtual Hard Disks (VHD’s) Virtual Networks Snapshots

Page 3: Hyper-V overview and building test network - harold.wong

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

Page 4: Hyper-V overview and building test network - harold.wong

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)

Page 5: Hyper-V overview and building test network - harold.wong

Demo

Disk2vhd Capture

Page 6: Hyper-V overview and building test network - harold.wong

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

Page 7: Hyper-V overview and building test network - harold.wong

VHD Types

Dynamically Expanding Fixed Size Differencing

Page 8: Hyper-V overview and building test network - harold.wong

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

Page 9: Hyper-V overview and building test network - harold.wong

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!”

Page 10: Hyper-V overview and building test network - harold.wong

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

Page 11: Hyper-V overview and building test network - harold.wong

DemoWorking with VHD’s

Migrate a VHD Import a VHD with a

differencing diskExport a VHD

Page 12: Hyper-V overview and building test network - harold.wong

Virtual Networks

Internal External Private

Bridging Wireless Adapters

Page 13: Hyper-V overview and building test network - harold.wong

DemoCreating Virtual NetworksBridging Wireless Network Adapters

Page 14: Hyper-V overview and building test network - harold.wong

Snapshots

Point in time snapshot of a VHD Stored as AVHD file type Can be structured into hierarchical

trees Can be imported and exported

Page 15: Hyper-V overview and building test network - harold.wong

DemoWorking with Snapshots

Page 16: Hyper-V overview and building test network - harold.wong

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

Page 17: Hyper-V overview and building test network - harold.wong

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

Page 19: Hyper-V overview and building test network - harold.wong