sharepoint speedmetal admin 101 - spsden

74
SharePoint 2010 SpeedMetal Admin 101 Chris McNulty SharePoint Strategic Product Manager Quest Software

Upload: chris-mcnulty

Post on 15-Dec-2014

669 views

Category:

Technology


2 download

DESCRIPTION

Chris McNulty's presentation on SharePoint 2010 administration at SharePoint Saturday Denver 11/11/11

TRANSCRIPT

Page 1: SharePoint SpeedMetal Admin 101 - SPSDEN

SharePoint 2010 SpeedMetalAdmin 101

Chris McNultySharePoint Strategic Product Manager

Quest Software

Page 2: SharePoint SpeedMetal Admin 101 - SPSDEN

3

©2011 Quest Software, Inc. All rights reserved..

Chris McNulty• SharePoint Strategic Product

Manager at Quest Software

• 10+ years with SharePoint

• 20 years consulting (led KMA SharePoint practice) and financial services technology (Santander, John Hancock/Manulife, GMO, State Street)

• MBA in Investment Management from Boston College

• Write and speak often on Microsoft IW technologies (blogs & books)

• MCSE MCTS MSA MVTSP MCC

• Hiking, cooking, playing guitar, colonial history, photography

• My family: Hayley, three kids (17, 7, 5) and my dog Stan

Page 3: SharePoint SpeedMetal Admin 101 - SPSDEN
Page 4: SharePoint SpeedMetal Admin 101 - SPSDEN

About Home

Page 5: SharePoint SpeedMetal Admin 101 - SPSDEN

About Home

Page 6: SharePoint SpeedMetal Admin 101 - SPSDEN

7

©2011 Quest Software, Inc. All rights reserved..

Welcome to Denver – Orange Crush

Page 7: SharePoint SpeedMetal Admin 101 - SPSDEN

8

©2011 Quest Software, Inc. All rights reserved..

Objectives

• 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.

Page 8: SharePoint SpeedMetal Admin 101 - SPSDEN

9

©2011 Quest Software, Inc. All rights reserved..

Agenda• 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

Page 9: SharePoint SpeedMetal Admin 101 - SPSDEN

10

©2011 Quest Software, Inc. All rights reserved..

Congratulations!oYou’re the new SharePoint Administrator!!!oBut…oYou’re still responsible for:• Exchange

• Active Directory

• SQL

• Desktop

• Help Desk

• Network/Firewall

• Cooking & Cleaning

• Etc.

Page 10: SharePoint SpeedMetal Admin 101 - SPSDEN

11

©2011 Quest Software, Inc. All rights reserved..

The DilemmaoSharePoint administration is often an ‘add-on’ for other IT professionals (SQL DBAs, AD Admins, Exchange Engineers)

oTime and focus are scarce resources!

oCommon 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

Page 11: SharePoint SpeedMetal Admin 101 - SPSDEN

Microsoft SharePoint Server 2010 … the bright frontier

Eastern Long Island, July 4, 2010

Page 12: SharePoint SpeedMetal Admin 101 - SPSDEN

Architecture and Design

Page 13: SharePoint SpeedMetal Admin 101 - SPSDEN

15

©2011 Quest Software, Inc. All rights reserved..

Server Farm – Web Front End

• Typical Roles:

• http services

• Search query

• Scaling

• Add servers to load balanced cluster

• Performance Optimization

• RAM

• Easily virtualized

15

Page 14: SharePoint SpeedMetal Admin 101 - SPSDEN

16

©2011 Quest Software, Inc. All rights reserved..

Server Farm - Application Server

• 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

16

Page 15: SharePoint SpeedMetal Admin 101 - SPSDEN

17

©2011 Quest Software, Inc. All rights reserved..

Server Farm - Database

• Typical Roles:

• Data storage

• SQL Reporting

• Scaling

• Add storage capacity

• Performance Optimization

• Disk I/O

17

Page 16: SharePoint SpeedMetal Admin 101 - SPSDEN

18

©2011 Quest Software, Inc. All rights reserved..

Sizing - Single Server

• 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

Page 17: SharePoint SpeedMetal Admin 101 - SPSDEN

19

©2011 Quest Software, Inc. All rights reserved..

Sizing - Medium Farm

• 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

Page 18: SharePoint SpeedMetal Admin 101 - SPSDEN

