How to Troubleshoot Apps for the Modern Connected Worker
SharePoint 2010 Global Deployment
1. Help! My Users Are Everywhere: Designing for a Global SharePoint Joel Oleson Sr. Architect & Evangelist Quest Software http://www.sharepointjoel.com @joeloleson Required Slide SESSION CODE: OSP312
2. Objectives And Takeaways Understand Key Design Decisions Tradeoffs of Central vs. Regional/Distributed SharePoint 2010 Global Service Deployment Considerations Global Considerations with Third Party Solutions
3. Agenda What’s Changed… Drill Down into Service Apps – Global vs. Local Distributed Multi Farm Service Deployments Centralized Deployments Regional Deployments Global Search Architecture Considerations
5. Geo DilemmaTo distribute or not distribute THAT is the question! Cost vs. Usability vs. Manageability Bandwidth can be bought but latency is bound to laws of physics Different stakeholders -> different priorities/preferences IT tends to favor Centralized (low cost) Business just wants it to work (faster the better)
6. The SP2010 Global Story - What’s Really Changed? The SSP exploded into Service Applications and Proxy Groups Search has changed Dramatically Index Redundancy Distributed Partitioning supporting many crawlers Property & Crawl databases – All crawled content is in the databases Groove -> SharePoint Workspace Better Offline & WAN Online Story Differencing Licensing Mirroring Aware – More of DR story… Replication – Sorry! Pages have been optimized
19. Export Certificates to Configure Trust Provider Export root certificate by running the following cmdlets : $rootCert = (Get-SPCertificateAuthority).RootCertificate$rootCert.Export("Cert") | Set-Content "C:ublisherFarmRoot.cer" -Encoding byte Consumer: Export root certificate by running the following cmdlets: $rootCert = (Get-SPCertificateAuthority).RootCertificate$rootCert.Export("Cert") | Set-Content "C:onsumerFarmRoot.cer" -Encoding byte Consumer: Export Security Token Service (STS) certificate by running the following cmdlets: $stsCert = (Get-SPSecurityTokenServiceConfig).LocalLoginProvider.SigningCertificate$stsCert.Export("Cert") | Set-Content "C:onsumerFarmSTS.cer" -Encoding byte Copy above certificates from Publisher to Consumer and vice versa.
20. Import Certificates to Configure Trust Provider Import root certificate from consumer farm and create a Trusted Root Authority by running the following cmdlets: $trustCert = Get-PfxCertificate“%[File Path]%onsumerFarmRoot.cer" New-SPTrustedRootAuthority "ConsumerFarm" -Certificate $trustCert Import STS certificated from consumer farm and create a Trusted Service Tokern Issuer by running the following cmdlets: $stsCert = Get-PfxCertificate "c:onsumerFarmSTS.cer" New-SPTrustedServiceTokenIssuer "ConsumerFarm" -Certificate $STSCert Verify Trust Go to Central Admin select “Security” and click on “Manage trust” link and make sure that the certificates are imported successfully
23. Single Central Services Farm – Most Common Central Farm Web Applications: Enterprise Portal/Search, CRM, Departments, My Sites, Team Sites Global Services: Secure Store Business Data Connectivity Managed Metadata (Primary) Web Analytics Profiles Search Local Only Service Applications: Usage & Health Data Collection Lotus Notes Connector Visio Graphics Excel Services PerformancePoint
24. Multi Farm Intranet Portal, Search & ECM Farm My Site & Team Collab Farm Web Applications: Enterprise Portal/Search, CRM, Departments Global Services Provided: Secure Store Business Data Connectivity Managed Metadata Web Analytics Search Services Consumed: Profiles Web Application: My Site Hub Global Services Provided: User Profiles Web Analytics Services Consumed: Search Managed Metadata 4 Local Only Service Applications: Usage & Health Data Collection Web Application Clients Social Tagging Local Only Service Applications: Usage & Health Data Collection Lotus Notes Connector Visio Graphics Excel Services PerformancePoint
29. Central Deployment +Partner Solution: WAN/Network Acceleration All Services in one Central Farm Central Search Central Directory REDMOND BEIJING WAN Accelerator Datacenter 10s-100s of Local WAN Accelerators ~5x - 1st Request ~43x - 2nd Request WAN Accelerator remote office
30. Central Solution Easiest to maintain and operate. Cheapest Solution Easiest to support Is it the Utopia or just for IT? - Don’t forget D/R!!!
31. Key Network Considerations Latency - #1 Bandwidth #2 Utilization (is it already high % consumed?) Expected usage (page and file size, and common usage patterns)
32. Other Network Considerations (Customer Case Study) Politics (AD trusts/Affiliates) Deloitte Business Requirements (Speed comfort) Energizer Network Map (Microsoft) Network Roadmap & Data center Consolidation Goals (HP)
34. Regional DeploymentOptimized for Latency Regional Scope Services Local My Site Hub Regional Portal Consumes Search & Profiles Sychnronizes Metadata Termstore Tokyo LONDON New York HQ Enterprise Scope Services Enterprise Search Enterprise Profiles Enterprise Managed Metadata Termstore Regional Scope Services Local My Site Hub Regional Portal Consumes Search & Profiles Sychnronizes Metadata Termstore
36. Central Farm Regional Farm Web Applications: Enterprise Portal/Search, Departmental ECM, My Sites, Team Sites Global Services Provided: Secure Store Business Data Connectivity Managed Metadata (Primary) Web Analytics Profiles Search Services Consumed: Managed Metadata & Web Analytics Web Application: Team, Portals, My Site Hub Global Services Provided: Metadata Management (secondary) Web Analytics Services Consumed: Search Managed Metadata Profiles Local Only Service Applications: Usage & Health Data Collection Lotus Notes Connector Visio Graphics Excel Services PerformancePoint Local Only Service Applications: Usage & Health Data Collection Web Application Clients
39. Global Scale Search Centralized vs. Distributed farms Crawling across the wire vs. Querying across the wire Partitioning data Based on Geography vs. Content Federating results Merging results from different indexes loses relevancy
40. Options for Enteprise Search with Regional Deployment Crawling regional farms from the central farm Using search federation across farms with local crawling Note: If SharePoint Foundation is used within a region, search is scoped to the Site Collection level
45. Page and File Optimizing for the WAN Page optimization techniques Use BLOB cache Use IIS Compression for dynamic pages Minimize images sizes and count Delay downloading of core.js Optimize list view pages (allitems.aspx) Use Fiddler2 to troubleshoot page assets (http://www.fiddlertool.com) Index Optimization Specialize crawl time schedules for WAN links Increase time-out settings for search Crawler impact rules/ # crawl threads
46. Dev Techniques for the WAN Optimizing Web Parts for the WAN Re-use built-in Styles vs. Creating Custom Styles Storing State Use Server Cache class Web.config: enableViewState=true Use Control State Page.RegisterRequiresControlState() LoadControlState(), SaveControlState() Maximize perf on Webparts displaying data Use inline XML data islands Use Client-Side scripts to connect to Webservices AJAX and JSON is lightweight
47. Cache Config Levels Web App – Diskbasedcaching in web.config Site collection – configure output cache and object cache settings Site – output cache settings Page layout – output cache Web Part – settings in dwp code Query – i.e. RSS Feed cache is 5 min by default, verify query webpart is cached
54. Wrap up… Key Considerations Reinforced. Know your scenarios and how it will be used Intranet publishing portal Collaboration BI Dashboards… Know your network Bandwidth Latency Utilization Include tests and Surveys* from remote offices
55. Resources Required Slide Learning Sessions On-Demand & Community Microsoft Certification & Training Resources www.microsoft.com/teched www.microsoft.com/learning Resources for IT Professionals Resources for Developers http://microsoft.com/technet http://microsoft.com/msdn
57. Related Content Required Slide Speakers, please list the Breakout Sessions, Interactive Sessions, Labs and Demo Stations that are related to your session. Breakout Sessions (session codes and titles) Interactive Sessions (session codes and titles) Hands-on Labs (session codes and titles) Product Demo Stations (demo station title and location)