Presentation is loading. Please wait.

Presentation is loading. Please wait.

Capacity Planning and Infrastructure Best Practices for Microsoft Office SharePoint Server 2007 Meron Fridman Microsoft Office System Regional Director.

Similar presentations


Presentation on theme: "Capacity Planning and Infrastructure Best Practices for Microsoft Office SharePoint Server 2007 Meron Fridman Microsoft Office System Regional Director."— Presentation transcript:

1 Capacity Planning and Infrastructure Best Practices for Microsoft Office SharePoint Server 2007 Meron Fridman Microsoft Office System Regional Director CTO – Bynet Software Systems meronf@bynetsoft.co.il

2 Agenda Addressing Capacity Boundaries and Considerations Workload Considerations Collaboration, Web Publishing, Search Capacity planning Performance, High Availability, Storage Additional infrastructure related best practices

3 Common Questions How much hardware do we need? Should we implement a server farm? Do we need SQL Server? How much data can we store? How many users can our environment support? How many sites can we run on our servers? How do we validate our design? What tools can we use to measure performance? How to setup Development environment

4 Development environment best practices Each developer will use own SharePoint All members in the same farm (Backup only the farm) Work with host headers (on port 80) Point the host file in each developer machine to 127.0.0.1 Use Integration server for deploy modules Use the same version in your all environments

5

6 Capacity Planning The art of evaluating a technology against the needs of an organization, and making an educated decision about the procurement of Hardware to meet the demands specific to a system being installed

7 Components Software Boundaries Throughput Targets Data Capacity Hardware Phases Phase 1: Plan for Software Boundaries Phase 2: Estimate Performance and Capacity Requirements Phase 3: Plan Hardware and Storage Requirements Phase 4: Test Your Design! Performance and capacity planning: The process of mapping your solution design to a farm size and set of hardware that will support your business goals. Framework Planning for Capacity and Performance

8 Plan for Software Boundaries Phase 1 Object Categories Software Scalability vs. Hardware Scalability RTM Test Results, Findings, and Recommendations from the Product Group Other Considerations

9 Plan for Software Boundaries Object Categories Site Objects Site Collections, Web sites, documents, document libraries, list items, document file size, etc. People Objects User profiles, security principals, etc. Search Objects Search indexes, Indexed documents Logical Architecture Objects Shared Services Providers, Site Collections, Content Databases, Zones, etc. Physical Objects Servers: Index, Web FE, Database, Application, etc.

10 Product Considerations Site Collection Max and Recommended Sizes Database Max and Recommended Sizes Backup and Operations Considerations Server Throughput Considerations User Type Considerations Authentication Considerations

11 Plan for Software Boundaries Software Scalability vs. Hardware Scalability Software scalability Recommendations for acceptable performance based on software behavior and characteristics Hardware scalability Does not change/modify software behavior or characteristics…but can increase overall throughput of a server farm and might be necessary to achieve acceptable performance as the number of objects approach recommended limits

12 “Plan for Software Boundaries” (TechNet)

13 Plan for Software Boundaries Test Results and Findings Throughput vs. Number of Site Collections in One Content Database

14 Plan for Software Boundaries Test Results and Findings Throughput differences between flat document library vs. document library with folders

15 Plan for Software Boundaries Recommendations & Guidelines (subset) ObjectRecommended MaximumScope Site collection50,000 per web applicationWeb application Content database100 per Web applicationWeb application Web site250,000 per site collectionSite collection Document5 million per library (2,000 per nested folder)Library User profile5 million per farmFarm Indexed document50 million per search index (1 index per index server, 1 index server per SSP) SSP / Farm Web servers per database server ratio 8 Web servers per database server (hard limit)Farm

16 Plan for Software Boundaries Other Considerations Throughput vs. number of Web servers Test findings showed plateau at 5:1 (Web FE : SQL) Perform tests in your environment Other Recommendations Carefully plan your site hierarchy and design Minimize # Web applications and application pools Limit # of Shared Service Providers (SSP) Plan for database growth Follow data and feature best practices and suggested limits…

17 Growth patterns Server performance High availability Applications Data growth Search MOSS

18 Global Intranet Considerations Centralized or Distributed Global teams or local teams - Where to put the sites? End user experience - Bandwidth/Latency? Operational costs Search Offline Network accelerators 3rd Party replication Products

