In addition, automatic failed
request trace logging is available. Have you ever had sporadic application performance
or availability issues? If so, automatic failed request trace logging may be a lifesaver.
You can configure IIS 7.0 to look for certain error or performance degradation issues and
then automatically begin tracing when those conditions occur. That way, even if the issue
occurs off hours when you??™re not directly monitoring the server, you can determine
the cause.
Runtime Status & Control API
The purpose of the RSCA is to expose both the runtime and configuration data of the
various IIS 7.0 objects to assist in its troubleshooting and monitoring. Not only can you
interface with the API directly, Microsoft also includes a WMI provider so that you can
write scripts to access RSCA. The IIS RSCA WMI provider is implemented in the new
WebAdministration namespace. The following objects are exposed:
?–? ApplicationPool
?– WorkerProcess
?– AppDomain
?– HttpRequest
?–? Site
These objects are also associated through associator classes, which establish relationships
among these objects. For example, you can use associator classes to query the worker
processes that are associated with an ApplicationPool object. The following is an
example of a script that uses the WebAdministration WMI namespace to query information
about any running worker processes:
'--- Connect to the WebAdministration provider
Set oWebAdmin = GetObject("winmgmts:root\WebAdministration")
Set oW3Processes = oWebAdmin.
Pages:
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256