DHCP 데이터베이스 백업 오류 규칙

Microsoft.Windows.DHCPServer.Library.Database.BackupAndRestore.Error.Rule (Rule)

Knowledge Base article:

요약

이 규칙은 손상되었거나 손실된 DHCP 데이터베이스와 관련된 오류 이벤트를 확인합니다.

해결 방법

DHCP Server 데이터베이스가 손상되거나 손실된 경우 %SystemRoot%\System32\Dhcp 폴더에 있는 서버 데이터베이스 파일(Dhcp.mdb)을 동일한 파일의 백업 사본으로 교체하면 복구가 가능합니다.

이전에 DHCP 관리자를 사용하여 백업을 수행한 경우 %SystemRoot%\System32\Dhcp\Backup 폴더에 있는 서버 데이터베이스 파일의 백업 사본을 가져올 수 있습니다. 테이프 백업 또는 기타 백업 미디어에서 Dhcp.mdb 파일을 복원할 수도 있습니다.

이 절차를 수행하려면 Administrators 그룹 구성원이거나 적절한 권한을 위임 받아야 합니다.

DHCP 데이터베이스의 백업 사본을 복원하려면:

Element properties:

TargetMicrosoft.Windows.DHCPServer.Library.Database
CategoryEventCollection
EnabledTrue
Event_ID1018
Alert GenerateFalse
RemotableTrue
Event LogSystem

Member Modules:

ID Module Type TypeId RunAs 
DS DataSource Microsoft.Windows.EventProvider Microsoft.Windows.DHCPServer.Library.ActionAccount
WriteToDB WriteAction Microsoft.SystemCenter.CollectEvent Default
WriteToDW WriteAction Microsoft.SystemCenter.DataWarehouse.PublishEventData Default

Source Code:

<Rule ID="Microsoft.Windows.DHCPServer.Library.Database.BackupAndRestore.Error.Rule" Enabled="true" Target="Microsoft.Windows.DHCPServer.Library.Database" ConfirmDelivery="false" Remotable="true" Priority="Normal" DiscardLevel="100">
<Category>EventCollection</Category>
<DataSources>
<DataSource ID="DS" RunAs="Microsoft.Windows.DHCPServer.Library.ActionAccount" TypeID="Windows!Microsoft.Windows.EventProvider">
<ComputerName>$Target/Host/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/PrincipalName$</ComputerName>
<LogName>System</LogName>
<Expression>
<And>
<Expression>
<Or>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="String">PublisherName</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="String">Microsoft-Windows-DHCP-Server</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="String">PublisherName</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="String">DHCPServer</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</Or>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="UnsignedInteger">EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="UnsignedInteger">1018</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</And>
</Expression>
</DataSource>
</DataSources>
<WriteActions>
<WriteAction ID="WriteToDB" TypeID="SC!Microsoft.SystemCenter.CollectEvent"/>
<WriteAction ID="WriteToDW" TypeID="SCDW!Microsoft.SystemCenter.DataWarehouse.PublishEventData"/>
</WriteActions>
</Rule>