home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 2010 April / PCWorld0410.iso / WindowsServerTrial / server.iso / sources / install.wim / 2 / Windows / PLA / Rules / Rules.System.Disk.xml < prev    next >
Extensible Markup Language  |  2006-09-18  |  6KB  |  95 lines

  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <?Copyright (c) Microsoft Corporation. All rights reserved.?>
  3. <Rules>
  4.   <Group name="$(GroupDisk)">
  5.     <Rule name="$(RuleSplit)" enabled="true">
  6.       <Step select="/Report/Section/Table[@name='physicalDiskCounters']/Item[Data[@name='counter']='Disk Reads/sec' and Data[@name='instance']='_Total']">
  7.         <Exists>
  8.           <Otherwise>
  9.             <Variable name="rate" expression="Data[@name='mean']"/>
  10.           </Otherwise>
  11.         </Exists>
  12.       </Step>
  13.       <Step select="/Report/Section/Table[@name='physicalDiskCounters']/Item[Data[@name='counter']='Disk Writes/sec' and Data[@name='instance']='_Total']" fatal="true">
  14.         <Variable name="rate" expression="Data[@name='mean']+{rate}"/>
  15.         <Exists>
  16.           <When expression="'{rate}' >= 1" description="Minimum total I/O rate for this rule. This rule will evaluate the split I/O rate when the total I/O rate is above this value. The default value is >= 100."/>
  17.         </Exists>
  18.       </Step>
  19.       <Step select="/Report/Section/Table[@name='physicalDiskCounters']/Item[Data[@name='counter']='Split IO/Sec' and Data[@name='instance']='_Total']">
  20.         <Variable name="split" expression="Data[@name='mean']"/>
  21.         <Variable name="splitpercent" expression="format-number(({split} div {rate})*100,'0')"/>
  22.         <Exists>
  23.           <When expression="{splitpercent} >= 50" description="Maximum acceptable split I/O rate. This rule will issue a warning when the split I/O rate is above this value. The default value is >= 50.">
  24.             <Variable name="internalruleindex" expression="{internalruleindex} + 1"/>
  25.             <Variable name="severitymsg">Warning</Variable>
  26.             <Variable name="msgstring">$(LOC_SplitWarning)</Variable>
  27.             <Variable name="msglink">$(LinkDiskDiagnosis)</Variable>
  28.             <Warning tag="diskHighSplitIoCount_23_{internalruleindex}" select="Data[@name='mean']" table="/Report/Section[@name='advice']/Table[@name='warning']">
  29.               <Item>
  30.                 <Data name="severity" img="warning" link="diskHighSplitIoCount_23_{internalruleindex}" message="diskHighSplitIoCount_23_{internalruleindex}" translate="value">{severitymsg}</Data>
  31.                 <Data name="warning" message="diskHighSplitIoCount_23_{internalruleindex}">{msgstring}</Data>
  32.                 <Data name="related" url="http://go.microsoft.com/fwlink/?LinkID=70114">{msglink}</Data>
  33.               </Item>
  34.             </Warning>
  35.           </When>
  36.         </Exists>
  37.       </Step>
  38.     </Rule>
  39.     <Rule name="$(RuleDiskAvgSec)" enabled="true">
  40.       <Step select="/Report/Section/Table[@name='physicalDiskAveDiskSec']/Item[Data[@name='instance']='_Total']" sortType="all">
  41.         <Exists>
  42.           <Otherwise>
  43.             <Delete select="."/>
  44.           </Otherwise>
  45.         </Exists>
  46.       </Step>
  47.     </Rule>
  48.     <Rule name="$(RuleNTFSInsert)" enabled="true" visible="false">
  49.       <Step select="/Report/Section[@name='tracerptDisk']">
  50.         <Exists>
  51.           <Otherwise>
  52.             <Insert select=".">
  53.               <Node axis="child" document="NTFS Performance.xml" select="/Report/Section/Table[@name='registryKeys']"/>
  54.             </Insert>
  55.             <Insert select="Table[@name='registryKeys']">
  56.               <Attribute name="name" value="TableNTFSPerformance"/>
  57.               <Attribute name="topic" value="TopicNTFSPerformance"/>
  58.             </Insert>
  59.           </Otherwise>
  60.         </Exists>
  61.       </Step>
  62.     </Rule>
  63.     <Rule name="$(RuleCheckQueueLength)" enabled="true">
  64.       <Step select="/Report/Section/Table[@name='physicalDiskCounters']/Item[Data[@name='counter']='Avg. Disk Queue Length' and Data[@name='instance']='_Total']">
  65.         <Variable name="queuelength" expression="Data[@name='mean']"/>
  66.         <Exists>
  67.           <When expression="{queuelength} >= 1" description="Maximum acceptable Avg. Disk queue length. This rule will issue a warning when the Avg. Disk queue length is above this value. The default value is >= 1.">
  68.             <Variable name="internalruleindex" expression="{internalruleindex} + 1"/>
  69.             <Variable name="severitymsg">Information</Variable>
  70.             <Variable name="msgstring">$(LOC_AvgDiskQueueLength)</Variable>
  71.             <Variable name="msglink">$(LinkDiskDiagnosis)</Variable>
  72.             <Warning tag="diskQueueLength_26_{internalruleindex}" select="Data[@name='mean']" table="/Report/Section[@name='advice']/Table[@name='info']">
  73.               <Item>
  74.                 <Data name="severity" img="info" link="diskQueueLength_26_{internalruleindex}" message="diskQueueLength_26_{internalruleindex}" translate="value">{severitymsg}</Data>
  75.                 <Data name="warning" message="diskQueueLength_26_{internalruleindex}">{msgstring}</Data>
  76.                 <Data name="related" url="http://go.microsoft.com/fwlink/?LinkID=70117">{msglink}</Data>
  77.               </Item>
  78.             </Warning>
  79.           </When>
  80.         </Exists>
  81.       </Step>
  82.     </Rule>
  83.   </Group>
  84.   <StringTable>
  85.     <String ID="GroupDisk">Disk</String>
  86.     <String ID="RuleDiskAvgSec">High Disk Average Per Second</String>
  87.     <String ID="RuleSplit">High Split I/O Rate</String>
  88.     <String ID="LOC_SplitWarning" loc.comment="Warning when high split I/O found using Performance counters">High rate of {split} split I/O per second was detected. This represents {splitpercent} percent of total I/O processes. Consider size of I/O processes compared to disk format size and defragment or reformat any disks with a high split I/O rate.</String>
  89.     <String ID="RuleNTFSInsert" loc.comment="Name of rule that inserts ntfs performance sections and tables seen in WPDC">Insert Configuration table into final report</String>
  90.     <String ID="RuleCheckQueueLength" loc.comment="Name of rule that checks the disk queue length seen in WPDC">Disk queue length</String>
  91.     <String ID="LOC_AvgDiskQueueLength" loc.comment="Warning seen in report">The average disk queue length is {queuelength}. The disk may be at its maximum transfer capacity due to throughput and disk seeks</String>
  92.     <String ID="LinkDiskDiagnosis">Disk Diagnosis</String>
  93.   </StringTable>
  94. </Rules>
  95.