Hyper-V Session Notes

By brendon on July 30th, 2010

I recently did some free M$ run training on the Hyper-V R2 & System Centre VMM. Good and interesting, I can definitely see this being useful for a number of our smaller deployments. Small things put MS ahead of VMWare I see are:

  • Support for USB monitoring of UPS / USB Backup Disks pass through.
  • Built-in support for existing AD authentication, no special ‘root’ passwords for individual ESX hosts.
  • Group Policy Support.
  • Time based power management policy for Hyper-V hosts. (Low power after hours).
  • FREE Hyper-V R2 version of 2008 server. Downloadable direct from Microsoft.
  • Host updates can be done using existing WSUS server.

Keeping all this in mind, I still see VMWare vSphere as the king of the data centre. I just think (similar to Terminal Services and CITRIX) Microsoft will catch up over the next few years.

My notes from the sessions are here:

Limits are:
64GB per VM
SMP VMs up to 4 Cores
Cluster support for HA & Live migration

R2 supports
===========
Live Migration
High Availability
Hot Add/ Remove virtual Storage

SConfig.exe for management

Free Hyper-V server 2008 R2

PSHyper-V (free PowerShell tools)
Extended Page Tables for Intel & AMD is Nested Page Tables or Rapid Virtualisation Indexes
VHD Maximum size is 2TB.

Possible to deploy a .VHD file to boot host server.
A VHD Differencing disk must exist on the same partition.
Create fixed size VHD on hosts.
Non-boot VHD are not auto-mounted.
Bit-locker disabled and hibernation disabled.

Dynamic Memory Architecture can adjust ram allocated to hosts.
Complicated as it fools guests OS with hiding unallocated RAM on Windows 03-08R2 in kernel
Avoid Dynamic Memory Allocation on NUMA style processors.

IPD = Infrastructure Planning & Design
Map Guests to Hosts – Reserve 20% resources on a VM Host
Works with Discovery of VMware servers

Cluster Shared Volumes – Used to share a single NTFS volume between separate hosts.
Hyper-V supports Core Parking

NetFT driver governs traffic data on network.
Hyper-V with shared storage uses NetFT to request file creates on the NTFS NameSpace Owner.
Future read/writes are made directly to shared storage.

CSV’s are not required to run shared storage.

Must Support SCSI v3 & Persistent Reservations Support

During a failure of the network. Each node writes to the Quorum disk two things every 3 seconds. I am alive file and copy of configuration.
When no record from active host – second node takes control of quorum and resources. If this fails then it sends a BUS reset.
When starting it tries to connect to other hosts on the private network first, then secondly on the public network. If fails then goes into dormant state.

cluster.exe used for managing cluster services

The default interface for live migration is the second lowest network.
The iSCSI network should be disabled for Cluster and Live migration

Recommend 5 interfaces on servers:
- Host Management
- VM Switch
- Live Migration
- Cluster Heartbeat
- iSCSI

SCVMM can manage ESX (If running VI3 and NOTE VSPHERE), Virtual Server or Hyper-V.
Can separate services onto different hosts
Can handle about 100 physical hosts or 200 guests on self-contained installation.
Can manage hosts in an untrusted network or DMZ,
All management to SCVMM done through PowerShell. GUI & web management apps run through PowerShell host.

Hyper-V Cannot handle more than 1 live migration simultaneously.

Need to install the SCVMM Management pack for SCOM to pass usage and rules
ProTip’s are able to improve visibility of issues or errors
SCVMM and SCOM can run on the same server.

SCOM will discover services to manage.
Need to Install SCOM Console on SCVMM console to make PowerShell applets available
Need to install SQL MP and IIS MP for SCOM to allow integrated management
Run setup for SCVMM on Operations Manager and select to configure SCOM for SCVMM integration

PRO Graph for alerts are based on 5 day average and not alert value of average on previous 3 queries

Cluster Shared Volumes cannot be used for SAN migrations of Virtual Machines

Enable Maintenance Mode command on Hyper-V Host (Disable-VMHost) -MoveWithinCluster is Live Migration
Disable Maintenance Mode command is Enable-VMHost

SCDPM is Data Protection Manager – used to backup block level images to disk and tape.
For non VM-aware guest, the host will halt all transactions for the gust VM VHD and run the snapshot pausing all connections and connectivity.
For VM-Aware snapshots, host continues running but performance will be impacted.
DPM will only run 1 concurrent backup on each CSV volume
TechNet article to force backup of CSV volumes sequentially.

Rule of thumb is 1TB snapshot in 1min.

Dynamic Infrastructure Toolkit is used to manage requests for additional hardware and software in large organisations.
DITK bolds onto SCOM and SCVMM

Current Most cost effective:
Intel Quad Core
2-4GB /pre Core
(10GBit iSCSI = 3-7000K IOPS, 8GB FC 5-9000K IOPS, SATA Disk 100 IOPS, SAS Disk 150 IOPS, FC Disk 200 IOPS)
Networking is
On-board 1GB/e for Host Management
On-board 1GB/e for heartbeat
1x 4 Port 1GB/e PCIe for
Live migration
iSCSI
Teamed VMGuest network

Offline service tool can be used to slipstream patches into golden master VM’s.
SCVMM cannot extend the VHD file size or NTFS partition within.