module 14 monitoring and optimizing sharepoint performance

24
Module 14 Monitoring and Optimizing SharePoint Performance

Upload: alberta-greene

Post on 04-Jan-2016

232 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Module 14 Monitoring and Optimizing SharePoint Performance

Module 14

Monitoring and Optimizing SharePoint

Performance

Page 2: 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

Page 3: Module 14 Monitoring and Optimizing SharePoint Performance

Lesson 1: Monitoring Logs

• Configure Diagnostic Logging

• Administer Unified Logging Service Logs

• View Administrative Reports

Page 4: Module 14 Monitoring and Optimizing SharePoint Performance

Configure Diagnostic Logging

• Diagnostic logging provides useful information for troubleshooting situations

• Items to consider in configuring diagnostic logging:

Page 5: Module 14 Monitoring and Optimizing SharePoint Performance

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

Page 6: Module 14 Monitoring and Optimizing SharePoint Performance

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

Page 7: Module 14 Monitoring and Optimizing SharePoint Performance

Lesson 2: Configuring SharePoint Health Analyzer

• Configuring Health Rules

• Configuring Health Schedules

• Viewing Health Reports

Page 8: Module 14 Monitoring and Optimizing SharePoint Performance

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

Page 9: Module 14 Monitoring and Optimizing SharePoint Performance

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

Page 10: Module 14 Monitoring and Optimizing SharePoint Performance

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

Page 11: Module 14 Monitoring and Optimizing SharePoint Performance

Lesson 3: Configuring Usage Reports and Web Analytics

• Configure Usage Data Collection

• View Web Analytics Usage Reports

Page 12: Module 14 Monitoring and Optimizing SharePoint Performance

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

Page 13: Module 14 Monitoring and Optimizing SharePoint Performance

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

Page 14: Module 14 Monitoring and Optimizing SharePoint Performance

Lesson 4: Monitoring and Optimizing SharePoint Performance

• Performance Monitoring

• Performance Optimization

Page 15: Module 14 Monitoring and Optimizing SharePoint Performance

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

Page 16: Module 14 Monitoring and Optimizing SharePoint Performance

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

Page 17: Module 14 Monitoring and Optimizing SharePoint Performance

Lab A: Configuring SharePoint Monitoring

• Exercise 1: Configuring SharePoint Diagnostic Logging

Logon information

Estimated time: 30 minutes

Page 18: Module 14 Monitoring and Optimizing SharePoint Performance

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.

Page 19: Module 14 Monitoring and Optimizing SharePoint Performance

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

Page 20: Module 14 Monitoring and Optimizing SharePoint Performance

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.

Page 21: Module 14 Monitoring and Optimizing SharePoint Performance

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

Page 22: Module 14 Monitoring and Optimizing SharePoint Performance

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.

Page 23: Module 14 Monitoring and Optimizing SharePoint Performance

Module Review and Takeaways

• Review Questions

• Best Practices

• Tools

Page 24: Module 14 Monitoring and Optimizing SharePoint Performance

Course Evaluation