共用方式為


Monitoring and Diagnostics

Microsoft® Forefront Identity Manager (FIM) 2010 R2 and Windows Server® 2008 operating system provide several diagnostic tools that you can use to monitor the performance and activity of your server running FIM.

Operations

Operations displays staging, synchronization and export counters, and errors for each management agent run. The information for each run can be saved to an XML-formatted file. You can also use Operations to start and stop management agent runs. For more information, see Using Operations.

Joiner Log

Joiner records all transactions that are performed through the Joiner interface, including disconnect, project, join, and disconnector object type change operations. For more information about using Joiner, see Work with Joiner.

Event Viewer

The Event Viewer logs should be monitored on a regular basis so that you can stay aware of any errors in your FIM processes. FIM records an event to the Applications log in Event Viewer for the following actions:

  • Starting or stopping the Forefront Identity Manager 2010 R2 Synchronization Service

  • Errors while attempting to start or stop the Forefront Identity Manager 2010 R2 Synchronization Service

  • Errors while running a step in a run profile

  • Errors while connecting to SQL Server 2008.

  • Unexpected server, controller, or script host errors

Note

FIM does not record event logs for run steps that complete successfully.

Performance

The following table lists and describes the three sets of performance counters provided by FIM that you can use to monitor object flow into and out of connected data sources.

Counter Description

Objects Read

The number of objects read from the connected data source

Objects Read /sec

The rate of objects read from the connected data source

Objects Exported

The number of objects exported to the connected data source

Objects Exported /sec

The rate of objects exported to the connected data source

Objects Synchronized

The number of source objects processed by the synchronization engine

Objects Synchronized /sec

The rate of source objects processed by the synchronization engine

Note

All performance counters are related to a management run profile step, and the counters are reset each time a new management agent run profile step starts. All performance counters are displayed in real time. For more information about configuring performance counter logs, see the information about performance logs and alerts in Windows Server® 2008 operating system Help.

Accessing counters through Windows Management Instrumentation

The following table lists and describes the administration tasks that you can perform by using the FIM WMI provider.

Task Description

Calculate delete ratios

Confirm the number of objects to be deleted from the metaverse before deleting the objects.

Connect to a management agent

Connect locally or remotely to the specified management agent.

Display the results of a management agent profile run

Display the results of a management agent that has been run by using the specified run profile.

Get the properties of all management agents

Create a script that returns the properties of all management agents on the server running FIM.

Get the number of metaverse objects in the server

Create a script that returns all objects in the metaverse.

For more information about creating scripts to perform these tasks, see the FIM Developer Reference.