19 Web Publishing Characteristics Fewer content creators (may be external agencies) Large number of viewers (authenticated or not) Small number of central sites for content publishing Approval workflow Staging and deployment Database Characteristics Publishing databases mainly read Design considerations Design for end to end performance Page size matters! (html,.js,.css,…. Compression …) More memory than CPU intensive (caching strategy!) Not everything is deployable via content deployment

20 Search Characteristics Multiple sources Security trimming Indexing Characteristics Network/CPU intensive Querying Characteristics CPU/Memory/IO Intensive Database Characteristics Property store in SQL (Search_DB) Design considerations 50 Million items / catalog

21 Estimate Performance and Capacity Phase 2 – Usage Profiles Determine Usage Profile Usage profile == User community’s behavior Distribution of requests across content Operation types and frequency (Any “heavy” Search patterns?) Existing solution in place? Analyze IIS logs … Leverage usage profiles provided in configurations tested by Product Group as starting point: Configuration tested by Product Group Windows SharePoint Services collaboration environments Portal collaboration environments Search environments Internet environments InfoPath Forms Services environments Determine resource requirements to support Excel Services

22 Estimate Performance and Capacity Phase 2 – Other Factors Configuration factors that can influence throughput targets Indexing Schedule indexing window off-hours? Use Dedicated Web FE (Hosts file …) Caching enabled? Output Caching and Cache Profiles (Individual Page Level) Object Caching (Individual Web Part control, field control, and content level) Disk-based Caching for Binary Large Objects (Web FE Level) Page customizations Custom Web parts in the web.config file for a web application

23 Estimate Performance and Capacity Phase 2 – Other Factors, Latency Latency components Server processing SQL processing, # SQL round trips, security trimming Client processing Javascript, CSS, AJAX requests, HTML load, Client machine specs Bandwidth, size of download Recommendations Primary cause of latency problems: custom web parts (Dispose) Watch for: SQL round trips, unnecessary data, excessive client side script Re-use existing client code versus adding more Design code for performance – (Use HTML and.Net best practices)

24 Plan Hardware and Storage Phase 3 – How SharePoint Scales Designed to grow with organization needs Server resources: x32, x64, CPU, RAM, Storage Recommend 64-bit for back end services (SQL) which can leverage additional addressable memory SQL: Storage configuration is critical! Server Farm Topology restrictions removed WFE, Query, Index, Excel Calc, Project, SQL Adopted WSS adage: content only limited by HW capability* Sites: In WSS 3.0, Portals sites are "just another WSS site”

25 Plan Hardware and Storage Phase 3 – 64-bit vs. 32-bit Hardware WSS 3.0 and MOSS 2007 can work on both 64-bit Hardware Recommended 32-bit can directly address only a 4GB Memory Address Space 64-bit supports up to 1024GB Memory (Physical / Addressable) 32-bit will look better and perform better with 2GB RAM, but we recommend 64-bit for future investments and scale 64-bit HW Prioritization SQL Server  Index  Excel  Search  WFE 64-bit hardware can be mixed within a farm (on different tiers) PDF IFilter for x64? Adobe - http://labs.adobe.com/wiki/index.php/PDF_iFilter_8_-_64-bit_Support http://labs.adobe.com/wiki/index.php/PDF_iFilter_8_-_64-bit_Support FoxIT - http://foxitsoftware.com/pdf/ifilter/ http://foxitsoftware.com/pdf/ifilter/

26 Plan Hardware and Storage Phase 3 – Storage Considerations Primary Metric: Document Storage Plan for 1.2 – 1.5 x file system size for SQL Server Secondary Metric: Index Size Index Server: ~5-12% of total size of all indexable content (WSS); Reserve 2.5 x Index size! Query Server: Same as Index Server Search_DB: 4 x Index size! Use Site Collection Quotas to manage DB size

27 Plan Hardware and Storage Additional Storage Considerations Use dedicated SQL DB for large Site Collections Limit the number of Sites per Content DB (Web Application), or Create the Content DB while creating the Site Collection (STSADM) Use separate LUNs (Disks) for: Search_DB TempDB – Divide into multiple equal size DB files based on # CPUs Use separate LUN for each DB file in case there is I/O bottleneck Use a separate SQL instance for Search

28 SharePoint Client Payload Background SharePoint sends down a relatively large payload when you visit the site; even though it is improved from SPS 2003 This payload comes from jScript files, IE Behaviors, and images, in addition to the text content Some elements continue to come down Multiple times on a single page Download again during same browser session on the same site

