module 14 monitoring and optimizing sharepoint performance
TRANSCRIPT
Module 14
Monitoring and Optimizing SharePoint
Performance
Module Overview
• Monitoring Logs
• Configuring SharePoint Health Analyzer
• Configuring Usage Reports and Web Analytics
• Monitoring and Optimizing SharePoint Performance
Lesson 1: Monitoring Logs
• Configure Diagnostic Logging
• Administer Unified Logging Service Logs
• View Administrative Reports
Configure Diagnostic Logging
• Diagnostic logging provides useful information for troubleshooting situations
• Items to consider in configuring diagnostic logging:
Administer Unified Logging Service Logs
• Trace logs are located in the “SharePoint Root” under the LOGS directory
• File name is defined by:
Server name, Date : YYYYMMDD and Time : 24-hour format
Example: SERVERNAME-20100601-0000
• Implement a logging policy
Defined by location of the logs
Retention period
• Correlation IDs
• Windows PowerShell log management
View Administrative Reports
• Administrative reports give you information on what activity is taking place in the SharePoint deployment you have in place
• It is a report library, giving you options to customize reports
• Considerations:
Reports on information such as crawls and query performance
Administrative reports are available by using Central Administration
Cannot use Windows PowerShell to view administrative report data
Lesson 2: Configuring SharePoint Health Analyzer
• Configuring Health Rules
• Configuring Health Schedules
• Viewing Health Reports
Configuring Health Rules
• Health rules define what is being monitored
• It is based on configurable fields
Field Value
Title Name of the rule
Scope Single Server, All Servers, or Any Server
Schedule Hourly, daily, weekly, monthly, or on demand
Enable Enable or disable
Repair Automatically Actions SharePoint would take based on options to recover/repair the error
Version Tracking the changes performed on each rule
Configuring Health Schedules
• Represent an essential part of configuring a health rule
• Define the time at which health evaluations will happen
• Health schedules can be configured using:
Central Administration
Windows PowerShell
Viewing Health Reports
• Defined to give information on usage data that will be analyzed to determine state of performance on the server
• Based on the conditions or rules and schedules defined
• Can be viewed only by using Central Administration
Lesson 3: Configuring Usage Reports and Web Analytics
• Configure Usage Data Collection
• View Web Analytics Usage Reports
Configure Usage Data Collection
• The system will write information to the path\folder defined to hold logging information and also to the logging database
• To configure the settings for the logging database, Windows PowerShell must be used
• Set-SPUsageService
• Set-SPUsageDefinition
• Set-SPUsageApplication
View Web Analytics Usage Reports
• Web Analytics reports give you access to review information about activity on the site
• Reports include:
Summary Report
Number of Page Views
Number of Unique Daily Visitors
Top Pages
Top Destinations
Lesson 4: Monitoring and Optimizing SharePoint Performance
• Performance Monitoring
• Performance Optimization
Performance Monitoring
• SharePoint Server is a complex environment and the end result of an implementation that relies on Windows Server, Internet Information Services, and SQL Server
• Performance counters used to monitor SharePoint Server 2010 include monitoring the following products and technologies:
SharePoint monitoring
Windows counters (Processor, Network Interface, Memory)
IIS (ASP.NET, .NET CLR)
SQL Server (General Statistics, Transactions, Locks)
• Consider using System Center Operations Manager
• Metrics are different between physical implementations and virtualized deployments
Performance Optimization
• Because of the complexity SharePoint exposes, it is important to understand the many services that are available to run in the environment
• Optimization for this matter is not a rule of thumb, but rather based on the needs of the environment it will be running in and the services it will be providing
• Establish baselines of operation to identify thresholds and reference points
Lab A: Configuring SharePoint Monitoring
• Exercise 1: Configuring SharePoint Diagnostic Logging
Logon information
Estimated time: 30 minutes
Scenario
You have set up a new SharePoint 2010 farm for development testing. The development manager would like you to enable full diagnostic logging on the development box so that his developers can determine why an error is occurring on one of the site pages. He would also like to limit the size and number of log entries generated so that the log files don’t get too large and help to determine why the error is occurring.
Lab B: Analyzing SharePoint Health
• Exercise 1: Configuring Health Analyzer Rules
• Exercise 2: Reviewing and Repairing Health Analyzer Problems
Logon information
Estimated time: 20 minutes
Scenario
You have just installed a new SharePoint 2010 farm. For some reason, you are getting a Health Analyzer error message about proper SharePoint farm configuration at the top of the Central Administration pages. IT policy states that all applications be installed and configured to vendor specifications, and you have been tasked to determine how to get these errors to disappear and how to prevent them in the future.
Lab C: Reporting SharePoint Usage
• Exercise 1: Configuring SharePoint Usage Data Collection
• Exercise 2: Creating Reports from the Logging Database
Logon information
Estimated time: 30 minutes
Scenario
Your organization has recently implemented a Systems Management portal and is now requiring all business-critical systems to post performance and statistical data to the portal for management review. You have been tasked with creating some meaningful SharePoint reports that use the new logging database as their source to post to the portal.
Module Review and Takeaways
• Review Questions
• Best Practices
• Tools
Course Evaluation