HITP11 Keeping an Eye on SharePoint 2010
description
Transcript of HITP11 Keeping an Eye on SharePoint 2010
HITP11 Keeping an Eye on SharePoint 2010Todd Klindt and the other guySharePoint911
Who is this Todd guy?WSS MVP since 2006Speaker, writer, consultant, Craps expertPersonal Blogwww.toddklindt.com/blogCompany web [email protected] me! @toddklindt
Shane YoungOwner of SharePoint911.comMicrosoft Office SharePoint Server MVPConsultant, Trainer, Writer, & Speaker • [email protected]• Blog• http://msmvps.com/shane
• SharePoint Consulting• http://www.sharepoint911.com
• http://twitter.com/shanescowsAlways bets on red. Always.
Who Am I?
AgendaOverview of MonitoringULS logsLogging DatabaseWeb AnalyticsDeveloper DashboardTimer JobsHealth AnalyzerHealth ScoreCard counting tips even you can use
ULS LoggingAlso referred to as “trace logs”Familiar friend got an extreme makeoverSmaller footprint on diskInfinitely more customizable, making it more usefulNow include the super fantastic Correlation IDMany ways to consume• Notepad – Blech!• Excel – Better• ULS Viewer – Hell YeahCan be configured and consumed with PowerShell
New-SPLogFile Set-SPLogLevelMerge-SPLogFile Get-SPLogLevelGet-SPLogEvent Clear-SPLogLevel
Logging DatabaseUsed by SharePoint to log everything• Page requests• Feature Usage• Timer Jobs• Content Import and Export• And moreYou can read from it, you can write to it, you can dress it up in cute clothesWill generate a lot of I/O and will take a lot of space
Web AnalyticsLike SharePoint 2007’s usage reportsAt Farm, site collection and web levelGives you a snapshot of your farm’s usage• Page views• Unique visitors• Top pages• Top Browsers• Queries• Site Collection InventoryCan add customized reportsExport to spreadsheetCan customize date ranges
Developer Dashboard
Developer DashboardCan be toggled with PowerShell
$dash = [Microsoft.SharePoint.Administration.SPWebService]::ContentService.DeveloperDashboardSettings; $dash.DisplayLevel = 'OnDemand'; $dash.TraceEnabled = $true; $dash.Update()
• Or STSADMSTSADM –o setproperty –pn developer-dashboard –pv onOFF:STSADM –o setproperty –pn developer-dashboard –pv offON DEMAND:STSADM –o setproperty –pn developer-dashboard –pv ondemand
Timer JobsThe backbone of much of the monitoring frameworkAre XML files that contain instructions to be run by SharePoint serversAnother part of the product that got a significant makeover• Affinity for content databases• Can be run on demand• Schedule can be edited• More information on failures• Status page• A handy status bar for running jobs• More information on failures
Health AnalyzerLazy SharePoint admin’s dreamRules and Timer Job basedSharePoint checks on itself and alerts you when there are problemsCan even fix itselfSome rules are good, some rules are not so good
Health scoreSharePoint now keeps a running health score of 0 to 9 that it sends down in each page header. Based on health score different features light up• Search suggestions• Speed of multi author editing• Other type ahead features
Scored based on RAM, CPU, and .NET queue.
Questions
Thanks
Please fill out your evaluations
And never hit a soft 18