Download - Hyper-V - 2 - Configuration
-
7/28/2019 Hyper-V - 2 - Configuration
1/20
Hyper-V
Configuration
Microsoft IT Camps - Virtualization
-
7/28/2019 Hyper-V - 2 - Configuration
2/20
Guidelines for Designing Virtu
Machines Standardize the Virtual Machine configuration
Plan virtual machines for specific server roles by Monitoring the servers before virtualization
Configuring each VM with a hardware configuration sthe hardware required on a physical server
Deploy Windows Server 2008 R2 or Windows 7 virmachines whenever possible
Install Integration Services whenever possible to imintegration between the physical computer and thmachine
-
7/28/2019 Hyper-V - 2 - Configuration
3/20
Deployment Methods
Standard Installation
Unattended Installation UNATTEND.XML answer file for customization
Windows System Image Manager (WSIM) to create aanswer file
Microsoft Deployment Toolkit 2010
Task sequence created for customization
Integration with System Center ConfigMgr
System Center VMM 2008 R2 / 2012 Hyper-V role enabled when host is added
VMM 2012 also supports bare-metal deployment
-
7/28/2019 Hyper-V - 2 - Configuration
4/20
Enabling Hyper-V Hyper-V is enabled as a server role (restart required)
Hypervisor must be enabled and running to start virtual m Verify the status of the Hyper-V Virtual Machine Manage
Service
-
7/28/2019 Hyper-V - 2 - Configuration
5/20
Enabling by Server Manag
Server Role
-
7/28/2019 Hyper-V - 2 - Configuration
6/20
Enabling by CLI (Server Cor
CMD > DISM /online /enable-feature
/featurename:Microsoft-Hyper-V
> start /w ocsetup Microsoft-Hyper-V
PowerShell > Add-WindowsFeature Hyper-V
Server Manager GUI available with remotemanagement
-
7/28/2019 Hyper-V - 2 - Configuration
7/20
Enabling on Hyper-V Serve
Hyper-V enabled automatically!
-
7/28/2019 Hyper-V - 2 - Configuration
8/20
Enabling by SCVMM
Will be automatically enabledwhen adding hosts
-
7/28/2019 Hyper-V - 2 - Configuration
9/20
Creating Virtual Machine
1. Name2. Location
3. Memory
4. Network5. Virtual Hard Disk
6. Operating System
-
7/28/2019 Hyper-V - 2 - Configuration
10/20
Virtual Machine Installation Met
Install u
CD/DV
Install from
an .ISO
Install from a
boot floppy
-
7/28/2019 Hyper-V - 2 - Configuration
11/20
Hyper-V Integration Settin
Integration Components (ICs) makes guest OS aware that it is running
Many ICs come pre-installed with Hyper-V on a simulated Setup Disk
be installed from the Action menu
Integration Service settings managed from the VM settings
-
7/28/2019 Hyper-V - 2 - Configuration
12/20
Moving VMs to a 2008 R2 H Backup / Restore
Varies based on backup provider Export / Import
Export VMs that are not running Saves snapshots, VHDs, VMs, config XML
Import VMs Move VM (keeps same unique ID)
Copy VM (creates new unique ID) Duplicate VM (allows for multiple new VMs)
Migration Server Migration Tools
Migration from Virtual Server 2005 R2 is a unique one-way proce
-
7/28/2019 Hyper-V - 2 - Configuration
13/20
Configuring Virtual Networ
Configured from Virtual Network Manager
External Networks
VMs can communicate with other computers on the network
Only 1 per physical NIC
Internal Networks
VMs can communicate with only other VMs on the same host,
and with the host computer
Private Networks
VMs can communicate only with other VMs on the same host
-
7/28/2019 Hyper-V - 2 - Configuration
14/20
Configuring (MAC) Address P
Hyper-V Microsoft reserved first 3 octets
00-15-5d-**-**-**
Each host has a random pool 00-15-5D-**-**-00
Sysprepping after installing Hyper-Vwill cause both hosts to have thesame pool
Default range of 256 addresses
00-15-5D-**-**-00
00-15-5D-**-**-FF
Will avoid conflicts on the same host Use SCVMM to avoid conflicts across
hosts
SCVMM
Uses broader range tha
First three octets standchangeable 00-1D-D8-**-**-**
Default range of 3,998,addresses 00-1D-D8-B7-1C-00
00-1D-D8-F4-1F-FF
If changing the first thrnot used reserved rangMicrosoft, VMware or
-
7/28/2019 Hyper-V - 2 - Configuration
15/20
Configuring VLAN Tags Configure VLAN identifiers
On internal and external virtual networks On the network adapters attached to virtual machines
Virtual Network VM Proper
-
7/28/2019 Hyper-V - 2 - Configuration
16/20
Configuring Firewall Rule
Automatically configured during Hyper-V role installation
Check Windows Firewall with Advanced Security
On Server Core use SConfig tool
Automatically configured when adding a host via VMM
Failover Clustering with a File Server or VMM Library requires
Volume Management to be unblocked
-
7/28/2019 Hyper-V - 2 - Configuration
17/20
Creating VHDs Use the Virtual Disk Wizard
Disk Type: Fixed, Dynamically Expanding,Differencing
Name & Location
Configure Disk: Size, Contents can be copied fromanother location
Configuration can be changed using the VM
settings IDE Controller(s) & Location
SCSI Controller(s) & Location
Media: VHD, Physical hard drive
Diskette Drive
-
7/28/2019 Hyper-V - 2 - Configuration
18/20
-
7/28/2019 Hyper-V - 2 - Configuration
19/20
Configuring iSCSI
Target: Create virtual disks
Initiator(s): Request access to disks
Target: Accept access request from initiator(s)
Initiator(s): Refresh configuration to check con
Initiator(s): Login to the target Enable automatic reconnections
Servers: Initialize, format and bring disks online
Now you can use these disks for your VMs or c
-
7/28/2019 Hyper-V - 2 - Configuration
20/20
Takeaways
There are numerous ways to enable theHyper-V role
Install the Integration Components for better management experience
Moving the VMs to a new host runningWindows Server 2008 R2 can be done useveral methods