在升級後第一次啟動時,DHCP 服務會偵測到資料庫需要進行轉換。接著它會啟動 Jetconv.exe 轉換處理序(如果其他服務已經啟動 Jetconv.exe,則不會啟動第二個 Jetconv.exe 處理序)。轉換處理序會在啟動之前要求使用者確認。在使用者按一下 [確定] 後,DHCP 服務便會停止,轉換作業也隨即開始。Jetconv.exe 會將所有已安裝服務 (DHCP 以及可能安裝的 WINS 和 RPL) 的資料庫,轉換成新的資料庫格式。
在 DHCP 資料庫轉換成功之後,DHCP 伺服器服務會自動重新啟動。
啟動轉換處理序之前,請注意下列指導方針:
升級之前,請將 DHCP 伺服器的 Windows NT 3.51 資料庫變成一致的狀態。執行的方式是使用 [控制台] 中的 [服務] 圖示或使用 net stop service 服務來停止服務。
轉換所需的可用磁碟空間容量大約相當於原始資料庫與記錄檔的大小。您至少應為每個資料庫的記錄檔保留 5 MB 的可用空間。
轉換處理序會保留原始資料庫和記錄檔,並將它們放在其原本所在目錄底下一個名為 351db 的子目錄中。在 DHCP 伺服器上,這就是 %SystemRoot%\System32\Dhcp\351db\ 目錄。
當資料庫正在轉換時,絕不可重新啟動服務。若要檢查轉換的狀態,請使用事件檢視器來查看 Jetconv.exe 處理序的應用程式事件記錄檔。
如果這個自動轉換資料庫的程序執行失敗,可以使用 winnt\system32\upg351db.exe 手動轉換資料庫。
同樣地,如果這是從 Windows NT 3.51 升級之後第一次啟動 DHCP,您也必須在 DHCP 資料庫上執行轉換工具 (winnt\system32 資料夾中的 upg351db.exe),將資料庫轉換成全新改良過的資料庫格式。在資料庫轉換完成後,請重新啟動 DHCP。
若要執行這些程序,您必須是 Administrators 群組成員或是已經委派您適當的權限。
若要升級資料庫:
從 winnt\system32 資料夾執行 upg351db.exe。
升級之後,請按一下 [開始],在 [開始搜尋] 中輸入 services.msc,然後按 ENTER。
按一下 [繼續],並以滑鼠右鍵按一下 [DHCP 伺服器],然後依序按一下 [重新啟動] 和 [是] 重新啟動 DHCP 伺服器服務。
Target | Microsoft.Windows.DHCPServer.Library.Database | ||
Parent Monitor | System.Health.ConfigurationState | ||
Category | StateCollection | ||
Enabled | True | ||
Alert Generate | True | ||
Alert Severity | MatchMonitorHealth | ||
Alert Priority | Normal | ||
Alert Auto Resolve | True | ||
Monitor Type | Microsoft.Windows.SingleEventLogManualReset2StateMonitorType | ||
Remotable | True | ||
Accessibility | Public | ||
Alert Message |
| ||
RunAs | Microsoft.Windows.DHCPServer.Library.ActionAccount |
<UnitMonitor ID="Microsoft.Windows.DHCPServer.Library.Database.UnitMonitor.Migration.1" Accessibility="Public" Enabled="true" 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>