Most of the features and services that SharePoint provides are based on the appropriate Windows services, and when a problem occurs with Windows services, it is bound to affect the functionality of SharePoint Services, so it is necessary to monitor the appropriate Windows services.
In this section, we set up monitoring of Windows services for servers in SharePoint farms.
SharePoint Monitoring ③: Service Monitoring
Alert Thresholds:
Server |
APP1 |
APP2 |
SCH1 |
WFE1 |
WFE2 |
World Wide Web Publishing Service |
Stop it |
Stop it |
- |
Stop it |
Stop it |
SharePoint Administration |
Stop it |
Stop it |
Stop it |
Stop it |
Stop it |
SharePoint Timer Service |
Stop it |
Stop it |
Stop it |
Stop it |
Stop it |
SharePoint Tracing Service |
Stop it |
Stop it |
Stop it |
Stop it |
Stop it |
SharePoint Search Host Controller |
Stop it |
Stop it |
Stop it |
- |
- |
SharePoint Server Search 15 |
- |
- |
Stop it |
- |
- |
Forefront Identity Manager Service |
Stop it |
Stop it |
- |
- |
- |
Forefront Identity Manager Synchronization Service |
Stop it |
Stop it |
- |
- |
- |
AppFabric Caching Service |
Stop it |
Stop it |
Stop it |
Stop it |
Stop it |
1. Basic Service Monitoring
After importing the operating System Management Pack, Scom has helped us to enable monitors for many of the OS's underlying services by default.
We can view it in the aggregate rollup of core Windows Services rollup,
650) this.width=650; "title=" clip_image002 "style=" Border-top:0px;border-right:0px;border-bottom:0px;border-left : 0px; "border=" 0 "alt=" clip_image002 "src=" http://s3.51cto.com/wyfs02/M00/6F/22/ Wkiol1wsn9aavkcpaag-lzn3x8q110.jpg "height=" 319 "/>
Aggregation rollup is a summary of the combined health state that provides a series of similar monitors. When the unit monitor generates an alert under the Aggregation Rollup monitor, the aggregation Rollup monitor is also in an alarm state.
We try to shut down a server's Firewall service and soon the alarm will appear:
650) this.width=650; "title=" clip_image004 "style=" Border-top:0px;border-right:0px;border-bottom:0px;border-left : 0px; "border=" 0 "alt=" clip_image004 "src=" http://s3.51cto.com/wyfs02/M01/6F/22/ Wkiol1wsn9mym1t2aabreelwvga137.jpg "height="/>
Open the Health Explorer to confirm the details of the specific hierarchical alert.
650) this.width=650; "title=" clip_image006 "style=" Border-top:0px;border-right:0px;border-bottom:0px;border-left : 0px; "border=" 0 "alt=" clip_image006 "src=" http://s3.51cto.com/wyfs02/M02/6F/25/ Wkiom1wsniqis-gtaahkobnle6m404.jpg "height=" 284 "/>
2. SharePoint Service Monitoring
After we deploy the SharePoint three-tier farm, the server enables different services depending on the role that is assumed in the farm.
SharePoint uses Windows services as follows:
Service |
Role |
Role |
World Wide Web Publishing Service |
WFE, APP |
IIS services. Wfe:web website; APP: Admin Center |
SharePoint Administration |
WFE, Apps, SCH |
Perform SharePoint management tasks |
SharePoint Timer Service |
WFE, Apps, SCH |
Send notifications and perform scheduled tasks for SharePoint |
SharePoint Tracing Service |
WFE, Apps, SCH |
Manage trace output logs |
SharePoint Search Host Controller |
Apps, SCH |
Manage Search Components |
SharePoint Server Search 15 |
SCH |
Search Crawl |
Forefront Identity Manager Service |
APP |
User profile synchronization from AD |
Forefront Identity Manager Synchronization Service |
APP |
User profile synchronization from AD |
AppFabric Caching Service |
WFE, APP |
For the SharePoint Distributed cache service |
Now let's monitor these services to monitor the SharePoint Administration service as an example
First, you create a unit monitor,
650) this.width=650; "title=" clip_image008 "style=" Border-top:0px;border-right:0px;border-bottom:0px;border-left : 0px; "border=" 0 "alt=" clip_image008 "src=" http://s3.51cto.com/wyfs02/M00/6F/25/ Wkiom1wsnjat23sgaaeru7ys0ec462.jpg "height=" 507 "/>
Definition name: SharePoint Administration Service Health
Monitor target: Windows Server R2 full Operating System
Monitor enabled: not checked. Because we do not enable monitoring by default, then overrides enable a specific group.
By the way, the monitor target is the default monitoring range of this monitor, select or very fastidious
For example, this Windows Server R2 full Operating System Monitor target does not monitor the Windows Server 201 full Operating system, nor does it 2 R2 Core Operating System with a smaller range.
If Windows Operating system, that includes all Windows operating systems, the scope is very large.
650) this.width=650; "title=" clip_image010 "style=" Border-top:0px;border-right:0px;border-bottom:0px;border-left : 0px; "border=" 0 "alt=" clip_image010 "src=" http://s3.51cto.com/wyfs02/M01/6F/25/ Wkiom1wsnjvzr6v8aafbgbbcabi636.jpg "height=" 508 "/>
Pick Service: SharePoint administration
650) this.width=650; "title=" clip_image012 "style=" Border-top:0px;border-right:0px;border-bottom:0px;border-left : 0px; "border=" 0 "alt=" clip_image012 "src=" http://s3.51cto.com/wyfs02/M00/6F/22/ Wkiol1wsoabia6vgaahdrobtibe041.jpg "height=" 508 "/>
Define the running state
650) this.width=650; "title=" clip_image014 "style=" Border-top:0px;border-right:0px;border-bottom:0px;border-left : 0px; "border=" 0 "alt=" clip_image014 "src=" http://s3.51cto.com/wyfs02/M01/6F/22/ Wkiol1wsoa3zr1j0aael2xlgb9s289.jpg "height=" 510 "/>
Tick Generate alert
650) this.width=650; "title=" clip_image016 "style=" Border-top:0px;border-right:0px;border-bottom:0px;border-left : 0px; "border=" 0 "alt=" clip_image016 "src=" http://s3.51cto.com/wyfs02/M02/6F/22/wKioL1WSoBGgwq2IAAE1iA3HA_4532. JPG "height=" 507 "/>
This monitor can be viewed in the Windows Server R2 full Operating system monitoring target after creation
650) this.width=650; "title=" clip_image018 "style=" Border-top:0px;border-right:0px;border-bottom:0px;border-left : 0px; "border=" 0 "alt=" clip_image018 "src=" http://s3.51cto.com/wyfs02/M00/6F/22/ Wkiol1wsobtgihbyaadm-op6nrc508.jpg "height=" 139 "/>
Select Overrides for group
650) this.width=650; "title=" clip_image020 "style=" Border-top:0px;border-right:0px;border-bottom:0px;border-left : 0px; "border=" 0 "alt=" clip_image020 "src=" Http://s3.51cto.com/wyfs02/M01/6F/22/wKioL1WSoBqg_ 0pzaahapc-e4jk379.jpg "height=" 547 "/>
Select the previously created group here
650) this.width=650; "title=" clip_image022 "style=" Border-top:0px;border-right:0px;border-bottom:0px;border-left : 0px; "border=" 0 "alt=" clip_image022 "src=" http://s3.51cto.com/wyfs02/M02/6F/25/ Wkiom1wsnmdaynzpaadyxn8dlis496.jpg "height=" 509 "/>
Perform property overrides, enable Monitor
650) this.width=650; "title=" clip_image024 "style=" Border-top:0px;border-right:0px;border-bottom:0px;border-left : 0px; "border=" 0 "alt=" clip_image024 "src=" http://s3.51cto.com/wyfs02/M02/6F/25/ Wkiom1wsnmohal3baagoaqkouus258.jpg "height=" 539 "/>
You can see the list of overrides in the override summary
650) this.width=650; "title=" clip_image026 "style=" Border-top:0px;border-right:0px;border-bottom:0px;border-left : 0px; "border=" 0 "alt=" clip_image026 "src=" http://s3.51cto.com/wyfs02/M01/6F/22/ Wkiol1wsodchdz9kaaetccikfek805.jpg "height=" 310 "/>
The rest of the SharePoint Services can also be set up in accordance with the above methods.
Finally we test this monitor, log on to the SPS APP1 and pause the SharePoint Administration service
650) this.width=650; "title=" clip_image028 "style=" Border-top:0px;border-right:0px;border-bottom:0px;border-left : 0px; "border=" 0 "alt=" clip_image028 "src=" http://s3.51cto.com/wyfs02/M02/6F/25/ Wkiom1wsnnmrjvgkaaazu3ueke4440.jpg "height="/>
The active alarm is generated shortly thereafter.
Open Health Explorer, where you can view monitor state changes in the status Change event.
650) this.width=650; "title=" clip_image030 "style=" Border-top:0px;border-right:0px;border-bottom:0px;border-left : 0px; "border=" 0 "alt=" clip_image030 "src=" http://s3.51cto.com/wyfs02/M00/6F/25/ Wkiom1wsnn7aatcjaabpxa0c24q181.jpg "height="/>
650) this.width=650; "title=" clip_image032 "style=" Border-top:0px;border-right:0px;border-bottom:0px;border-left : 0px; "border=" 0 "alt=" clip_image032 "src=" http://s3.51cto.com/wyfs02/M01/6F/25/ Wkiom1wsnocsxbfvaacsn67izio330.jpg "height="/>
3. Monitoring of other related services
SharePoint requires SQL support, so service monitoring of SQL is also essential.
A highly available SQL cluster is also based on Windows Clustering, so you need to monitor the Windows Cluster service as well.
Monitoring of these related services will be described in more detail in a later section.
This article is from the "Iron Fist of the Invincible Speaker" blog, please be sure to keep this source http://yaojiwei.blog.51cto.com/762134/1669550
System Center R2 Instance 3-Deploying Scom monitoring sharepoint11-Service Monitoring