29 Files requested on first hit of the home page of a just created publishing site /Pages/Default.aspx107,128 /_layouts/1033/core.js54,367 /_layouts/1033/ie55up.js20,508 /_layouts/images/gosearch.gif19,933 /_layouts/1033/init.js15,732 /_layouts/1033/styles/core.css13,596 /PublishingImages/newsarticleimage.jpg10,710 /WebResource.axd8,272 /WebResource.axd5,373 /_layouts/1033/search.js5,092 /_layouts/images/navshape.jpg2,924 /_layouts/1033/EditingMenu.js2,735 /WebResource.axd2,482 /_layouts/1033/styles/controls.css1,448 /_layouts/1033/styles/HtmlEditorTableFormats.css1,317 /_layouts/images/titlegraphic.gif1,299 /_layouts/images/icongo01.gif1,171 /_layouts/images/pagebackgrad.gif1,082 /_layouts/images/stsicon.gif1,070 /_layouts/images/itgen.gif1,050 /_layouts/images/itdisc.gif1,049 /_layouts/images/itlink.gif1,043 /_layouts/images/ittask.gif1,039 /_layouts/images/itcontct.gif1,036 /_layouts/images/helpicon.gif1,025 /_layouts/images/recycbin.gif1,004 /_layouts/portal.js954 /_layouts/1033/styles/HtmlEditorCustomStyles.css642 /_layouts/images/itevent.gif619 /_layouts/images/itdl.gif582 /WebResource.axd224 /WebResource.axd218 /_layouts/images/siteTitleBKGD.gif209 /_layouts/images/tvplus.gif209 /_layouts/images/tvminus.gif207 /_layouts/images/quickLaunchHeader.gif148 /_layouts/images/topnavselected.gif146 /_layouts/images/siteactionsmenugrad.gif146 /_layouts/images/topnavunselected.gif92 /_layouts/images/menudark.gif68 /_layouts/images/whitearrow.gif68 /_layouts/images/Menu1.gif68 /_layouts/images/pageTitleBKGD.gif63 /_layouts/images/navBullet.gif58 /_layouts/images/tvblank.gif56 /_layouts/images/lstbulet.gif56 /_layouts/images/blank.gif43 Total 288,361 Bytes (nearly 300K)

30 SharePoint Client Payload Available Solutions HTTP Compression (you decide …) Enabled and turned on by default for Static files like.js,.css etc.aspx pages need to be added Compression improves latency and decreases payload size Compression affects up to 15% throughput Enable Caching at various levels How to create a detached page that downloads the Core.js file but that does not reference the Core.js file in a SharePoint Server 2007 site - http://support.microsoft.com/?id=933823 http://support.microsoft.com/?id=933823

31 Performance Testing and Troubleshooting

32 Phase 4: Test your Design!!! Phases Phase 1: Plan for Software Boundaries Phase 2: Estimate Performance and Capacity Requirements Phase 3: Plan Hardware and Storage Requirements

33 Poor Performance Troubleshooting Poor throughput SQL – use SQL best practices for performance especially disk performance Asynchronous operations and timer job “conflicts” Resource contention: # web apps, app pools, DBs, etc. Check ANY custom code for SQL round trips and payload Look for mis-configured network components (NICs, routers, etc.) Search consumes multiple resources Poor end user perceived latency Page payload OOB 1st page download ~200-300KB; Should not be significantly higher Use page compression where possible Caching strategy: Turn on BLOB & Output caching whenever possible Client machine hardware configuration Mis-configured network (see above)

34 Additional Infrastructure Best Practices

35 Best Practices Office SharePoint Search Index requires NTLM authentication - Use separate Web Applications and Zones Office SharePoint Server Search account Must NOT be a member of the Farm Administrators group! Alternate Access Mapping: http://blogs.msdn.com:80/sharepoint/archive/2007/03/06/what-every-sharepoint- administrator-needs-to-know-about-alternate-access-mappings-part-1.aspx http://blogs.msdn.com:80/sharepoint/archive/2007/03/06/what-every-sharepoint- administrator-needs-to-know-about-alternate-access-mappings-part-1.aspx Domain Controllers and authentication overhead 4:1 ratio (Web FE : Domain Controller for NTLM authentication) Web Application Security Policies – Scenarios Full read – search crawling accounts, auditors, legal compliance Deny all – security control, regulatory compliance Deny write – extranet lockdown

36 Office SharePoint Server Backup and Restore