20

©2011 Quest Software, Inc. All rights reserved..

Sizing - Large Farm

• Typical Roles:

• Large distributed enterprise users (10000+)

• Large pools of documents (>1MM)

Page 19: SharePoint SpeedMetal Admin 101 - SPSDEN

21

©2011 Quest Software, Inc. All rights reserved..

Top Level Logical Components• 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)

21

Web Applications

http://intranet

http://centadmin

Site Collections

Site Hierarchies

Single SItes (MySite)

Sites

Lists Liibraries Pages Web Parts

Page 20: SharePoint SpeedMetal Admin 101 - SPSDEN

23

©2011 Quest Software, Inc. All rights reserved..

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

• 2011 News• 14TB Demo

Page 21: SharePoint SpeedMetal Admin 101 - SPSDEN

24

©2011 Quest Software, Inc. All rights reserved..

Disk SizingContent Search

Initial Content Size XXX GB External Crawl Size YYY GB

Initial User Pool U

User Collab Size .25GB

n YR Growth Rate – Archive Rate

G%

End Content Size XXX (1+G)n = ECS End Search Size YYY (1+G)n = ESS

End User Collab Size .25 * U * (1+G)n = EUCS

Content DBs ECS + EUCS

Search DBs .05 * (ECS + EUCS + ESS)

Search Index Files .05 * (ECS + EUCS + ESS)

• Inputs: Size of SharePoint content and non-SharePoint content included in search

• For DBs, don’t forget 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

Page 22: SharePoint SpeedMetal Admin 101 - SPSDEN

25

©2011 Quest Software, Inc. All rights reserved..

Memory Sizing

• 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)

Page 23: SharePoint SpeedMetal Admin 101 - SPSDEN

28

©2011 Quest Software, Inc. All rights reserved..

Authentication Architecture

• 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

Regular label-callout text

Multi-AuthenticationMixed Authentication

SharePointFarm

Web Application

Extended Web Application

Extended Web Application

Extended Web Application

Extended Web Application

Zone: Custom

Zone: Extranet

Zone: Intranet

Zone: Internet

Zone: DefaultWindows Authentication

FBAAuthentication

...

...

...

SharePointFarm

Web Application

Extended Web Application

Extended Web Application

Extended Web Application

Extended Web Application

Zone: Custom

Zone: Extranet

Zone: Intranet

Zone: Internet

Zone: DefaultWindows AuthenticationFBA Authentication

SAML Based AuthenticationFBA Authentication

Windows Authentication

...

...

28

Page 24: SharePoint SpeedMetal Admin 101 - SPSDEN

29

©2011 Quest Software, Inc. All rights reserved..

Authentication ScenariosMixed Mode

Remote Employe

es

Extranet

Zone

IntranetZone

EmployeesFBA

claims

Windows

claims

https://extranet.domain.com http://intranet

Page 25: SharePoint SpeedMetal Admin 101 - SPSDEN

30

©2011 Quest Software, Inc. All rights reserved..

Authentication ScenariosMulti Authentication

IntranetZone

Employees

FBAclaims

Windows

claims

https://Corporate.domain.com

SAMLclaims

Vendors Partners

Page 26: SharePoint SpeedMetal Admin 101 - SPSDEN

31

©2011 Quest Software, Inc. All rights reserved..

Internet Topology – Edge Firewall

• Traditional

• Inexpensive

• Simple

• Only one firewall

• External traffic comes inside internal network

WFE SQLEdge

Firewall AD

Internet

App

Internal Network

Page 27: SharePoint SpeedMetal Admin 101 - SPSDEN

32

©2011 Quest Software, Inc. All rights reserved..

Internet Topology – Perimeter

• 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

Router/Firewall

WFE SQLEdge

Firewall AD

Internet

App

Perimeter Network Internal Net

Page 28: SharePoint SpeedMetal Admin 101 - SPSDEN

33

©2011 Quest Software, Inc. All rights reserved..

Internet Topology – Split Back to Back

• 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

Router/FirewallWFE SQL

EdgeFirewall AD

Internet

App

Perimeter Network Internal Network

Page 29: SharePoint SpeedMetal Admin 101 - SPSDEN

34

©2011 Quest Software, Inc. All rights reserved..

Internet Topology – Enhanced Techniques

• Multi-farm

