Your SlideShare is downloading. ×
0
Lessons On Hyper V
Lessons On Hyper V
Lessons On Hyper V
Lessons On Hyper V
Lessons On Hyper V
Lessons On Hyper V
Lessons On Hyper V
Lessons On Hyper V
Lessons On Hyper V
Lessons On Hyper V
Lessons On Hyper V
Lessons On Hyper V
Lessons On Hyper V
Lessons On Hyper V
Lessons On Hyper V
Lessons On Hyper V
Lessons On Hyper V
Lessons On Hyper V
Lessons On Hyper V
Lessons On Hyper V
Lessons On Hyper V
Lessons On Hyper V
Lessons On Hyper V
Lessons On Hyper V
Lessons On Hyper V
Lessons On Hyper V
Lessons On Hyper V
Lessons On Hyper V
Lessons On Hyper V
Lessons On Hyper V
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

Lessons On Hyper V

1,769

Published on

Some things to watch out for when evaluating or deploying Hyper-V for the first time.

Some things to watch out for when evaluating or deploying Hyper-V for the first time.

Published in: Technology
1 Comment
1 Like
Statistics
Notes
No Downloads
Views
Total Views
1,769
On Slideshare
0
From Embeds
0
Number of Embeds
2
Actions
Shares
0
Downloads
0
Comments
1
Likes
1
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

