1 / 135

Microsoft ® Virtualization Solutions

Microsoft ® Virtualization Solutions. Nicola Ferrini info@nicolaferrini.it. Level 300 - Advanced. Who Am I ?. Trainer Technical Writer Systems Engineer Server & Application Virtualization Technology Specialist Technet Speaker Microsoft System Center Influencer More on:

xuan
Download Presentation

Microsoft ® Virtualization Solutions

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Microsoft® Virtualization Solutions Nicola Ferrini info@nicolaferrini.it Level 300 - Advanced

  2. Who Am I ? • Trainer • TechnicalWriter • SystemsEngineer • Server & Application Virtualization Technology Specialist • Technet Speaker • Microsoft System Center Influencer • More on: • http://www.nicolaferrini.it/curriculum.shtml • http://www.windowserver.it/ChiSiamo/Staff/tabid/71/Default.aspx

  3. Agenda • Evaluating and Planning for Virtualization • Server Virtualization using Hyper-V • Managing Virtual Machines using Virtual Machine Manager 2008 R2 • Desktop Virtualization using Remote Desktop Services • Application Virtualization using APP-V • Desktop Virtualization using MED-V

  4. Virtualization Modes Management Profile Virtualization Document redirection Offline files Presentation Virtualization Application Virtualization Desktop Virtualization

  5. What Is Server Virtualization? Server virtualization enables multiple virtual machines to run on one physical host Benefits: • Server consolidation • Service or application isolation • Simplified server deployment and management • Increased service and application availability • Multiple operating systems can run on one consistent platform

  6. What Is Hyper-V? Windows Kernel Provided by OS ISV/IHV/OEM Microsoft Hyper-V Microsoft / Citrix Parent Partition Child Partitions Applications Applications Applications VM Worker Processes Applications User Mode WMI Provider VM Services Non-Hypervisor Aware OS Supported Linux Distributions Windows Server 2008 Windows Server 2003, 2008 Kernel Mode VSP Windows Kernel Linux VSC IHV Drivers VSC Emulation VMBus VMBus VMBus Windows hypervisor Ring -1 “Designed for Windows” Server Hardware

  7. Features of Hyper-V in Windows Server 2008 R2 Dynamic virtual machine storage Live Migration Improved VHD performance Enhanced processor support Enhanced processor support Enhanced networking support Hyper-V in Windows Server 2008 R2 Cluster shared volumes

  8. Requirements and Limits for Virtual Machines and Hyper-V Host computer components Virtual machine components

  9. LAB

  10. Demonstration: How to manage Hyper-V In this demonstration, you will see how to manage and configure Hyper-V using Hyper-V Manager

  11. Using and Configuring iSCSI Storage iSCSI Initiator iSCSI storage: • Uses the existing IP network • Is configured using the iSCSI initiator • Should use a dedicated NIC • Required for virtual machine failover clustering

  12. Settings for Virtual Machines Virtual Machine Settings

  13. Exporting and Importing Virtual Machines in Hyper-V Originating Computer Exported Virtual Machine Destination Computer Imported Virtual Machine

  14. What Are Hyper-V Virtual Machine Snapshots? Snapshots: Snapshot files: • Virtual machine configuration .XML file • Are a point-in-time copy of a virtual machine • Do not affect the running state of a virtual machine • Save state files • Differencing disk (.AVHD)

  15. Demonstration: Using Snapshots in Hyper-V R2 In this demonstration, you will learn how to: Take and manage a virtual machine snapshot Create a snapshot Revert to a previous snapshot Merge snapshots

  16. Planning Hyper-V Hosts When planning Hyper-V hosts: • Simplify and standardize the host platform • Consider using the Server Core installation option • Automate and standardize administration of the virtual server environment by: • Standardizing the host and virtual server configuration • Implementing remote management solutions at the host server level • Implementing VMM

  17. Guidelines for Designing Virtual Machines Guidelines: • Simplify and standardize the host platform • Plan virtual machines for specific server roles by: • Monitoring the servers before virtualization • Configuring each virtual machine with a hardware configuration that is similar to the hardware required on a physical server • Deploy Windows Server 2008 or Windows Server 2008 R2–based virtual machines whenever possible • Consider other options for ensuring physical server utilization

  18. Designing Virtual Machines for SQL Server Guidelines: • Ensure that the Hyper-V integration components are installed • Plan virtual machine hardware settings to match physical server hardware • Use fixed-size disks and SCSI controllers for database and log file drives • To ensure adequate CPU capacity: • Remember virtual machines are limited to four processors • Do not over-commit CPU resources • Remember networking-intensive workloads require more CPU capacity

  19. Designing Virtual Machines for Exchange Server When designing virtual machines for Exchange Server: • Use standard server sizing rules • Configure appropriate storage • Do not use virtual machine snapshots • Configure adequate CPU resources • Consider how to use Hyper-V and native Exchange Server high availability • Consider I/O requirements

  20. Designing Virtual Machines for SharePoint When designing virtual machines for SharePoint: • Configure virtual machine hardware like physical server hardware • Do not take snapshots of virtual servers • Avoid over-committing the virtual CPUs • Consider deploying all of the servers in a server farm on a single physical server • Assign adequate memory • Use only Internet Protocol Version 4 (IPv4) • Choose the right storage implementation for the SharePoint server role

  21. What Is a Failover Cluster?

  22. Failover Cluster Functionality in Windows Server 2008 R2 • Clustered Shared Volumes • Live migration • Processor compatibility mode • Windows PowerShell cmdlets for failover clusters • Additional tests in cluster validation

  23. How Does a Failover Cluster Work with Hyper-V Nodes? Shared Bus or iSCSI Connection A dedicated network connects the failover cluster nodes

  24. Implementing Hyper-V and Failover Clustering Install and configure Windows Server 2008 or Windows Server 2008 R2 1 2 Configure shared storage 3 Install the Hyper-V and Failover Clustering features 4 Validate the cluster configuration 5 Create the cluster 6 Create a virtual machine on one of the cluster nodes 7 Make the virtual machine highly available

  25. Configuring Clustered Shared Volumes CSV benefits: • Fewer LUNs required • Better use of disk space • Virtual machine files are in a single logical location • No special hardware required • Increased resiliency To implement CSV: 1 Create and format volumes on shared storage 2 Add the disks to failover cluster storage 3 Add the storage to the CSV

  26. What Is Live Migration?

  27. Considerations for Implementing Live Migration • Verify basic requirements • Configure a dedicated network adapter for the private virtual network • Use similar host hardware • Verify network configuration • Manage Live Migrations

  28. What Is VMM 2008 R2? VMM 2008 R2 provides centralized administration and management of your virtual environment VMM is used to: • Manage Hyper-V hosts • Manage virtual server hosts • Manage VMware hosts • Manage and deploy virtual machines • Perform physical-to-virtual (P2V) and virtual-to-virtual (V2V) conversions

  29. Infrastructure Components of VMM 2008 R2 VMM Administrator Console VMM Server VMM Database VMM Library Hosts Host groups VMM Self-Service Portal

  30. What’s New in VMM 2008 R2? What’s new: • Windows Server 2008 R2 Hyper-V Host Management • Enhanced Support for SAN Transfers • Enhanced Support for Shared Storage • Quick Storage Migration • Maintenance Mode for Hosts • Support for VMware Port Groups for Virtual Switches • Support for Virtual Machine Permissions Assigned in Hyper-V

  31. Demonstration: Managing SCVMM 2008 R2 In this demonstration, you will learn how to manage SCVMM 2008 R2

  32. What Is Windows PowerShell? Windows PowerShell is: • A scripting and command-line technology • Directly accessible through a command shell, msh.exe • Used by GUI tools Windows PowerShell features include: • Cmdlets • Aliases • Variables • Pipelining • Scripting support • Access to cmd.exe commands • Signed scripts

  33. Using Windows PowerShell to Manage VMM The VMM command shell includes the standard PowerShell cmdlets, as well as a set of cmdlets specifically for VMM, such as: • Get-VMCheckPoint • Get-VMCheckpoint -MostRecent –vm "VM01" | Restore-VMCheckpoint • Get-Help Get-VMMServer

  34. Types of Hosts That VMM 2008 R2 Supports • Windows Server based host in trusted domain • Windows Server based host in non-trusted domain • Windows Server based host in perimeter • ESX based host Supported Virtualization platforms: • Virtual Server 2005 R2 • Hyper-V • VMware ESX Server 3.0 or above • VMware ESX Server 3.5i • VMware VirtualCenter (VC) 2.5 (VMware Infrastructure 3 [VI3]) • VMware vSphere 4 (VI3 features only)

  35. Demonstration: Adding Hosts to SCVMM • In this demonstration, you will learn how to add hosts to SCVMM 2008 R2

  36. Supported Guest Operating System Platforms for Virtual Machines Server operating systems that the child partition supports: • Windows 2000 Server SP4 • Windows Server 2003 SP2 (x86 Edition or x64 Edition) • Windows Server 2003 R2 SP2 (x86 Edition or x64 Edition) • Windows Server 2008 (x86 Edition or x64 Edition) • Windows Server 2008 R2 • SUSE Linux Enterprise Server 10 with SP2 (x86 Edition or x64 Edition) • SUSE Linux Enterprise Server 10 with SP1 (x86 Edition or x64 Edition) • SUSE Linux Enterprise Server 10 with SP2 (x86 Edition or x64 Edition) • SUSE Linux Enterprise Server 11 (x86 Edition or x64 Edition) • Red Hat Enterprise Linux (RHEL) 5.2 and 5.3 (x86 Edition or x64 Edition) (Emulated devices only) Client operating systems supported in child partition: • Windows XP SP3 (x86 Edition or x64 Edition) • Windows Vista SP1 (x86 Edition or x64 Edition) • Windows 7 (x86 Edition or x64 Edition) Integration Servicesimproves integration between the physical computer and the virtual machine

  37. Sources for Deploying New Virtual Machines

  38. What Is Host Rating? Represents suitability of the physical machine to the host virtual machine Host rating: • Depends on: • CPU usage • Memory usage • Disk I/O • Network usage • Is a recommendation, not a mandatory condition • Calculation metric can be changed

  39. What Is Virtual Machine Placement? Evaluation and selection of the most suitable host for the virtual machine Types: • Automatic placement • Intelligent placement Considerations: • Default path must be configured • Host compatibility must be checked

  40. Demonstration: Creating and Placing a New Virtual Machine Using VMM 2008 R2 In this demonstration, you will learn how to use VMM to create a new virtual machine, place it on the host, and store it in a library

  41. What Is P2V Conversion? Converts an operating system that is running on physical hardware to an operating system running inside a virtual machine Considerations: • VHDs are made from disk images from source computer • New virtual machine has the same computer identity as the physical computer

  42. Requirements for the Source and Destination Computers in the P2V Process Requirements for the source computer: Requirements for the destination computer: • RAM size • Volume size • ACPI BIOS • Cannot be in perimeter • Virtualization platform • RAM size • Cannot be in perimeter Considerations for the operating system: • NT 4.0 is not supported • Itanium versions are not supported • Windows Server 2003 Sp1 is not supported

  43. Online and Offline P2V Conversions Online conversion uses VSS to convert the physical server to a virtual machine while the operating system and applications are running on the physical server Offline conversion uses Windows PE to convert the physical server to a virtual machine while the operating system and applications are not running on the source server

  44. Usage Scenarios for P2V Conversion Scenarios: • Consolidating servers • Decommissioning of old hardware • Simplifying support for old operating systems Prioritizing Virtualization Candidates: • Underutilized computers that are not business critical • Computers with low utilization • Computers with higher utilization • The remaining underutilized computers

  45. What Is V2V conversion? Converts existing VMware virtual machines to virtual machines running on Hyper-V Converting VMware-based virtual machines: • From ESX host, Library or File Share • Original VM is unaffected • .vmdk files are used as source to build .vhd

  46. V2V Conversion Requirements Requirements: • Operating system in virtual machine • Virtual machine files • .vmx • .vmdk Requirements for the destination host server: • Windows Server 2008 64-bit with Hyper-V • Cannot be in perimeter network • At least 256MB RAM and memory for virtual machine

  47. Methods and Considerations for the V2V process Methods: • Conversion directly from an ESX Server host • Conversion from the VMM library • Conversion from a Windows or NFS share

  48. Demonstration: Performing a V2V Conversion • In this demonstration, you will learn how to convert a VMware virtual machine, from the VMM library, by using a V2V conversion

  49. Migrating Virtual Machines Between Hosts When migrating, be aware that: • Migration is supported only between compatible platforms • During migration,virtual machine files are moved to the new host • The virtual machine remains online during migration • You can move virtual machines by LAN or SAN transfer only • You can use Quick Storage Migrationto move the virtual machine storage between storage systems while the virtual machine is running

  50. Methods for Performing Virtual Machine MigrationBetween Hosts • Use the Migrate action • Use the Migrate Storage action • Drag and drop the virtual machine onto a host • Drag and drop the virtual machine onto a host group

More Related