Microsoft SharePoint Products and Technologies Administrators Pocket Consultant

As an administrator you are required to monitor performance issues with SharePoint Products and Technologies, SQL Server, Internet Information Services, Windows Server 2003, and the hardware on which they run. The complexity of the interaction between these systems can be daunting, but experience has shown that with careful, selective monitoring their actions can be understood and optimized. Use the following guidelines to help you identify the critical performance metrics for your installation.

Baselining Your Servers

Before you can analyze the performance of a system, you must develop its normal operational profile; before you can develop this profile, the system must be baselined. After you have a fully functional environment, you should start recording performance logs of your systems for at least 48 hours once a month. Many organizations already use Microsoft Operations Manager or a third-party tool that provides this functionality. It is imperative to record system performance in both peak and non-peak hours. Baseline information is indispensable when analyzing performance issues.

Windows Server 2003 Critical Counters

After determining the type of monitoring you require, you must define which elements need to be monitored. Several performance counters are invaluable in troubleshooting your environment. Select only those counters that are likely to be useful, because as the number of counters grows it becomes increasingly difficult to interpret their results.

Note 

Counters are referred to in the following way: Object\Counter\Instance.

The types of counters that are salient to SharePoint Products and Technologies and the types of data that can be gathered from them are presented in this section.

Several specific counters are crucial when evaluating system performance issues. A description of the types of information they return and of the types of issues each can help resolve is presented next.

CPU

Memory

Tip 

If there is less than 10% available of nonpaged bytes, IIS will stop serving pages. To resolve this problem, perform an IISReset.exe from the command line.

Disk

Tip 

RAID 5 sets are made up of three or more disks, which provide protection from a single drive failure and give better read performance with a very slight impact on write performance. RAID 10 sets are made up of four or more disks and give better read performance with no impact on write performance. RAID 10 is also able to handle two drive failures without data loss. More RAID information can be found be found at http://support.microsoft.com/kb/100110/en-us and http://support.microsoft.com/kb/170921/en-us.

SharePoint Server Counters

Most counters involving SharePoint Products and Technologies are helper indicators. In other words, they help you understand how your environment is performing.

Without baselining it can be difficult and sometimes impossible to interpret the meaning of SharePoint Server specific counters. The following are commonly used counters when monitoring SharePoint Server:

Many other counters can also be used by the System Monitor or when configuring Performance Logs And Alerts. The following list is not meant to be complete, but it is indicative of the granularity available when monitoring SharePoint Server specific processes.

Internet Information Services (IIS) Logging

IIS provides very detailed logging in the form of text files that are found at C:\WINDOWS\system32\LogFiles by default. The location is configurable, and moving these to a different drive is a wise idea on busy WFE servers. To change the default IIS log file directory, perform the following steps.

  1. Open IIS Manager and expand Web Sites.

  2. Right-click on the Web application you want to configure and select Properties.

  3. Select the Web Site tab, as shown in Figure 15-4.

  4. Click on the Properties button to view or change the log file directory.

Figure 15-4: Select Enable Logging and click the Properties tab to view or change the log file location.

If you do not move the default location, the system could be rendered unusable should the log files consume all available disk space. A full explanation of configuring IIS log files is beyond the scope of this book.

For more information on configuring IIS Logging, download and install the IIS 6.0 Resource kit. It can be found at http://www.microsoft.com/downloads by searching for Iis60rkt.exe.

Категории