<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>The Demand Technology FAQ &#187; Performance Sentry</title>
	<atom:link href="http://faq.demandtech.com/tag/performance-sentry/feed/" rel="self" type="application/rss+xml" />
	<link>http://faq.demandtech.com</link>
	<description>Help and Support for the Performance Sentry Product Line</description>
	<lastBuildDate>Wed, 30 Jun 2010 19:33:21 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.5</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Data Execution Prevention (DEP) details, issues, and options</title>
		<link>http://faq.demandtech.com/2010/02/17/data-execution-prevention-dep-details-issues-and-options/</link>
		<comments>http://faq.demandtech.com/2010/02/17/data-execution-prevention-dep-details-issues-and-options/#comments</comments>
		<pubDate>Wed, 17 Feb 2010 20:52:06 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Data Collection Set]]></category>
		<category><![CDATA[Performance Sentry]]></category>
		<category><![CDATA[Sentry Administration]]></category>
		<category><![CDATA[Collection Service]]></category>
		<category><![CDATA[NTSMF - Collection Service]]></category>

		<guid isPermaLink="false">http://faq.demandtech.com/?p=177</guid>
		<description><![CDATA[Data Execution Prevention (DEP) is a relatively new feature of both Intel and AMD hardware that is supported beginning with Windows Server 2003 Service Pack 1 and Windows XP Service Pack 2. DEP is a set of related hardware and software features designed to make it more difficult for malicious programs to execute sensitive code [...]]]></description>
			<content:encoded><![CDATA[<p style="color: #000000; font-family: verdana, arial, helvetica, sans-serif; font-size: 11px; letter-spacing: 0px; line-height: 16px;">Data Execution Prevention (DEP) is a relatively new feature of both Intel and AMD hardware that is supported beginning with Windows Server 2003 Service Pack 1 and Windows XP Service Pack 2. DEP is a set of related hardware and software features designed to make it more difficult for malicious programs to execute sensitive code in the operating system. DEP is activated automatically when machines with the DEP hardware protection installed are booted in PAE (Physical Address Extension) mode.</p>
<p style="color: #000000; font-family: verdana, arial, helvetica, sans-serif; font-size: 11px; letter-spacing: 0px; line-height: 16px;"><em>Version 2.4.7 of the Performance SeNTry (NTSMF) data collector will not execute if DEP is active.</em> This does not apply to versions after 2.4.7</p>
<p style="color: #000000; font-family: verdana, arial, helvetica, sans-serif; font-size: 11px; letter-spacing: 0px; line-height: 16px;">For details and options, see this <a href="http://www.demandtech.com/DEP_workaround.htm">Technical Note</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://faq.demandtech.com/2010/02/17/data-execution-prevention-dep-details-issues-and-options/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Use DmPerfss.cfg to exclude Performance Library DLLs that cause collection problems</title>
		<link>http://faq.demandtech.com/2010/02/17/use-dmperfss-cfg-to-exclude-performance-library-dlls-that-cause-collection-problems/</link>
		<comments>http://faq.demandtech.com/2010/02/17/use-dmperfss-cfg-to-exclude-performance-library-dlls-that-cause-collection-problems/#comments</comments>
		<pubDate>Wed, 17 Feb 2010 20:41:47 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Data Collection Set]]></category>
		<category><![CDATA[NTSMF - Collection Service]]></category>
		<category><![CDATA[Performance Sentry]]></category>
		<category><![CDATA[Sentry Administration]]></category>
		<category><![CDATA[Collection Service]]></category>

		<guid isPermaLink="false">http://faq.demandtech.com/?p=174</guid>
		<description><![CDATA[NTSMF version 2.4.6 and higher utilizes a facility that allows you to specifically exclude Performance Library DLLs that cause collection problems. Instructions to exclude specific Performance Library (Perflib) DLLs are contained in an optional configuration file named DmPerfss.cfg that is stored in the NTSMF root directory. The format of theDmPerfss.cfg file, which use a simple XML [...]]]></description>
			<content:encoded><![CDATA[<p>NTSMF version 2.4.6 and higher utilizes a facility that allows you to specifically exclude Performance Library DLLs that cause collection problems. Instructions to exclude specific Performance Library (Perflib) DLLs are contained in an optional configuration file named <strong>DmPerfss.cfg </strong>that is stored in the NTSMF root directory. The format of the<strong>DmPerfss.cfg</strong> file, which use a simple XML syntax, is documented in this Technical Note.</p>
<p style="margin-bottom: 1px;">The main dispatcher thread of the Collection service generates a separate collection thread for each Perflib DLL that it finds installed on the local machine during the Discovery phase at the beginning of every collection cycle. (Follow this link for more <strong><a name="Performance Library DLLs"></a></strong>.) Each Open and Collect call to a Perflib DLL is performed under a dedicated collection thread. With the threaded collector, it is possible to detect and recover from most failures involving direct calls to Perflib DLLs, sometimes even when calls via the Microsoft PDH and WMI plumbing that other products use, including System Monitor, fail. Under normal circumstances, the NTSMF collection service continues to gather performance data even in the face of buggy, third party Perflib DLL modules.</p>
<p>There are extenuating circumstances when it is desirable for the NTSMF collection agent to ignore completely specific Performance Library DLLs that are defective and perform no processing on these modules. Performance Library DLLs that malfunction in the following ways are candidates for exclusion from all NTSMF processing :</p>
<ul>
<li>The Perflib fails to return properly from any Open or Collect call and causes the collection agent, the application being monitored, or the system to hang.</li>
<li>When NTSMF successfully opens the Performance Library DLL, the module cannot be shared properly with other applications that also attempt to Open them.</li>
</ul>
<p>When defective Perflibs are excluded from processing, the NTSMF collection agent does not attempt to load the DLLs or call their Open routines during the Discovery phase at the beginning of every collection cycle. You exclude these defective Perflibs from <em>all </em>NTSMF-related processing using entries in the <strong>DmPerfss.cfg </strong>configuration file.</p>
<blockquote><p><strong>Note:</strong> the use of the the <strong>DmPerfss.cfg </strong>configuration file is optional. A default <strong>DmPerfss.cfg </strong>configuration file is installed automatically when you run the standard software <strong>Setup</strong> routine. The default <strong>DmPerfss.cfg </strong>configuration file contains entries for Performance Library DLLs that we have seen cause severe problems in some of our customer sites. We recommend that you install and use the default <strong>DmPerfss.cfg </strong>configuration file.  You can modify the default<strong>DmPerfss.cfg </strong>configuration file using any text editor if you determine there are additional Performance Library DLLs that need to be excluded from NTSMF processing. We recommend that you contact Customer Support <em>before </em>you make modifications to the <strong>DmPerfss.cfg </strong>configuration file for your environment. If you are having a problem, there may well be other solutions to consider. If the Performance Library DLL is defective, we might like to let other customers know about it.</p></blockquote>
<p>The &lt;Perflibs&gt; section of the <strong>DmPerfss.cfg </strong>configuration file can contain an Exclude list and an Include section. These sections identify specific Performance Library DLLs by module name (and optionally by version) that are to be excluded or included for processing at the beginning of a collection cycle.</p>
<p><strong>Exclude list. </strong>The Exclude list causes the collector to exclude the modules listed (by version, if specified) from all NTSMF collection agent processing. The collection agent will not attempt to load a Perflib DLL module on the Exclude list at the beginning of a collection cycle. The Version specification is optional. Module entries without a version specification cause <em>all </em>versions of the Perflib DLL to be excluded. If specific Perflib DLL module versions are to be excluded, then they must be listed in the Version section. If there are duplicate entries, the Exclude list takes precedence over modules on the Include list .</p>
<p>Code a<strong> &lt;Module FileName=&#8221;</strong><em>filename</em><strong>&#8220;&gt;&lt;/Module&gt; </strong>section for each Performance Library DLL that you want to exclude from processing. Optionally, you can add one or more <strong>&lt;Version&gt;</strong> specifications that qualify which versions of the Performance Library DLL should be excluded. If the <strong>&lt;Version&gt;</strong> specification does not exist, any version of the Performance Library DLL that is found is excluded.</p>
<p>An example <strong>DmPerfss.cfg </strong>configuration file with an Exclude list is coded below:</p>
<blockquote>
<p style="margin-top: 0px; margin-bottom: 0px;"><strong>&lt;PerfLibs&gt;</strong></p>
<p style="margin-top: 0px; margin-bottom: 0px;"><strong>&lt;Exclude&gt;<br />
&lt;! &#8212; Sybase ASA object &#8211;&gt;<br />
&lt;Module FileName=&#8221;dbctrs8.dll&#8221;&gt;&lt;/Module&gt;</strong></p>
<p style="margin-top: 0px; margin-bottom: 0px;"><strong>&lt;!&#8211; .NET CLR Data, NET CLR Networking &#8211;&gt;<br />
&lt;Module FileName=&#8221;netfxperf.dll&#8221;&gt;&lt;Version&gt;1.0.3215.11&lt;/Version&gt;&lt;/Module&gt;</strong></p>
<p style="margin-top: 0px; margin-bottom: 0px;"><strong>&lt;!&#8211; .NETFramework &#8211;&gt;<br />
&lt;Module FileName=&#8221;mscoree.dll&#8221;&gt;&lt;Version&gt;1.0.3215.11&lt;/Version&gt;&lt;/Module&gt;</strong></p>
<p style="margin-top: 0px; margin-bottom: 0px;"><strong>&lt;!&#8211; FileReplicaConn, FileReplicaSet &#8211;&gt;</strong></p>
<p style="margin-top: 0px; margin-bottom: 0px;"><strong>&lt;Module FileName=&#8221;NTFRSPRF.dll&#8221;&gt;&lt;Version&gt;5.1.3590.0&lt;/Version&gt;&lt;/Module&gt;</strong></p>
<p style="margin-top: 0px; margin-bottom: 0px;"><strong>&lt;!&#8211; WmiApRpl &#8211;&gt;<br />
&lt;Module FileName=&#8221;wmiaprpl.dll&#8221;&gt;&lt;Version&gt;5.1.3590.0&lt;/Version&gt;&lt;/Module&gt;</strong></p>
<p style="margin-top: 0px; margin-bottom: 0px;"><strong>&lt;!&#8211; Lotus Notes &#8211;&gt;<br />
&lt;Module FileName=&#8221;nnotes.dll&#8221;&gt; &lt;/Module&gt;</strong></p>
<p style="margin-top: 0px; margin-bottom: 0px;"><strong>&lt;/Exclude&gt;&lt;/PerfLibs&gt;</strong></p>
</blockquote>
<p style="margin-bottom: 12px;">Text inside a <strong>&lt;! This is a comment &gt;</strong> Comment section is ignored.</p>
<p style="margin-bottom: 1px;">During the Discovery phase at the start of every collection cycle, the <strong>DmPerfss.cfg</strong> configuration file is processed to determine what Performance Library DLLs should be excluded from processing during that cycle. An Event ID 214 Informational message is written to the &lt;<em>computername</em>&gt;<strong>.ntsmf.log</strong> file that documents the Performance Library DLLs that were specifically excluded from processing, as illustrated below:</p>
<blockquote><p><em><strong> 08/02/04-00:00:11 &#8211; Event ID: 214, Category: Discovery, Severity: Info</strong></em></p>
<p><strong>The following Performance Libraries are excluded from processing as specified in DmPerfss.cfg. Performance data from these libraries will not be available this cycle.<br />
.NET CLR Data (.NET CLR Data), &#8220;netfxperf.dll&#8221;, version 1.1.4322.573<br />
.NET CLR Networking (.NET CLR Networking), &#8220;netfxperf.dll&#8221;, version 1.1.4322.573<br />
.NETFramework (.NETFramework), &#8220;mscoree.dll&#8221;, version 1.1.4322.573<br />
WmiApRpl (WmiApRpl), &#8220;C:\WINDOWS\System32\wbem</strong></p></blockquote>
<p><strong>Error Messages. </strong>In the case of errors accessing the <strong>DmPerfss.cfg</strong> configuration file, the configuration file is ignored and collection cycle processing proceeds as if the<strong>DmPerfss.cfg</strong> configuration file did not exist.</p>
<p>If the the <strong>DmPerfss.cfg</strong> configuration file is invalid, then the following Warning message is written:</p>
<blockquote><p><strong><em>08/02/03-00:50:13 &#8211; Event ID: 96, Category: None, Severity: Warning<br />
The configuration file failed to open.<br />
The Inclusion/Exclusion list will not be used this cycle.</em></strong></p></blockquote>
<p><strong><em>If </em></strong>the <strong>DmPerfss.cfg</strong> configuration file contains syntax errors, then the following Warning message is written:</p>
<blockquote><p><strong><em>08/02/03-00:50:13 &#8211; Event ID: 96, Category: None, Severity: Warning<br />
Failed to load, &#8220;E:\DmPerfss 2.4.6\bin\Debug\DmPerfss.cfg&#8221;.<br />
Parse error, 0xC00CE503, encountered on line, 25, at position, 14.<br />
Reason = Incorrect syntax was used in a comment.</em></strong></p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://faq.demandtech.com/2010/02/17/use-dmperfss-cfg-to-exclude-performance-library-dlls-that-cause-collection-problems/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Help! Do you know if there are any interesting Active Directory Objects or Counters?</title>
		<link>http://faq.demandtech.com/2009/11/23/help-do-you-know-if-there-are-any-interesting-active-directory-objects-or-counters/</link>
		<comments>http://faq.demandtech.com/2009/11/23/help-do-you-know-if-there-are-any-interesting-active-directory-objects-or-counters/#comments</comments>
		<pubDate>Mon, 23 Nov 2009 16:39:28 +0000</pubDate>
		<dc:creator>Dan</dc:creator>
				<category><![CDATA[Performance Metrics]]></category>
		<category><![CDATA[Performance Sentry]]></category>
		<category><![CDATA[Windows Performance]]></category>

		<guid isPermaLink="false">http://faq.demandtech.com/?p=163</guid>
		<description><![CDATA[NTDS is the main source of information on Active Directory traffic to and from Domain Controllers. It contains a ton of interesting looking counters.
Unfortunately, there is not much written that documents AD performance issues and how to use these counters. This TechNet overview article is a good place to start. There are two main objects [...]]]></description>
			<content:encoded><![CDATA[<p>NTDS is the main source of information on Active Directory traffic to and from Domain Controllers. It contains a ton of interesting looking counters.</p>
<p>Unfortunately, there is not much written that documents AD performance issues and how to use these counters. This TechNet overview article is a good place to start. There are two main objects to monitor:</p>
<p>1. Information related to the NTDS Object:</p>
<p><a href="http://technet2.microsoft.com/windowsserver/en/library/6a2abace-5fab-49f0-8c6d-5daea891a5f71033.mspx?mfr=true">http://technet2.microsoft.com/windowsserver/en/library/6a2abace-5fab-49f0-8c6d-5daea891a5f71033.mspx?mfr=true</a></p>
<p>2. Information related to the Database Object:</p>
<p><a href="http://technet2.microsoft.com/windowsserver/en/library/26bfde1e-7938-4573-b12f-6e4e9cedf4a51033.mspx?mfr=true">http://technet2.microsoft.com/windowsserver/en/library/26bfde1e-7938-4573-b12f-6e4e9cedf4a51033.mspx?mfr=true</a></p>
<p>The following represents Microsoft&#8217;s recommendations when monitoring Domain Controllers:</p>
<p><a href="http://technet2.microsoft.com/windowsserver/en/library/c5d72b6f-5974-4263-b29f-2eece0ab44371033.mspx?mfr=true">http://technet2.microsoft.com/windowsserver/en/library/c5d72b6f-5974-4263-b29f-2eece0ab44371033.mspx?mfr=true</a></p>
<p>It will at least help you get acquainted with the basic terminology that AD uses.</p>
]]></content:encoded>
			<wfw:commentRss>http://faq.demandtech.com/2009/11/23/help-do-you-know-if-there-are-any-interesting-active-directory-objects-or-counters/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Is there a table somewhere that will take the information in the CPU Family field in the NTCONFIG record (i.e., X86 FAMILY 15 MODEL 2 STEPPING 7 ) and convert that to a specific processor chip manufacturer name and model?</title>
		<link>http://faq.demandtech.com/2009/10/15/is-there-a-table-somewhere-that-will-take-the-information-in-the-cpu-family-field-in-the-ntconfig-record-i-e-x86-family-15-model-2-stepping-7-and-convert-that-to-a-specific-processor-chip-manufac/</link>
		<comments>http://faq.demandtech.com/2009/10/15/is-there-a-table-somewhere-that-will-take-the-information-in-the-cpu-family-field-in-the-ntconfig-record-i-e-x86-family-15-model-2-stepping-7-and-convert-that-to-a-specific-processor-chip-manufac/#comments</comments>
		<pubDate>Thu, 15 Oct 2009 13:56:53 +0000</pubDate>
		<dc:creator>Dan</dc:creator>
				<category><![CDATA[CPU - Processor]]></category>
		<category><![CDATA[Performance Sentry]]></category>
		<category><![CDATA[Windows Performance]]></category>

		<guid isPermaLink="false">http://faq.demandtech.com/?p=116</guid>
		<description><![CDATA[The short answer is that Intel knows what these things means, but does not publish a mapping anywhere of how these internal names correspond to external products. The closest Intel comes is this document at http://www.intel.com/design/chipsets/mature/mature.pdf, which does not mention either Family or Stepping names.
In semiconductor fabrication, &#8220;stepping&#8221; refers to the chip manufacturing process which [...]]]></description>
			<content:encoded><![CDATA[<p>The short answer is that Intel knows what these things means, but does not publish a mapping anywhere of how these internal names correspond to external products. The closest Intel comes is this document at <a href="http://www.intel.com/design/chipsets/mature/mature.pdf">http://www.intel.com/design/chipsets/mature/mature.pdf</a>, which does not mention either Family or Stepping names.</p>
<p>In semiconductor fabrication, &#8220;stepping&#8221; refers to the chip manufacturing process which is called a stepper that deposits successive layers of etched material conducting material and insulation. Our best guess is that this is an internal reference to the plant/stepper technology that produced the chip.</p>
<p>The CPU configuration data in the Registry is actually a narrow subset of the information Intel places in WMI today. See for example, <a href="http://msdn.microsoft.com/en-us/library/aa394373.aspx">http://msdn.microsoft.com/en-us/library/aa394373.aspx</a> for the complete win32_processor spec. See the table that documents the processor family. However, most of these fields are null when you query them in WMI, as in the following script, for example:</p>
<p style="margin-top: 0px; margin-bottom: 0px;"><span style="font-family: Courier;">Set colSettings = objWMIService.ExecQuery _ </span></p>
<p style="margin-top: 0px; margin-bottom: 0px;"><span style="font-family: Courier;">(&#8221;SELECT * FROM Win32_Processor&#8221;) </span></p>
<p style="margin-top: 0px; margin-bottom: 0px;"><span style="font-family: Courier;">For Each objProcessor in colSettings </span></p>
<p style="margin-top: 0px; margin-bottom: 0px;"><span style="font-family: Courier;">    Wscript.Echo &#8220;System Type: &#8221; &amp; objProcessor.Architecture </span></p>
<p style="margin-top: 0px; margin-bottom: 0px;"><span style="font-family: Courier;">    Wscript.Echo &#8220;Processor: &#8221; &amp; objProcessor.Description </span></p>
<p style="margin-top: 0px; margin-bottom: 0px;"><span style="font-family: Courier;">    Wscript.Echo &#8220;Family: &#8221; &amp; objProcessor.Family </span></p>
<p style="margin-top: 0px; margin-bottom: 0px;"><span style="font-family: Courier;">Next </span></p>
<p>will return a Processor Description identical to what is contained Registry, but Processor.Family is null.</p>
<p>There is a a new field available for some of Intel&#8217;s newer processors at HKEY_LOCAL_MACHINE\HARDWARE\DESCRIPTION\System\CentralProcessor\0\ProcessorNameString that may provide you with what you are looking for.</p>
<p><img src="http://www.demandtech.com/FAQsCP1.jpg" border="0" alt="" width="945" height="375" /></p>
<p>You can harvest this Registry value using the NTSMF Registry data collection feature. Add the HKEY_LOCAL_MACHINE\HARDWARE\DESCRIPTION\System\CentralProcessor\0\ProcessorNameString field name to the Registry values on the DCS Parameters &#8220;File Contents&#8221; Tab, as in the following illustration:</p>
<p><img src="http://www.demandtech.com/FAQsCP2.jpg" border="0" alt="" width="830" height="514" /></p>
<p>to gather the information stored in this Registry field.</p>
]]></content:encoded>
			<wfw:commentRss>http://faq.demandtech.com/2009/10/15/is-there-a-table-somewhere-that-will-take-the-information-in-the-cpu-family-field-in-the-ntconfig-record-i-e-x86-family-15-model-2-stepping-7-and-convert-that-to-a-specific-processor-chip-manufac/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Can the Performance Sentry Collection Service impersonate a User Account to gain access to secure network resources?</title>
		<link>http://faq.demandtech.com/2009/10/07/2-12-can-the-performance-sentry-collection-service-impersonate-a-user-account-to-gain-access-to-secure-network-resources/</link>
		<comments>http://faq.demandtech.com/2009/10/07/2-12-can-the-performance-sentry-collection-service-impersonate-a-user-account-to-gain-access-to-secure-network-resources/#comments</comments>
		<pubDate>Wed, 07 Oct 2009 12:38:58 +0000</pubDate>
		<dc:creator>Dan</dc:creator>
				<category><![CDATA[NTSMF - Collection Service]]></category>
		<category><![CDATA[Performance Monitor]]></category>
		<category><![CDATA[Performance Sentry]]></category>

		<guid isPermaLink="false">http://faq.demandtech.com/?p=98</guid>
		<description><![CDATA[Yes.
By design, the Performance Sentry Collection Service (dmperfss.exe) is installed to run under the built-in LocalSystem (SYSTEM) account. This built-in account, which most services use, has the authority to perform almost any internal function on the local machine. However, the LocalSystem account has no built-in facilities to access secure network resources, such as shared network [...]]]></description>
			<content:encoded><![CDATA[<p>Yes.<br />
By design, the Performance Sentry Collection Service (<strong><em>dmperfss.exe</em></strong>) is installed to run under the built-in <em>LocalSystem</em> (<em>SYSTEM</em>) account. This built-in account, which most services use, has the authority to perform almost any internal function on the local machine. However, the <em>LocalSystem</em> account has no built-in facilities to access secure network resources, such as shared network folders.</p>
<p>The Performance Sentry Collection Service performs two sets of functions where security considerations may apply:</p>
<ol>
<li>Control the Performance Sentry data and log files in the <strong><em>\data\</em></strong> Folder. You can normally tell that the NTSMF <strong><em>\data\</em></strong> Folder is protected from uncontrolled access by the <em>LocalSystem</em> account if the service terminates prematurely at start-up and no <em>&lt;computername&gt;.<strong>ntsmf.log</strong></em>file is generated in the NTSMF <strong><em>\data\</em></strong> Folder. </li>
<li>Execute the Cycle End command or command script. The Cycle End command or command script runs in a separate process that inherits its Authority from the Performance Sentry service process that creates it. If the Cycle End command or command script fails to complete successfully, but works fine when you execute it under your Logon Account, your Logon Account probably has Folder Permissions that are not granted to the <em>LocalSystem </em>account.</li>
</ol>
<p>There are two ways to authorize the collection service to perform these secure functions:</p>
<ol>
<li>If you have implemented Active Directory, it is possible to grant the <em>LocalSystem</em> (or <em>SYSTEM)</em> Account the Folder Permissions required to access secured network resources. The <em>LocalSystem</em> Account corresponds to the named Computer in Active Directory. However, some installations prefer not to grant the <em>LocalSystem</em> (or <em>SYSTEM)</em> Account any Folder Permissions.</li>
<li>You may assign a User Account with access to the appropriate network resources that  the collection service will <em>impersonate </em>whenever it performs one of the two secured functions discussed above.</li>
</ol>
<p><em>Impersonation</em> allows the collection service to adopt temporarily a different security identifier (SID) than the the one specified when the service is started. You assign the User Account and Password that the collection service will impersonate when you install the collection service. The User Account you assign will be used whenever the collection services performs any function that might need to done under a security context other than LocalSystem (or SYSTEM). If you assign a User Account and Password during installation of the collection service, the collection service will <em>impersonate</em> that User Account when it launches the Cycle End command. This allows the Cycle End command or script to execute under a User Account that is authorized to perform network file operations on a secure shared folder. In addition, if the NTSMF <strong><em>\data\</em></strong> Folder is protected from uncontrolled access by the <em>LocalSystem</em> account, you may need to assign Performance Sentry a User Account to impersonate when it performs any function that accesses the <strong><em>\data\</em></strong> Folder.</p>
<p>You assign the User Account to be impersonated during the Performance Sentry Collection Service installation using the <strong>-account</strong> and <strong>-password</strong> options, as illustrated below:<br />
     dmperfss -install -f MyDCS.dcs -account DomainName\myAccount -password xxxxxxx</p>
<p>You may also assign the User Account by using the automation interface command dmcmd.exe found in the root NTSMF folder: <br />
     dmcmd.exe -account DomainName\myAccount -password xxxxxxx</p>
<p>For more details, see Chapter 2 of the User&#8217;s Manual.</p>
]]></content:encoded>
			<wfw:commentRss>http://faq.demandtech.com/2009/10/07/2-12-can-the-performance-sentry-collection-service-impersonate-a-user-account-to-gain-access-to-secure-network-resources/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>I&#8217;m unable to push a new Data Collection Set (DCS) to a 64 Bit Machine</title>
		<link>http://faq.demandtech.com/2009/10/01/im-unable-to-push-a-new-data-collection-set-dcs-to-a-64-bit-machine/</link>
		<comments>http://faq.demandtech.com/2009/10/01/im-unable-to-push-a-new-data-collection-set-dcs-to-a-64-bit-machine/#comments</comments>
		<pubDate>Thu, 01 Oct 2009 15:16:58 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[64 Bit Processors]]></category>
		<category><![CDATA[Performance Sentry]]></category>

		<guid isPermaLink="false">http://faq.demandtech.com/?p=81</guid>
		<description><![CDATA[Situation:
Performance Sentry Administration is used to assign Data Collection Sets (DCSs) to machines running the data collection service.  An administrator has two options when assigning data collection sets to machines: The first one is called a Registry DCS and the second a File DCS. The Registry DCS parameters are written to the Registry key: “HKEY_LOCAL_MACHINE/SOFTWARE/DemandTechnology/PerformanceSeNTry/CollectionParameters”

These [...]]]></description>
			<content:encoded><![CDATA[<p>Situation:</p>
<p>Performance Sentry Administration is used to assign Data Collection Sets (DCSs) to machines running the data collection service.  An administrator has two options when assigning data collection sets to machines: The first one is called a Registry DCS and the second a File DCS. The Registry DCS parameters are written to the Registry key: “HKEY_LOCAL_MACHINE/SOFTWARE/DemandTechnology/PerformanceSeNTry/CollectionParameters”</p>
<p><img class="aligncenter size-full wp-image-80" title="Pic1" src="http://faq.demandtech.com/wp-content/uploads/2009/10/Pic1.jpg" alt="Pic1" width="470" height="335" /></p>
<p>These parameters are read by the Performance Sentry Collection Service  (Dmperfss.exe) for processing. The File DCS is simply the same information written to a file with the file extension of “.DCS”.</p>
<p>Under Windows 64-Bit machines the registry configuration has changed a bit. There is a new level of registry keys introduced called Wow6432Node to support native 32-bit Windows applications.  Because Sentry Administration is a 32-bit application it writes to the Wow6432Node.  The new registry hive now looks like:</p>
<p>“HKEY_LOCAL_MACHINE/SOFTWARE/Wow6432Node/DemandTechnology/PerformanceSeNTry/CollectionParameters”</p>
<p><img class="aligncenter size-full wp-image-82" title="Pic2" src="http://faq.demandtech.com/wp-content/uploads/2009/10/Pic2.jpg" alt="Pic2" width="470" height="374" /></p>
<p>Thus, Sentry Administration performs its function of assigning a DCS and successfully writes to the registry However, since the  Collection Service is running in 64-bit mode, it reads the root key looking for DCS information, but does not traverse the Registry hive any further and does not find the information written in the Wow6432Node sub-key.  Therefore, the collector defaults to operate with internal parameters.   If you display the collection service status in Sentry Administration after attempting to assign a collection set in a 64-bit Windows environment, you will see the following screen:</p>
<p><img class="aligncenter size-full wp-image-83" title="Pic3" src="http://faq.demandtech.com/wp-content/uploads/2009/10/Pic3.jpg" alt="Pic3" width="325" height="194" /><br />
Solution:</p>
<p>The collection service will be modified in the near future to look in the Wow6432Node sub-key, if no Performance Sentry key is found in the root key.</p>
<p>In the meantime, as a workaround to this limitation, we recommend using the File DCS process when assigning a new DCS to a 64-Bit machine.</p>
<p>You can do this by implementing the following steps:</p>
<p>1.      From the DCS Administration pane, highlight the DCS you want to export.<br />
2.      Right-Click on the DCS and select Export DCS<br />
3.      Export the DCS to the NTSMF31 root folder on the x64 target machine.<br />
4.      From the Network Browser window, select the machine where you exported the File DCS.<br />
5.      Right-Click and select Exported DCS and navigate and select the exported DCS.<br />
6.      Once you assign the new File DCS the machine being managed should turn green indicating it operates with a File DCS.<br />
7.      You can verify that the new file DCS is in use by right clicking on the machine in the Network Browser window and selecting ‘Display Collection Service Status’.</p>
<p>Contact support@demandtech.com if you have any questions on assigning a Data Collection Set in a Windows 64-bit environment.</p>
]]></content:encoded>
			<wfw:commentRss>http://faq.demandtech.com/2009/10/01/im-unable-to-push-a-new-data-collection-set-dcs-to-a-64-bit-machine/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>I do not see a drive letter for some of my logical disks. Instead, I see something that looks like HarddiskDmVolumes\systemnameDg0\Volume1 instead. What is that all about?</title>
		<link>http://faq.demandtech.com/2009/09/29/i-do-not-see-a-drive-letter-for-some-of-my-logical-disks-instead-i-see-something-that-looks-like-harddiskdmvolumessystemnamedg0volume1-instead-what-is-that-all-about/</link>
		<comments>http://faq.demandtech.com/2009/09/29/i-do-not-see-a-drive-letter-for-some-of-my-logical-disks-instead-i-see-something-that-looks-like-harddiskdmvolumessystemnamedg0volume1-instead-what-is-that-all-about/#comments</comments>
		<pubDate>Tue, 29 Sep 2009 17:56:31 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Performance Sentry]]></category>

		<guid isPermaLink="false">http://faq.demandtech.com/?p=67</guid>
		<description><![CDATA[Logical disk information containing &#8220;HarddiskVolume&#8230;&#8221; usually indicates an unformatted partition. Knowledge Base article (Q260834) describes the &#8216;HarddiskVolume&#8217; label as a volume that has been mounted, but not assigned a drive letter. See http://support.microsoft.com/default.aspx?scid=kb;EN-US;q260834 
There is another MS KB entry that specfically discusses &#8220;HarddiskDmVolumes&#8221; names. See
http://support.microsoft.com/?kbid=274311. This KB article explains that after you convert a hard [...]]]></description>
			<content:encoded><![CDATA[<p>Logical disk information containing &#8220;HarddiskVolume&#8230;&#8221; usually indicates an unformatted partition. Knowledge Base article (Q260834) describes the &#8216;HarddiskVolume&#8217; label as a volume that has been mounted, but not assigned a drive letter. See <a href="http://support.microsoft.com/default.aspx?scid=kb;EN-US;q260834">http://support.microsoft.com/default.aspx?scid=kb;EN-US;q260834 </a></p>
<p>There is another MS KB entry that specfically discusses &#8220;HarddiskDmVolumes&#8221; names. See<br />
<a href="http://support.microsoft.com/?kbid=274311">http://support.microsoft.com/?kbid=274311</a>. This KB article explains that after you convert a hard disk from Basic to Dynamic, the volumes on that hard disk are not identified by their drive letter in System Monitor. Instead, volumes that are displayed in System Monitor in a form similar to the following:</p>
<p><strong> HarddiskDmVolumes\MachineName\Volume#<br />
</strong><br />
You need to re-assign drive letters to dynamic disks after you convert them so that the drive letters are reported properly.</p>
]]></content:encoded>
			<wfw:commentRss>http://faq.demandtech.com/2009/09/29/i-do-not-see-a-drive-letter-for-some-of-my-logical-disks-instead-i-see-something-that-looks-like-harddiskdmvolumessystemnamedg0volume1-instead-what-is-that-all-about/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>What key metrics in Windows I should collect and report on?</title>
		<link>http://faq.demandtech.com/2009/09/29/what-key-metrics-in-windows-i-should-collect-and-report-on/</link>
		<comments>http://faq.demandtech.com/2009/09/29/what-key-metrics-in-windows-i-should-collect-and-report-on/#comments</comments>
		<pubDate>Tue, 29 Sep 2009 17:45:35 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Performance Metrics]]></category>
		<category><![CDATA[Performance Sentry]]></category>

		<guid isPermaLink="false">http://faq.demandtech.com/?p=55</guid>
		<description><![CDATA[Once Performance Sentry is installed and you are able to collect and process Windows performance data on a consistent basis, it is a good idea to familiarize yourself with some of the more important data elements that you will be collecting with Performance Sentry. There are several ways to approach this.
To help you get started, [...]]]></description>
			<content:encoded><![CDATA[<p>Once Performance Sentry is installed and you are able to collect and process Windows performance data on a consistent basis, it is a good idea to familiarize yourself with some of the more important data elements that you will be collecting with Performance Sentry. There are several ways to approach this.</p>
<p>To help you get started, we produced an annotated list of some of the more useful Performance Counters, which also documents some of the common gotchas that you can read more about online in this FAQs section.</p>
<p>The Default Data Collection set (DCS) is enabled at the factory and runs until you assign your own DCS. This is a good, general purpose set of metrics to collect and is consistent with the built-in chart templates that are included with Performance Sentry Portal.</p>
<p>If you want to get involved at a deeper level with the interpretation and analysis of Performance Sentry performance data, we recommend that you pick up a copy of the <a href="http://www.microsoft.com/MSPress/books/5555.asp">Microsoft Server 2003 Resource Kit</a>. The Resource Kit contains a volume written by Mark Friedman on server performance and tuning. Mark is the founder of Demand Technology, and he worked with Microsoft technical staff to create this volume, drawing from his extensive experience using the Performance Sentry data to analyze the performance of Windows machines.</p>
]]></content:encoded>
			<wfw:commentRss>http://faq.demandtech.com/2009/09/29/what-key-metrics-in-windows-i-should-collect-and-report-on/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>What User Rights and Permissions does the User Account that I will run the Performance Sentry Collection Service under require?</title>
		<link>http://faq.demandtech.com/2009/09/29/what-user-rights-and-permissions-does-the-user-account-that-i-will-run-the-performance-sentry-collection-service-under-require/</link>
		<comments>http://faq.demandtech.com/2009/09/29/what-user-rights-and-permissions-does-the-user-account-that-i-will-run-the-performance-sentry-collection-service-under-require/#comments</comments>
		<pubDate>Tue, 29 Sep 2009 17:41:08 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Performance Sentry]]></category>
		<category><![CDATA[User Account]]></category>

		<guid isPermaLink="false">http://faq.demandtech.com/?p=51</guid>
		<description><![CDATA[OK, you asked for it. If you do not need to gather Module identification information, you can run the Performance Sentry collection service under a User Account. You can only set the Collection Service to run under a User Account manually using the Services Administrative Tool, which is illustrated below:

To function correctly, the User Account that [...]]]></description>
			<content:encoded><![CDATA[<p>OK, you asked for it. If you do not need to gather Module identification information, you can run the Performance Sentry collection service under a User Account. You can only set the Collection Service to run under a User Account manually using the Services Administrative Tool, which is illustrated below:</p>
<p><img src="http://www.demandtech.com/images/knowledge_faqs_clip_clip_image026.jpg" border="0" alt="bullet" width="407" height="428" /></p>
<p>To function correctly, the User Account that the Performance Sentry Collection Service runs under requires the following User Rights:</p>
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tbody>
<tr>
<td width="32" valign="top">
<img src="http://www.demandtech.com/images/knowledge_faqs_clip_clip_image027.gif" border="0" alt="bullet" hspace="10" width="11" height="11" /></td>
<td width="100%" valign="top">Logon as a service</td>
</tr>
<tr>
<td width="32" valign="top"><img src="http://www.demandtech.com/images/knowledge_faqs_clip_clip_image028.gif" border="0" alt="bullet" hspace="10" width="11" height="11" /></td>
<td width="100%" valign="top">Increase scheduling priority</td>
</tr>
</tbody>
</table>
<p>with the following Registry Key Permissions (in Windows 2000 and above):</p>
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tbody>
<tr>
<td width="32" valign="top">
<img src="http://www.demandtech.com/images/knowledge_faqs_clip_clip_image029.gif" border="0" alt="bullet" hspace="10" width="11" height="11" /></td>
<td width="100%" valign="top">Read access to the Registry key HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Perflib</td>
</tr>
<tr>
<td width="32" valign="top"><img src="http://www.demandtech.com/images/knowledge_faqs_clip_clip_image030.gif" border="0" alt="bullet" hspace="10" width="11" height="11" /></td>
<td width="100%" valign="top">Read access to the Registry key HKLM\\SYSTEM\CurrentControlSet\Services</td>
</tr>
<tr>
<td width="32" valign="top"><img src="http://www.demandtech.com/images/knowledge_faqs_clip_clip_image031.gif" border="0" alt="bullet" hspace="10" width="11" height="11" /></td>
<td width="100%" valign="top">Control access to the Registry key HKLM\\SYSTEM\CurrentControlSet\Services\Dmperfss. <strong>Note</strong> that this Registry key is created by the system&#8217;s Service Control Manager when the Performance Sentry collection service (dmperfss.exe) is installed.</td>
</tr>
</tbody>
</table>
<p>A sample installation script that installs the the Performance Sentry collection service under a User Account and grants these local Registry Key Permissions to the Account is shown below. The <strong>subinacl</strong> utility used here to grant Registry Key permissions is available in the Windows Server Resource Kit.</p>
<p>net stop &#8220;Performance Sentry&#8221;<br />
dmperfss -remove<br />
dmperfss -install -fdevncci.dcs -accountdomain\username -passwordpassword<br />
subinacl /verbose /keyreg &#8220;SOFTWARE\Microsoft\Windows NT\CurrentVersion\Perflib&#8221;  /grant=domain\username<br />
subinacl /verbose /keyreg &#8220;SOFTWARE\Microsoft\Windows NT\CurrentVersion\Perflib\009&#8243;  /grant=domain\username<br />
subinacl /verbose /keyreg &#8220;SYSTEM\CurrentControlSet\Services\DMPerfss&#8221;  /grant=domain\username<br />
subinacl /verbose /keyreg &#8220;SYSTEM\CurrentControlSet\Services\DMPerfss\Control&#8221; /grant=domain\username<br />
subinacl /verbose /keyreg &#8220;SYSTEM\CurrentControlSet\Services\DMPerfss\Security&#8221; /grant=domain\username<br />
net start &#8220;Performance Sentry&#8221;</p>
<p>and with the following <a title="Folder_Permissions" name="Folder_Permissions"></a>Folder Permissions:</p>
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tbody>
<tr>
<td width="32" valign="top">
<img src="http://www.demandtech.com/images/knowledge_faqs_clip_clip_image032.gif" border="0" alt="bullet" hspace="10" width="11" height="11" /></td>
<td width="100%" valign="top">Control access to the NTSMF <strong>\data\</strong> Folder and subFolders where the <strong>.smf</strong> data file is written.</td>
</tr>
<tr>
<td width="32" valign="top"><img src="http://www.demandtech.com/images/knowledge_faqs_clip_clip_image033.gif" border="0" alt="bullet" hspace="10" width="11" height="11" /></td>
<td width="100%" valign="top">Control access to any shared Network folders that the Cycle End Command or command script requires access to.</td>
</tr>
</tbody>
</table>
<p>In addition, some <a href="http://www.demandtech.com/Not%20visible%20in%20SysMon.htm#Performance%20Library%20DLLs">Performance Library DLLs</a> that the Performance SeNTry collection service will attempt to load and run may reside in secure folders. You will need to grant the User Account the collection service runs under Read access to the folders. During the <em>Discovery</em> phase of each collection cycle, when the collection service attempts to load the Perflib DLL modules, the Load will fail. You will see a Warning message similar to the following in the Application Event log or the local <strong>&lt;</strong><em>computername</em><strong>&gt;.ntsmf.log</strong> message file:</p>
<p><img src="http://www.demandtech.com/images/knowledge_faqs_clip_clip_image035.jpg" border="0" alt="bullet" width="400" height="416" /></p>
<p>In this example, in order for the Performance Sentry collection service to load the <strong>SQLCTR80.dll</strong> Performance Library DLL that is responsible for gathering SQL Server 2000 performance Objects and Counters successfully, you must first grant Read Access to the C:\Program Files\Microsoft SQL Server\MSSQL\Binn Folder where <strong>SQLCTR80.dll</strong> resides to the <strong>Performance Sentry agent </strong>User Account.</p>
]]></content:encoded>
			<wfw:commentRss>http://faq.demandtech.com/2009/09/29/what-user-rights-and-permissions-does-the-user-account-that-i-will-run-the-performance-sentry-collection-service-under-require/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Can I run the Performance Sentry Collection Service under a User Account, instead of LocalSystem (or SYSTEM)?</title>
		<link>http://faq.demandtech.com/2009/09/29/can-i-run-the-performance-sentry-collection-service-under-a-user-account-instead-of-localsystem-or-system/</link>
		<comments>http://faq.demandtech.com/2009/09/29/can-i-run-the-performance-sentry-collection-service-under-a-user-account-instead-of-localsystem-or-system/#comments</comments>
		<pubDate>Tue, 29 Sep 2009 17:36:58 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Performance Sentry]]></category>

		<guid isPermaLink="false">http://faq.demandtech.com/?p=47</guid>
		<description><![CDATA[No, to function properly the Performance Sentry collection service should be set up to run under the LocalSystem (or SYSTEM) account. The LocalSystem (or SYSTEM) account is a built-in account used by many services with an extraordinary level of privileges for accessing local system resources. These include privileges that cannot be granted to any User [...]]]></description>
			<content:encoded><![CDATA[<p>No, to function properly the Performance Sentry collection service should be set up to run under the LocalSystem (or SYSTEM) account. The LocalSystem (or SYSTEM) account is a built-in account used by many services with an extraordinary level of privileges for accessing local system resources. These include privileges that cannot be granted to any User Account, including members of the Administrators group. The Performance Sentry collection service requires these SYSTEM-level privileges for some data collection functions.</p>
<p>More specifically, the Module collection function requires the PROCESS_QUERY_INFORMATION process-specific access right, which can only be granted programmatically by a process running with System<strong> </strong>level privileges to begin with. Unfortunately, there is no User Right that you can grant a User Account that allows the Performance Sentry collection service to execute the EnumProcessModules Win32 function call it makes to enumerate all the modules loaded in a process.</p>
<p>You can run the Performance Sentry collection service under a User Account by following the guidelines discussed <a href="http://faq.demandtech.com/2009/09/29/can-the-performance-sentry-collection-service-impersonate-a-user-account-to-gain-access-to-secure-network-resources/" target="_blank">here</a> and <a href="http://faq.demandtech.com/2009/09/29/what-user-rights-and-permissions-does-the-user-account-that-i-will-run-the-performance-sentry-collection-service-under-require/" target="_blank">here</a>.  All collection service functions will execute normally, once you grant the User Account the appropriate User Rights and Permissions. However, the Module collection function, introduced in version 2.4.4 will not run under a User Account. In order to collect Module identification data, you must run under the built-in <em>LocalSystem</em> (or <em>SYSTEM)</em> Account.</p>
]]></content:encoded>
			<wfw:commentRss>http://faq.demandtech.com/2009/09/29/can-i-run-the-performance-sentry-collection-service-under-a-user-account-instead-of-localsystem-or-system/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