• SSA farm

• Content publishing

Page 30: SharePoint SpeedMetal Admin 101 - SPSDEN

35

©2011 Quest Software, Inc. All rights reserved..

Common Integration Touchpoints

InternalActive 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

Page 31: SharePoint SpeedMetal Admin 101 - SPSDEN

37

©2011 Quest Software, Inc. All rights reserved..

Platform Basics

• 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

Page 32: SharePoint SpeedMetal Admin 101 - SPSDEN

38

©2011 Quest Software, Inc. All rights reserved..

Shared Service Applications• 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

http://globalweb http://itportal

Visio

Search

Excel Calc

Metadata

User Profiles

Page 33: SharePoint SpeedMetal Admin 101 - SPSDEN

39

©2011 Quest Software, Inc. All rights reserved..

Client/Browser Technology

• 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

Page 34: SharePoint SpeedMetal Admin 101 - SPSDEN

40

©2011 Quest Software, Inc. All rights reserved..

Office Web Applications

• 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

Page 35: SharePoint SpeedMetal Admin 101 - SPSDEN

Installation and Upgrade

Page 36: SharePoint SpeedMetal Admin 101 - SPSDEN

42

©2011 Quest Software, Inc. All rights reserved..

Installation - Prerequisites• 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

Page 37: SharePoint SpeedMetal Admin 101 - SPSDEN

43

©2011 Quest Software, Inc. All rights reserved..

Installation – Grey Wizard

• 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 Files\Microsoft Office Servers\14.0\Data

• 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

Page 38: SharePoint SpeedMetal Admin 101 - SPSDEN

44

©2011 Quest Software, Inc. All rights reserved..

Installation – White Wizard?

• Pros• Easy – shaken and stirred

• 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

Page 39: SharePoint SpeedMetal Admin 101 - SPSDEN

45

©2011 Quest Software, Inc. All rights reserved..

Predictable Upgrade

• Three paths• In place

• Database upgrade

• Third party tools

• Process• Pre-upgrade checker

• Visual Upgrade

• Resumable upgrade

• Progress reports

• Parallel DB upgrades

Page 40: SharePoint SpeedMetal Admin 101 - SPSDEN

46

©2011 Quest Software, Inc. All rights reserved..

Upgrade Preparation

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!

Page 41: SharePoint SpeedMetal Admin 101 - SPSDEN

47

©2011 Quest Software, Inc. All rights reserved..

Pre-Upgrade Check• 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.

Page 42: SharePoint SpeedMetal Admin 101 - SPSDEN

48

©2011 Quest Software, Inc. All rights reserved..

Upgrade servers without changing the

user interface

Switch-on new UI across site collections

in a controlled manner

Preview new UI

IT Pro Investments – Visual Upgrade

Page 43: SharePoint SpeedMetal Admin 101 - SPSDEN

49

©2011 Quest Software, Inc. All rights reserved..

DEMO• Upgrade

Page 44: SharePoint SpeedMetal Admin 101 - SPSDEN

MonitoringMonitoring and Operations

Page 45: SharePoint SpeedMetal Admin 101 - SPSDEN

51

©2011 Quest Software, Inc. All rights reserved..

Proactive Issue Resolution

• Developer Dashboard• Empower developers and

users

• Integrated Health Analyzer• Runs when necessary

• Alerts anomalies

• Fixes when it can

• Web Analytics• User usage

• Resource usage

Page 46: SharePoint SpeedMetal Admin 101 - SPSDEN

52

©2011 Quest Software, Inc. All rights reserved..

Logging, Monitoring, and Alerts

• Unified Logging

• Out-of-the-box reports

• Richer Web Analytics

• Open Schema

• SCOM Integration

• PLUS• Developer Dashboard

• Health Analyzer

ULS Logs

Windows Events

Page requests

Feature Logging

Health data

Logging DB

Page 47: SharePoint SpeedMetal Admin 101 - SPSDEN

53

©2011 Quest Software, Inc. All rights reserved..

Monitoring – General

• 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

Page 48: SharePoint SpeedMetal Admin 101 - SPSDEN

54

©2011 Quest Software, Inc. All rights reserved..

Developer Dashboard Improve customized solutions with the Developer Dashboard

SQL Queries Performance

Memory Usage

Data-Request Trace

