140 likes | 146 Views
Learn about different monitoring techniques in SharePoint 2010 including ULS logs, logging database, web analytics, developer dashboard, timer jobs, and health analyzer.
E N D
HITP11 Keeping an Eye on SharePoint 2010 Todd Klindt and the other guy SharePoint911
Who is this Todd guy? • WSS MVP since 2006 • Speaker, writer, consultant, Craps expert • Personal Blogwww.toddklindt.com/blog • Company web sitewww.sharepoint911.com • E-mailtodd@sharepoint911.com • Twitter me! @toddklindt
Who Am I? • Shane Young • Owner of SharePoint911.com • Microsoft Office SharePoint Server MVP • Consultant, Trainer, Writer, & Speaker • shane@sharepoint911.com • Blog • http://msmvps.com/shane • SharePoint Consulting • http://www.sharepoint911.com • http://twitter.com/shanescows • Always bets on red. Always.
Agenda • Overview of Monitoring • ULS logs • Logging Database • Web Analytics • Developer Dashboard • Timer Jobs • Health Analyzer • Health Score • Card counting tips even you can use
ULS Logging • Also referred to as “trace logs” • Familiar friend got an extreme makeover • Smaller footprint on disk • Infinitely more customizable, making it more useful • Now include the super fantastic Correlation ID • Many ways to consume • Notepad – Blech! • Excel – Better • ULS Viewer – Hell Yeah • Can be configured and consumed with PowerShell
Logging Database • Used by SharePoint to log everything • Page requests • Feature Usage • Timer Jobs • Content Import and Export • And more • You can read from it, you can write to it, you can dress it up in cute clothes • Will generate a lot of I/O and will take a lot of space
Web Analytics • Like SharePoint 2007’s usage reports • At Farm, site collection and web level • Gives you a snapshot of your farm’s usage • Page views • Unique visitors • Top pages • Top Browsers • Queries • Site Collection Inventory • Can add customized reports • Export to spreadsheet • Can customize date ranges
Developer Dashboard • Can be toggled with PowerShell $dash = [Microsoft.SharePoint.Administration.SPWebService]::ContentService.DeveloperDashboardSettings; $dash.DisplayLevel = 'OnDemand'; $dash.TraceEnabled = $true; $dash.Update() • Or STSADM STSADM –o setproperty –pn developer-dashboard –pv on OFF: STSADM –o setproperty –pn developer-dashboard –pv off ON DEMAND: STSADM –o setproperty –pn developer-dashboard –pvondemand
Timer Jobs • The backbone of much of the monitoring framework • Are XML files that contain instructions to be run by SharePoint servers • Another 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 Analyzer • Lazy SharePoint admin’s dream • Rules and Timer Job based • SharePoint checks on itself and alerts you when there are problems • Can even fix itself • Some rules are good, some rules are not so good
Health score • SharePoint 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.
Thanks Please fill out your evaluations And never hit a soft 18