Microsoft KB Archive/329325

= HOW TO: Log Resources Replicated by Application Center 2000 =

PSS ID Number: 329325

Article Last Modified on 10/26/2002

-

The information in this article applies to:


 * Microsoft Application Center 2000

-



This article was previously published under Q329325



IN THIS TASK

 * SUMMARY
 * ** Create the WMI Event Query Monitors in Health Monitor
 * Create a Health Monitor Log Action
 * Bind the WMI Event Query Monitors to the Log Action



SUMMARY
This step-by-step article describes how to log the resources (for example, files, folders, and COM+ objects) that Application Center 2000 replicates or removes. This procedure uses Health Monitor to track four Windows Management Instrumentation (WMI) events for Set and Delete events.

back to the top

Create the WMI Event Query Monitors in Health Monitor

 * 1) In the Health Monitor Microsoft Management Console (MMC) snap-in, right-click Non-Synchronized Monitors (or any other data group), click New, click Data Collector, and then click WMI Event Query. The WMI Event Query Properties dialog box opens.
 * 2) Set the following fields as follows: Namespace: root\MicrosoftApplicationCenter

Class: MicrosoftAC_Replication_Session_DriverEvents_UpdateListApply_FileSet_Event

WQL event query: SELECT * FROM MicrosoftAC_Replication_Session_DriverEvents_UpdateListApply_FileSet_Event


 * 1) Click OK in all open dialog boxes.
 * 2) Repeat these steps with the following information:Namespace: root\MicrosoftApplicationCenter

Class: MicrosoftAC_Replication_Session_DriverEvents_UpdateListApply_FileDel_Event

WQL event query: SELECT * FROM MicrosoftAC_Replication_Session_DriverEvents_UpdateListApply_FileDel_Event

Namespace: root\MicrosoftApplicationCenter

Class: MicrosoftAC_Replication_Session_DriverEvents_UpdateListApply_ObjectSet_Event

WQL event query: SELECT * FROM MicrosoftAC_Replication_Session_DriverEvents_UpdateListApply_ObjectSet_Event

Namespace: root\MicrosoftApplicationCenter

Class: MicrosoftAC_Replication_Session_DriverEvents_UpdateListApply_ObjectDel_Event

WQL event query: SELECT * FROM MicrosoftAC_Replication_Session_DriverEvents_UpdateListApply_ObjectDel_Event

back to the top

Create a Health Monitor Log Action
 Create a new log file in the file system (for example, D:\AC_Replication\ACReplication.log). In the Health Monitor Microsoft Management Console (MMC) snap-in, right-click Actions, click New, and then click Text Log Action. In the File field, specify the log file that you created in step 1. Clear the Text to Log field, and then type the following:

%EmbeddedStatusEvent.EmbeddedCollectedInstance.Path%

This logs the path of the resource that is replicated. Optionally, you can add other information such as a date/time stamp by using the following:

%EmbeddedStatusEvent.LocalTimeFormatted%

The PATH property of these events is the path of the replicated resource or resources.

 Click OK in all open dialog boxes.

back to the top

Bind the WMI Event Query monitors to the Log Action

 * 1) Open the properties of each WMI event query monitor that you created, and then click the Actions tab.
 * 2) Click New Action Association. The Execute Action Properties dialog box opens.
 * 3) In the Action to execute menu, select the log action that you created in step 2 (for example, Log to Replication.log).
 * 4) Click OK in all open dialog boxes.

This document assumes that all the Application Center 2000 replication drivers will fire these WMI events according to the Application Center 2000 specifications.

NOTE: Not all metabase changes may be incorporated in the Health Monitor log because of the driver limitations. back to the top

Keywords: kbhowto kbHOWTOmaster KB329325

Technology: kbACenter2000 kbACenterSearch kbAudDeveloper

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© 2004 Microsoft Corporation. All rights reserved.