Name: Title: Company: Twitter: Blog: Joel Oleson Sr. Architect Quest Software @joeloleson http://www.sharepointjoel.com Who is SharePoint Joel? 8+ Year SharePoint Veteran http://www.sharepointjoel.com 7 Years Microsoft SharePoint Team & IT The First SharePoint Admin Quest Sr. SharePoint Architect Loves to Travel 45 Countries+ Swaziland Dancer Audience Poll SharePoint Admins? Less than 3 years in SharePoint? Belong to SharePoint &/or .NET user groups? Watch Out for Killer Bunnies Agenda… SharePoint Best Practices: Architecture Fundamentals Core Logical Architecture Physical Architecture Designing Information Architecture Avoid Common Mistakes Bear Grills - Survival WSS 3.0 and SharePoint Server 2007 Web Forms, Excel Services, BDC Doc Management, Web Content Management, Search, & Portals Platform & Collaboration (blogs & wikis) SharePoint Server 2007 Enterprise SharePoint Server 2007 Standard Windows SharePoint Services 3.0 MOSS FIS For Internet Sites & Enterprise Intranet Intranet/Extranet Standard Windows Internet Connector Fundamental Principle #1 IIS WSS 3.0 / SharePoint Server Web Applications IIS Web Sites = IIS Virtual Servers = Web Web Sites Applications Physical Server Web Application(s) Top Level Site(s) Site Collections Site(s)/webs Site Collection Fundamental Principle #2 Consistency in Hierarchy WSS 3.0 Web Applications Site Collections Sites Templates & Features MOSS 2007 Web Applications Site Collections Sites Templates & Features Fundamental Principle #3 Servers Have Services are Are Roles Servers have Roles Web Front End (WFE) Query Calculation (Excel) Index (Non SharePoint) Database Server Simplified Really Just 3 Roles WFE/Query – 99% Index (App Tier) SQL Note: Never put Query and Index on same server if there is another Query server! Deployment Install Key concepts 32 bit or 64bit binaries **Note: SharePoint 2010 requires 2008 64bit & 64bit SQL 2005 or 2008 Install Basic NOT RECOMMENDED except for POC Advanced – Allows you to connect to SQL WFE only vs. Full install Language Packs (Downloads on the Web) WSS MOSS Ifilter pack + Most Common Farms WFE/ Query All SP Roles “All in One” Index SQL SQL WFE/ Query SQL Key Factors in Topology Usage # Users Solution (The answer before the question) Authentication Type (Anonymous vs. AD) Caching Offload devices Business & Tech Requirements Client & Server Performance Requirements SLAs (Uptime/High Availability Req.) WAN Considerations (Multi farm) Data GBs/TBs of data Total # Files and Items (rare) SharePoint in common… LOLCATS.COM Fundamental Principle #3 You MUST learn the difference between site and site collection despite the confusion. Site = Web = Spweb aka subweb STSADM = Web UI=site Site Collection = SpSite STSADM = Site Central Admin = Site UI= Site Collection Defaults have Faults Server List and Site Collection Database • Basic Install (BAD!) • All On C Drive • No Backup • Restore Complexity • All One site collection • Not Configured: Quota, Expiration, Auditing, Versions, Workflows, Meta Data capture • All items view default (flat) • One database • Db config (log and db location) • No maintenance plan POP QUIZ!!!! What is the most scalable object in SharePoint? Site Collection Can I run WFE and Query on one box and WFE Query Index on another? NO! Is a default basic install good enough to get started? No! (Even be careful with proof of concept.) Is Virtualization and SharePoint ok? Yes! WooHoo! You Pass SharePoint Fundamentals – The New World Containment Hierarchy * Farm Internet, Extranet, Intranet Servers Web Front End, APP, SQL * Web Applications Central Admin, SSP Admin, Content Databases Content, Config, SSP, Search * Site Collections Internet, Intranet Portal, Wikis, Blogs, Team, Doc, Meeting * Sites Wikis, Blogs, Team, Doc, Meeting Workspaces Lists Doc Lib, Pages, Events, Discussions, Surveys, etc… Items Files, calendar items, contacts, customers, images, custom Joel's Cheat Sheet for Hosting Dedicated Farm(s) Web App Site Collection Sites • Ideal for applications such as Project Server, Performance Point, BDC applications, CRM, Sales SAP/Siebel and Finance Solutions built on SharePoint • Great for staged deployments i.e. dev, test, authoring to production • Ideal for point solutions, Records Management, for Legal Holds, department solutions, and groups of site collections • Memory isolation and separate SSP such as Search Solutions • Support 100s-100K+ sites • Ideal for Collaborative environments including intranets, Projects, extranets • Document Management where scale is into +TBs • Information and aggregation Portals such as Intranets • WCM Internet sites with page libraries Endusersharepoint.com SharePoint Server Logical Model Service Offering Permanent Structured SharePoint Server Sites Central Portal Permanent Central Portal Web Application Division Portals Ad Hoc WSS Site Templates SharePoint Server Sites Groups & Teams Permanent Division Portals Web Applications or Site Collections Adhoc Team Sites Consider Charge Back To reduce support hit. Projects & Workspaces My Sites 1 per User Unit TechNet Max Joel’s Guideline Joel’s MAX Web Apps per Farm 8 5 Content Webapps with 8GB RAM I recommend no more app pools than 1 per every 2GB of RAM Databases per WebApp - 100 per SQL server 100 or less if using DB Mirroring Site Collection per Web App 50,000 also listed as 100,000 and 150,000 depending on ref 100,0000 150,000 Size per content database - 100GB 1 TB with serious list and site optimization (super advanced only) Size per Site Collection - 15GB in multi-tenant DB 100GB in dedicated DB 25GB in multi 1TB in dedicated Db Sites in Site (Web) 2000 100 200 Items per List 2000 items per view Use Custom Views, Indexed columns and I recommend view Item limit of 100 or Plan for Software Boundaries Plan your lists and libraries Throughput differences between flat document library vs. document library with folders Top Performance Killers 1. 2. 3. 4. Indexing/Crawling Backup (SQL & Tape) Profile Import Misc Timer Jobs – User Sync for large #s of Users 5. STSADM Backup/Restore 6. Large List Operations 7. Heavy User Operation List Import/Write Understanding the SharePoint Databases Farm • Config • Servers • Web Apps • Solutions • Global Config Web App • Content • Site Collections • Sites • Lists • Pages • Documents • DWPs SSP • Search • Properties • SSP • My site host config • Profiles • BDC config • Excel Calc Disk I/O Demand Most Demand Medium Demand Low Demand Search Config *Content.. Temp +SSP Model Tlogs Master * Except during backup and Indexing + Except during Profile Import #8 SharePoint Common Mistakes Operations and IT Failures Server Information Architecture Network Operational Backup/Restore • Poor configuration (Not planned - defaults) • Insufficient RAM and Disk allocation • Poor choice of Site vs. Site Collection Structure • Flat Lists • One Content Database • Poor Network between WFEs and SQL • No plan for WAN (User complaints without answers) • No Backup • Emergency: No Restore plan or steps • Disaster Recovery – More like Disaster Developer Failures Ramp up/Lack of Skills • Memory Leaks – USE SpDisposeCheck tool • Not closing Objects • Unaware of community tools Poor Assumptions • Unnecessary Custom Site Defs or editing default site def • Thinking more is better • Naked assemblies and editing web.config(s) isn’t enough Easy way rather than right way • Skipping to production (Dev and test environment – REQUIRED!) • Wrap it up – WSP Solutions Required – WSPBuilder • Manage your source TFS!? Business Deployment Failures Communication Culture & Adoption Budget/Sponsor Poor Planning • Duplication of effort • No comm. No buy in (forced deployment) • Lack of End User Training/Community • Lack of Help and Insight into Business processes • No Budget - No project or Budget cuts • No Sponsorship – Under the Radar • Poorly designed taxonomy & Information Architecture • No deployment due to complex dependencies Call to Action! Be sure to PLAN your logical infrastructure & Physical… Don’t forget a Governance Plan! Where do you get your information? TechNet, MSDN, SharePoint Team Blog, SharePoint User Groups http://www.sharepointpros.org, and blogs!! Twitter? http://www.sharepointjoel.com @joeloleson Quest IT Solutions for SharePoint Quest SQL Server Solutions Maximize SQL Server performance while simplifying tasks and providing visibility and control Quest Web Parts Enable rapid development of SharePoint applications Site Administrator for SharePoint Discover, understand and manage your SharePoint environment Recovery Manager for SharePoint Granular SharePoint recovery for enterprise-level needs Migration Manager for SharePoint Public Folder Migrator for SharePoint SharePoint 2003 to 2007 migration Exchange Public Folders to SharePoint migration Notes Migrator for SharePoint File Migrator for SharePoint File shares to SharePoint migration Notes application content to SharePoint migration 34 SharePoint Exams! Get Certified on the New Exams!!! For IT Pros: 70-631 - Windows SharePoint Services 3.0 - Configuring 70-630 - Office SharePoint Server 2007 - Configuring For Developers: 70-541 - Microsoft Windows SharePoint Services 3.0 Application Development 70-542 - Microsoft Office SharePoint Server 2007 - Application Development MCM and MCA! Resources SharePoint Backup and Disaster Recovery Updated Resources – More info on SharePoint Mirroring and Log shipping Top SharePoint Storage Resources – key resources around storage and sizing SharePoint SQL database maintenance – whitepapers and recommendations SharePoint Essentials – links and resources MSDN & TechNet http://msdn. microsoft.com/sharepoint http://technet.microsoft.com/moss Virtual Labs http://www.microsoft.com/technet/traincert/virtuallab/rms.mspx Newsgroups http://communities2.microsoft.com/ communities/newsgroups/en-us/default.aspx User Groups http://www.microsoft.com/communities/usergroups/default.mspx Technical Communities, Webcasts, Blogs, Chats & User Groups http://www.microsoft.com/communities/default.mspx Microsoft Learning and Certification http://www.microsoft.com/learning/default.mspx Microsoft Developer Network (MSDN) & TechNet http://microsoft.com/msdn http://microsoft.com/technet Trial Software and Virtual Labs http://www.microsoft.com/technet/downloads/trials/default.mspx Thank You! Dunkie! Resources Tech·Ed Africa 2009 sessions will be made available for download the week after the event from: www.tech-ed.co.za www.microsoft.com/teched www.microsoft.com/learning International Content & Community Microsoft Certification & Training Resources http://microsoft.com/technet http://microsoft.com/msdn Resources for IT Professionals Resources for Developers