Virtualization of SharePoint 2010<br />Michael Noel<br />Convergent Computing<br />Twitter: MichaelTNoel<br />
Michael Noel<br /><ul><li>Author of SAMS Publishing titles “SharePoint 2010 Unleashed,” “SharePoint 2007 Unleashed,” “Shar...
Partner at Convergent Computing (www.cco.com / +1(510)444-5700) – Bay Area based Infrastructure/Security specialists for S...
SharePoint 2010 Virtualization Guidelines and Models
Virtualization of SharePoint Roles
Virtualization of SQL Server
Memory Limitations and Guidelines for Guests
Performance Monitoring for Virtual Machines
Microsoft Virtualization Software Options
Windows Server 2008 Hyper-V
System Center Virtual Machine Manager 2008
Third Party Virtualization Product Support
Microsoft Licensing for Virtual Servers</li></li></ul><li>Why Virtualize?<br />
Why Virtualize?<br />
SharePoint 2010 Virtualization Guidelines<br />
Virtual Host Guidelines<br />
SP2010 Role Virtualization<br />
SharePoint Guest Guidelines<br />
SharePoint Role VM Guidelines<br />
SQL Server VM Guidelines<br />
SharePoint 2010 Virtualized Farm Architecture<br />
Virtualized Farm ArchitectureCost-effective Virtual Environment / No HA<br /><ul><li>Allows Organizations that wouldn’t no...
Allows for separation of the database role onto a dedicated server
Can be more easily scaled out in the future</li></li></ul><li>Virtualized Farm ArchitectureCost-effective Virtual Environm...
Virtualized Farm ArchitectureHighly Available Farm with only Two Servers<br /><ul><li>High-Availability across Hosts
All components Virtualized
Uses only two Windows Ent Edition Licenses</li></li></ul><li>Virtualized Farm ArchitectureHighly Available Farm with only ...
Virtualized Farm ArchitectureBest Practice Virtual/Physical with HA/Perf<br /><ul><li>Highest transaction servers are phys...
Multiple farm support, with DBs for all farms on the SQL cluster</li></li></ul><li>Virtualized Farm ArchitectureLarge Virt...
NUMA Memory Guidelines<br />
NUMA Memory Limitations and Guidelines<br /><ul><li>Non-Uniform Memory Access (NUMA) Boundaries exist at the hardware level.
Virtual guests that are allocated more memory than exist within a single NUMA memory boundary have significantly impacted ...
NUMA boundaries vary by processor and motherboard vendor, but good rule of thumb to calculate boundaries is to divide the ...
i.e. Dual Quad-core host (2x4 cores = 8 cores) with 64GB of RAM on the host would mean NUMA boundary is 64/8 or 8GB.
In this example, allocating more than 8GB for a single guest session would result in performance drops.</li></li></ul><li>...
This applies to any Virtualization platform, as the limitation is hardware specific.  NUMA allocation specifics will vary ...
Refer to MS Whitepaper on Virtualization of SharePoint (http://tinyurl.com/virtualsp) for more specifics.</li></li></ul><l...
NUMA Example: 2x Quad Core, 8GB RAM<br />Proc 1<br />Proc 2<br />
Virtualization Performance Monitoring<br />
Virtualization Performance MonitoringCollect Performance Data<br /><ul><li>Manually with Perfmon counters
Collect data over a week minimum to look for trends throughout the week
Consider using System Center Operations Manager 2007 R2 for long-term performance analysis and threshold alerting</li></li...
Virtualization Performance MonitoringPerformance Counters and Thresholds on Guests<br />Network Bandwidth – Virtual NIC By...
Available Memory </li></ul>  - 50% and above = Good<br />  - 10%-50% = OK<br />  - <10% = Trouble<br /><ul><li>Disk – Avg....
SharePoint Virtualization Support<br />
Microsoft Support of SharePoint Virtualization<br /><ul><li>Microsoft’s official SharePoint support stance is that any Sha...
Upcoming SlideShare
Loading in...5
×

SharePoint 2010 Virtualization - SharePoint Saturday East Bay 2010

1,167

Published on

0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
1,167
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
26
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

SharePoint 2010 Virtualization - SharePoint Saturday East Bay 2010

  1. 1. Virtualization of SharePoint 2010<br />Michael Noel<br />Convergent Computing<br />Twitter: MichaelTNoel<br />
  2. 2. Michael Noel<br /><ul><li>Author of SAMS Publishing titles “SharePoint 2010 Unleashed,” “SharePoint 2007 Unleashed,” “SharePoint 2003 Unleashed”, “Teach Yourself SharePoint 2003 in 10 Minutes,” “Windows Server 2008 R2 Unleashed,” “Exchange Server 2010 Unleashed”, “ISA Server 2006 Unleashed”, and many other titles .
  3. 3. Partner at Convergent Computing (www.cco.com / +1(510)444-5700) – Bay Area based Infrastructure/Security specialists for SharePoint, AD, Exchange, Security</li></li></ul><li>What we will cover<br /><ul><li>Why Virtualize?
  4. 4. SharePoint 2010 Virtualization Guidelines and Models
  5. 5. Virtualization of SharePoint Roles
  6. 6. Virtualization of SQL Server
  7. 7. Memory Limitations and Guidelines for Guests
  8. 8. Performance Monitoring for Virtual Machines
  9. 9. Microsoft Virtualization Software Options
  10. 10. Windows Server 2008 Hyper-V
  11. 11. System Center Virtual Machine Manager 2008
  12. 12. Third Party Virtualization Product Support
  13. 13. Microsoft Licensing for Virtual Servers</li></li></ul><li>Why Virtualize?<br />
  14. 14. Why Virtualize?<br />
  15. 15. SharePoint 2010 Virtualization Guidelines<br />
  16. 16. Virtual Host Guidelines<br />
  17. 17. SP2010 Role Virtualization<br />
  18. 18. SharePoint Guest Guidelines<br />
  19. 19. SharePoint Role VM Guidelines<br />
  20. 20. SQL Server VM Guidelines<br />
  21. 21. SharePoint 2010 Virtualized Farm Architecture<br />
  22. 22. Virtualized Farm ArchitectureCost-effective Virtual Environment / No HA<br /><ul><li>Allows Organizations that wouldn’t normally be able to have a test environment to run one
  23. 23. Allows for separation of the database role onto a dedicated server
  24. 24. Can be more easily scaled out in the future</li></li></ul><li>Virtualized Farm ArchitectureCost-effective Virtual Environment / No HA<br />
  25. 25. Virtualized Farm ArchitectureHighly Available Farm with only Two Servers<br /><ul><li>High-Availability across Hosts
  26. 26. All components Virtualized
  27. 27. Uses only two Windows Ent Edition Licenses</li></li></ul><li>Virtualized Farm ArchitectureHighly Available Farm with only Two Servers<br />
  28. 28. Virtualized Farm ArchitectureBest Practice Virtual/Physical with HA/Perf<br /><ul><li>Highest transaction servers are physical
  29. 29. Multiple farm support, with DBs for all farms on the SQL cluster</li></li></ul><li>Virtualized Farm ArchitectureLarge Virtual Farms<br />
  30. 30. NUMA Memory Guidelines<br />
  31. 31. NUMA Memory Limitations and Guidelines<br /><ul><li>Non-Uniform Memory Access (NUMA) Boundaries exist at the hardware level.
  32. 32. Virtual guests that are allocated more memory than exist within a single NUMA memory boundary have significantly impacted performance
  33. 33. NUMA boundaries vary by processor and motherboard vendor, but good rule of thumb to calculate boundaries is to divide the amount of memory in the system by the total number of cores.
  34. 34. i.e. Dual Quad-core host (2x4 cores = 8 cores) with 64GB of RAM on the host would mean NUMA boundary is 64/8 or 8GB.
  35. 35. In this example, allocating more than 8GB for a single guest session would result in performance drops.</li></li></ul><li>NUMA Memory Limitations and Guidelines<br /><ul><li>Keeping NUMA boundaries in mind, this means that you will get significantly better performance provisioning two SharePoint front-ends with half the amount of RAM as a single front-end with twice as much RAM.
  36. 36. This applies to any Virtualization platform, as the limitation is hardware specific. NUMA allocation specifics will vary by vendor, however.
  37. 37. Refer to MS Whitepaper on Virtualization of SharePoint (http://tinyurl.com/virtualsp) for more specifics.</li></li></ul><li>NUMA Example: 2x Quad Core, 64GB RAM<br />Proc 1<br />Proc 2<br />
  38. 38. NUMA Example: 2x Quad Core, 8GB RAM<br />Proc 1<br />Proc 2<br />
  39. 39. Virtualization Performance Monitoring<br />
  40. 40. Virtualization Performance MonitoringCollect Performance Data<br /><ul><li>Manually with Perfmon counters
  41. 41. Collect data over a week minimum to look for trends throughout the week
  42. 42. Consider using System Center Operations Manager 2007 R2 for long-term performance analysis and threshold alerting</li></li></ul><li>Virtualization Performance MonitoringPerformance Counters and Thresholds on Hosts<br />Network Bandwidth – Bytes Total/sec<br /><40% Utilization = Good<br />41%-64% = Caution<br />>65% = Trouble<br />Network Latency - Output Queue Length<br />0 = Good<br />1-2= OK<br />>2 = Trouble<br /><ul><li>Processor</li></ul> - <60% Utilization = Good<br /> - 60%-90% = Caution<br /> - >90% = Trouble<br /><ul><li>Available Memory </li></ul> - 50% and above = Good<br /> - 10%-50% = OK<br /> - <10% = Trouble<br /><ul><li>Disk – Avg. Disk sec/Read or Avg. Disk sec/Write</li></ul> - Up to 15ms = fine<br /> - 15ms-25ms = Caution<br /> - >25ms = Trouble<br />
  43. 43. Virtualization Performance MonitoringPerformance Counters and Thresholds on Guests<br />Network Bandwidth – Virtual NIC Bytes Total/sec<br /><40% Utilization = Good<br />41%-64% = Caution<br />>65% = Trouble<br />Network Latency - Output Queue Length<br />0 = Good<br />1-2= OK<br />>2 = Trouble<br /><ul><li>Processor (N/A)
  44. 44. Available Memory </li></ul> - 50% and above = Good<br /> - 10%-50% = OK<br /> - <10% = Trouble<br /><ul><li>Disk – Avg. Disk sec/Read or Avg. Disk sec/Write</li></ul> - Up to 15ms = fine<br /> - 15ms-25ms = Caution<br /> - >25ms = Trouble<br />
  45. 45. SharePoint Virtualization Support<br />
  46. 46. Microsoft Support of SharePoint Virtualization<br /><ul><li>Microsoft’s official SharePoint support stance is that any SharePoint role or service is supported for hardware Virtualization, including SQL Server 2005, SQL Server 2008, or SQL Server 2008 R2. There are only three requirements for Virtualization that must be satisfied, these are as follows:
  47. 47. Hardware-assisted Virtualization, which is available in processors that include a Virtualization option—specifically processors with Intel Virtualization Technology (Intel VT) or AMD Virtualization (AMD-V) technology.
  48. 48. Hardware-enforced Data Execution Prevention (DEP) is available and enabled.
  49. 49. Either deployed on Microsoft Hyper-V (RTM or R2 version) or a validated third-party hypervisor that is part of the Server Virtualization Validation Program (SVVP) – KB 897615</li></li></ul><li>What does this mean for SharePoint on Third party?<br /><ul><li>SharePoint supported on VMware ESX/ESXi, Citrix XenServer, or others in the SVVP
  50. 50. This only covers Hypervisor products, so excludes products such as VMware Workstation or VMWare Server
  51. 51. Less need to reproduce problems in physical environment</li></li></ul><li>Windows Server 2008 R2 Hyper-V<br />
  52. 52. Hyper-V R2 for SP2010Overview<br />
  53. 53. System Center Virtual Machine Manager 2008 R2<br />
  54. 54. System Center Virtual Machine Manager (VMM)<br /><ul><li>Virtualization Host and Guest Management Platform
  55. 55. Part of the System Center Management Suite, which includes the following:
  56. 56. System Center Operations Manager 2007
  57. 57. System Center Data Protection Manager 2007
  58. 58. System Center Configuration Manager 2007 R2
  59. 59. System Center Mobile Device Manager 2007
  60. 60. System Center Essentials 2007
  61. 61. System Center Capacity Planner 2007
  62. 62. System Center Service Manager 2010</li></li></ul><li>System Center Virtual Machine Manager (VMM) 2008 R2<br /><ul><li>New version out (VMM 2008 R2)
  63. 63. VMM 2008 R2 has P2V (Physical to virtual migration) and V2V (VMware Guest migration to Hyper-V) tools
  64. 64. For SharePoint, allows for creation of SharePoint template servers that can be quickly provisioned for test farms or for new farm members in production
  65. 65. Can manage both Hyper-V and VMware guests (though must ‘go through’ a Virtual Center server to manage VMware guests.)
  66. 66. Self-Service Portal allows end users and remote admins to be able to provision their own virtual machines based on templates
  67. 67. PowerShell support allows for scripted provisioning of SharePoint 2010 or other servers into a farm</li></li></ul><li>Quick SP2010 Farm Provisioning with VMM 2008 R2<br />Create new Virtual Guest (Windows Server 2008 R2)<br />Install SP2010 Binaries. Stop before running Config Wizard<br />Turn Virtual Guest into Template, modify template to allow it to be added into domain<br />Add PowerShell script to run on first login, allowing SP to be added into farm or to create new farm<br />Voila! 15 minute entire farm provisioning…<br />
  68. 68. Quick Farm Provisioning with VMM 2008 R2<br />Live Demonstration<br />37<br />
  69. 69. Farm Provisioning Script(Thanks to Muhanad Omar, MVP)<br />$configType = read-host "Do you wish to join an existing Farm? (Y/N)"<br />if ($ConfigType -eq "Y") { <br /> $DatabaseServer = read-host "Sounds good. Please specify the name of your SQL Server";<br /> $ConfigDB = read-host "Next, specify the name of your Farm Configuration Database";<br /> $Passphrase = read-host "Finally, please enter your Farm passphrase" -assecurestring<br />} else { <br /> $DatabaseServer = read-host "In that case, let's create a new Farm. Please specify the name of your SQL Server";<br /> $FarmName = read-host "Please specify a name for your Farm (ex. SP2010Dev)";<br /> $ConfigDB = $FarmName+"_ConfigDB";<br /> $AdminContentDB = $FarmName+"_Admin_ContentDB";<br /> Write-Host "Please enter the credentials for your Farm Account (ex. CONTOSOSP_Farm)";<br /> $FarmAcct = Get-Credential;<br /> $Passphrase = read-host "Enter a secure Farm passphrase" -assecurestring;<br /> $Port = read-host "Enter a port number for the Central Administration Web App";<br /> $Authentication = read-host "Finally, specify your authentication provider (NTLM/Kerberos)"; <br />}<br />if ($ConfigType -eq "Y") {<br /> Add-PSSnapinMicrosoft.SharePoint.PowerShell;<br /> Connect-SPConfigurationDatabase -DatabaseName $ConfigDB -DatabaseServer $DatabaseServer -Passphrase $Passphrase<br />} else {<br /> Add-PSSnapinMicrosoft.SharePoint.PowerShell;<br /> Write-Host "Your SharePoint Farm is being configured..."<br /> New-SPConfigurationDatabase -DatabaseName $ConfigDB -DatabaseServer $DatabaseServer -AdministrationContentDatabaseName $AdminContentDB -Passphrase $Passphrase -FarmCredentials $FarmAcct<br />}<br />Initialize-SPResourceSecurity<br />Install-SPService<br />Install-SPFeature -AllExistingFeatures<br />New-SPCentralAdministration -Port $Port -WindowsAuthProvider $Authentication<br />Install-SPHelpCollection -All<br />Install-SPApplicationContent<br />Write-Host "Your SharePoint 2010 Farm has been created!"<br />if ($ConfigType -eq "N") {<br /> $WebAppCreation = read-host "Would you like to provision a Web Application using the default Team Site Template? (Y/N)";<br /> if ($WebAppCreation -eq "Y") {<br /> $HostHeaderQ = read-host "Would you like to specify a host header? (Y/N)";<br /> if ($HostHeaderQ -eq "Y") {<br /> $HostHeader = read-host "Please specify a host header for your Web Application (ex. intranet.contoso.com)";<br /> $URL = "http://"+$HostHeader;<br /> Write-Host "Creating your Web Application...";<br /> New-SPWebApplication -Name "SharePoint 2010 Team Site" -Port 80 -HostHeader $FQDN -Url $URL -ApplicationPool "Content_AppPool" -ApplicationPoolAccount (Get-SPManagedAccount $FarmAcct.UserName) -DatabaseServer $DatabaseServer -DatabaseName $FarmName+"_TeamSite_ContentDB_01";<br /> New-SPSite $URL -OwnerAlias $FarmAcct.UserName -Language 1033 -Template "STS#0" -Name "Team Site";<br /> Write-Host "Configuration completed.";<br /> }<br /> else {<br /> Write-Host "Creating a Web Application using the default Team Site Template..."<br /> }<br /> }<br /> else {<br /> Write-Host "Configuration completed.";<br /> } <br />}<br />Write-Host "Press any key to continue..."<br />$x = $host.UI.RawUI.ReadKey("NoEcho,IncludeKeyDown")<br />
  70. 70. $ £ ¥ €<br />Virtualization Licensing<br />
  71. 71. Virtualized Farm ArchitectureMicrosoft Virtualization Licensing Primer<br /><ul><li>Windows Server Virtualization Licensing
  72. 72. Standard Edition: One virtual guest (if host is dedicated to Virtualization role)
  73. 73. Enterprise Edition: Four virtual guests (if host is dedicated to Virtualization role) / Guests can be Std/Ent
  74. 74. DataCenter Edition: Unlimited Number of Virtual Guests / Per processor socket license
  75. 75. Virtualization OS licensing applies to Hyper-V or any virtual host software listed in SVVP (KB 897615)
  76. 76. System Center Virtualization Licensing
  77. 77. System Center Management Suite Standard Edition License: Gives DPM, OpsMgr, ConfigMgr, and VMM Agents for 1 server.
  78. 78. System Center Management Suite Enterprise Edition License: Gives unlimited DPM, OpsMgr, ConfigMgr, and VMM Agents for all virtual guests on the host.
  79. 79. Check with Microsoft for Specifics…</li></li></ul><li>Microsoft Virtualization Guest Licensing Model<br /><ul><li>Guests can run any combination of downlevel licenses (i.e. Datacenter host, Ent or Std edition guests)
  80. 80. Applies not only to OSes running Virtualized with Windows Virtualization, but it also applies to 3rd party Virtualization as well!</li></li></ul><li>Session Takeaways<br /><ul><li>Consider Virtualization for SharePoint, but architect host and guest environments very carefully.
  81. 81. Best performance comes from dedicated virtual hosts, dedicated passthrough NICs (RDM), and dedicated passthrough disks (RDM) and by not overcommitting resources.
  82. 82. Monitor performance metrics to look for bottlenecks
  83. 83. KB897615 outlines MS Support for 3rd Party Virtualization such as VMware and XenServer…
  84. 84. Windows Server 2008 R2 Hyper-V technology gives high performance and is a very cost competitive option
  85. 85. MS Licensing has new Virtualization support, and Datacenter edition will provide for unlimited guests under a single host.</li></li></ul><li>For More Information<br />SharePoint 2010 Unleashed (SAMS Publishing) (http://www.samspublishing.com)<br />Windows Server 2008 R2 Unleashed and/or Hyper-V Unleashed (http://www.samspublishing.com)<br />Microsoft ‘Virtualizing SharePoint Infrastructure’ Whitepaper (2007) (http://tinyurl.com/virtualsp) <br />Microsoft ‘Virtualizing SQL Server’ Whitepaper (http://tinyyurl.com/virtualsql)<br />Microsoft’s Guidance on Virtualization Monitoring (2007) (Brian Wilson, MCS) http://tinyurl.com/monitorsp<br />Contact us at CCO.com<br />
  86. 86. Please complete the session survey<br />Thank You!<br />
  87. 87. Thank You To Our Sponsors!<br />
  88. 88. Thanks for attending!Questions?<br />Michael Noel<br />Twitter: @MichaelTNoel<br />www.cco.com<br />
  1. A particular slide catching your eye?

    Clipping is a handy way to collect important slides you want to go back to later.

×