Hyper-V Management
Microsoft IT Camps - Virtualization
Hyper-V Manager
Numerous Management Options
SCVMM SCOM Failover Cluster Manager PowerShell RSAT
Command Line WMI
Integrated Tool Experience
Hyper-V Manager
Overview of Hyper-V Settings
Hyper-V Servers Listing of Virtual Machines
Hyper-V Server Actions
Snapshots Virtual Machine Actions
Details of Selected VM
Overview of User Settings
Default Folder Locations
Keyboard Actions
User Settings
VM Connection Application
Is used to manage local or remote virtual machines Is installed with Hyper-V or RSAT Uses RDP on port 2179 Uses the [Link] Active X control Requires port 2179 open on Windows Firewall
Failover Cluster Manager
Integrated with Hyper-V Deploy, configure, manage and connect to VMs from this interface Launch Hyper-V Wizards Supports 1000 VMs per cluster Note: Hyper-V Manager is not cluster aware you must manage clustered VMs using Failover Cluster Manager or System Center Virtual Machine Manager
Virtual Machine Manager 2008 R2
Centralized virtual machine deployment and management for Hyper-V, Virtual Server, Failover Clusters and VMware ESX servers Rapid provisioning of new and virtual machines with templates Centralized library of infrastructure components Allow for delegated management and access of VMs
PowerShell
Server Core, Hyper-V Server 2008 R2 & RSAT Remoting Support Hyper-V Integration
Find a VM Connect to a VM Discover a VM Change VM State Backup a VM Add / Remove VM Manage VMs on Clusters Change VM Storage Change VM Networks Manipulate VHD Files
Also supports Failover Clustering and System Center Virtual Machine Manager
WMI API
Windows Management Instrumentation
Native WMI scripting Community PowerShell Library SCVMM 2008/2012 PowerShell Library
Useful when SCVMM server not available Use WMIC (WMI Command Line) to access Hyper-V Also supports Failover Clustering and System Center Virtual Machine Manager
Remote Server Admin. Tools
RSAT allows server management on Client Connect to Hosts Free download: [Link] download/en/[Link]? displaylang=en&id=7887 Must enable feature on Client
Select Role Administration Tools
Select Hyper-V Tools
Remote Desktop Connection Manager
Remote desktop connection management at scale Connect to hosts or VMs Runs on Server & Client Free download: [Link] download/en/[Link]? displaylang=en&id=21101
Remote Connections
Remote Desktop Protocol
Launch MSTSC(.exe) Connect to Hosts or VMs
Hyper-V Manager
Right-click Hyper-V Manager Select Connect to Server Connect to hosts Similar experience with RSAT
RemoteFX Support
New in Windows Server 2008 R2 SP1 3D GPU Host side Rendering Improved Encode/Decode Pipeline USB Redirection
Enable RemoteFX on a VM Client must support RDP 7.1 USB redirection must be enabled via GP GP update and reboot required
Dynamic Memory
Hyper-V memory enhancement in Windows Server 2008 R2 SP1 Higher VM consolidation ratios on same hardware with minimal performance impact Memory is pooled and dynamically distributed across VMs to allow it to easily grow or shrink with no service interruption
Active Memory addition
Memory is added immediately when VM needs it Unutilized memory is collected every 5 minutes
Passive Memory reclamation
Supports both server and desktop VM Guests are enlightened
Guest Integration Components installed Must be updated to SP1
Memory is added and removed via synthetic memory driver (memory VSC) support
Dynamic Memory Settings
Startup RAM: Memory needed to boot VM
Guest OS + Apps Default: 512MB
Maximum RAM: Memory limit for the VM
Default: 64GB
Memory Buffer: Free memory to try to maintain in the VM
Enables responsiveness for workload bursts Allows use for file cache
Memory Priority: Order in which VMs are allocated memory
Range: 1 (highest) - 10,000 Default: 5,000
Changes to Root Reserve
Root memory reserve is kept for the parent partition Host Reserve amount is automatically calculated based on SLAT capability, total size of host RAM, NUMA architecture
New registry key override added
Allows you to reserve static memory for the parent partition
May result in less memory being available for VMs
DM allows VMs to push up against the reserve consistently New behavior better protects parent partition from VMs taking too much memory Host Reserve
VM Overhead
Memory utilized by VMs VM Reserve
Core Parking
Scheduling VMs on a single server for density as opposed to dispersion Allows parking or sleeping of cores by putting them in deep C states Reduces CPU power consumption Processor is parked
Takeaways
There are numerous management for Hyper-V including server tools, Client tools, scripting and remote management Use Failover Cluster Manager when working with clustered VMs Use System Center Virtual Machine Manager when working with a large number of VMs