Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

10215 A 03

659 views

Published on

  • Be the first to comment

10215 A 03

  1. 1. Module 3 Creating and Configuring Virtual Hard Disks and Virtual Machines
  2. 2. Module Overview <ul><li>Creating and Configuring Virtual Hard Disks </li></ul><ul><li>Creating and Configuring Virtual Machines </li></ul><ul><li>Managing Virtual Machine Snapshots </li></ul><ul><li>Working with the Virtual Machine Connection Application </li></ul><ul><li>Planning Virtualization for Applications </li></ul>
  3. 3. Lesson 1 : Creating and Configuring Virtual Hard Disks <ul><li>What Are the Storage Options for Virtual Machines ? </li></ul><ul><li>Dynamically Expanding Disks vs. Fixed-size Disks </li></ul><ul><li>Differencing Disks </li></ul><ul><li>Pass-through and Automatic Disks </li></ul><ul><li>Host Computer Considerations for Virtual Hard Drives </li></ul><ul><li>Using and Configuring iSCSI Storage </li></ul><ul><li>Demonstration: Creating Virtual Hard Disks with the Virtual Disk Wizard </li></ul><ul><li>Demonstration: Inspecting and Editing Virtual Disks </li></ul>
  4. 4. What Are the Storage Options for Virtual Machines? IDE SCSI <ul><li>Two IDE controllers </li></ul><ul><li>Two devices each </li></ul><ul><li>Emulated/synthetic </li></ul><ul><li>Four SCSI controllers </li></ul><ul><li>256 devices each </li></ul><ul><li>Methods supported: </li></ul><ul><ul><li>Pass-through </li></ul></ul><ul><ul><li>Fixed-disk </li></ul></ul><ul><ul><li>Dynamic </li></ul></ul><ul><li>Synthetic </li></ul><ul><li>Methods supported: </li></ul><ul><ul><li>Pass-through </li></ul></ul><ul><ul><li>Fixed-disk </li></ul></ul><ul><ul><li>Dynamic </li></ul></ul><ul><li>Must be used for the boot partition </li></ul>
  5. 5. Dynamically Expanding Disks vs. Fixed Disks Dynamically expanding virtual hard disk: Fixed-Size virtual hard disk: Test & Development Production <ul><li>Benefit: </li></ul><ul><li>Efficient use of storage </li></ul><ul><li>Drawbacks: </li></ul><ul><li>Deferred storage allocation </li></ul><ul><li>Fragmentation </li></ul><ul><li>Benefits: </li></ul><ul><li>Performance </li></ul><ul><li>Upfront storage resource allocation </li></ul><ul><li>Drawback: </li></ul><ul><li>Portability </li></ul>
  6. 6. Differencing Disks Differencing virtual hard disks: <ul><li>Benefits: </li></ul><ul><li>Isolate changes </li></ul><ul><li>Can be used for standardized base images </li></ul><ul><li>Drawbacks: </li></ul><ul><li>Dynamic size </li></ul><ul><li>Cannot be compacted </li></ul><ul><li>Increased overhead </li></ul>
  7. 7. Pass-through Disks Pass-through disks: <ul><li>Benefits: </li></ul><ul><li>Performance </li></ul><ul><li>Support for more than 2TB </li></ul><ul><li>Drawbacks: </li></ul><ul><li>Cannot use virtual machine snapshots </li></ul><ul><li>Portability and encapsulation </li></ul>
  8. 8. Host Computer Considerations for Virtual Hard Drives Considerations: <ul><li>Fast hard drives </li></ul><ul><li>Mirrored arrays for operating system </li></ul><ul><li>iSCSI </li></ul><ul><li>SANs </li></ul><ul><li>Antivirus </li></ul>
  9. 9. Using and Configuring iSCSI Storage iSCSI Initiator iSCSI storage: <ul><li>Uses the existing IP network </li></ul><ul><li>Is configured using the iSCSI initiator </li></ul><ul><li>Should use a dedicated NIC </li></ul><ul><li>Required for virtual machine failover clustering </li></ul>
  10. 10. Demonstration: Creating Virtual Hard Disks with the Virtual Disk Wizard <ul><li>In this demonstration , you will learn how to : </li></ul><ul><ul><li>Create a virtual disk with the Virtual Disk Wizard </li></ul></ul><ul><ul><li>Create a dynamic virtual disk </li></ul></ul><ul><ul><li>Create a fixed disk </li></ul></ul><ul><ul><li>Create a differencing virtual disk </li></ul></ul>
  11. 11. Demonstration: Inspecting and Editing Virtual Disks <ul><li>In this demonstration , you will learn how to: </li></ul><ul><ul><li>I ns pect and edit a virtual disk </li></ul></ul><ul><ul><li>Compact a virtual disk </li></ul></ul><ul><ul><li>Convert a virtual </li></ul></ul><ul><ul><li>Expand a virtual disk </li></ul></ul>
  12. 12. Lesson 2: Creating and Configuring Virtual Machines <ul><li>Settings for Virtual Machines </li></ul><ul><li>What Are the Components of a Virtual Machine? </li></ul><ul><li>Demonstration: Virtual Machine Wizard </li></ul><ul><li>Demonstration: Hyper-V Integration Settings </li></ul><ul><li>Exporting and Importing Virtual Machines in Hyper-V </li></ul><ul><li>Virtual Machine Installation Methods </li></ul><ul><li>Considerations for Migrating Legacy Virtual Machines </li></ul>
  13. 13. Settings for Virtual Machines Virtual Machine Settings
  14. 14. What Are the Components of a Virtual Machine? Virtual Machine components include: <ul><li>Memory </li></ul><ul><li>Network adapters </li></ul><ul><li>Virtual disks </li></ul>Default configuration options: <ul><li>Name: New Virtual Machine </li></ul><ul><li>Location: The default location configured for the Hyper-V server </li></ul><ul><li>Memory: 512 MB </li></ul><ul><li>Virtual hard disk: Dynamically expanding hard disk with a storage capacity of 127 GB </li></ul><ul><li>Operating system: No media specified </li></ul><ul><li>Network connection: Not connected </li></ul>
  15. 15. Demonstration: New Virtual Machine Wizard <ul><li>In this demonstration , you will learn how to use the new Virtual Machine Wizard to: </li></ul><ul><li>Name of a new virtual machine </li></ul><ul><li>Locate the default files and folders </li></ul><ul><li>Store the files in a different location </li></ul><ul><li>Set memory settings </li></ul><ul><li>Connect to the Private network </li></ul><ul><li>Select the differencing drive </li></ul>
  16. 16. Demonstration: Hyper-V Integration Settings <ul><li>In this demonstration , you will learn how to configure and install the integration services in a virtual machine </li></ul>
  17. 17. Exporting and Importing Virtual Machines in Hyper-V Originating Computer Exported Virtual Machine Destination Computer Imported Virtual Machine
  18. 18. Virtual Machine Installation Methods Install using CD/DVD Install from an .ISO Install from a boot floppy
  19. 19. Considerations for Migrating Legacy Virtual Machines Virtual Server 2005 Hyper-V Virtual Machine Additions Integration Services 1 2 3 4
  20. 20. Lesson 3: Managing Virtual Machine Snapshots <ul><li>What Are Hyper-V Virtual Machine Snapshots? </li></ul><ul><li>Design Considerations for using Virtual Machine Snapshots in Hyper-V </li></ul><ul><li>Implementing Snapshots in an Enterprise Environment </li></ul><ul><li>Demonstration: Using Snapshots in Hyper-V </li></ul>
  21. 21. What Are Hyper-V Virtual Machine Snapshots? Snapshots: <ul><li>Are a point-in-time copy of a virtual machine </li></ul><ul><li>Do not affect the running state of a virtual machine </li></ul>Snapshot files: <ul><li>Virtual machine configuration .XML file </li></ul><ul><li>Save state files </li></ul><ul><li>Differencing disk (.AVHD) </li></ul>
  22. 22. Design Considerations for Using Snapshots in Hyper-V Snapshots: <ul><li>Should not be used in production environments </li></ul><ul><li>Should be used in testing and training environments </li></ul><ul><li>May consume a significant amount of hard disk space </li></ul><ul><li>Can have unexpected results when deleted </li></ul>
  23. 23. Implementing Hyper-V Snapshots Manage snapshot options: <ul><li>Create Snapshot </li></ul><ul><li>View Snapshot </li></ul><ul><li>Snapshot Settings </li></ul><ul><li>Apply a Snapshot </li></ul><ul><li>Rename a Snapshot </li></ul><ul><li>Delete a Snapshot </li></ul><ul><li>Delete a Snapshot </li></ul><ul><li>Subtree </li></ul><ul><li>Revert </li></ul>
  24. 24. Demonstration: Using Snapshots in Hyper-V R2 <ul><li>In this demonstration , you will learn how to: </li></ul><ul><li>Take and manage a virtual machine snapshot </li></ul><ul><li>Create a snapshot </li></ul><ul><li>Revert to a previous snapshot </li></ul><ul><li>Merge snapshots </li></ul>
  25. 26. Lesson 4: Working with the Virtual Machine Connection Application <ul><li>Virtual Machine Connection Application </li></ul><ul><li>Demonstration: Managing the Virtual Machine Connection Application </li></ul>
  26. 27. Virtual Machine Connection Application Virtual Machine Connection: <ul><li>Is used to manage local or remote virtual machines </li></ul><ul><li>Is installed with Hyper-V or RSAT </li></ul><ul><li>Uses RDP on port 2179 </li></ul><ul><li>Uses the mstsc.exe Active X control </li></ul><ul><li>Requires the port 2179 open on Windows Firewall </li></ul>
  27. 28. Demonstration: Managing the Virtual Machine Connection Application <ul><li>In this demonstration , you will learn how to </li></ul><ul><li>Connect to a virtual machine </li></ul><ul><li>Manage the virtual machine </li></ul>
  28. 29. Lesson 5: Planning Virtualization for Applications <ul><li>Planning Hyper-V Hosts </li></ul><ul><li>Designing Virtual Machines: General Guidelines </li></ul><ul><li>Designing Virtual Machines for SQL Server </li></ul><ul><li>Designing Virtual Machines for Exchange Server </li></ul><ul><li>Designing Virtual Machines for SharePoint </li></ul>
  29. 30. Planning Hyper-V Hosts When planning Hyper-V hosts: <ul><li>Simplify and standardize the host platform </li></ul><ul><li>Consider using the Server Core installation option </li></ul><ul><li>Automate and standardize administration of the virtual server environment by: </li></ul><ul><ul><li>Standardizing the host and virtual server configuration </li></ul></ul><ul><ul><li>Implementing remote management solutions at the host server level </li></ul></ul><ul><ul><li>Implementing VMM </li></ul></ul>
  30. 31. Guidelines for Designing Virtual Machines Guidelines: <ul><li>Simplify and standardize the host platform </li></ul><ul><li>Plan virtual machines for specific server roles by: </li></ul><ul><ul><li>Monitoring the servers before virtualization </li></ul></ul><ul><ul><li>Configuring each virtual machine with a hardware configuration that is similar to the hardware required on a physical server </li></ul></ul><ul><li>Deploy Windows Server 2008 or Windows Server 2008 R2–based virtual machines whenever possible </li></ul><ul><li>Consider other options for ensuring physical server utilization </li></ul>
  31. 32. Designing Virtual Machines for SQL Server Guidelines: <ul><li>Ensure that the Hyper-V integration components are installed </li></ul><ul><li>To ensure adequate CPU capacity: </li></ul><ul><ul><li>Remember virtual machines are limited to four processors </li></ul></ul><ul><ul><li>Do not over-commit CPU resources </li></ul></ul><ul><ul><li>Remember networking-intensive workloads require more CPU capacity </li></ul></ul><ul><li>Plan virtual machine hardware settings to match physical server hardware </li></ul><ul><li>Use fixed-size disks and SCSI controllers for database and log file drives </li></ul>
  32. 33. Designing Virtual Machines for Exchange Server When designing virtual machines for Exchange Server: <ul><li>Use standard server sizing rules </li></ul><ul><li>Configure appropriate storage </li></ul><ul><li>Do not use virtual machine snapshots </li></ul><ul><li>Configure adequate CPU resources </li></ul><ul><li>Consider how to use Hyper-V and native Exchange Server high availability </li></ul><ul><li>Consider I/O requirements </li></ul>
  33. 34. Designing Virtual Machines for SharePoint When designing virtual machines for SharePoint: <ul><li>Configure virtual machine hardware like physical server hardware </li></ul><ul><li>Do not take snapshots of virtual servers </li></ul><ul><li>Avoid over-committing the virtual CPUs </li></ul><ul><li>Consider deploying all of the servers in a server farm on a single physical server </li></ul><ul><li>Assign adequate memory </li></ul><ul><li>Use only Internet Protocol Version 4 (IPv4) </li></ul><ul><li>Choose the right storage implementation for the SharePoint server role </li></ul>
  34. 35. L ab : Creating Virtual Hard Disks and Virtual Machines <ul><li>Exercise 1 : Creating Virtual Hard Disks Based on Organizational Requirements </li></ul><ul><li>Exercise 2 : Creating New Virtual Machines Using the Virtual Machine Wizard </li></ul><ul><li>Exercise 3 : Modifying Virtual Machine Settings </li></ul><ul><li>Exercise 4: Creating and Applying Virtual Machine Snapshots </li></ul>Logon information Estimated time: 60 minutes Virtual machine NYC-Host1, NYC-Host2   User name Administrator Password Pa$$w0rd
  35. 36. Lab Scenario <ul><li>Contoso, Ltd. has decided to introduce virtualization into their IT environment. They want to reduce their expenditures for hardware and power for the data center. The company has started deploying Hyper-V host computers running on Windows Server 2008 R2. You now need to create several virtual machines on the host computers . </li></ul>
  36. 37. Lab Review <ul><li>How will you use snapshots in your organization ? </li></ul><ul><li>Do you have a standard design for virtual machines in your organization? </li></ul>
  37. 38. Module Review and Takeaways <ul><li>Review Questions </li></ul><ul><li>Common Issues and Troubleshooting Tips </li></ul><ul><li>Real-world Issues and Scenarios </li></ul><ul><li>Best Practices </li></ul><ul><li>Tools </li></ul>

×