620 likes | 940 Views
Required Slide. SESSION CODE: OSP312 . Help! My Users Are Everywhere: Designing for a Global SharePoint Audience . Joel Oleson Sr. Architect & Evangelist Quest Software http://www.sharepointjoel.com @ joeloleson. Objectives And Takeaways. Understand Key Design Decisions
E N D
Required Slide SESSION CODE: OSP312 Help! My Users Are Everywhere: Designing for a Global SharePoint Audience Joel Oleson Sr. Architect & Evangelist Quest Software http://www.sharepointjoel.com @joeloleson
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
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
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)
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
WAN Friendly Service Apps HTTPS WCF + XML Shared *SharePoint Foundation
Export Certificates to Configure Trust • Provider • Export root certificate by running the following cmdlets : $rootCert = (Get-SPCertificateAuthority).RootCertificate$rootCert.Export("Cert") | Set-Content "C:\PublisherFarmRoot.cer" -Encoding byte • Consumer: • Export root certificate by running the following cmdlets: $rootCert = (Get-SPCertificateAuthority).RootCertificate$rootCert.Export("Cert") | Set-Content "C:\ConsumerFarmRoot.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:\ConsumerFarmSTS.cer" -Encoding byte • Copy above certificates from Publisher to Consumer and vice versa.
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]%\ConsumerFarmRoot.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:\ConsumerFarmSTS.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
Weighing the Global Considerations Central Regional
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
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
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
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!!!
Key Network Considerations • Latency - #1 • Bandwidth #2 • Utilization (is it already high % consumed?) • Expected usage (page and file size, and common usage patterns)
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)
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
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
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
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
End-to-End Perceived Network Performance Client Performance: CPU/Processor Delay Virtual/Physical Memory Limits NIC Config, Network Drivers and TCP/IP Config Client Application Versions Proxy Config Client LAN Switch Config Utilization WAN: Link Speed(Bandwidth) Delay (Latency) Packet Loss, Retransmissions, Timeouts Network Throughput Round Trips Server LAN Performance: Switch Config Contention for Uplink Server Performance: CPU/Processor Delay Virtual and Physical Memory Limits NIC/Network Drivers and TCP/IP config Network Speed (10/100/1000MB) Server Software Layer
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
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
What Do SharePoint & Mr. Trump Have in Common? Courtesy Si.com
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