MVUG- From Zero to Hero on Hyper V R2- Part1

2,055 views

Published on

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
2,055
On SlideShare
0
From Embeds
0
Number of Embeds
409
Actions
Shares
0
Downloads
32
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide
  • Good morning everyone,Welcome to MVUG Part 1- From Zero to Hero on Hyper V R2.Let me introduce myself, my name Lai . I’m a MVP on Virtual Machine and I’m one of the founder for MVUG.
  • Alright . . . so what is Windows Virtualization?Let look into how we normally deploy app. We tend buy a server and then you install an app. This is an on going process, and without you realise you have buy a lot of server. When you do assessment, you will find out that most of the server is underutilize, which is running only 10- 20%.
  • 1970 –IBM is 1st company who introduce virtualizationMicrosoft start look into virtualization when they bought over Connectix and releasing 2 products.Virtual Pc is the desktop virtualization product. And in 2009, Microsoft release Virtual Pc for Win7 which require hardware virtualization. As time pass by, Microsoft receive a lot of feedback from consumer on running Virtual Pc without H/w Virtualization. So on this year March 2010, an update is release to run Virtual Pc without h/w virtualization technologies.On Server Virtualization, this is where Virtual Server is release. Virtual Server is a Type 2 hypervisor which need to run on top of OS and on my perspective it is an application. On year 2008, Microsoft start to release type 1 hypervisor which called Hyper V. Last year, Microsoft add more enhancement and came out with Hyper V R2 which is the current version which I’m going to cover in this webcast.More good news, on 1st half of 2011 – Microsoft will release more feature for Virtualization on SP1.
  • Title: Hypervisor Design GoalsTalking Points:VSP = Virtualization Service ProvidersVSC = Virtualization Service ClientsThe hypervisor instance must have at least one Parent or Root partition Parent partition is responsible for: Managing and assigning hardware resources. Power management, plug and play, and hardware failure events Creating and managing other partitions Loading and starting the hypervisor.Windows Vista SP1 and Windows Server 2008 include enlightenments and are able to detect the presence of a hypervisor at run time. These changes are built into the Kernel and the HAL components for both performance optimization and functional enhancements. Virtualization Solutions traditionally emulate legacy devices for their guests.
  • In this slide, I’m going to discuss about virtualization right for guest VM.Free edition Hyper V – do not have virtualization right license. For each VM, you need to buy each license. I normally use Hyper V free edition when I want to perform Virtual standby (backup) or P2V older operating system with you have license.Windows Server 2008 Std Edition – allow you to install 1 instance of operating system.Windows Server 2008 Ent Edition – allow you to install 4 instance of operating systemWindows Server 2008 Datacenter – allow you to install unlimited VM.Let look into scenario:-OS for guest VM – Std allow you to install only Std Edition OS, Ent allow you to install either Std/ Enterprise Edition.Linux OS as guest VM. As we all know, linux is open source but in Microsoft Virtualization right, example I take Ent edition. So 4-1 =3Malaysia best practice is install roles such as DC in parent partition. In virtualization right is 4-1 =3 allowed guest VM.Microsoft recommendation is do not install other roles into Hyper V host machine. The reason is not because of the virtualization right license but because other roles will share and use the resource which will impact the performance of the VM.d) What happen if you exceed the VM virtualization license installed. Example: Ent edition, you install 6 VM, you just need to buy 2 additional license.For more further info about license, feel free to contact Microsoft.
  • Support for more logical processorsUp to 8 socket system with 8 cores/socketUp to 64 logical processors (8 cores x 8 CPUs)Support for more concurrent VMsUp to 384 powered -on VMs (6 VMs x 64 logical processors)Support for more virtual processorsUp to 512 virtual processors (8 virtual processors x 64 logical processors)Up to 4 virtual processor allocation per virtual machineVM Example (assuming 64 logical processors & lots of RAM)128 VMs with 4 virtual processors (maxes out 512 virtual processors)384 VMs with 1 virtual processor (maxes out 384 virtual machines)300 VMs with 1 virtual processor and 53 VMs with 4 virtual processors (maxes out 512 virtual processors)
  • In Part 1, we will run through a bit of history of how machine virtualization started in MS. Very quickly this takes us to the present with Hyper-V R1 and R2 for both the totally free version, MS Hyper-V Server 2008 and 2008 R2 and the Windows Hyper-V versions. Hyper-V overview and architecture will also be covered and then key capabilities with a whole series of demos.2. From Zero to Hero on Hyper-V R2 part 2 - 75 minutesThe second part, allows us to focus on installation and configuration. We will also provide some understanding on the Authorization Manager which governs the heart of authorization and access to Hyper-V.
  • MVUG- From Zero to Hero on Hyper V R2- Part1

    1. 1. From Zero to Hero on Hyper-V R2-Part 1-<br />Lai YoongSeng<br />MVP : Virtual Machine | www.ms4u.info<br />MVUG<br />
    2. 2. Virtualization Overview<br />Virtualization Roadmap<br />Agenda<br />Hyper V Requirement<br />Hyper V Edition<br />Key Capabilities<br />Microsoft<br />Windows Server 2008 R2<br />Hyper-V<br />
    3. 3. Virtualization Overview<br />Operating System<br />Hyper-V<br />Application 2<br />VM3<br />Operating System<br />Application 1<br />Operating System<br />Application 1<br />VM2<br />Operating System<br />Application 2<br />Physical Server<br />Operating System<br />VM1<br />Application 3<br />Operating System<br />Application 3<br />PhysicalServer<br />Physical Server<br />Physical Server<br />3<br />
    4. 4. Server Virtualization Roadmap<br />2009<br />March ‘10<br />Desktop<br />Virtualization<br /> DATACENTER MANAGEMENT<br /> monitor | configure | virtualize | P2V | V2V<br />Virtual PC<br />Server<br />Virtualization<br />1970<br />2005<br />Virtual Server <br />2005 R2 Sp1<br />2008<br />Hyper V R2<br />2007<br />Windows Server <br />2008 R2 SP1 (New)<br />2009<br />2011<br />2007<br />
    5. 5. Type 2 Hypervisor<br />5<br />Type 2 Hypervisor (Host-based Architecture)<br />Runs within an operating system<br />Guest OS’s run at the third level above hardware<br />Additional layer creates performance overhead<br />Virtual Server/PC<br />VMWare GSX server<br />
    6. 6. Type 1 Hypervisor<br />6<br />Type 1 Hypervisor (Bare-Metal Architecture)<br />Runs directly on hardware platform as a Control Program<br />Guest OS’s run above hypervisor<br />Benefits<br />Executes directly with hardware<br />Performance<br />Availability<br />Security<br />
    7. 7. Windows Server VirtualizationArchitecture<br />Child Partitions<br />ParentPartition<br />VM WorkerProcess<br />Applications<br />Applications<br />Applications<br />Virtualization Stack<br />WMI Provider<br />User Mode<br />VM Service<br />Windows Server 2003, 2008<br />Windows Server 2008<br />Non-Hypervisor Aware OS<br />Xen-enabled Linux Kernel<br />Linux VSCs<br />Windows Kernel<br />Windows Kernel<br />VSP<br />OS Kernel<br />VSC<br />Hypercall Adapter<br />Kernel Mode<br />VMBus<br />Emulation<br />VMBus<br />VMBus<br />Windows Hypervisor<br />AMD-V,<br />Intel VT Chipset<br />“Designed for Windows” Server Hardware<br />MS / XenSourceNovell<br />Windows Server Virtualization<br />ISV/IHV/OEM<br />OS<br />
    8. 8. Hyper V Requirements<br />What is Windows Virtualization?<br />What are the Requirements?<br />Windows Server 2008 R2x64 Editions<br />Hardware assisted virtualization<br />AMD-V or Intel VT<br />Hardware enabled Data Execution Prevention (DEP) <br />AMD (NX no execute bit)<br />Intel (XD execute disable)<br />Hypervisor based virtualization platform<br />Windows Server 2008 x64 Edition technology<br />Standards based<br />
    9. 9. BIOS settings<br />
    10. 10. Intel Processor Verification<br /><ul><li>Check out :- http://ark.intel.com/VTList.aspx
    11. 11. Virtualization identification tool:- </li></ul>http://downloadcenter.intel.com/Detail_Desc.aspx?agr=N&ProductID=1881&DwnldID=7838 <br />
    12. 12. AMD Processor Verification<br /><ul><li> AMD Opteron Processor
    13. 13. Tool :-</li></ul>http://support.amd.com/us/Pages/dynamicDetails.aspx?ListID=c5cd2c08-1432-4756-aafa-4d9dc646342f&ItemID=177 <br />
    14. 14. Other Identification Tool<br /><ul><li>Securable
    15. 15. Get it from http://www.grc.com/files/securable.exe</li></li></ul><li>Supported Guest Operating System<br />More detail:- <br />http://www.microsoft.com/windowsserver2008/en/us/hyperv-supported-guest-os.aspx<br />
    16. 16. What’s Different?<br />
    17. 17. Hyper-V Server 2008 R2 vs. Windows Server 2008 R2<br />
    18. 18. Hyper V Edition<br />
    19. 19. Key Capabilities<br />17<br />
    20. 20. Windows Server 2008 R2 Server Core Parking<br />Overview<br />Scheduling virtual machines on a single server for density as opposed to dispersion<br />This allows “park/sleep” cores by putting them in deep C states<br />Benefits<br />Significantly enhances Green IT by being able to reduce power required for CPUs<br />
    21. 21. Core Parking<br />
    22. 22. Core Parking<br />Processor is “parked”<br />Processor is “parked”<br />
    23. 23. Second Level Address Translation (SLAT)New Processor Feature Support<br />Overview<br />Uses new processor features to improve performance and reduce load on Windows Hypervisor<br />AMD: Nested Page Tables (NPT)<br />Intel: Extended Page Tables (EPT)<br />Benefits<br />Improve memory management performance<br />Reduce in memory copies<br />Memory usage will decrease from ~5% to 1% of total physical memory<br />Most improvement with large working sets (TS/SQL)<br />
    24. 24. Jumbo Frame Support<br />Overview<br />Enables 6x larger payload per packet<br />Ethernet frames >1,500 bytes<br />Ad hoc standard is ~9k<br />Benefits<br />Improves throughput<br />Reduce CPU utilization of large file transfers<br />
    25. 25. Live Migration<br />Overview<br />Moving a virtual machine from one server to another without loss of service<br />Benefits<br />Enables new scenarios<br />Load balancing VMs for power<br />Load balancing VMs for CPU<br />Upgrade of host hardware and maintenance <br />
    26. 26. Cluster Shared Volumes<br />NEW Cluster Shared Volumes (CSV) in Windows Server 2008 R2<br />Overview<br />CSV provides a single consistent file name space; All Windows Server 2008 R2 Server servers see the same storage<br />Benefits<br />Easy setup; Uses NTFS<br />No reformatting SANs<br />Create one big data store<br />No more drive letter problems<br />Existing tools just work<br />Highly recommended for live migration scenarios<br />
    27. 27. Hot Add/Remove Storage<br />Overview<br />Add and remove VHD and pass-through disks to a running VM without requiring a reboot. <br />Hot-add/remove disk applies to VHDs and pass-through disks attached to the virtual SCSI controller<br />Benefits<br />Enables storage growth in VMs without downtime<br />Enables additional datacenter backup scenarios<br />Enables new SQL/Exchange scenarios<br />
    28. 28. Processor Compatibility Mode<br />Overview<br />Allows live migration across different CPU versions within the same processor family (i.e. Intel-to-Intel and AMD-to-AMD).<br />Does NOT enable cross platform from Intel to AMD or vice versa.<br />Configure compatibility on a per-VM basis.<br />Abstracts the VM down to the lowest common denominator in terms of instruction sets available to the VM. <br />VM NOT in Processor compatibility mode<br />VM in Processor compatibility mode<br />VM sees <br />processor features: X,Y,Z<br />VM sees <br />processor features: X,Y<br />Migration fails<br />Migration succeeds<br />Physical Processor <br />features: X,Y,Z<br />Physical Processor <br />features: X,Y<br />Physical Processor <br />features: X,Y<br />Physical Processor <br />features: X,Y,Z<br />Host B<br />Host B<br />Host A<br />Host A<br />
    29. 29. Demo<br /><ul><li>Securable
    30. 30. Core Parking
    31. 31. Hot Add/Remove Storage
    32. 32. Processor Compatibility Mode
    33. 33. Jumbo Frame</li></li></ul><li>Summary<br />Describe about Virtualization Overview<br />Roadmap on Microsoft Virtualization<br />Requirement, Architecture, Identification<br />Hyper V Edition<br />Key Capabilities<br />Microsoft<br />Windows Server 2008 R2<br />Hyper-V<br />
    34. 34. Q&A<br />Questions & Answers<br />
    35. 35. Resources<br />MVUG (Malaysia Virtualization User Group) – Join us !<br />http://www.facebook.com/group.php?gid=216237734803 @ Search “MVUG” in Facebook<br />Lai’s Blog –Virtualization & System Center related, etc<br />http://www.ms4u.info <br />Virtualization with Hyper V R2<br />http://www.microsoft.com/windowsserver2008/en/us/hyperv-main.aspx<br />
    36. 36. Related Content<br />Full on Demo on Settings up High Availability Virtual Machine<br />Thursday 23 Sept 2010<br />11.30 – 12.30 am<br />IT Pro Track @ TechInsight Penang (USM)<br />Planning and What’s New in Windows Server 2008 R2 SP1 for Virtualization Session<br />Friday 24 Sept 2010<br />11.30 – 12.30 am<br />IT Pro Track @ TechInsight Penang (USM)<br />Check out :- http://www.techinsights.my/<br />
    37. 37. What’s next ?<br />From Zero to Hero on Hyper-V R2 :- Part 2<br />The second part, allows us to focus on installation and configuration. <br />Stay Tuned !<br />

    ×