mirror of
https://github.com/Microsoft/sql-server-samples.git
synced 2025-12-08 14:58:54 +00:00
244 lines
14 KiB
XML
244 lines
14 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
||
<!--Copyright (c) Microsoft Corporation.-->
|
||
<!--Licensed under the MIT License-->
|
||
<model xmlns="smlif.xsd">
|
||
<_locDefinition xmlns="urn:locstudio">
|
||
<_locDefault _loc="locNone" />
|
||
<_locTag _loc="locData">DMF:Name</_locTag>
|
||
<_locTag _loc="locData">DMF:Description</_locTag>
|
||
<_locTag _loc="locData">DMF:Condition</_locTag>
|
||
<_locTag _loc="locData">DMF:ObjectSet</_locTag>
|
||
<_locTag _loc="locData">DMF:RootCondition</_locTag>
|
||
<_locTag _loc="locData">DMF:PolicyCategory</_locTag>
|
||
<_locTag _loc="locData">DMF:HelpText</_locTag>
|
||
</_locDefinition>
|
||
<identity>
|
||
<name>urn:uuid:96fe1236-abf6-4a57-b54d-e9baab394fd1</name>
|
||
<baseURI>http://documentcollection/</baseURI>
|
||
</identity>
|
||
<xs:bufferSchema xmlns:xs="http://www.w3.org/2001/XMLSchema">
|
||
<definitions xmlns:sfc="http://schemas.microsoft.com/sqlserver/sfc/serialization/2007/08">
|
||
<document>
|
||
<docinfo>
|
||
<aliases>
|
||
<alias>/system/schema/DMF</alias>
|
||
</aliases>
|
||
<sfc:version DomainVersion="3" />
|
||
</docinfo>
|
||
<data>
|
||
<xs:schema targetNamespace="http://schemas.microsoft.com/sqlserver/DMF/2007/08" xmlns:sfc="http://schemas.microsoft.com/sqlserver/sfc/serialization/2007/08" xmlns:sml="sml.xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified">
|
||
<xs:element name="Policy">
|
||
<xs:complexType>
|
||
<xs:sequence>
|
||
<xs:any namespace="http://schemas.microsoft.com/sqlserver/DMF/2007/08" processContents="skip" minOccurs="0" maxOccurs="unbounded" />
|
||
</xs:sequence>
|
||
</xs:complexType>
|
||
</xs:element>
|
||
<xs:element name="ObjectSet">
|
||
<xs:complexType>
|
||
<xs:sequence>
|
||
<xs:any namespace="http://schemas.microsoft.com/sqlserver/DMF/2007/08" processContents="skip" minOccurs="0" maxOccurs="unbounded" />
|
||
</xs:sequence>
|
||
</xs:complexType>
|
||
</xs:element>
|
||
<xs:element name="Condition">
|
||
<xs:complexType>
|
||
<xs:sequence>
|
||
<xs:any namespace="http://schemas.microsoft.com/sqlserver/DMF/2007/08" processContents="skip" minOccurs="0" maxOccurs="unbounded" />
|
||
</xs:sequence>
|
||
</xs:complexType>
|
||
</xs:element>
|
||
<xs:element name="PolicyCategory">
|
||
<xs:complexType>
|
||
<xs:sequence>
|
||
<xs:any namespace="http://schemas.microsoft.com/sqlserver/DMF/2007/08" processContents="skip" minOccurs="0" maxOccurs="unbounded" />
|
||
</xs:sequence>
|
||
</xs:complexType>
|
||
</xs:element>
|
||
<xs:element name="TargetSet">
|
||
<xs:complexType>
|
||
<xs:sequence>
|
||
<xs:any namespace="http://schemas.microsoft.com/sqlserver/DMF/2007/08" processContents="skip" minOccurs="0" maxOccurs="unbounded" />
|
||
</xs:sequence>
|
||
</xs:complexType>
|
||
</xs:element>
|
||
<DMF:bufferData xmlns:DMF="http://schemas.microsoft.com/sqlserver/DMF/2007/08">
|
||
<instances xmlns:sfc="http://schemas.microsoft.com/sqlserver/sfc/serialization/2007/08">
|
||
<document>
|
||
<docinfo>
|
||
<aliases>
|
||
<alias>/PolicyStore/Policy/Windows Event Log System Failure Error</alias>
|
||
</aliases>
|
||
<sfc:version DomainVersion="3" />
|
||
</docinfo>
|
||
<data>
|
||
<DMF:Policy xmlns:DMF="http://schemas.microsoft.com/sqlserver/DMF/2007/08" xmlns:sfc="http://schemas.microsoft.com/sqlserver/sfc/serialization/2007/08" xmlns:sml="sml.xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema">
|
||
<DMF:Parent>
|
||
<sfc:Reference sml:ref="true">
|
||
<sml:Uri>/PolicyStore</sml:Uri>
|
||
</sfc:Reference>
|
||
</DMF:Parent>
|
||
<DMF:PolicyCondition>
|
||
<sfc:Reference sml:ref="true">
|
||
<sml:Uri>/PolicyStore/Condition/System Failure Error Check</sml:Uri>
|
||
</sfc:Reference>
|
||
</DMF:PolicyCondition>
|
||
<DMF:PolicyObjectSet>
|
||
<sfc:Reference sml:ref="true">
|
||
<sml:Uri>/PolicyStore/ObjectSet/Windows Event Log System Failure Error__ObjectSet</sml:Uri>
|
||
</sfc:Reference>
|
||
</DMF:PolicyObjectSet>
|
||
<DMF:PolicyPolicyCategory>
|
||
<sfc:Reference sml:ref="true">
|
||
<sml:Uri>/PolicyStore/PolicyCategory/Microsoft Best Practices_b Windows Log File</sml:Uri>
|
||
</sfc:Reference>
|
||
</DMF:PolicyPolicyCategory>
|
||
<DMF:Name type="string">Windows Event Log System Failure Error</DMF:Name>
|
||
<DMF:Description type="string">Detects Error Event ID 6008 in the System Log. This error indicates an unexpected system shutdown. The system might be unstable and might not provide the stability and integrity that is required to host an instance of SQL Server. If it is known, you should address the root cause of the unexpected server restarts. Otherwise, move the instance of SQL Server to another computer.</DMF:Description>
|
||
<DMF:Condition type="string">System Failure Error Check</DMF:Condition>
|
||
<DMF:ObjectSet type="string">Windows Event Log System Failure Error_ObjectSet</DMF:ObjectSet>
|
||
<DMF:PolicyCategory type="string">Microsoft Best Practices: Windows Log File</DMF:PolicyCategory>
|
||
<DMF:Enabled type="boolean">false</DMF:Enabled>
|
||
<DMF:AutomatedPolicyEvaluationMode type="AutomatedPolicyEvaluationMode">None</DMF:AutomatedPolicyEvaluationMode>
|
||
<DMF:HelpText type="string" />
|
||
<DMF:HelpLink type="string">http://go.microsoft.com/fwlink/?LinkId=116326</DMF:HelpLink>
|
||
<DMF:ActiveEndDate type="dateTime">0001-01-01T00:00:00</DMF:ActiveEndDate>
|
||
<DMF:ActiveStartDate type="dateTime">0001-01-01T00:00:00</DMF:ActiveStartDate>
|
||
</DMF:Policy>
|
||
</data>
|
||
</document>
|
||
<document>
|
||
<docinfo>
|
||
<aliases>
|
||
<alias>/PolicyStore/ObjectSet/Windows Event Log System Failure Error__ObjectSet</alias>
|
||
</aliases>
|
||
<sfc:version DomainVersion="3" />
|
||
</docinfo>
|
||
<data>
|
||
<DMF:ObjectSet xmlns:DMF="http://schemas.microsoft.com/sqlserver/DMF/2007/08" xmlns:sfc="http://schemas.microsoft.com/sqlserver/sfc/serialization/2007/08" xmlns:sml="sml.xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema">
|
||
<DMF:TargetSets>
|
||
<sfc:Collection>
|
||
<sfc:Reference sml:ref="true">
|
||
<sml:Uri>/PolicyStore/ObjectSet/Windows Event Log System Failure Error__ObjectSet/TargetSet/Server</sml:Uri>
|
||
</sfc:Reference>
|
||
</sfc:Collection>
|
||
</DMF:TargetSets>
|
||
<DMF:Parent>
|
||
<sfc:Reference sml:ref="true">
|
||
<sml:Uri>/PolicyStore</sml:Uri>
|
||
</sfc:Reference>
|
||
</DMF:Parent>
|
||
<DMF:Name type="string">Windows Event Log System Failure Error_ObjectSet</DMF:Name>
|
||
<DMF:Facet type="string">Server</DMF:Facet>
|
||
</DMF:ObjectSet>
|
||
</data>
|
||
</document>
|
||
<document>
|
||
<docinfo>
|
||
<aliases>
|
||
<alias>/PolicyStore/Condition/System Failure Error Check</alias>
|
||
</aliases>
|
||
<sfc:version DomainVersion="3" />
|
||
</docinfo>
|
||
<data>
|
||
<DMF:Condition xmlns:DMF="http://schemas.microsoft.com/sqlserver/DMF/2007/08" xmlns:sfc="http://schemas.microsoft.com/sqlserver/sfc/serialization/2007/08" xmlns:sml="sml.xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema">
|
||
<DMF:Parent>
|
||
<sfc:Reference sml:ref="true">
|
||
<sml:Uri>/PolicyStore</sml:Uri>
|
||
</sfc:Reference>
|
||
</DMF:Parent>
|
||
<DMF:Expression type="string">
|
||
<Operator><?char 13?>
|
||
<TypeClass>Bool</TypeClass><?char 13?>
|
||
<OpType>EQ</OpType><?char 13?>
|
||
<Count>2</Count><?char 13?>
|
||
<Function><?char 13?>
|
||
<TypeClass>Numeric</TypeClass><?char 13?>
|
||
<FunctionType>IsNull</FunctionType><?char 13?>
|
||
<ReturnType>Numeric</ReturnType><?char 13?>
|
||
<Count>2</Count><?char 13?>
|
||
<Function><?char 13?>
|
||
<TypeClass>Numeric</TypeClass><?char 13?>
|
||
<FunctionType>ExecuteWql</FunctionType><?char 13?>
|
||
<ReturnType>Numeric</ReturnType><?char 13?>
|
||
<Count>3</Count><?char 13?>
|
||
<Constant><?char 13?>
|
||
<TypeClass>String</TypeClass><?char 13?>
|
||
<ObjType>System.String</ObjType><?char 13?>
|
||
<Value>Numeric</Value><?char 13?>
|
||
</Constant><?char 13?>
|
||
<Constant><?char 13?>
|
||
<TypeClass>String</TypeClass><?char 13?>
|
||
<ObjType>System.String</ObjType><?char 13?>
|
||
<Value>root\CIMV2</Value><?char 13?>
|
||
</Constant><?char 13?>
|
||
<Constant><?char 13?>
|
||
<TypeClass>String</TypeClass><?char 13?>
|
||
<ObjType>System.String</ObjType><?char 13?>
|
||
<Value>select EventCode from Win32_NTLogEvent where EventCode=6008 and Logfile="System"</Value><?char 13?>
|
||
</Constant><?char 13?>
|
||
</Function><?char 13?>
|
||
<Constant><?char 13?>
|
||
<TypeClass>Numeric</TypeClass><?char 13?>
|
||
<ObjType>System.Int32</ObjType><?char 13?>
|
||
<Value>0</Value><?char 13?>
|
||
</Constant><?char 13?>
|
||
</Function><?char 13?>
|
||
<Constant><?char 13?>
|
||
<TypeClass>Numeric</TypeClass><?char 13?>
|
||
<ObjType>System.Int32</ObjType><?char 13?>
|
||
<Value>0</Value><?char 13?>
|
||
</Constant><?char 13?>
|
||
</Operator>
|
||
</DMF:Expression>
|
||
<DMF:Name type="string">System Failure Error Check</DMF:Name>
|
||
<DMF:Description type="string">Confirms that an unexpected system shutdown error message (Event ID – 6008) does not exist in the system log.</DMF:Description>
|
||
<DMF:Facet type="string">Server</DMF:Facet>
|
||
</DMF:Condition>
|
||
</data>
|
||
</document>
|
||
<document>
|
||
<docinfo>
|
||
<aliases>
|
||
<alias>/PolicyStore/PolicyCategory/Microsoft Best Practices_b Windows Log File</alias>
|
||
</aliases>
|
||
<sfc:version DomainVersion="3" />
|
||
</docinfo>
|
||
<data>
|
||
<DMF:PolicyCategory xmlns:DMF="http://schemas.microsoft.com/sqlserver/DMF/2007/08" xmlns:sfc="http://schemas.microsoft.com/sqlserver/sfc/serialization/2007/08" xmlns:sml="sml.xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema">
|
||
<DMF:Parent>
|
||
<sfc:Reference sml:ref="true">
|
||
<sml:Uri>/PolicyStore</sml:Uri>
|
||
</sfc:Reference>
|
||
</DMF:Parent>
|
||
<DMF:Name type="string">Microsoft Best Practices: Windows Log File</DMF:Name>
|
||
</DMF:PolicyCategory>
|
||
</data>
|
||
</document>
|
||
<document>
|
||
<docinfo>
|
||
<aliases>
|
||
<alias>/PolicyStore/ObjectSet/Windows Event Log System Failure Error__ObjectSet/TargetSet/Server</alias>
|
||
</aliases>
|
||
<sfc:version DomainVersion="3" />
|
||
</docinfo>
|
||
<data>
|
||
<DMF:TargetSet xmlns:DMF="http://schemas.microsoft.com/sqlserver/DMF/2007/08" xmlns:sfc="http://schemas.microsoft.com/sqlserver/sfc/serialization/2007/08" xmlns:sml="sml.xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema">
|
||
<DMF:Parent>
|
||
<sfc:Reference sml:ref="true">
|
||
<sml:Uri>/PolicyStore/ObjectSet/Windows Event Log System Failure Error__ObjectSet</sml:Uri>
|
||
</sfc:Reference>
|
||
</DMF:Parent>
|
||
<DMF:TargetTypeSkeleton type="string">Server</DMF:TargetTypeSkeleton>
|
||
<DMF:Enabled type="boolean">true</DMF:Enabled>
|
||
</DMF:TargetSet>
|
||
</data>
|
||
</document>
|
||
</instances>
|
||
</DMF:bufferData>
|
||
</xs:schema>
|
||
</data>
|
||
</document>
|
||
</definitions>
|
||
</xs:bufferSchema>
|
||
</model> |