Page 49: SharePoint SpeedMetal Admin 101 - SPSDEN

55

©2011 Quest Software, Inc. All rights reserved..

Monitoring – WSS_Logging

• 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'

Page 50: SharePoint SpeedMetal Admin 101 - SPSDEN

56

©2011 Quest Software, Inc. All rights reserved..

Backup/Recovery

• 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)

Page 51: SharePoint SpeedMetal Admin 101 - SPSDEN

57

©2011 Quest Software, Inc. All rights reserved..

STSADM Backup@echo off

echo ==================================================

echo Backup the farm

echo ==================================================

@SET stsadm="C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\12\BIN\stsadm"

rmdir /S /Q "\\spsql08\spbackup\farmold"

ren "\\spsql08\spbackup\farm" "farmold"

md "\\spsql08\spbackup\farm"

%stsadm% -o backup -directory "\\spsql08\spbackup\farm" -backupmethod full

echo complete

Page 52: SharePoint SpeedMetal Admin 101 - SPSDEN

58

©2011 Quest Software, Inc. All rights reserved..

PowerShell Backup

# NOT NEEDED write-output

write-host ==================================================

write-host Backup the farm

write-host ==================================================

Add-PSSnapIn Microsoft.SharePoint.Powershell

Remove-Item -Path "C:\PSBackup\farmold“ -recurse

Rename-Item -Path "C:\PSBackup\farm" -NewName "farmold"

New-Item -type directory -path C:\PSBackup\farm

Backup-SPFarm -directory "C:\PSBackup\farm" -backupmethod full –verbose –percentage 5

Write-host Backup complete

Page 53: SharePoint SpeedMetal Admin 101 - SPSDEN

59

©2011 Quest Software, Inc. All rights reserved..

PowerShell

• 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

Page 54: SharePoint SpeedMetal Admin 101 - SPSDEN

60

©2011 Quest Software, Inc. All rights reserved..

Some Useful PowerShell Snippets

• Visual Update a range of sites:

• Site Backup

• Add MMS Term

$webapp = Get-SPWebApplication http://sitenameforeach ($s in $webapp.sites){$s.VisualUpgradeWebs() }

$str = “SAMPLE”$site = new-object Microsoft.SharePoint.SPSite("http://MYSITE")$session = new-object Microsoft.SharePoint.Taxonomy.TaxonomySession($site)$termstore = $session.TermStores[“MYTERMSTORE"]

[…create group…][…create term set…]

$term = $termset.CreateTerm($str, 1033)

Page 55: SharePoint SpeedMetal Admin 101 - SPSDEN

61

©2011 Quest Software, Inc. All rights reserved..

Some Useful PowerShell Snippets II

• Create and configure a library

#Load the Sharepoint .net Assembly[System.Reflection.Assembly]::LoadWithPartialName("Microsoft.SharePoint") #set the url of the site collection to a variable$siteurl = "http://msshome2010/"$subsitename = "Marketing"$newlibraryname = "NewLib"$newlibrarydesc = "NewLib Description" #create the new object passing the site collection URL, attach subsite$mysite=new-object Microsoft.SharePoint.SPSite($siteurl)$subsite = $mysite.openweb($subsitename) #make the new library - 101 is the generic for DocumentLibrary template$subsite.lists.add($newlibraryname ,$newlibrarydesc, 101)  #open the new library and break inheritance$mylib = $subsite.lists[$newlibraryname]$mylib.BreakRoleInheritance($false)

Page 56: SharePoint SpeedMetal Admin 101 - SPSDEN

67

©2011 Quest Software, Inc. All rights reserved..

Development Support – Three Regions

Development

•often internal to developers•problem reproduction that require advanced inspection tools (e.g. Visual Studio) are done here

•permissions can be looser, may have multiple environments for multiple developers

•sensitive data from production cannot be copied here without masking or customer signoff

•changes here can be deployed ad hoc

Staging/Test

•no Visual Studio, no MS Office•match/mirror production as closely as possible; match hardware/system performance as closely as practical•security permissions match production•any sensitive data copied here stays under production-grade controls•test accounts should be created in a separate OU if possible•changes here can only be delivered and deployed from source control and according to production release methods

Production

•optimized hardware configurations•highly secure•no use of user rotating password accounts as service accounts•changes here can only be delivered and deployed from source control and according to production release methods

Page 57: SharePoint SpeedMetal Admin 101 - SPSDEN

68

©2011 Quest Software, Inc. All rights reserved..

demoMonitoringDeveloper DashboardHealth AnalyzerPowerShell

Page 58: SharePoint SpeedMetal Admin 101 - SPSDEN

Optimization

Optimization

Page 59: SharePoint SpeedMetal Admin 101 - SPSDEN

71

©2011 Quest Software, Inc. All rights reserved..

Optimization

• Disk-based BLOB Caching• Local store for audio/video, PDF other frequent read only files

• Edit in Web.config (C:\Inetpub\wwwroot\wss\virtualdirectories\...)

• <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!

• For publishing sites

Page 60: SharePoint SpeedMetal Admin 101 - SPSDEN

72

©2011 Quest Software, Inc. All rights reserved..

Patching – Process through August 2011

Patch •SharePoint Foundation

Patch •SharePoint Server

Deploy •Run SharePoint Products and Technologies Wizard•(Or psconfig) •Sequential Application to Central Admin, Application Server(s), Web Front End Servers

Page 61: SharePoint SpeedMetal Admin 101 - SPSDEN

73

©2011 Quest Software, Inc. All rights reserved..

Patching – Process After August 2011

Patch •Separate patch longer needed – single patch CU now available

Patch •SharePoint Foundation•OR SPF/Server•OR SPF/Server/Project Server

Deploy •Run SharePoint Products and Technologies Wizard•(Or psconfig) •Sequential Application to Central Admin, Application Server(s), Web Front End Servers

Page 62: SharePoint SpeedMetal Admin 101 - SPSDEN

74

©2011 Quest Software, Inc. All rights reserved..

SQL Maintenance

• 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

Page 63: SharePoint SpeedMetal Admin 101 - SPSDEN

Best Practices

Page 64: SharePoint SpeedMetal Admin 101 - SPSDEN

77

©2011 Quest Software, Inc. All rights reserved..

Troubleshooting – Top Support Questions

• 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)

