Hyper-V - 3 - Management
Hyper-V - 3 - Management
Hyper-V - 3 - Management
Hyper-V Manager
Hyper-V Manager
Details of Selected VM
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 mstsc.exe Active X control Requires port 2179 open on Windows Firewall
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
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 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
Memory is added and removed via synthetic memory driver (memory VSC) support
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
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