20409A 3: Creating and Managing Virtual Hard Disks, Virtual Machines, and Checkpoints Module 3 Creating and Managing Virtual Hard Disks, Virtual Machines,

Slides:



Advertisements
Similar presentations
Working with Disks and Devices
Advertisements

Novi VMM... što je ustvari novo? Tomica Kaniški CITUS d.o.o.
Microsoft ® Official Course First Look Clinic Overview of Windows 8 By Ragowo Riantory, S.Kom, MCP.
What’s New: Windows Server 2012 R2 Tim Vander Kooi Systems Architect
MCITP Guide to Microsoft Windows Server 2008 Server Administration (Exam #70-646) Chapter 11 Windows Server 2008 Virtualization.
70-290: MCSE Guide to Managing a Microsoft Windows Server 2003 Environment Chapter 11: Monitoring Server Performance.
Lesson 7: Creating and Configuring Virtual Machine Settings
5.1 © 2004 Pearson Education, Inc. Exam Managing and Maintaining a Microsoft® Windows® Server 2003 Environment Lesson 5: Working with File Systems.
Hands-On Microsoft Windows Server 2003 Administration Chapter 6 Managing Printers, Publishing, Auditing, and Desk Resources.
MCTS Guide to Microsoft Windows Server 2008 Network Infrastructure Configuration Chapter 11 Managing and Monitoring a Windows Server 2008 Network.
Introducing VMware vSphere 5.0
Yes, yes it does! 1.Guest Clustering is supported with SQL Server when running a guest operating system of Windows Server 2008 SP2 or newer.
Implementing Failover Clustering with Hyper-V
Elad Hayun Agenda What's New in Hyper-V 2012 Storage Improvements Networking Improvements VM Mobility Improvements.
1 Objectives Discuss the Windows Printer Model and how it is implemented in Windows Server 2008 Install the Print Services components of Windows Server.
1 Management Pain points now Existing tools: Do not map to virtual environments Provisioning Backup Health monitoring Performance monitoring / management.
Deploying and Managing Windows Server 2012
Yury Kissin Infrastructure Consultant Storage improvements Dynamic Memory Hyper-V Replica VM Mobility New and Improved Networking Capabilities.
Module 10 Configuring and Managing Storage Technologies.
MCTS Guide to Configuring Microsoft Windows Server 2008 Active Directory Chapter 6: Windows File and Print Services.
Chapter-4 Windows 2000 Professional Win2K Professional provides a very usable interface and was designed for use in the desktop PC. Microsoft server system.
Windows Server 2012 VSP Windows Kernel Applications Non-Hypervisor Aware OS Windows Server 2008, 2012 Windows Kernel VSC VMBus Emulation “Designed for.
Hands-On Microsoft Windows Server 2008
Module 13: Configuring Availability of Network Resources and Content.
Hands-On Virtual Computing
INSTALLING MICROSOFT EXCHANGE SERVER 2003 CLUSTERS AND FRONT-END AND BACK ‑ END SERVERS Chapter 4.
70-410: Installing and Configuring Windows Server 2012
Module 7: Hyper-V. Module Overview List the new features of Hyper-V Configure Hyper-V virtual machines.
Chapter 8 Implementing Disaster Recovery and High Availability Hands-On Virtual Computing.
Appendix B Planning a Virtualization Strategy for Exchange Server 2010.
University of Management & Technology 1 Operating Systems & Utility Programs.
11 SYSTEM PERFORMANCE IN WINDOWS XP Chapter 12. Chapter 12: System Performance in Windows XP2 SYSTEM PERFORMANCE IN WINDOWS XP  Optimize Microsoft Windows.
Module 7: Fundamentals of Administering Windows Server 2008.
Implementing Storage Spaces
MCTS Guide to Microsoft Windows Server 2008 Applications Infrastructure Configuration (Exam # ) Chapter Three Configuring Windows Server 2008 Storage.
Implementing Hyper-V®
Module 2 Configuring Disks and Device Drivers. Module Overview Partitioning Disks in Windows® 7 Managing Disk Volumes Maintaining Disks in Windows 7 Installing.
Module 11: Implementing ISA Server 2004 Enterprise Edition.
Week #3 Objectives Partition Disks in Windows® 7 Manage Disk Volumes Maintain Disks in Windows 7 Install and Configure Device Drivers.
Microsoft Virtual Academy Module 8 Managing the Infrastructure with VMM.
70-290: MCSE Guide to Managing a Microsoft Windows Server 2003 Environment, Enhanced Chapter 11: Monitoring Server Performance.
MICROSOFT HYPER-V 2012 Presentation By:- Danish Khan.
Microsoft Virtual Academy. Microsoft Virtual Academy First HalfSecond Half (01) Introduction to Microsoft Virtualization(05) Hyper-V Management (02) Hyper-V.
IT Pro Day Windows Server 2012 Hyper-V – The next chapter Michel Luescher, Senior Consultant Microsoft Thomas Roettinger, Program Manager Microsoft.
70-293: MCSE Guide to Planning a Microsoft Windows Server 2003 Network, Enhanced Chapter 12: Planning and Implementing Server Availability and Scalability.
1 | SharePoint Saturday Calgary – 31 MAY 2014 About Me.
Alessandro Cardoso, Microsoft MVP Creating your own “Private Cloud” with Windows 10 Hyper- V WIN443.
Cloud Computing Lecture 5-6 Muhammad Ahmad Jan.
Hands-On Microsoft Windows Server 2008 Chapter 5 Configuring Windows Server 2008 Printing.
Virtual Machine Movement and Hyper-V Replica
Hands-On Microsoft Windows Server 2008 Chapter 7 Configuring and Managing Data Storage.
Automating Installations by Using the Microsoft Windows 2000 Setup Manager Create setup scripts simply and easily. Create and modify answer files and UDFs.
Course 03 Basic Concepts assist. eng. Jánó Rajmond, PhD
ITMT Windows 7 Configuration Chapter 4 – Working with Disks and Devices ITMT 1371 – Windows 7 Configuration 1.
IT Pro Day Windows Server 2012 Hyper-V – The next chapter Michel Luescher, Senior Consultant Microsoft Thomas Roettinger, Program Manager Microsoft.
Brian Lauge Pedersen Senior DataCenter Technology Specialist Microsoft Danmark.
Microsoft Virtual Academy Module 9 Configuring and Managing the VMM Library.
Lesson 8: Configuring Hyper-V MOAC : Configuring Windows 8.1.
Monitoring Windows Server 2012
Lesson 7: Creating and Configuring Virtual Machine Settings
Lesson 8: Creating and Configuring Virtual Machine Storage
100% Exam Passing Guarantee & Money Back Assurance
How to pass Microsoft exam in first attempt?
Hyper-V Management Symon Perriman Jeff Woolsey
20409A 7: Installing and Configuring System Center 2012 R2 Virtual Machine Manager Module 7 Installing and Configuring System Center 2012 R2 Virtual.
HC Hyper-V Module GUI Portal VPS Templates Web Console
12/9/2018 Desktop Virtualization Corey Hynes Kyle Rosenthal President Technical Lead HynesITe Inc Spider Consulting @windowspcguy.
Specialized Cloud Architectures
Windows Virtual PC / Hyper-V
Presentation transcript:

20409A 3: Creating and Managing Virtual Hard Disks, Virtual Machines, and Checkpoints Module 3 Creating and Managing Virtual Hard Disks, Virtual Machines, and Checkpoints

Module Overview Monitoring Hyper-V 20409A 3: Creating and Managing Virtual Hard Disks, Virtual Machines, and Checkpoints Monitoring Hyper-V

Lesson 1: Creating and Configuring Virtual Hard Disks 3: Creating and Managing Virtual Hard Disks, Virtual Machines, and Checkpoints Hyper-V Considerations for Virtual Hard Disk Storage

What Are the Storage Options for Virtual Machines? 3: Creating and Managing Virtual Hard Disks, Virtual Machines, and Checkpoints Virtual hard disk and directly attached disks Support two storage controller types: IDE SCSI Only for Generation 1 virtual machines For Generation 1 and Generation 2 virtual machines Two controllers—Two devices per IDE controller Four controllers—64 devices per SCSI controller Virtual machine starts from IDE Only Generation 2 starts from SCSI Cannot modify devices while virtual machine is running Can modify devices when virtual machine is running Fixed size, dynamically expanding or differencing disk files Directly attached disks—local, or on iSCSI or Fibre Channel SAN

Overview of the Hyper-V Virtual Hard Disk Formats 3: Creating and Managing Virtual Hard Disks, Virtual Machines, and Checkpoints .vhd Up to 2,048 GB in size .vhdx Up to 64 TB in size Internal log for enhanced resiliency User defined metadata Large disk sector support Larger sector size (improved performance) Default format in Windows Server 2012 R2 Can convert between both formats .vhdx recommended, if not used on older versions of Hyper-V

Fixed Size and Dynamically Expanding Virtual Hard Disks 3: Creating and Managing Virtual Hard Disks, Virtual Machines, and Checkpoints Fixed size Dynamically expanding Allocates all storage Larger initial size Creation takes time (without Windows Offloaded Data Transfers) Allocates space as needed Smaller initial size Created faster Minimize fragmentation Can cause fragmentation Cannot over-commit Can over-commit Better performance (older Hyper-V) Comparable performance (Windows Server 2012) Use in production Use in testing and development

Differencing Virtual Hard Disks 3: Creating and Managing Virtual Hard Disks, Virtual Machines, and Checkpoints Stores changes from the parent disk Parent disk should not change Differencing disk isolate changes Multiple differencing disks can use same parent Increases overhead (lower performance) Can be used for standardized base images Should avoid in production Create Read Modify Delete 3 1 2 3 4 x x x x Grow File C 1 2 3 4 File A File B File D Read-Only

Directly Attached Storage 3: Creating and Managing Virtual Hard Disks, Virtual Machines, and Checkpoints Virtual machine directly accesses physical disk Internal or LUN attached to Hyper-V server Disk must be offline before it can be used LUN on iSCSI or Fibre Channel SAN Pass-through disk considerations Best performance Unlimited size, lowest CPU utilization No checkpoints or differencing virtual hard disks No portability and encapsulation Not included in Hyper-V backup

Virtual Hard Disk Sharing and Quality of Service Management 3: Creating and Managing Virtual Hard Disks, Virtual Machines, and Checkpoints Provides shared storage for virtual machines Used as shared SAS disk by virtual machines Virtual hard disk must be using VHDX format Must be connected to virtual SCSI controller Must be stored on failover cluster CSV Scale-out file server with SMB 3.0 Separation between infrastructure and virtual machines Storage QoS restrict disk throughput Configured per virtual hard disk Dynamically configurable while virtual machine is running

Hyper-V Considerations for Virtual Hard Disk Storage 3: Creating and Managing Virtual Hard Disks, Virtual Machines, and Checkpoints Virtual hard disks consume large amounts of space Can increase over time, implement monitoring Use multiple physical disks for better throughput Use redundant storage spaces SSD dramatically increases performance SMB 3.0 file share Use SAN for storing virtual hard disks Specialized, redundant, fast Shared storage for failover clustering Exclude VHDs from antivirus scanning

Lesson 2: Creating and Configuring Virtual Machines 3: Creating and Managing Virtual Hard Disks, Virtual Machines, and Checkpoints What Is Smart Paging? Using a Virtual Fibre Channel Adapter

What Are the Components of a Generation 1 Virtual Machine? 3: Creating and Managing Virtual Hard Disks, Virtual Machines, and Checkpoints Virtual machine has virtual hardware devices Only devices that Hyper-V supports can be used Virtual hardware can be: Emulated – available during boot Synthetic – available in supported operating systems SR-IOV – available in supported operating systems Prior to Windows Server 2012 R2, only Generation 1 virtual machines were available

Overview of Generation 2 Virtual Machines 3: Creating and Managing Virtual Hard Disks, Virtual Machines, and Checkpoints Emulated devices are removed UEFI firmware instead of BIOS Secure boot Boots from SCSI controller PXE boot uses a standard network adapter Faster boot and operating system installation Can run side by side with Generation 1 Generation 1 must be used for legacy systems Supported guest operating systems Windows Server 2012 and Windows Server 2012 R2 64-bit versions of Windows 8 and Windows 8.1

Configuring Virtual Machine Settings 3: Creating and Managing Virtual Hard Disks, Virtual Machines, and Checkpoints Only limited options are available during creation Many more options are available after the virtual machine is created Configuration options depend on the generation of the virtual machine Most settings can be configured only if turned off Adding or removing hardware components Configuring memory, processor, disk settings Few settings are configurable while virtual machine is running Connecting a network adapter to a virtual switch Adding a virtual hard disk to a SCSI controller Enable or disable Integration Services Use Hyper-V Manager or Windows PowerShell Set-VM, Add-VMHardDiskDrive, Add-VMNetworkAdapter

20409A What Is Dynamic Memory? 3: Creating and Managing Virtual Hard Disks, Virtual Machines, and Checkpoints More efficient use of available physical memory Shared resource that can be reallocated automatically Demand, available memory, and virtual machine memory settings Dynamic memory settings Startup RAM Operating system typically requires more memory when started Minimum RAM Can be decreased while virtual machine is running Maximum RAM Can be increased while virtual machine is running Memory buffer Percentage of extra memory to reserve for a virtual machine Memory weight Prioritizes memory allocation when physical memory is low

What Is Dynamic Memory? Virtual Machines Memory Settings T = 0 T = 15 3: Creating and Managing Virtual Hard Disks, Virtual Machines, and Checkpoints T = 0 T = 15 T = 30 2 GB 4 GB 6 GB 8 GB Virtual Machines Memory Settings Total System Memory Memory in Use by virtual machines 3 GB Physical Memory Used 37.5 % Finance virtual machine Sales virtual machine Engineering virtual machine

What Is Dynamic Memory? Virtual Machines Memory Settings T = 0 T = 15 3: Creating and Managing Virtual Hard Disks, Virtual Machines, and Checkpoints T = 0 T = 15 T = 30 2 GB 4 GB 6 GB 8 GB Finance virtual machine Sales virtual machine Engineering virtual machine Total System Memory Memory in Use by virtual machines Physical Memory Used 75 % Virtual Machines Memory Settings

What Is Dynamic Memory? Virtual Machines Memory Settings T = 0 T = 15 3: Creating and Managing Virtual Hard Disks, Virtual Machines, and Checkpoints Engineering reaches max allocation T = 0 T = 15 T = 30 Finance virtual machine Sales virtual machine Engineering virtual machine Service virtual machine 2 GB 4 GB 6 GB 8 GB Total System Memory Memory in Use by virtual machines 7,5 GB Physical Memory Used 94 % Virtual Machines Memory Settings

20409A What Is Smart Paging? 3: Creating and Managing Virtual Hard Disks, Virtual Machines, and Checkpoints Memory Management technique that uses physical disk resources as temporary memory Ensures that a virtual machine can always restart Used during virtual machine restart only If Hyper-V is low on memory, and The virtual machine has more startup than minimum RAM, and Memory cannot be reclaimed from other virtual machines Temporarily degrades virtual machine performance Used only for a limited time, and then removed Not used when a virtual machine started from the Off state Virtual machine operating system paging is always preferred

20409A What Is Smart Paging? 3: Creating and Managing Virtual Hard Disks, Virtual Machines, and Checkpoints T = 0 T = 15 T = 30 Finance virtual machine Sales virtual machine Engineering virtual machine Service virtual machine 2 GB 4 GB 6 GB 8 GB Virtual Machines Memory Settings Total System Memory Sales virtual machine and Service virtual machine can be restarted only if Smart Paging is used

Overview of Integration Services 3: Creating and Managing Virtual Hard Disks, Virtual Machines, and Checkpoints Makes a guest operating system aware that it is running on a virtual machine Many operating systems include integration services Install the latest integration services VMBus and synthetic devices support Time synchronization, mouse release, VSS Managed as virtual machine settings

Overview of Integration Services 3: Creating and Managing Virtual Hard Disks, Virtual Machines, and Checkpoints Without Integration Services With Integration Services

Using a Virtual Fibre Channel Adapter 3: Creating and Managing Virtual Hard Disks, Virtual Machines, and Checkpoints Access to Fibre Channel SAN storage from virtual machine Hyper-V server has Fibre Channel HBA Use Virtual SAN Manager to configure a virtual SAN Virtual Fibre Channel adapter maps to the physical HBAs Virtual Fibre Channel adapter connects to the Virtual SAN Storage hardware must support N_Port ID virtualization Virtual machine can have four virtual Fibre Channel adapters Supported Not supported Virtual machine live migration Boot from Fibre Channel SAN Virtual machine failover cluster Checkpoints MPIO - multiple paths to SAN Host-based backup Live migration of SAN data

Lesson 3: Installing and Importing Virtual Machines 3: Creating and Managing Virtual Hard Disks, Virtual Machines, and Checkpoints Overview of Enhanced Session Mode

Virtual Machine Installation Methods 3: Creating and Managing Virtual Hard Disks, Virtual Machines, and Checkpoints Install from a bootable CD/DVD-ROM Single virtual machine can only use physical media at one time Install from an .iso file Multiple virtual machines can use .iso file Install from a network-based installation server Generation 1 – legacy network adapter required Copy virtual hard disk file with operating system installed Similar to computer cloning Virtual hard disk should first be generalized Use differencing virtual hard disks Parent virtual hard disk should first be generalized Parent virtual hard disk must not change

Importing Virtual Machines 3: Creating and Managing Virtual Hard Disks, Virtual Machines, and Checkpoints You can import a virtual machine without first exporting it Only virtual machine data files are needed Over 40 different types of issues detected, such as: Missing parent virtual hard disk Virtual switch not available Virtual machine has more processors than available Import process: Creates a copy of the virtual machine configuration file Validates hardware configuration settings Compiles a list of incompatibilities Displays incompatibilities and asks for new settings Removes the configuration file copy Cannot start older saved states and checkpoints

Virtualizing a Physical Computer 3: Creating and Managing Virtual Hard Disks, Virtual Machines, and Checkpoints Converting a physical computer to a virtual machine Hyper-V does not include P2V functionality Hyper-V can copy content of data disks Configure disk in New Virtual Hard Disk Wizard Copy entire disk, not volume or partition Supported only for data, system disks are not supported Disk2vhd Creates virtual hard disks Uses VSS Captured system has same identity Add virtual hard disk to virtual machine

Virtualizing a Physical Computer 3: Creating and Managing Virtual Hard Disks, Virtual Machines, and Checkpoints

The Virtual Machine Connection Application 3: Creating and Managing Virtual Hard Disks, Virtual Machines, and Checkpoints Connects to virtual machines on local and remote Hyper-V Port 2179 used (can be modified in the registry) Connection allowed by Windows Firewall Installed as part of Hyper-V role or RSAT feature Single users can connect to virtual machines Remote Desktop in virtual machines is not used Hyper-V Administrators can connect to virtual machines You can restrict access to virtual machines Revoke-VMConnectAccess cmdlet

Overview of Enhanced Session Mode 3: Creating and Managing Virtual Hard Disks, Virtual Machines, and Checkpoints Remote Desktop connection to a virtual machine Virtual machine can be without network connectivity Devices can be redirected Printers, drives, smart cards, audio, other PnP devices Shared clipboard, enhanced copy Folder redirection RDS component is used User must sign in to virtual machine Remote Desktop Users group membership required Enabled at Hyper-V virtual machine connection and virtual machine level Guest operating system support required Windows Server 2012 R2 or Windows 8.1 Available only when the virtual machine is running

Lesson 4: Managing Virtual Machine Checkpoints 3: Creating and Managing Virtual Hard Disks, Virtual Machines, and Checkpoints Checkpoints and Virtual Machine Generation ID

What Are Virtual Machine Checkpoints? 3: Creating and Managing Virtual Hard Disks, Virtual Machines, and Checkpoints Checkpoint is a point-in-time virtual machine state Can be taken if virtual machine is not in Paused state Contains virtual machine configuration, memory and disk state Does not affect the running state of a virtual machine Primarily used for testing and development Can cause issues in distributed production environment Create differencing disk – decrease performance Cannot be created for directly attached disks Used by Hyper-V Replica or in VDI deployments

Implementing Hyper-V Checkpoints 20409A Implementing Hyper-V Checkpoints 3: Creating and Managing Virtual Hard Disks, Virtual Machines, and Checkpoints When created, a checkpoint cannot be modified Only viewed, applied, exported, renamed, or deleted Checkpoint creation steps: Pause virtual machine Create differencing disk for each disk that virtual machine is using Create a copy of virtual machine configuration Resume virtual machine Copy virtual machine memory to disk Checkpoint consists of Configuration file (*.xml) Saved state file (*.vsv) Memory content (*.bin) Differencing disks (*.avhd)

Overview of Checkpoints at File Level 3: Creating and Managing Virtual Hard Disks, Virtual Machines, and Checkpoints Snapshot .vhd .avhd Apply (create branch) Apply (= delete Now) Delete (= delete) Delete (= merge)

Exporting Virtual Machines and Checkpoints 3: Creating and Managing Virtual Hard Disks, Virtual Machines, and Checkpoints Exporting a virtual machine is not required You can copy virtual machine files Exporting virtual machine consolidate its files If differencing drives are used, the entire hierarchy is exported Exporting multiple virtual machines increases total size When exporting a virtual machine, all its checkpoints are exported Exporting a checkpoint exports only a single state Differencing disks in checkpoint hierarchy are merged Live export – you can export while a virtual machine is running Update integration services after import Discard memory content and saved state from different architecture or pre-Windows 2012 Hyper-V

Issues with Checkpoints in Distributed Environments 20409A Issues with Checkpoints in Distributed Environments 3: Creating and Managing Virtual Hard Disks, Virtual Machines, and Checkpoints Applying a checkpoint takes a virtual machine back to a previous state Can have serious implications and result in corruption Vector-clock synchronizations are impacted Distributed applications depending on increasing logical clock AD DS, DFS Replication, SQL Server replication Applying checkpoint rolls back the logical clock Members of replica set to not converge to the same state Cryptography - reducing entropy of the random data Distributed applications using vector clock algorithms have no awareness of running in a virtual environment Removes changes in virtual machine as if they never happened User data is lost, passwords are reverted Regardless of whether they were already synchronized or replicated

Issues with Checkpoints in Distributed Environments 20409A Issues with Checkpoints in Distributed Environments 3: Creating and Managing Virtual Hard Disks, Virtual Machines, and Checkpoints DC1 DC2 ID: A USN: 100 Create Checkpoint RID Pool: 500 - 1000 T1 Only 50 users are replicated to both domain controllers. Others are either on first or second domain controller. 100 users (RID 500-599) have duplicated SIDs. +100 users ID: A USN: 200 RID Pool: 600 - 1000 DC1(A) @USN = 200 Time T2 Replication to DC2: USN >100 T3 ID: A USN: 100 Apply T1 Checkpoint RID Pool: 500 - 1000 ID: A USN: 250 +150 users RID Pool: 650 - 1000 T4 DC1(A) @USN = 250 Replication to DC2: USNs >200

Checkpoints and Virtual Machine Generation ID 3: Creating and Managing Virtual Hard Disks, Virtual Machines, and Checkpoints Designed to address issues of reverting to a past state 64-bit integer, tied to a virtual machine configuration Generation ID passed to a virtual machine in the BIOS Application can compare current and previous values If values differ, then something happened to virtual machine Hypervisor must support virtual machine generation ID Operating system in virtual machine must be generation ID-aware Virtual machine generation ID change Does not change Virtual machine starts from checkpoint Virtual machine is live-migrated Virtual machine restored from backup Virtual machine is paused or resumed Virtual machine is migrated Virtual machine is restarted Virtual machine is imported Hyper-V server is restarted

Checkpoints and Virtual Machine Generation ID 3: Creating and Managing Virtual Hard Disks, Virtual Machines, and Checkpoints

Checkpoints and Virtual Machine Generation ID 3: Creating and Managing Virtual Hard Disks, Virtual Machines, and Checkpoints

Checkpoints and Virtual Machine Generation ID 3: Creating and Managing Virtual Hard Disks, Virtual Machines, and Checkpoints

Lesson 5: Monitoring Hyper-V 20409A Lesson 5: Monitoring Hyper-V 3: Creating and Managing Virtual Hard Disks, Virtual Machines, and Checkpoints Resource Metering in Hyper-V

Overview of Performance Monitoring 3: Creating and Managing Virtual Hard Disks, Virtual Machines, and Checkpoints Monitors operating system and applications using system resources Provides up-to-date information on performance Health of the IT infrastructure Compare current activity with the baseline Planning for future requirements Whether current performance is sufficient Identifying issues Detecting problems Proactive (real-time) and reactive (historical data) Windows Server 2012 R2 includes several tools Operations Manager centralizes monitoring, alerting, and reporting for the enterprise

Overview of Performance Monitoring 3: Creating and Managing Virtual Hard Disks, Virtual Machines, and Checkpoints Task Manager provides local, real-time performance data Helps to identify and resolve performance-related issues

Overview of Performance Monitoring 3: Creating and Managing Virtual Hard Disks, Virtual Machines, and Checkpoints Resource Monitor provides in-depth real-time performance data CPU, Memory, Disk, Network

Overview of Performance Monitoring 3: Creating and Managing Virtual Hard Disks, Virtual Machines, and Checkpoints Event Viewer shows events that relate to server activity Collected locally and remotely Filtering, custom views, attaching tasks to the events

Overview of Performance Monitoring 3: Creating and Managing Virtual Hard Disks, Virtual Machines, and Checkpoints Reliability Monitor provides an historical view of server reliability and associated events

Overview of Performance Monitoring 3: Creating and Managing Virtual Hard Disks, Virtual Machines, and Checkpoints Performance Monitor provides real-time monitoring and viewing of historical data gathered by data collector sets Additional performance objects added with server roles

Monitoring a Hyper-V Host 3: Creating and Managing Virtual Hard Disks, Virtual Machines, and Checkpoints Only Performance Monitor can monitor Hyper-V Many Hyper-V performance objects added Other tools monitor only their virtual environment Parent partition is also considered a virtual machine Memory, disk and network monitored the same \Logical Disk(*)\Avg. Disk sec/Read and /Write \Memory\Available Mbytes \Network Interface(*)\Bytes Total/sec Processor utilization based on available resources Hyper-V allocates resources to each virtual machine \Processor(*)\% Processor Time shows relative utilization \Hyper-V Hypervisor Logical Processor(_Total)\% Total Run Time should be used

Monitoring Virtual Machines 3: Creating and Managing Virtual Hard Disks, Virtual Machines, and Checkpoints Virtual machine tools monitor the virtual environment Heavy utilization in virtual machine does not mean that Hyper-V host is heavy utilized (and vice versa) Available resources adjusted based on server load Memory and disk counters are the same as on the server Hyper-V performance counters should be used Hyper-V Hypervisor\Virtual Processors Hyper-V Hypervisor Logical Processor \% Guest Run Time Hyper-V Virtual Network Adapter(*)\Bytes/sec Limit the processor resources that the virtual machine can use

Resource Metering in Hyper-V 20409A Resource Metering in Hyper-V 3: Creating and Managing Virtual Hard Disks, Virtual Machines, and Checkpoints Track resources used by virtual machine or pool Processor, disk, memory, network Can be used for charge back Resource metering data follows a virtual machine Configure by using Windows PowerShell Enable-VMResourceMetering, Measure-VM Average CPU usage Average physical memory usage Minimum/maximum memory usage Maximum amount of disk space allocated to a virtual machine Total incoming/outgoing network traffic for a network adapter Graphical reporting is not included Basic reporting in Windows PowerShell