SharePoint 2010  - Administration 101<br />SharePoint Saturday the ConferenceAugust 2011Chris McNulty<br />
SharePoint SpeedMetal [Admin 101](S5A-104)Admin – 200<br />Chris McNulty<br />KMA<br />Welcome to SharePoint Saturday—The ...
Welcome to SharePoint Saturday—The Conference<br />Thank you for being a part of the first SharePoint Saturday conference<...
About KMA<br />Founded 1995<br />29 employees<br />4 partners, including 2 co-founders<br /><ul><li>Principal lines of bus...
Working with SharePoint technologies since 2000/2001
20 years consulting and financial services technology (Santander, John Hancock, GMO, State Street)
MBA in Investment Management from Boston College Carroll School of Management
Write and speak often on Microsoft IW technologies (blogs & books)
Hiking, cooking, playing guitar, colonial history, photography
My family: Hayley, three kids (16, 7, 4) and my dog Stan</li></li></ul><li>
Out Of Scope<br />Deep Dives (e.g. PowerShell, BI, Upgrade, SQL DBA)<br />Development<br />Customization<br />Design & Arc...
The dilemma<br />Architecture, Design & Planning<br />Installation and Upgrade<br />Post Installation Best Practices<br />...
<ul><li>You’re the new SharePoint Administrator!!!
You’re still responsible for:
Active Directory
Help Desk
Cooking & Cleaning
Etc.</li></ul>Congratulations!<br />
<ul><li>SharePoint administration is often an ‘add-on’ for other IT professionals (SQL DBAs, AD Admins, Exchange Engineers)
Time and focus are scarce resources!
Common pain points include
Upgrades are complex and hard to monitor
Dispersed workforce, little control of browsers and Office versions
Hard to understand and troubleshoot “behind the scenes” performance and capacity planning
Best practices not always understood or compared to system health
“All or nothing” administration means IT must be engaged for all admin responsibilities, even search</li></ul>The Dilemma<...
Microsoft SharePoint Server 2010 … the bright frontier<br />Eastern Long Island, July 4, 2010<br />
Microsoft SharePoint 2010<br />Ribbon UI<br />SharePoint Workspace<br />SharePoint Mobile<br />Office Client and Office We...
Architecture and Design<br />
<ul><li>Typical Roles:
http services
Search query
Add servers to load balanced cluster
Performance Optimization
Easily virtualized</li></ul>Server Farm – Web Front End<br />14<br />
<ul><li>Typical Roles:
Search index/crawl
Excel calculation
User profiles
Managed Metadata
Add search servers and partitions
Move shared services to dedicated servers
Performance Optimization
CPU</li></ul>Server Farm - Application Server<br />15<br />
<ul><li>Typical Roles:
Data storage
SQL Reporting
Add storage capacity
Performance Optimization
Disk I/O</li></ul>Server Farm - Database<br />16<br />
<ul><li>Typical Roles:
Small teams
Small pools of documents
Performance & fault tolerance less of a concern
SQL & Web on same system
Search not a core function</li></ul>Sizing - Single Server<br />
<ul><li>Typical Roles:
100-10,000 users
10,000 – 1MM documents
Enterprise portal
Upcoming SlideShare
Loading in...5

SPSPTCDC - SharePoint Admin 101 - SpeedMetal - PowerUser to Admin in 75 Minutes


Published on

A recap of Chris McNulty's SharePoint presentation at SharePoint Saturday the Conference in August 2011.

Published in: Technology
  • Be the first to comment

No Downloads
Total Views
On Slideshare
From Embeds
Number of Embeds
Embeds 0
No embeds

