SPSPTCDC - SharePoint Admin 101 - SpeedMetal - PowerUser to Admin in 75 Minutes
Upcoming SlideShare
Loading in...5
×
 

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

on

  • 1,729 views

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

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

Statistics

Views

Total Views
1,729
Views on SlideShare
1,728
Embed Views
1

Actions

Likes
1
Downloads
14
Comments
0

1 Embed 1

http://www.slashdocs.com 1

Accessibility

Categories

Upload Details

Uploaded via as Microsoft PowerPoint

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment
  • 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
  • IF YOU DON’T NEED IT – DON’T USE ITPLUS YOU CAN GIVE IT AWAY!
  • 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'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 http://blogs.kma-llc.net/microknowledge/version-build-numbers/) 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 SPSPTCDC - SharePoint Admin 101 - SpeedMetal - PowerUser to Admin in 75 Minutes Presentation Transcript

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