Transcript

  • 1. Hyper-V: The Lessons Learned Aidan Finn Systems and Infrastructure Manager MCSE, MVP (SCCM 2007) C Infinity
  • 2. <ul><li>Introduction. </li></ul><ul><li>Why we adopted Hyper-V. </li></ul><ul><li>Clearing up the Fear, Uncertainty and Doubt. </li></ul><ul><li>Things I learned along the journey. </li></ul><ul><li>Lot’s and lots of little nuggets of information. </li></ul>Agenda
  • 3. <ul><li>Aidan Finn </li></ul><ul><li>MCSE, MVP (SCCM 2007) </li></ul><ul><li>Systems and Infrastructure Manager </li></ul><ul><li>C Infinity </li></ul><ul><li>Managed Hosting Services </li></ul><ul><li>Secure Online Backup </li></ul>Introduction
  • 4. <ul><li>Enable our clients to get a professional online presence. </li></ul><ul><li>Provide an optimised infrastructure. </li></ul><ul><li>Allow the client to focus on what they do best. </li></ul><ul><li>Reduce Operating Costs. </li></ul>Managed Hosting Services
  • 5. <ul><li>Rack space </li></ul><ul><li>Electricity </li></ul><ul><li>Air Conditioning </li></ul><ul><li>Licensing </li></ul><ul><li>Carbon Footprint </li></ul><ul><li>It sounds like Server Virtualisation is needed! </li></ul>It’s All About Operating Costs
  • 6. <ul><li>You probably already know this: </li></ul><ul><li>Run many virtual machines on fewer hosts . </li></ul><ul><li>Products from Microsoft (Hyper-V), VMware (ESX), Citrix (Xen) and many others. </li></ul><ul><li>We’re going to focus on Hyper-V. </li></ul><ul><li>We’ll skip the basics – you’ve probably heard them already. </li></ul>Server Virtualisation
  • 7. <ul><li>Everyone is an “expert” on the Internet: </li></ul><ul><li>Blogs </li></ul><ul><li>Forums </li></ul><ul><li>YouTube </li></ul><ul><li>VMware! </li></ul><ul><li>Beware the F.U.D! </li></ul>Beware What You Read or Watch
  • 8. <ul><li>I need to preface the next section by saying ... </li></ul><ul><li>I do like VMware Virtual Infrastructure. </li></ul><ul><li>I was a happy VMware customer. </li></ul><ul><li>Now, back to our regularly scheduled programming. </li></ul>Before We Go Any Further
  • 9. <ul><li>“ Hyper-V is just Virtual Server” </li></ul><ul><li>False </li></ul><ul><li>It’s a true hypervisor that runs at ring -1 </li></ul><ul><li>“ Hyper-V is not an enterprise level product” </li></ul><ul><li>False </li></ul><ul><li>It competes directly against ESX Enterprise and features high levels of performance, reliability and clustering. </li></ul>FUD
  • 10. <ul><li>“ Hyper-V can only have Windows guests” </li></ul><ul><li>False </li></ul><ul><li>SUSE has MS supported integration services. Other Xen Linux platforms can run on it. We can expect further official support soon. </li></ul><ul><li>“ You cannot have SCSI disks in Hyper-V” </li></ul><ul><li>False </li></ul><ul><li>It features a non-emulates SCSI driver that runs on the VM Bus. </li></ul>Episode II – The FUD Strikes Back
  • 11. <ul><li>“ ESXi is just like Hyper-V” </li></ul><ul><li>False </li></ul><ul><li>ESXi is incapable of on-server management because it has no parent/host OS. </li></ul><ul><li>“ ESX features more management” </li></ul><ul><li>FALSE </li></ul><ul><li>ESX features the same level of management as Hyper-V. VMware Virtual Centre requires additional licensing, just like SC VMM 2008. </li></ul>Episode III – Return of the FUD
  • 12. <ul><li>“ The free version of ESXi is VMware’s answer to Hyper-V”. </li></ul><ul><li>False. </li></ul><ul><li>The free ESXi product doesn’t offer clustering. It can only be compared to Hyper-V on W2008 Standard. </li></ul><ul><li>“ There’s no VMotion so it’s not enterprise ready”. </li></ul><ul><li>Ugh! </li></ul><ul><li>Just how long has ESX had VMotion? Hyper-V does feature Quick Migration. See R2 for Live Migration. </li></ul>Episode IV – Adrian’s Revenge!
  • 13. <ul><li>“ Quick Migration means that the VM is offline for ages” </li></ul><ul><li>False </li></ul><ul><li>That famous video featured an incorrectly configured VM. 1GB RAM: 9 seconds. 29GB RAM: 70 seconds. </li></ul>There’s More FUD?!?!?
  • 14. <ul><li>Windows Server 2008 x64 only. </li></ul><ul><li>Standard, Enterprise or Datacenter Edition? </li></ul><ul><li>Core or Full Installation? </li></ul><ul><li>Q)Is there a “Windows Server 2008 Hyper-V Edition”? </li></ul><ul><li>A) There will be. It will a free download: “Hyper-V Server”. </li></ul>Choosing Your Host OS
  • 15. <ul><li>Is it on the W2008 HCL? </li></ul><ul><li>X64 processors with DEP and virtualisation assistance. </li></ul><ul><li>Make sure the BIOS allows you to enable those features. </li></ul><ul><li>Check with the hardware manufacturer. </li></ul><ul><li>Hyper-V can run on desktops and laptops. </li></ul><ul><li>Wifi not supported - http://tinyurl.com/5p9yq8 </li></ul>Choosing Your Server Hardware
  • 16. <ul><li>Worst case scenario! </li></ul><ul><li>The Parent Partition: </li></ul><ul><li>Reserve 2GB for the OS. </li></ul><ul><li>Allow RAM for parent OS drivers. </li></ul><ul><li>Allow 300MB for Hyper-V. </li></ul><ul><li>Each VM: </li></ul><ul><li>32MB for the first 1GB RAM. </li></ul><ul><li>8MB for each additional GB RAM. </li></ul>How Much RAM?
  • 17. <ul><li>Preferably a Fibre Channel SAN </li></ul><ul><li>iSCSI shared storage </li></ul><ul><li>DAS – now we lose Quick Migration </li></ul><ul><li>Internal Storage </li></ul><ul><li>File Share – leverage the “next generation TCP stack”, SMBv2 and TOE. </li></ul><ul><li>Usual rules apply on RAID1 and RAID5. </li></ul>Choosing Your Storage
  • 18. <ul><li>Quick Formula Per VM: </li></ul><ul><li>Virtual Disk Size, e.g. 50GB </li></ul><ul><li>RAM Amount, e.g. 2GB </li></ul><ul><li>Free Space, e.g. 10% </li></ul><ul><li>= (50+2)*1.1 = 57.2 or 58GB. </li></ul><ul><li>Allow more if you need snapshots or use dedicated storage. </li></ul>How Much Storage
  • 19. <ul><li>Build clusters of hosts using W2008 clustering. </li></ul><ul><li>Build a cluster in 20 minutes. </li></ul><ul><li>Cluster the VM VS cluster the host. http://tinyurl.com/6cul23 </li></ul><ul><li>Use GUID/”Letterless” drives. </li></ul><ul><li>Naming standards for LUN, volume name, VM, and cluster group/resources. </li></ul>VM Fault Tolerance
  • 20. <ul><li>VM’s connect to the network via a Virtual Switch. </li></ul><ul><li>A Virtual switch is mapped to a host machine NIC. </li></ul><ul><li>You should have at least 2 NIC’s in the host. </li></ul><ul><li>Might be best with 4 or more: Parent (1), clustering (1), Virtual Network(2). </li></ul><ul><li>3 types of virtual network: External, Internal and Private. Be careful: Internal and Private do not span hosts. </li></ul><ul><li>No native NIC teaming in the virtual switch. As before, we rely on the OEM teaming driver. No support yet from the OEM’s. </li></ul>Networking
  • 21. <ul><li>VLAN tagging on the virtual network or on the VM. </li></ul><ul><li>Buggy drivers: </li></ul><ul><li>Broadcom/HP NC 373i – set the NIC to a non zero VLAN ID. </li></ul><ul><li>HP NC326m – don’t tag it using HP NCU! </li></ul><ul><li>Intel - HKLMSYSTEMCurrentControlSetControlClass{GUID}XXXXVlanFiltering = 0 </li></ul>Multiple VLAN’s
  • 22. <ul><li>Hyper-V RTM is a free download. DO NOT USE THE BINARIES ON THE W2008 MEDIA! </li></ul><ul><li>Install KB951308 after installing Hyper-V on hosts and management. </li></ul><ul><li>Deploy by hand: For a few hosts. </li></ul><ul><li>Deploying using unattended: Slipstream Hyper-V using WAIK and deploy using WDS. </li></ul><ul><li>SYSPREP: Requires some post install work - http://tinyurl.com/6xjq65. </li></ul>Deploying Hosts
  • 23. <ul><li>IDE or SCSI? </li></ul><ul><li>Dynamically Expanding, Fixed Size, Differencing or Pass-Through*? </li></ul><ul><li>Virtual Disk: Snapshots, differencing, dynamically expanding. 2TB limit per disk. 4 IDE or 256 SCSI per VM. </li></ul><ul><li>Pass-Through: Up to 256TB. No virtual disk features. 4 IDE or 256 SCSI per VM. </li></ul>VM Disks
  • 24. <ul><li>Integration Services allow advanced VM management. </li></ul><ul><li>One feature is Data Exchange: Allows very limited registry access between host and guest. </li></ul><ul><li>Can be disabled by clearing the Data Exchange tick box in the VM. </li></ul><ul><li>PSS say that disabling this has no negative effect on SCVMM 2008. </li></ul>Integration Services – Data Exchange
  • 25. <ul><li>SYSPREP as usual </li></ul><ul><li>Export, copy folder and Import VM’s. </li></ul><ul><li>PXE Boot via Legacy Network connection only. </li></ul><ul><li>Watch out – you can only import a VM that has been explicitly exported. There is no “File Open”  </li></ul>Deploying VM’s
  • 26. <ul><li>Be careful if you install AV on the parent partition. </li></ul><ul><li>Do not scan the VM files: Hyper-V cannot load VM’s if the files are being used by another process. </li></ul><ul><li>This means do not scan the XML or the VHD files ... I wouldn’t even install agents on the parent partition OS. </li></ul>Anti-Virus
  • 27. <ul><li>PowerShell. You’ll want to learn it. Get to where all VM creation is scripted. Store those scripts for DR. </li></ul><ul><li>System Center Virtual Machine Manager 2008. </li></ul><ul><li>System Center Operations Manager 2007 SP1. </li></ul><ul><li>Integration via Performance and Resource Optimization (PRO). </li></ul>Advanced Management
  • 28. <ul><li>Easier VM deployment on a cluster. </li></ul><ul><li>Easier delegation VS Authorisation Manager </li></ul><ul><li>Manage VMware Virtual Center! </li></ul>VMM 2008
  • 29. <ul><li>Evaluate your infrastructure to see if virtualisation will reduce cost of ownership, increase flexibility and simplify administration. </li></ul><ul><li>Compare not just the virtualisation products, but also their management and how it integrates. </li></ul><ul><li>Don’t trust others, try the products out in a lab. </li></ul><ul><li>Document what you learn for your production deployment. </li></ul>Wrapping Up
  • 30. <ul><li>Aidan Finn </li></ul><ul><li>[email_address] </li></ul><ul><li>http://www.cinfinity.ie </li></ul><ul><li>Windows Server 2008 User Group Ireland </li></ul><ul><li>http://ws-ugi.spaces.live.com </li></ul><ul><li>Happy to answer further questions later! </li></ul>The End

×