No notes for slide
  • Typical
  • Walkthrough examplesWe sometime work closely w business, sometimes ITSometimes IT has dedicated SP resourcingSample – Midwestern manufacturer – sponsor is a program manager (electronics) – core team includes C# developers for their product team, some knowledge of SQL, no other time
  • Let’s break down investments by workloads…SitesCommunitiesContentSearchInsightsComposites
  • These are the domain accounts that are generally needed in a standard SharePoint installation. These accounts are shown with suggested names; names can be adjusted to confirm to any corporate naming standard for service accounts. For example, you may wish to designate ALL service accounts with a sv- or svc- prefix. Similarly, you may want to designate “regions” with a suffix, such as –dev, -tst, or –prd. Likewise, if you have already established SQL service account conventions, those accounts are fine as well.
  • Keep?
  •  No SQL maintenance plansAll gardens need weeding. SQL databases need tending too. Left on their own, content databases and config databases will generate runaway transaction logs. Combined with overzealous local backup retention plans and you’ll quickly fill up you storage. Take a little time to understand Full Recovery vs. Simple Recovery in SQL. Or, more importantly, use a maintenance plan to backup and truncate your logs – it’s not that hard.Default names for every databaseThe default database name for a SharePoint content database is “WSS_Content”, and if you take the defaults, all subsequent databases will take the default format WSS_Content_[really-long-GUID]. Don’t do this – down the road, during backup, restore or SQL maintenance operations you&apos;ll be constantly jumping into Central Admin to figure out which sites use “WSS_Content_abdc1234-1111-2222-878adf0e”. Much better to name the databases according to a person- friendly standard – “WSS-Content-HRPortal”, etc. Even if it’s obvious to you, it may not be obvious to your DBA or someone else who has to support it in the future. No patchingGiven my crazed obsession with SharePoint version numbers (see this is not a stretch. Microsoft has made it as easy as possible to stay in sync with the latest patches, Service Packs and Cumulative Updates. Do you need to update your systems every two months? Probably not. Should you still be running the nearly four year old RTM version of SharePoint 2007? Definitely not.One environment for everythingDon’t build a development environment. Don’t build a test environment. Just make all changes live, in production. What could ever go wrong?One acct for everythingBig, big no-no here. If you don’t pay attention, you may be tempted to use one master account for the SQL service, for the installation, for the farm account, for search, for content access, and for the IIS pools. Then, when you administer the site, it’s always easy to work around security restrictions by handing out those account credentials to a wide group of people. Next thing you know, someone forgets the password and locks out the account. The great news is that you don’t need to build a monitoring system for this alert, because everyone and I mean everyone, will get the dreaded web page that reads:Cannot connect to configuration database.So don’t give out the admin accounts, and, especially, don’t reuse the farm account.Single server install with SQL ExpressIf you don’t pay close attention on the original installation sequence, you may pick a “standalone” single server installation. You’re starting with only one server for now, right? Unfortunately, you’ll wind up with a server that can’t be expanded, running SQL Express Edition. And limited to 4GB of content database size. Well, at least you’ll avoid the next problem:Runaway content database sizeMicrosoft recommends that SharePoint content databases stay below 100GB (200GB if it’s the only content DB in a SharePoint 2010 site collection). But SharePoint doesn’t stop you from adding more – it’s a recommendation for optimal user performance. However, I’ve seen too many installations that grew grew grew to 250GB, 500GB or more. Plan your content database sizes in advance of critical sizes. You can add databases and site collections to create more manageable units, or use Remote Blob Storage (RBS) to pull those file of attachments out of the databases and into external storage, reducing file sizes.
  • Keep?
  • Use SP to managed SPBusiness owns home page
  • Typical
  • SPSPTCDC - SharePoint Admin 101 - SpeedMetal - PowerUser to Admin in 75 Minutes

    1. 1. SharePoint 2010 - Administration 101<br />SharePoint Saturday the ConferenceAugust 2011Chris McNulty<br />
    2. 2. SharePoint SpeedMetal [Admin 101](S5A-104)Admin – 200<br />Chris McNulty<br />KMA<br />Welcome to SharePoint Saturday—The Conference<br />
    3. 3. Welcome to SharePoint Saturday—The Conference<br />Thank you for being a part of the first SharePoint Saturday conference<br />Please turn off all electronic devices or set them to vibrate.<br />If you must take a phone call, please do so in the hall so as not to disturb others.<br />Open wireless access is available at SSID: SPSTC2011<br />Feel free to “tweet and blog” during the session<br />Thanks to our Diamond and Platinum Sponsors:<br />
    4. 4. About KMA<br />Founded 1995<br />29 employees<br />4 partners, including 2 co-founders<br /><ul><li>Principal lines of business:</li></ul>Professional Services<br />SharePoint Consulting<br />SharePoint Managed Services<br />Custom Application Development<br />Software Product<br />Mekko Graphics advanced charting software<br /><ul><li>Roots in academia (MIT, Harvard, BU)</li></li></ul><li>Chris McNulty<br /><ul><li>KMA SharePoint Practice Lead/Manager
    5. 5. Working with SharePoint technologies since 2000/2001
    6. 6. 20 years consulting and financial services technology (Santander, John Hancock, GMO, State Street)
    7. 7. MBA in Investment Management from Boston College Carroll School of Management
    8. 8. Write and speak often on Microsoft IW technologies (blogs & books)
    9. 9. Microsoft MCSE/MCTS/MSA/MVTSP
    10. 10. Hiking, cooking, playing guitar, colonial history, photography
    11. 11. My family: Hayley, three kids (16, 7, 4) and my dog Stan</li></li></ul><li>
    12. 12. Out Of Scope<br />Deep Dives (e.g. PowerShell, BI, Upgrade, SQL DBA)<br />Development<br />Customization<br />Design & Architecture<br />Power User (e.g. Library Customization, Designer Workflows, etc.)<br />Office 365<br />Rules<br />Move fast, PowerPoint is shared<br />Questions – time permitting during session<br />Any time after session – email etc.<br />Objectives<br />
    13. 13. The dilemma<br />Architecture, Design & Planning<br />Installation and Upgrade<br />Post Installation Best Practices<br />Service/Feature Placement<br />Support<br />Monitoring and Optimization<br />Backup<br />PowerShell<br />Development Functions<br />Optimization<br />Patching<br />SQL Maintenance<br />Best Practices<br />Agenda<br />
    14. 14. <ul><li>You’re the new SharePoint Administrator!!!
    15. 15. But…
    16. 16. You’re still responsible for:
    17. 17. Exchange
    18. 18. Active Directory
    19. 19. SQL
    20. 20. Desktop
    21. 21. Help Desk
    22. 22. Network/Firewall
    23. 23. Cooking & Cleaning
    24. 24. Etc.</li></ul>Congratulations!<br />
    25. 25. <ul><li>SharePoint administration is often an ‘add-on’ for other IT professionals (SQL DBAs, AD Admins, Exchange Engineers)
    26. 26. Time and focus are scarce resources!
    27. 27. Common pain points include
    28. 28. Upgrades are complex and hard to monitor
    29. 29. Dispersed workforce, little control of browsers and Office versions
    30. 30. Hard to understand and troubleshoot “behind the scenes” performance and capacity planning
    31. 31. Best practices not always understood or compared to system health
    32. 32. “All or nothing” administration means IT must be engaged for all admin responsibilities, even search</li></ul>The Dilemma<br />
    33. 33. Microsoft SharePoint Server 2010 … the bright frontier<br />Eastern Long Island, July 4, 2010<br />
    34. 34. Microsoft SharePoint 2010<br />Ribbon UI<br />SharePoint Workspace<br />SharePoint Mobile<br />Office Client and Office Web App Integration<br />Standards Support<br />Business Connectivity Services<br />InfoPath Form Services<br />External Lists<br />Workflow<br />SharePoint Designer<br />Visual Studio<br />API Enhancements<br />REST/ATOM/RSS<br />Sites<br />Tagging, Tag Cloud, Ratings<br />Social Bookmarking<br />Blogs and Wikis<br />My Sites<br />Activity Feeds<br />Profiles and Expertise<br />Org Browser<br />Communities<br />Composites<br />PerformancePoint Services<br />Excel Services<br />Chart Web Part<br />Visio Services<br />Web Analytics<br />SQL Server Integration<br />PowerPivot<br />Content<br />Insights<br />Enterprise Content Types<br />Metadata and Navigation<br />Document Sets<br />Multi-stage Disposition<br />Audio and Video Content Types<br />Remote Blob Storage<br />List Enhancements<br />Search<br />Social Relevance<br />Phonetic Search<br />Navigation<br />FAST Integration<br />Enhanced Pipeline<br />
    35. 35. Architecture and Design<br />
    36. 36. <ul><li>Typical Roles:
    37. 37. http services
    38. 38. Search query
    39. 39. Scaling
    40. 40. Add servers to load balanced cluster
    41. 41. Performance Optimization
    42. 42. RAM
    43. 43. Easily virtualized</li></ul>Server Farm – Web Front End<br />14<br />
    44. 44. <ul><li>Typical Roles:
    45. 45. Search index/crawl
    46. 46. Excel calculation
    47. 47. User profiles
    48. 48. Managed Metadata
    49. 49. Scaling
    50. 50. Add search servers and partitions
    51. 51. Move shared services to dedicated servers
    52. 52. Performance Optimization
    53. 53. CPU</li></ul>Server Farm - Application Server<br />15<br />
    54. 54. <ul><li>Typical Roles:
    55. 55. Data storage
    56. 56. SQL Reporting
    57. 57. Scaling
    58. 58. Add storage capacity
    59. 59. Performance Optimization
    60. 60. Disk I/O</li></ul>Server Farm - Database<br />16<br />
    61. 61. <ul><li>Typical Roles:
    62. 62. Small teams
    63. 63. Small pools of documents
    64. 64. Considerations
    65. 65. Performance & fault tolerance less of a concern
    66. 66. SQL & Web on same system
    67. 67. Search not a core function</li></ul>Sizing - Single Server<br />
    68. 68. <ul><li>Typical Roles:
    69. 69. 100-10,000 users
    70. 70. 10,000 – 1MM documents
    71. 71. Scenarios
    72. 72. Enterprise portal
    73. 73. Large scale collaboration
    74. 74. Broader applications platform
    75. 75. Larger external search pool
    76. 76. Mix and match internal external front end servers on common content databases</li></ul>Sizing - Medium Farm<br />
    77. 77. <ul><li>Typical Roles:
    78. 78. Large distributed enterprise users (10000+)
    79. 79. Large pools of documents (>1MM)</li></ul>Sizing - Large Farm<br />
    80. 80. <ul><li>Farm level
    81. 81. Web applications
    82. 82. Independent top level URLs
    83. 83. Run inside IIS pools
    84. 84. Consume shared services and admin from the farm or other farms
    85. 85. Site collections
    86. 86. Security, branding, database frontier
    87. 87. Contain single sites or site hierarchies
    88. 88. Sites
    89. 89. Group related SharePoint elements (lists, libraries, pages, web parts)</li></ul>Top Level Logical Components<br />20<br />
    90. 90. Mid-Level Logical Components (http://intranet)<br /><ul><li>Sites also contain lists, pages, and web parts</li></li></ul><li>Logical Components<br /><ul><li>High capacity!
    91. 91. Maximums
    92. 92. 250,000 sites per site collection
    93. 93. 5,000 site collections per content DB
    94. 94. 200GB max content DB (single site collection)
    95. 95. >200GB post SP1
    96. 96. 300 Content DBs per web application
    97. 97. 30MM documents/library
    98. 98. 2GB document size</li></ul>22<br />
    99. 99. Disk Sizing<br /><ul><li>Inputs: Size for SharePoint content and non-SharePoint content included in search
    100. 100. For DBs, don’t forget to consider transaction logs, disk dumps (if used for backup) which can add 1-3X.
    101. 101. In SAN or virtual environments, not all disk need be provisioned early</li></li></ul><li>Web Front End (WFE)<br />8GB minimum<br />12GB larger<br />16GB max<br />Application<br />8-12GB<br />SQL<br />8-20GB<br />HP Sizing Tool<br /><br />Don’t forget about the swap files (1-2X size of RAM)<br />Memory Sizing<br />
    102. 102. WFE<br />Load balanced clusters<br />Internal – external isolation<br />500-1000 simultaneous users<br />Application<br />Indexes Redundant<br />Distribute Queries<br />Database<br />Cluster<br />Mirroring<br />Log Shipping<br />EBS or RBS<br />Server Counts - Redundancy<br />
    103. 103. Sidebar on SQL Disk optimization<br />RAID 1: Mirroring (Wastes disk)<br />RAID 5: Parity Bit (write performance hit)<br />RAID 10 Stripes across mirrors (costly)<br />Physical location of data, log, temp and/or backup files. If virtualization or SAN technology doesn’t isolate the disks, not much performance gain,<br />Performance optimization/fault tolerance by:<br />RAID1 on boot disks<br />RAID5 on data disks<br />RAID10 on log disks<br />No RAID, or RAID 5 on backup disks<br />RBS reduces size (and count) of content databases but doesn’t reduce size of total storage<br />IOPS, IOPS, IOPS!<br />Psst…about SQL…<br />
    104. 104. Classic<br />Zones mapped<br />Single URL for each authentication method:<br /> e.g.<br />Default: Windows<br />Forms (LDAP, SQL, ADAM)<br />Generate an NTToken to represent SPUser<br />Claims<br />Unified URL<br />Multiple sources (Windows, FBA, SSO) combine to generate a single SAML token to represent SPUser<br />Authentication Architecture<br />27<br />
    105. 105. Authentication ScenariosMixed Mode<br /><br />Extranet<br />Zone<br />Intranet<br />Zone<br />http://intranet<br />FBA<br />claims<br />Windows<br />claims<br />Remote Employees<br />Employees<br />
    106. 106. Traditional<br />Inexpensive<br />Simple<br />Only one firewall<br />External traffic comes inside internal network<br />Internet Topology – Edge Firewall<br />
    107. 107. More complex<br />Duplicative networks, backup, AD<br />External traffic is reserved<br />Larger server foot print (exposure) in perimeter<br />Internal users need domain trusts<br />Internal users access site across firewall<br />Internet Topology – Perimeter<br />
    108. 108. Most complex<br />Intricate firewall rules<br />App, AD and search roles optionally in perimeter<br />Optional internal WFE or internal users always cross a firewall<br />Crawl topologies important to avoid overtaxing the firewall<br />Internet Topology – Split Back to Back<br />
    109. 109. Multi-farm<br />SSA farm<br />Content publishing<br />Internet Topology – Enhanced Techniques<br />
    110. 110. Internal<br />Active Directory<br />Exchange / File Shares<br />Index and integrate BCS data<br />External<br /><ul><li>LDAP
    111. 111. Mail Relay
    112. 112. Indexed search content</li></ul>Other Systems<br />FAST (Search)<br />Project Server / TFS<br />BizTalk<br />LoB/Dynamics<br />Oracle (BCS)<br />Notes (Search)<br />Wikis and other indexed web sites<br />Common Integration Touchpoints<br />
    113. 113. SharePoint Family Platforms<br />
    114. 114. SharePoint 2010 is a 64 bit only platform. Direct upgrades from 32 bit to 64 bit requires prep work. <br />Windows Server 2008 or Windows Server 2008 R2 X64<br />SQL Server 2005 x64 SP3 CU3 <br /> Or<br />SQL Server 2008 x64 SP1 CU2<br /> Or<br />SQL Server 2008 R2<br />Platform Basics<br />
    115. 115. 2007 Shared Services Provider has been broken up; each of its elements is now a Shared Service Application<br />Mix and match them singly or in groups, to match farm’s needs. <br />Crawl/index no longer a single server role<br />In 2010, administration can be delegated<br />Key targets: Enterprise search, metadata, user profiles<br />Shared Service Applications<br />
    116. 116. Internet Explorer 7/8/9, Firefox and Safari are all supported. <br />Some support for Chrome<br />IE6 is not supported<br />Most other browsers are still supported for Internet configurations<br />Office 2010 includes optimizations for the new platforms<br />Offline Access<br />2007: used Outlook 2007 and Groove<br />SharePoint Workspace 2010 integrates offline documents and lists<br />Client/Browser Technology<br />
    117. 117. SharePoint 2010 provides a server version of Office applications – Office Web Access, or “OWA”. <br />In part, this enables simultaneous multiuser editing of Office documents:<br />Excel in OWA, not client<br />Word/PowerPoint on client only if file opened from a shared document library<br />OneNote client or OWA<br />Office Web Applications<br />
    118. 118. Installation and Upgrade<br />
    119. 119. Servers:<br />Windows 2008 R2 X64 Enterprise Edition<br />SQL Server 2008 R2 x64 <br />Service Accounts<br />spfarm(Farm acct; local admin on the SharePoint servers and either sa or dbcreate, dbowner and security admin on the SQL server.)<br />svcsql (SQL Server service acct)<br />sppool (IIS pool acct)<br />spcrawl (Search accts)<br />spadmin Interactive admin (install account; local, site collection and farm admin privileges)<br />Install as SPAdmin <br />Install Software Prerequisites - Checks for following elements:<br />Application Server Role, Web Server (IIS) Role, Microsoft SQL Server 2008 Native Client, Hotfix for Microsoft Windows (KB976462), Windows Identity Foundation (KB974405), Microsoft Sync Framework Runtime v1.0 (x64), Microsoft Chart Controls for Microsoft .NET Framework 3.5, Microsoft Filter Pack 2.0, Microsoft SQL Server 2008 Analysis Services ADOMD.NET, Microsoft Server Speech Platform Runtime (x64), Microsoft Server Speech Recognition Language - TELE(en-US), SQL 2008 R2 Reporting Services SharePoint 2010 Add-in<br />Installation - Prerequisites<br />
    120. 120. Initial<br />Product Key<br />Type of installation - Always SERVER FARM<br />Installation Type - Complete [Not Single Server]<br />Accept default file locations – index files will stay on C:Program FilesMicrosoft Office Servers14.0Data<br />At end NO Wizard<br />Run OWA Setup<br />Then, WIZARD! The wizard starts, and yes, it’s OK for IIS to reset during the wizard…<br />Create a new farm<br />Set farm account<br />Pick configuration database, Passphrase, CentralAdmin Port (Conventions)<br />Final confirm and let the wizard run<br />Installation<br />
    121. 121. Pros<br />Easy<br />All SSAs Configured<br />Saves time and PowerShell hand tooling of SSAs<br />Cons<br />My Sites setup in same app and DB as primary<br />Database Names are default, GUID happy<br />Kills kittens (ask SharePoint 911!)<br />What it does<br />Sets up service acct for SSAs and other services (sppool)<br />Sets up a port 80 web app with a My Sites Host sub-site collection in WSS_Content database<br />Installation – Farm ConfigWizard?<br />
    122. 122. Three paths<br />In place<br />Database upgrade<br />Third party tools<br />Process<br />Pre-upgrade checker<br />Visual Upgrade<br />Resumable upgrade<br />Progress reports<br />Parallel DB upgrades<br />Predictable Upgrade<br />
    123. 123. Additional Prepwork<br />Content pruning<br />Database alignment <br />stsadm-o mergecontentdbs<br />DB Attach<br />Preinstall Required Features<br />Stsadm –o addcontentdb –databasename DBNAME –url URL –assignnewdatabaseid<br />PowerShell Mount-ContentDatabase<br />Test, test, test!<br />Upgrade Preparation<br />
    124. 124. SharePoint 2007 SP2 minimum, October 2009 CU best<br />STSADM.exe –o preupgradecheck <br />Documentation<br />All servers and components in the farm, and whether the servers meet 64-bit hardware/OS requirements<br />Alternate access mapping URLs<br />A list of all site definitions, site templates, features, and language packs that are installed in the farm.<br />Unsupported farm customizations (such as database schema modifications).<br />Database or site orphans <br />Missing or invalid configuration settings in the farm (missing Web.config file, invalid host names, invalid service accts).<br />Whether the databases meet the requirements — for example, databases are set to read/write, and any databases stored in Windows Internal Database and larger than 4 GB.<br />Pre-Upgrade Check<br />
    125. 125. Switch-on new UI across site collections in a controlled manner<br />Upgrade servers without changing the user interface<br />Preview new UI<br />Pre-release screenshots, subject to change<br />IT Pro Investments – Visual Upgrade<br />
    126. 126. DEMO<br /><ul><li>Upgrade</li></li></ul><li>Monitoring<br />Monitoring and Operations<br />
    127. 127. Developer Dashboard<br />Empower developers and users<br />Integrated Health Analyzer<br />Runs when necessary<br />Alerts anomalies <br />Fixes when it can<br />Web Analytics<br />User usage<br />Resource usage<br />Proactive Issue Resolution <br />
    128. 128. Logging, Monitoring, and AlertsKnow what is going on<br />ULS Logs<br />Windows Events<br />Unified Logging<br />Out-of-the-box reports<br />Richer Web Analytics<br />Open Schema<br />SCOM Integration<br />PLUS<br />Developer Dashboard<br />Health Analyzer<br />Logging DB<br />Page requests<br />Feature Logging<br />Health data<br />
    129. 129. Monitoring<br />SCOM<br />Central Admin<br />Health Analyzer<br />Site Collection Web Analytics<br />Developer Dashboard<br />stsadm –o setproperty –pn developer-dashboard –pv OnDemand <br />(Get-SPFarm).PerformanceMonitor.DeveloperDashboardLevel = "OnDemand"<br />Troubleshooting<br />Correlation ID – One GUID to rule them all!<br />ULS Logs, Event Logs, Performance Monitor<br />OR<br />WSS_Logging DB<br />Monitoring – General<br />
    130. 130. Developer Dashboard Improve customized solutions with the Developer Dashboard<br />SQL Queries Performance<br />Memory Usage<br />Data-Request Trace<br />Pre-release screenshots, subject to change<br />
    131. 131. Query Database Views Directly<br />Requires Timer Jobs Enabled<br />Diagnostic Data Provider: Trace Log<br />Diagnostic Data Provider: Event Log<br />ULS Configuration Matters<br />Database will GROW!<br />Aggregates from ALL Servers<br />Sample: <br />SELECT * FROM [WSS_Logging].[dbo].[ULSTraceLog] WHERE CorrelationID = '04377DAE-C2FD-4DBE-A57E-101B3005059E'<br />Monitoring – WSS_Logging<br />
    132. 132. Third Party Tools<br />Recycle Bin<br />Granular / Site Collection Backup (UI)<br />*.bak file<br />Restore-SPSite<br />Unattached Recovery<br />Browse unattached content database<br />Account needs DB permissions<br />Database need not be on the same server!<br />No more granular than list or library!<br />Browse Content<br />Export Site or List<br />Export as a CMP file<br />PowerShell restore<br />PS: Import-SPWeb http://msshome2010 –Path C:ListRecovery.cmp<br />SQL Backup<br />SharePoint Backup (UI or script)<br />Backup/Recovery<br />
    133. 133. @echo off<br />echo ==================================================<br />echo Backup the farm<br />echo ==================================================<br />@SET stsadm="C:Program FilesCommon FilesMicrosoft SharedWeb Server Extensions12BINstsadm"<br />rmdir /S /Q "spsql08spbackupfarmold"<br />ren "spsql08spbackupfarm" "farmold" <br />md "spsql08spbackupfarm"<br />%stsadm% -o backup -directory "spsql08spbackupfarm" -backupmethod full<br />echo complete<br />STSADM Backup<br />
    134. 134. # NOT NEEDED write-output<br />write-host ==================================================<br />write-host Backup the farm<br />write-host ==================================================<br />Add-PSSnapIn Microsoft.SharePoint.Powershell<br />Remove-Item -Path "C:PSBackupfarmold“ -recurse<br />Rename-Item -Path "C:PSBackupfarm" -NewName "farmold" <br />New-Item -type directory -path C:PSBackupfarm<br />Backup-SPFarm -directory "C:PSBackupfarm" -backupmethod full –verbose –percentage 5<br />Write-host Backup complete<br />PowerShell Backup<br />
    135. 135. SharePoint Shell vs. Base Shell<br />Add-PSSnapin Microsoft.Sharepoint.Powershell<br />Command -?<br />Get-Help Command<br />Get-Help Command –examples<br />Pipe<br />Get-Command –Noun SP*<br />Get-Command – Noun SP* | Select Name<br />Get-Command – Noun SP* | Select Name | Out-File Commands.txt<br />Get-SPSite –limit all | Get-SPWeb –limit all | Select URL, webtemplate | Out-GridView<br />WindowsPowerShell Integrated Scripting Environment to allow Out-GridView<br />PowerShell<br />
    136. 136. Visual Update a range of sites:<br />Site Backup<br />Add MMS Term<br />Some Useful PowerShell Snippets<br />
    137. 137. Create and configure a library<br />Some Useful PowerShell Snippets II<br />
    138. 138. Visual Studio 2010 Support<br />Import solutions from SharePoint Designer, including Workflow<br />Extensibility for SharePoint artifacts<br />Support for SharePoint Sandboxed Solutions<br />Workflow Designer<br />Web PartDesigner<br />Packaging Explorer<br />Pre-release screenshots, subject to change<br />
    139. 139. Project and Item Templates<br />Templates for many SharePoint elements<br />Support for sandboxed solutions<br />Visual Designers<br />Design web parts<br />Build Business Data Connectivity (BDC) models<br />Create Workflows<br />Workflow Enhancements<br />Site level workflows<br />Templates for association & initiation forms<br />Deploy/debug directly from IDE<br />Visual Studio 2010 Support<br />Templates and designers<br />
    140. 140. Development Continuum<br />Professional developer<br />Business Analyst/Process Designer<br />Designer/IW/Power User<br />Import<br />Create lists & libs<br />Design Web Pages<br />Web part hook-up<br />Views & forms<br />Declarative Workflows<br />Custom Web Parts<br />Code Workflows<br />Event Receivers<br />List Definitions<br />Application Pages<br />Design skeleton workflow processes<br />View workflow visualizations<br />Design data-backed business diagrams<br />WSP Package<br />Export<br />
    141. 141. Governable self-service deployment with SandBoxed Solutions<br />What can be deployed?<br /><ul><li>Web Parts
    142. 142. Event Receivers
    143. 143. Feature Activation Receivers
    144. 144. Workflow Actions
    145. 145. InfoPath Forms
    146. 146. Site and List Templates</li></ul>Web-part deployment<br />Resource-quota management<br />Restricted to Limited resources<br /><ul><li>Code CPU Time
    147. 147. SQL Execution Time
    148. 148. Number Exceptions</li></ul>Custom Code is Isolated<br /><ul><li>Separate Process/Server
    149. 149. Scale Out</li></ul>Pre-Beta screenshots, subject to change<br />
    150. 150. CA | Application Management<br />Manage Quotas and Locks<br />(Also where you can set a site collection read-only)<br />Daily quota is 300 points <br />includes AbnormalProcessTerminationCount, CPUExecutionTime, CriticalExceptionCount, InvocationCount, PercentProcessorTime, ProcessCPUCycles, ProcessHandleCount, ProcessIOBytes, ProcessThreadCount, ProcessVirtualBytes, SharePointDatabaseQueryCount, SharePointDatabaseQueryTime, UnhandledExceptionCount, UnresponsiveprocessCount<br />Reconfigure values via PowerShell (unlikely)<br />Examine them using:<br />[Microsoft.SharePoint.Administration.SPUserCodeService]::Local.ResourceMeasures<br />Development Support –Sandbox<br />
    151. 151. Development Support – Three Regions<br />
    152. 152. DEMO<br /><ul><li>Monitoring
    153. 153. Developer Dashboard
    154. 154. Health Analyzer
    155. 155. PowerShell</li></li></ul><li>Optimization<br />Optimization<br />
    156. 156. IIS Bit Rate Throttling (Video)<br />Part of IIS Media Services 2.0 or greater <br />Download<br />Configured through IIS Manager<br />Large File Upload Support:<br />Central Admin: 600MB Upload Size<br />IIS7 Connection Timeout 65536 seconds<br />Web app web.config = change line to <br /><httpRuntime maxRequestLength="2097151" executionTimeout="999999" /><br />in 14hivetemplatelayoutsweb.config, change above line to same<br />Finally, as per add section to web.config to allow 600MB content length (it’s a new requirements in IIS7).<br /><system.webServer><br /><security><br /><requestFiltering><br /><requestLimits maxAllowedContentLength="629145600"/><br /></requestFiltering><br /></security><br />Optimization<br />
    157. 157. Disk-based BLOB Caching<br />Local store for audio/video, PDF other frequent read only files<br />Edit in Web.config (C:Inetpubwwwrootwssvirtualdirectories...)<br /><BlobCache location="" path=".(gif|jpg|jpeg|jpe|jfif|bmp|dib|tif|tiff|ico|png|wdp|hdp|css|js|asf|avi|flv|m4v|mov|mp3|mp4|mpeg|mpg|rm|rmvb|wma|wmv)$" maxSize="10" enabled="false" /><br />Location = Local Disk Location<br />maxSize = GB<br />Enabled = true<br />Different from RBS/EBS!<br />Find Sean McDonough<br />Optimization<br />
    158. 158. Patching – High Level Process<br />
    159. 159. Backups<br />Local Disk – easy but storage intensive<br />Agents – remote, requires extra software<br />RBS Maintenance<br />BLOB Orphans<br />Log Sizing<br />Full logged (default) generates huge t-logs<br />Simple doesn’t but prevents point in time restore<br />Maintenance Plans<br />SQL Maintenance<br />
    160. 160. Add PDF image support<br />Add pdf16.gif to 14HiveTEMPLATEIMAGES [spare copy from ]<br />Add references to the images in 14HiveTEMPLATEXMLDOCICON.XML<br /><Mapping Key="pdf" Value="pdf16.gif"/><br />IISRESET<br />Add PDF to file type in Search SSA<br />Add Adobe 64 bit PDF iFilter:<br />Large File Upload Support: [Defined Later]<br />Activity Feed Timer Job <br />14Hive = C:Program FilesCommon FilesMicrosoft SharedWeb Server Extensions14<br />14HiveBin on Environment Path<br />Disable the loopback check<br />In Registry Editor, locate and then click the following registry key: <br />HKEY_LOCAL_MACHINESYSTEMCurrentControlSetControlLsa<br />Right-click Lsa, point to New, and then click DWORD Value. <br />Type DisableLoopbackCheck, and then press ENTER. <br />Set Value = 1, and then click OK. <br />Quit Registry Editor, and then restart your computer. <br />Make search service topology (crawl, index, query) redundant<br />Post Installation Best Practices<br />
    161. 161. Best Practices<br />
    162. 162. Users Receive “Cannot Connect to Configuration Database” Web Page<br />SharePoint farm account is locked out<br />No one can upload anything but site is up<br />Database disk volume is full – check transaction logs, backups<br />In virtualized environment, host file systems may be full<br />I can’t find a document I think I should see; Someone can’t see a file I just uploaded<br />Security and permission variations<br />Document “movement” (a/k/a ECM) try search by name or Document ID. Check ECM logs/audits<br />Confirm permissions, and make sure document is checked in (Required properties may be missing)<br />Troubleshooting – Top Support Questions<br />
    163. 163. Repeated requests to re-enter Windows credentials<br />Add to Local intranet zone, add site, custom level, automatic login with current user name and password (it’s the last thing in the item list)<br />OR Trusted sites<br />My workflow didn’t start<br />Recycle timer service<br />“FixSharePoint.exe” = IISReset & Timer Service Recycle<br />I’m not seeing the right search results<br />Confirm that crawls are running and complete by checking crawl logs; restart a full crawl if crawls finish OK<br />I need a file back that I deleted<br />Recycle Bin Recovery<br />Use Backup & Restore<br />Troubleshooting – More Support Questions<br />
    164. 164. Bad web parts on page<br />?Contents=1 on end of URL<br />HyperV & DiskPart<br />From the run menu type "diskpart.exe" to enter the command line utility to resize disk partitions in Windows Server 2003.<br />The command list volume will show you all the available volumes. <br />Select your volume as shown below. select volume 1 corresponds to the "D" volume.<br />Extend the volume with the extendcommand; the partition will be immediately extended under the Disk Management snap in.<br />User Profile Sync<br />DirSync permissions in AD are essential (Replicating Directory Changes )<br />PSCONFIG for a stuck wizard<br />psconfig.exe -cmd upgrade -inplace b2b -wait<br />14HIVEbin on PATH<br />How big is that site collection anyway?<br />Site Settings | Site Collection Analytics | Scroll down to Inventory and choose Storage Usage<br />How do I make a bigger template?<br />stsadm -o setproperty -propertyname max-template-document-size -propertyvalue size_in_bytes<br />Save site as template<br />To save any site as a template, just go to Site Actions | Site Settings | Save Site as template. This saves the site as a standard .WSP package in the Site Collection Solutions Gallery (/_catalogs/solutions/Forms/AllItems.aspx)<br />Auditing<br />In Central Admin | Security, configure Information Management Policy (/_admin/Policyfeatures.aspx). Make sure Auditing is Available<br />At the Site Collection Audit Settings screen (in Site Collection Administration) select the events you want to audit<br />Site Setting | Site Collection Administration | Audit Log Reports<br />Service Account Management in Central Admin<br />Security | Managed Service Accounts<br />When all else fails – web.config!!!!<br />Miscellaneous Tips and Tricks<br />
    165. 165. Where Governance Begins?<br />Higher Visibility<br />Lighter governance<br />
    166. 166. SharePoint 2010 provides more opportunities, and more importance for reengaging users and sponsors about governance issues than before<br />Major tools<br />Sandbox code<br />Query governors<br />SharePoint Designer<br />Now free (since 2008)<br />Allowed or denied or restricted - PlaceholderMain<br />Social tagging and ratings<br />I like it/I hate it<br />Ratings and adverse feedback<br />ECM<br />Records management - In place vs. Record Center<br />Content Organizer etc.<br />Who controls the lifecycle?<br />Quotas<br />Who gets a site?<br />Governance<br />
    167. 167. Seven Deadly Sins for the SharePoint Professional<br />
    168. 168. No SQL maintenance plans<br />Default names for every database (WSS_CONTENT_12345abc…)<br />No patching<br />One environment for everything<br />One acct for everything<br />Single server install with SQL Express<br />Runaway content database size<br />Seven Deadly Sins<br />
    169. 169. Seven Virtues for the SharePoint Professional<br />
    170. 170. Security Applied via AD Groups and SharePoint Groups<br />Review System Health<br />Test Restore and Recovery<br />Monthly Web Analytics Review – Usage, Storage, Search<br />PowerShell instead of STSADM<br />Governance<br />Use ECM, MMS, Clients, Archiving and Training to Keep Content in SharePoint, reduce accidental duplication and keep searching and browsing fresh<br />Seven SharePoint Virtues<br />
    171. 171. <ul><li>You’re the new SharePoint Administrator!!!
    172. 172. And now
    173. 173. You understand:
    174. 174. Design and Architecture
    175. 175. Installation and Upgrade
    176. 176. Support and Maintenance and Optimization
    177. 177. PowerShell
    178. 178. Customizations
    179. 179. Troubleshooting
    180. 180. Best Practices
    181. 181. People from New York?</li></ul>Congratulations!<br />
    182. 182. <ul><li>From Microsoft:
    183. 183. SharePoint 2010 site:
    184. 184. SharePoint Team Blog:
    185. 185. From KMA</li></ul>Webinars, white papers and blogs at<br />From Me:<br />SharePoint Saturday the Conference<br />Saturday 9:30am S1A-101 - A decade of SharePoint Adoption Best Practices<br />Saturday 11:30am S2B-104 - See Beyond The Numbers: Data Visualization & BI in SharePoint 2010<br />Saturday 3:00pm S4A-101 Playing Tag - Managed Metadata and Taxonomies in SharePoint 2010<br />New Jersey SharePoint User Group September 14 (Business Intelligence)<br />SharePoint Saturday NH – September 24, 2011 (Business Intelligence)<br />KMWorld DC October 2011 (IT)<br />Resources<br />
    186. 186. <ul><li>Questions?
    187. 187. Evaluations
    188. 188. Contact Me
    189. 189. Prizes! Follow @kmallc for the code word!</li></li></ul><li>Email<br />Blog<br />Twitter:<br />LinkedIn:<br />Thank you…<br />
    190. 190. Thanks to Our Other Sponsors!<br />Thanks to our Sponsors<br />
    191. 191. Session Evaluation<br />Please complete and turn in your Session Evaluation Form so we can improve future events. Survey can be filled out at:<br /><br />Presenter: Chris McNulty<br />Session Name: SharePoint SpeedMetal [75 Minute Admin]<br />Session No.: S5A-104<br />
    1. A particular slide catching your eye?

      Clipping is a handy way to collect important slides you want to go back to later.