Alternative Method for Gathering Data for Version Store Issues on Exchange Server 2007 running on Windows Server 2008

Microsoft Exchange Server 2007 will reach end of support on April 11, 2017. To stay supported, you will need to upgrade. For more information, see Resources to help you upgrade your Office 2007 servers and clients.

 

This topic explains an alternative method for collecting data for Microsoft Exchange Server 2007, how to set up a data collector set to collect performance data for the “Version buckets allocated” counter, and how to set up two scheduled tasks to dump the store that is running on Windows Server 2008. When you use this method, two separate store dumps are generated, one each at the following times:

  1. When the “Version buckets allocated” value exceed 80 percent of the total available

  2. When Event ID 623 is triggered

Before You Begin

To perform this procedure, the account that you use must be delegated the following:

  • Exchange Server Administrator role

  • Local Administrators group for the target server

For more information about permissions, about delegating roles, and about the rights that are required to administer Exchange 2007, see Permission Considerations.

Procedure

To Gather Data for Version Store issues in Exchange Server 2007 running on Windows Server 2008

  1. Obtain the Experfwiz.ps1 script from the ExPerfwiz Web page on the MSDN Web site. Follow the instructions to run the Experfwiz.ps1 script to start capturing performance data.

  2. Use the following formula to determine the amount of version buckets that are allocated: x/1024 * 32 = y. In this formula, “y” is the maximum version store size that is provided in the description of Event ID 623, and “x” is the Version Buckets Allocated value.

  3. Create a batch file to dump the store when the amount of version buckets that are allocated exceeds 80 percent of the total available. Name this file VersionBucket.bat and give it the following content: C:\procdump\procdump.exe store.exe -MA -accepteula c:\store.dmp

  4. Create a batch file to run when Event ID 623 is triggered. Name this file EventID623.bat and give it the following content:C:\procdump\procdump.exe store.exe -MA -accepteula c:\store.dmp

  5. Create a User Defined Data Collector set named Version Buckets. This set will be used to run VersionBucket.bat.

    For more information, see Create a Data Collector Set to Monitor Performance Counters.

  6. Open Performance Monitor.

  7. Under Data Collector Sets, right-click User Defined, point to New, and then click Data Collector Set.

  8. In the Create new Data Collector Set dialog box, type a name in the Name box. For example, type Version Buckets.

  9. Select Create manually (Advanced), and then click Next.

  10. Select Performance Counter Alert, and then click Next.

  11. Click Add, select MSExchange Database==>Instances as the Performance object, and then select Version buckets allocated under Counters.

  12. Make sure that only Information Store/SG4 is selected under Instances of selected object. Select Add, and then click Close.

  13. In the Alert when list, select Above. In the Limit box, type 3968, and then click Next. Note that the limit is determined by the following formula: (4960 * .80).

  14. Select Start this data collector set now, and then click Finish.

To create a scheduled task for dumping store when the “Version buckets allocated” event is triggered

  1. Start Task Scheduler.

  2. In the action pane, select Create Basic Task.

  3. In the Name box, type a name. For example, type Version Buckets. Then, click Next.

  4. Select When a specific event is logged, and then click Next.

  5. In the Log list, select Microsoft-Windows-Diagnosis-PLA/Operational. In the Source list, select Diagnosis-PLA. In the Event ID box, type Enter 2031, and then click Next.

  6. Select Start a program, and then click Next.

  7. Next to the Program/script box, click Browse to browse to the directory that contains the VersionBucket.bat file that you created earlier. Click Next, and then click Finish.

To create a scheduled task for dumping store when Event ID 623 is recorded

  1. Start Task Scheduler.

  2. In the action pane, select Create Basic Task.

  3. In the Name box, type a name. For example, type Event ID 623. Then, click Next.

  4. Select When a specific event is logged, and then click Next.

  5. In the Log list, select Application. In the Source list, select Application. In the Event ID box, type 623, and then click Next.

  6. Select Start a program, and then click Next.

  7. Next to the Program/script box, click Browse to browse to the directory that contains the EventID623.bat file that you created earlier. Click Next, and then click Finish.

  8. Gather the dump file, the application log, and the performance monitor log that were running when the dump was collected, and send these items to Microsoft Customer Support Services for additional analysis.

For More Information