Page 65: SharePoint SpeedMetal Admin 101 - SPSDEN

78

©2011 Quest Software, Inc. All rights reserved..

Troubleshooting – More 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

Page 66: SharePoint SpeedMetal Admin 101 - SPSDEN

80

©2011 Quest Software, Inc. All rights reserved..

Where Governance Begins?

Portal

Dept Sites

Project/Team

Sites

Personal / My Sites

Hig

her

Vis

ibili

ty

Lighte

r govern

ance

Page 67: SharePoint SpeedMetal Admin 101 - SPSDEN

Seven Deadly Sins for the SharePoint Professional

Page 68: SharePoint SpeedMetal Admin 101 - SPSDEN

83

©2011 Quest Software, Inc. All rights reserved..

Seven Deadly Sins

• 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

Page 69: SharePoint SpeedMetal Admin 101 - SPSDEN

Seven Virtues for the SharePoint Professional

Page 70: SharePoint SpeedMetal Admin 101 - SPSDEN

85

©2011 Quest Software, Inc. All rights reserved..

Seven SharePoint Virtues

• 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

Page 71: SharePoint SpeedMetal Admin 101 - SPSDEN

86

©2011 Quest Software, Inc. All rights reserved..

Congratulations!

• 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?

Page 72: SharePoint SpeedMetal Admin 101 - SPSDEN

87

©2011 Quest Software, Inc. All rights reserved..

•Questions

•Evaluations

•Contact Me

Page 73: SharePoint SpeedMetal Admin 101 - SPSDEN

88

©2011 Quest Software, Inc. All rights reserved..

Thank you…

• Contact• Email [email protected]

• Blog http://www.chrismcnulty.net/blog

• Also http://www.sharepointforall.com

• Twitter: @cmcnulty2000

• LinkedIn:http://www.linkedin.com/in/cmcnulty

• Upcoming:• Nov. 2011 – Microsoft New England (Best of SPC2011)

• Dec. 2011 – SPS South Florida, PSSPUG/Seattle, Gilbane Boston

• Jan. 2011 – SPS Austin TX (Business Intelligence)

Page 74: SharePoint SpeedMetal Admin 101 - SPSDEN

89

©2011 Quest Software, Inc. All rights reserved..

Questions?Get more information at

www.Quest.com/ControlYourChaos