This document is a step by step walkthrough on creating a perfmon counter to analyze the activity and performance of the LANDESK database.
This document is based on the following document:
This document is intended to provide a step by step walk through as well as providing an XML template with the recommended counters for troubleshooting LANDESK database performance already configured. Also included is a spreadsheet template that can be used to analyze the results and that is color coded to alert on settings that are out of the recommended range.
The template file that will be used for the perfmon trace is attached to this article, along with a convenient spreadsheet that will show the average, max and minimum values captured for each of the performance counters.
1. Open perfmon on the LANDESK database server and expand Data Collector Sets | User Defined.
2. Right click and choose New | Data Collector Set.
3. Name the new Data Collector Set.
4. Choose the default option "Create from a template" and click Next.
5. Browse to the saved .xml file attached to this document and click open.
6. Choose the LDDB_Performance Data Collector Set that is listed and click Next.
7. Choose the location where the .tsv file is to be stored. The default location is shown, this can be changed. Click Next.
8. Choose the option to save and close the new data collector set.
9. Right click and go to the properties of the DataCollector set.
10. Verify that the log format is set to Tab Separated and that the interval is at 15 seconds. This will create a .tsv file that can be opened in Excel.
11. Go to the File tab and verify that the log name is set correctly, and that the path is correct.
12. The next step is to ensure that the trace restarts if the server is restarted. Go to Administrative Tools and open the Task Scheduler as shown.
13. When the Task Scheduler is open browse to Task Scheduler Library | Microsoft | Windows | PLA and select the perfmon counter previously created as shown below.
Right click and go to properties.
14. In the properties, go to the Triggers tab and click New.
15. In the New Trigger window, select the Begin the task "At Startup" option and click OK.
16. Go to the Settings tab. Uncheck the box to "Stop the task if it runs longer than 3 days."
NOTE: This will allow the perfmon counter activity to continue indefinitely. Please ensure that after gathering the desired amount of activity the performance counter is disabled.
Click OK.
17. Open up Perfmon and go to Data Collector Sets | User Defined and right click and start the created trace.