Professional Documents
Culture Documents
BCA2930-Virtualizing SharePoint Best Practices - Final - US PDF
BCA2930-Virtualizing SharePoint Best Practices - Final - US PDF
#vmworldapps
Disclaimer
Technical feasibility and market demand will affect final delivery. Pricing and packaging for any new technologies or features
discussed or presented have not been determined.
Agenda
Introduction and Benefits SharePoint on vSphere Performance SharePoint on vSphere Capacity Planning
Workload Modeling and Architectural Design SQL Server Capacity and Performance Deploying to ESX/ESXi
More Information
3
Mostly an intranet portal for collaboration It can be customized for all sorts of uses Varies from insignificant to critical
http://www.topsharepoint.com
4
Lower TCO
Availability
Business Continuity
Maintenance
Load Balancing
What To Consider
CPU User concurrency, Search requests Scaling out is more efficient Network segment vNICs and vSwitches
2nd
3rd
Index/Crawl
CPU Crawling, indexing (depends on content type/size) Scale out (Up only with MOSS 2007) Memory intensive CPU Document updates, Search, Backup
4th
SQL
Agenda
Introduction and Benefits SharePoint on vSphere Performance SharePoint on vSphere Capacity Planning
Workload Modeling and Architectural Design SQL Server Capacity and Performance Deploying to ESX/ESXi
More Information
7
% of Applications
CPU
1 to 2 CPUs
% of Applications
CPU
1 to 2 CPUs
1,000 3.6 GB GB per per VM VM 16/64 GB per VM .9 >36Gb/s Gb/s 1,000,000 7,000 9 Gb/s 100,000
Storage
Content/Metadata Search System
Server
CPU Memory HBA/CNA NIC
Network
Client
10
SQL Server
Storage
Content/Metadata Search System
Document Request
Acceptable user response time <3 seconds <5 seconds <7 seconds
Server
Examples
Network
Client
Browsing to the home page Browsing to a document library Creating a subsite Creating a list Uploading a document to a document library Backing up a site Creating a site collection
http://technet.microsoft.com/en-us/library/cc287790(office.12).aspx
11
Workload
Root portal configured with collaboration template 260GB content, approximately 600K items in 10 site collections Incremental crawl every four hours and weekly full crawl
VSTS load generator Zero think time (per Microsoft guidelines) Transaction mix 80-10-10 read-write-search Real world settings IIS logging on, SharePoint caching disabled
12
Physical versus virtual Web front end (WFE) comparison shows the
overall request per second (RPS) differs very little, even at higher CPU saturation levels
Physical Versus Virtual WFE CPU Comparison
50 45 40 35 RPS 30 25 20 15 10 5 0 Physical Virtual
Physical Virtual
Physical Virtual
13
60-20-20 Mix Test compares one SQL instance versus two SQL instances Scaling out SQL Server provides better throughput! Test with your workload for best SQL server scale out throughput
14
Performance Monitoring
vSphere Client: GUI interface, primary tool for observing one or
more ESX/ESXi hosts
Agenda
Introduction and Benefits SharePoint on vSphere Performance SharePoint on vSphere Capacity Planning
Workload Modeling and Architectural Design SQL Server Capacity and Performance Deploying to ESX/ESXi
More Information
16
Plan the ESX/ESXi host hardware configuration (ESX/ESXi host requirements) Perform initial placement exercise to verify resource allocations and failover headroom
17
New installation
Requests per second Concurrent users Total daily users Total daily requests
Workload Characteristics Average daily RPS Average RPS at peak time Total number of unique users per day Average daily concurrent users Peak concurrent users at peak time Total number of requests per day
18
Workload Modifiers
Workload distribution
Understand the distribution of the requests based on the client applications
that are interacting with the server farm
Newer clients, such as Office 2010, offer new capabilities that can increase the
overall load on the system http://technet.microsoft.com/en-us/library/ff758645.aspx
Concurrency/peak usage
Active Users Start by considering the actual number of SharePoint users Concurrent users Out of the active users, consider how many users are
accessing the system simultaneously at any given time
19
http://technet.microsoft.com
/en-us/library/cc263044.aspx
Select the case study that is most applicable to your organizations expected
usage patterns http://technet.microsoft.com/en-us/library/cc261716.aspx.
20
Small
Web
H/W RAM CPU MOSS 2007 >2GB >3.0GHz Dual SP 2010 8GB >2.5GHz Quad
Medium
Large
Web Servers Groups
Web/Query
Web
User requests
Crawling/Admin
Application
H/W RAM CPU MOSS 2007 4GB >2.5GHz Dual SP 2010 8GB >2.5GHz Quad
App
Query/Crawl
App
Query
Crawl
Database
H/W RAM CPU MOSS 2007 >2GB >2.0GHz SP 2010 8 - 64GB >2.5GHz Quad
All DBs
Search DBs
SharePoint DBs
Search DBs
SharePoint DBs
Content DBs
21
Features that impact SQL Server Sizing The size of content databases
Web/Query
Web
User requests
Crawling/Admin
Application
H/W RAM CPU MOSS 2007 4GB >2.5GHz Dual
SP The addition of service applications or features into the 2010 environment The use of SQL Server mirroring >2.5GHz
Quad 8GB
App
Query/Crawl
App
Query
Crawl
Database
H/W RAM CPU MOSS 2007 >2GB >2.0GHz
The frequent use of files larger than 15MB (think about using BLOB)
All DBs
Search DBs
SharePoint DBs
Search DBs
SharePoint DBs
Content DBs
22
23
24
25
Database Sizing
Central Administration 2GB capacity; minimal disk throughput required Configuration Database 2GB capacity; minimal disk throughput required Can slowly grow beyond 1GB; approx. 40MB for every 50K site
collections
Content Databases
Database size = ((D V) S) + (10KB (L + (V D)))
D = the number of documents you expect to host S = the average size of each document L = the number of list items in the environment; start with 3 X D
and adjust
Content database sizes up to 1TB are supported only for large, single-site
repositories and archives in which data remains reasonably static
Plan for performance in addition to capacity Search database and temp database are the most demanding for
disk I/O. Search database is write intensive when crawling.
28
Microsoft recommends that Web and application servers have two network
adapters (or vices), one for end-user traffic and the other for communication with the servers running SQL Server. Placing Web or application servers on the same ESX/ESXi host as the SQL Server can improve performance by using internal virtual switches
Add an additional database server when your content databases exceed 5TB Add an additional database server to promote secure credential storage when
you are running the Secure Store service application
29
Deploying to ESX/ESXi
30
Virtual CPUs
Allocate the minimum requirement and adjust as needed; use HotAdd. If overcommitting processors, monitor %RDY, %MLMTD, and %CSTP Keep NUMA node size in mind with sizing virtual machines
Virtual Memory
Right-size memory allocations for efficient use of host memory Use vSphere 4.1 or above to take advantage of memory compression If overcommitting memory, monitor SWAP /MB: r/s, w/s and MCTLSZ
Storage
Understand I/O requirements for each application tier to avoid performance
degradation due to under-provisioned storage
32
Utilize vCPU shares to throttle the amount of actual processor each virtual
machine is consuming without having to change its configuration
33
Agenda
Introduction and Benefits SharePoint on vSphere Performance SharePoint on vSphere Capacity Planning
Workload Modeling and Architectural Design SQL Server Capacity and Performance Deploying to ESX/ESXi
More Information
34
How to protect?
Tools and technologies available from SharePoint 2010 natively VMware vSphere additions
35
High Availability
36
Failover clustering
Does not require complex cluster setup or standby resources Fully integrated with VMware HA and vCenter
38
Storage flexibility (FC, iSCSI, NFS) RTO in few seconds VMware HA + Database Mirroring
Seamless integration, virtual machines
rejoin mirroring session after VMware HA recovery
Host attach (FC) or in-guest (iSCSI) Supports RDM only VMware HA + failover clustering
Seamless integration, virtual machines
rejoin clustering session after VMware HA recovery
Disaster Recovery
41
Safe testing without impacting production environment Improves hardware utilization with co-located test/dev with DR Self-documenting
42
Safe testing without impacting production environment Improves hardware utilization with co-located test/dev with DR Self-documenting
43
44
What to Backup
Web Applications
Site Collections
Sites
Content Databases
Lists (document libraries, events, contacts, and the like)
45
Useful for small environments Can be used for SQL Server if the service is STOPPED
46
47
Summary
Use SRM for site recovery; co-locate test/dev and recovery VMs
48
Agenda
Introduction and Benefits SharePoint on vSphere Performance SharePoint on vSphere Capacity Planning
Workload Modeling and Architectural Design SQL Server Capacity and Performance Deploying to ESX/ESXi
More Information
49
Resources
Microsoft Apps
Exchange SQL Server SharePoint
Questions
51
vmware.com/go/smb
blogs.vmware.com/smb
bit.ly/VMworld_SMB
VMwareCloudContest.com
52
APP-BCA2930
#vmworldapps
Backup Slides
55
NUMA Support
Page sharing allows the hypervisor to reclaim the redundant copies of memory created when multiple virtual machines run the same operating system and applications The balloon driver allows the hypervisor to reclaim host physical memory if memory resources are under contention. This is done with little to no impact to the performance of the application Pages elected to be swapped that can be compressed are stored in a compression cache in main memory. When required, pages are decompressed from compression cache versus paging out from disk Applications that can benefit from large pages on native systems, such as MS SQL, can achieve similar performance improvement on a virtual machine backed with large memory pages High-performance virtual I/O adapters that can provide greater throughput while requiring lower CPU utilization As resource utilization fluctuates within a VMware vSphere cluster, workloads are migrated with no impact to performance or uptime using VMware vSphere vMotion
Memory Ballooning
Memory Compression
Large Memory Page Support Para-virtualized Network and Storage Controllers Distributed Resource Scheduler (DRS and vMotion
56
57
Host / VM
Both VM Both Both Both Both Both Both Both Both Both Both
Description
CPU used over the collection interval (%) CPU time spent in ready state Percentage of time spent in the ESX host VMkernel Memory ESX/ESXi host swaps in/out from/to disk (per virtual machine, or cumulative over host) Amount of memory reclaimed from resource pool by way of ballooning Reads and writes issued in the collection interval Average latency (ms) of the device (LUN) Average latency (ms) in the VMkernel, also known as queuing time Average latency (ms) in the guest. GAVG = DAVG + KAVG Amount of data transmitted per second Packets transmitted per second Drop packets per second
CPU
% Processor Time
Available Mbytes
Memory
Cache Faults/sec
Pages/sec
Paging File
Disk Avg. Disk sec/Read Avg. Disk sec/Write Network Total Bytes/sec Average latency (seconds) of reads and writes of data from disk
Rate at which data is sent and received through the network interface
59