DHCP 資料庫移轉所需步驟監視

Microsoft.Windows.DHCPServer.Library.Database.UnitMonitor.Migration.1 (UnitMonitor)

Knowledge Base article:

解決方式

在升級後第一次啟動時,DHCP 服務會偵測到資料庫需要進行轉換。接著它會啟動 Jetconv.exe 轉換處理序(如果其他服務已經啟動 Jetconv.exe,則不會啟動第二個 Jetconv.exe 處理序)。轉換處理序會在啟動之前要求使用者確認。在使用者按一下 [確定] 後,DHCP 服務便會停止,轉換作業也隨即開始。Jetconv.exe 會將所有已安裝服務 (DHCP 以及可能安裝的 WINS 和 RPL) 的資料庫,轉換成新的資料庫格式。

在 DHCP 資料庫轉換成功之後,DHCP 伺服器服務會自動重新啟動。

啟動轉換處理序之前,請注意下列指導方針:

當資料庫正在轉換時,絕不可重新啟動服務。若要檢查轉換的狀態,請使用事件檢視器來查看 Jetconv.exe 處理序的應用程式事件記錄檔。

如果這個自動轉換資料庫的程序執行失敗,可以使用 winnt\system32\upg351db.exe 手動轉換資料庫。

同樣地,如果這是從 Windows NT 3.51 升級之後第一次啟動 DHCP,您也必須在 DHCP 資料庫上執行轉換工具 (winnt\system32 資料夾中的 upg351db.exe),將資料庫轉換成全新改良過的資料庫格式。在資料庫轉換完成後,請重新啟動 DHCP。

若要執行這些程序,您必須是 Administrators 群組成員或是已經委派您適當的權限。

若要升級資料庫:

Element properties:

TargetMicrosoft.Windows.DHCPServer.Library.Database
Parent MonitorSystem.Health.ConfigurationState
CategoryStateCollection
EnabledTrue
Alert GenerateTrue
Alert SeverityMatchMonitorHealth
Alert PriorityNormal
Alert Auto ResolveTrue
Monitor TypeMicrosoft.Windows.SingleEventLogManualReset2StateMonitorType
RemotableTrue
AccessibilityPublic
Alert Message
DHCP 資料庫移轉所需步驟監視
{0}
RunAsMicrosoft.Windows.DHCPServer.Library.ActionAccount

Source Code:

<UnitMonitor ID="Microsoft.Windows.DHCPServer.Library.Database.UnitMonitor.Migration.1" Accessibility="Public" Enabled="onEssentialMonitoring" Target="Microsoft.Windows.DHCPServer.Library.Database" ParentMonitorID="Health!System.Health.ConfigurationState" Remotable="true" Priority="Normal" TypeID="Windows!Microsoft.Windows.SingleEventLogManualReset2StateMonitorType" ConfirmDelivery="true" RunAs="Microsoft.Windows.DHCPServer.Library.ActionAccount">
<Category>StateCollection</Category>
<AlertSettings AlertMessage="Microsoft.Windows.DHCPServer.Library.Database.UnitMonitor.Migration.1_AlertMessageResourceID">
<AlertOnState>Error</AlertOnState>
<AutoResolve>true</AutoResolve>
<AlertPriority>Normal</AlertPriority>
<AlertSeverity>MatchMonitorHealth</AlertSeverity>
<AlertParameters>
<AlertParameter1>$Data/Context/EventDescription$</AlertParameter1>
</AlertParameters>
</AlertSettings>
<OperationalStates>
<OperationalState ID="EventRaised" MonitorTypeStateID="EventRaised" HealthState="Error"/>
<OperationalState ID="ManualResetEventRaised" MonitorTypeStateID="ManualResetEventRaised" HealthState="Success"/>
</OperationalStates>
<Configuration>
<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">1022</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</And>
</Expression>
</Configuration>
</UnitMonitor>