Logo
programming4us
programming4us
programming4us
programming4us
Home
programming4us
XP
programming4us
Windows Vista
programming4us
Windows 7
programming4us
Windows Azure
programming4us
Windows Server
programming4us
Windows Phone
 
Windows Server

SharePoint 2013 : Health and Monitoring (part 1) - Logging

- Free product key for windows 10
- Free Product Key for Microsoft office 365
- Malwarebytes Premium 3.7.1 Serial Keys (LifeTime) 2019
3/8/2014 7:56:57 PM

The health of your new SharePoint 2013 deployment is very important. Your organization, you, and your administration team have likely spent considerable time installing, configuring, and deploying SharePoint to accommodate the needs of the enterprise. In my time as a SharePoint architect, I have seen a number of organizations stop here, but the fact of the matter is that SharePoint requires a certain amount of care and feeding, just like any enterprise computer system. This is not to say that SharePoint left alone will fall over in time, but as more users pump data into the system, eating up storage space, and the system grows a larger user base, administrators should expect to monitor SharePoint and the underlying server infrastructure for stress areas and efficiency optimization.

Organizations understand that it is costly to stand up large-scale enterprise systems, and they rely on them as an integral part of their daily business. Spending more money ensuring that such systems remain healthy and sustain significant uptime is just as important as the upfront investment in the creation of the system. Consider how much money an organization might lose if its core information system falls over and suffers downtime.

In the previous versions of SharePoint, administrators tended to work in reactive mode—typically, users of the system would report performance issues or loss of access to their data in SharePoint, and the IT department would then jump on the case to rectify the issue. SharePoint now provides health and monitoring features to give the IT group a heads-up of potential issues in the platform, long before users ever see an issue.

1. Logging

Logging is an important part of health monitoring because it is via various log files that SharePoint may alert administrators to issues in the system. The Unified Logging Service (ULS provides administrators with an extensive dump of information, warnings, and errors occurring in the platform. When something goes wrong, the user typically sees either a custom-developed “oops” message in his or her browser, or a default SharePoint error message. It is the job of SharePoint administrators to find out what went wrong, and the ULS logs will likely give an indication of the problem—especially if it is recurring.

Note  By default, the ULS logs live on each SharePoint 2013 server in the Logs folder of the hive, typically c:\program files\common files\Microsoft shared\web server extensions\15\logs.

Figure 1 shows the explorer view of the ULS log folder on my SharePoint 2013 development server. The log folder consists of a number of files, both log and usage files (all text files), that have a file name in the format of year, month, day, and time. If you crack open any of the log files you can see lots of detail, reported by the various functional areas of the SharePoint platform—notice that the Timer Service reports lots of information events.

9781430249412_Fig05-23.jpg

Figure 1. The ULS log folder on a SharePoint 2013 server

Viewing the ULS log files in the raw is not always helpful. Fortunately, you can download a ULS viewer application to browse ULS.

Note  Download the ULS viewer tool from http://archive.msdn.microsoft.com/ULSViewer.

SharePoint allows you to fine-tune the ULS log files to contain information most important to you. The Trace Log Windows Service, which controls output of the ULS log files, also operates in a variety of verbosity modes, ranging from error reporting to very detailed information for every action in the platform. As you might expect, Central Administration is the place to configure the ULS settings, as demonstrated in the following steps:

  1. Open Central Administration.
  2. Click on the Monitoring link.
  3. Click the Configure Diagnostic Logging link.
  4. SharePoint shows a page like that in Figure 2.

    9781430249412_Fig05-24.jpg

    Figure 2. ULS logging configuration

  5. Expand the Categories node.
  6. Specify the types of events you wish SharePoint to log in the ULS logs.
  7. When an error occurs in the platform, SharePoint reports events to both the ULS and Windows event log; you may control the severity (verbosity level) of events logged to both in the Throttling section of the page.

    Note  This page does not show you the current configuration for throttling; it defaults to empty drop-down controls and no categories selected.

  8. Flood protection consists of preventing SharePoint logging the same repeated event to the Windows event log when a consistent problem arises. For example, if a timer service job runs every five minutes and fails, you really do not want hundreds of event log errors of the same message because an administrator did not get to the issue for a few hours.
  9. Finally, the Trace Log section defines the location of ULS log files, the number of days of history to store, and the maximum size of log files.

Note  When changing settings for diagnostic logging, I recommend you restart the SharePoint 2013 Tracing Service in Windows Services. Also, stop this service if you need to delete any of the ULS log files.

Other -----------------
- SharePoint 2013 Request Management (part 2) - Request Management Administration
- SharePoint 2013 Request Management (part 1) - The Request Management Process
- Windows Server 2012 : Deploying Storage Spaces (part 5) - Implementing Storage Spaces, Using Windows PowerShell
- Windows Server 2012 : Deploying Storage Spaces (part 4) - Planning a Storage Spaces deployment - Availability, Management
- Windows Server 2012 : Deploying Storage Spaces (part 3) - Planning a Storage Spaces deployment - Hardware, Performance, Resiliency
- Windows Server 2012 : Deploying Storage Spaces (part 2) - Understanding Storage Spaces - Fixed vs. thin provisioning
- Windows Server 2012 : Deploying Storage Spaces (part 1) - Understanding Storage Spaces - Concepts and terminology
- Microsoft Exchange Server 2010 : Working with SMTP Connectors, Sites, and Links (part 8) - Connecting to Exchange 2003 Routing Groups
- Microsoft Exchange Server 2010 : Working with SMTP Connectors, Sites, and Links (part 7) - Viewing and Managing Receive Connectors
- Microsoft Exchange Server 2010 : Working with SMTP Connectors, Sites, and Links (part 6) - Creating Receive Connectors
 
 
Top 10
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Finding containers and lists in Visio (part 2) - Wireframes,Legends
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Finding containers and lists in Visio (part 1) - Swimlanes
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Formatting and sizing lists
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Adding shapes to lists
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Sizing containers
- Microsoft Access 2010 : Control Properties and Why to Use Them (part 3) - The Other Properties of a Control
- Microsoft Access 2010 : Control Properties and Why to Use Them (part 2) - The Data Properties of a Control
- Microsoft Access 2010 : Control Properties and Why to Use Them (part 1) - The Format Properties of a Control
- Microsoft Access 2010 : Form Properties and Why Should You Use Them - Working with the Properties Window
- Microsoft Visio 2013 : Using the Organization Chart Wizard with new data
 
programming4us
Windows Vista
programming4us
Windows 7
programming4us
Windows Azure
programming4us
Windows Server