Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
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 similar to the hardware required on a physical server
Deploy Windows Server 2008 R2 or Windows 7 virtual machines whenever possible Install Integration Services whenever possible to improve integration between the physical computer and the virtual machine
Deployment Methods
Standard Installation Unattended Installation
UNATTEND.XML answer file for customization Windows System Image Manager (WSIM) to create and manage answer file Task sequence created for customization Integration with System Center ConfigMgr Hyper-V role enabled when host is added VMM 2012 also supports bare-metal deployment
Enabling Hyper-V
Hyper-V is enabled as a server role (restart required) Hypervisor must be enabled and running to start virtual machines Verify the status of the Hyper-V Virtual Machine Management Service
PowerShell
> Add-WindowsFeature Hyper-V
Enabling by SCVMM
Will be automatically enabled when adding hosts
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 process
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
SCVMM
Uses broader range than Hyper-V First three octets standard, but changeable
00-1D-D8-**-**-**
If changing the first three octets do not used reserved ranges from Microsoft, VMware or Citrix
Virtual Network
VM Properties
Automatically configured when adding a host via VMM Failover Clustering with a File Server or VMM Library requires Remote Volume Management to be unblocked
Creating VHDs
Use the Virtual Disk Wizard
Disk Type: Fixed, Dynamically Expanding, Differencing Name & Location Configure Disk: Size, Contents can be copied from another location
Choosing VM Locations
VM Storage
VHDs: C:\Users\Public\Documents\Hyper-V\virtual hard disks VMs (configuration): C:\ProgramData\Microsoft\Windows\Hyper-V
Virtual Machines Snapshots
Considerations
Performance Hard Drive Space Security Shared Storage for Failover Clustering
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 connection 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 cluster
Takeaways
There are numerous ways to enable the Hyper-V role Install the Integration Components for a better management experience Moving the VMs to a new host running Windows Server 2008 R2 can be done using several methods