37 “Farm” Config_DB (SQL) SharePoint VSS Writer DPM 2007 System State Enterprise Search (index) SQL Content Servers (SQL) Files Internet Information Services (IIS) “Front End” Data Protection Manager 2007 and MOSS

38 SharePoint Server 2007 Recovery The Entire Farm “Farm” Config_DB (SQL) DPM 2007 Enterprise Search (index) Content Servers (SQL) Entire Farm

39 SharePoint Server 2007 Recovery The Entire Farm A Content DB Content DB information Content DB “Farm” Config_DB (SQL) Enterprise Search (index) Content Servers (SQL) DPM 2007

40 SharePoint 2007 Recovery The Entire Farm A Content DB Site Collection A Site Document “Farm” Config_DB (SQL) Site Collection / Site / Individual Document “Recovery Farm” (single server) Temporary Staging Area Complies with SharePoint Server design Garbage scrubbed after restore Might be a virtual machine (VM) Content DB DPM handles restore thru Recovery Farm to production Farm Farm then redirects data to appropriate content database and site DPM 2007 Enterprise Search (index) Content Servers (SQL)

41 Summary Best practices for capacity planning Start big enough but not too big Do proper monitoring in order to know what/when to grow Go 64-bit where possible Plan End to End user experience Bandwidth Latency Payload

42 Related Content Planning and Architecture for Office SharePoint Server 2007 –Plan for Performance and Capacity: http://technet2.microsoft.com/Office/en- us/library/8dd52916-f77d-4444-b593-1f7d6f330e5f1033.mspx?mfr=true http://technet2.microsoft.com/Office/en- us/library/8dd52916-f77d-4444-b593-1f7d6f330e5f1033.mspx?mfr=true –Design Server Farms and Topologies: http://technet2.microsoft.com/Office/en- us/library/651be1bf-c354-4f6d-965d-d3385cea0a2d1033.mspx http://technet2.microsoft.com/Office/en- us/library/651be1bf-c354-4f6d-965d-d3385cea0a2d1033.mspx –Plan for Software Boundaries: http://technet2.microsoft.com/Office/en- us/library/6a13cd9f-4b44-40d6-85aa-c70a8e5c34fe1033.mspx http://technet2.microsoft.com/Office/en- us/library/6a13cd9f-4b44-40d6-85aa-c70a8e5c34fe1033.mspx –Plan enterprise content storage: http://technet2.microsoft.com/Office/en- us/library/9994b57f-fef8-44e7-9bf9-ca620ce207341033.mspx http://technet2.microsoft.com/Office/en- us/library/9994b57f-fef8-44e7-9bf9-ca620ce207341033.mspx –Working with large lists in Office SharePoint Server 2007: http://technet2.microsoft.com/Office/en-us/library/6f03049f-5bfe-4807-b609- 0e2d4a9ec3b51033.mspx?mfr=true http://technet2.microsoft.com/Office/en-us/library/6f03049f-5bfe-4807-b609- 0e2d4a9ec3b51033.mspx?mfr=true –How Large for a single SharePoint content database: http://blogs.msdn.com/joelo/archive/2006/08/01/how-large-for-a-single-sharepoint-content- database.aspx http://blogs.msdn.com/joelo/archive/2006/08/01/how-large-for-a-single-sharepoint-content- database.aspx Watch the Blogs –http://blogs.msdn.com/sharepointhttp://blogs.msdn.com/sharepoint –http://blogs.msdn.com/joelohttp://blogs.msdn.com/joelo

43 More related Content HP Performance Whitepaper –http://h71019.www7.hp.com/ActiveAnswers/cache/497613-0-0-0-121.htmlhttp://h71019.www7.hp.com/ActiveAnswers/cache/497613-0-0-0-121.html Dell Case Study –http://blogs.msdn.com/sharepoint/archive/2007/05/04/dell-case-study-showcase-of- consolidation-manageability-and-scale.aspxhttp://blogs.msdn.com/sharepoint/archive/2007/05/04/dell-case-study-showcase-of- consolidation-manageability-and-scale.aspx How to defragment Windows SharePoint Services 3.0 database and SharePoint Server 2007 database –http://support.microsoft.com/kb/943345http://support.microsoft.com/kb/943345

44 Questions?

45 © 2007 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.


Download ppt "Capacity Planning and Infrastructure Best Practices for Microsoft Office SharePoint Server 2007 Meron Fridman Microsoft Office System Regional Director."

Similar presentations


Ads by Google