한 서버에서 다른 서버로 DHCP 데이터베이스를 내보내려고 했는데 실패한 경우에는 단계를 제대로 완료하지 않았기 때문일 수 있습니다. 데이터베이스를 성공적으로 마이그레이션하려면 여러 절차를 올바른 순서대로 완료해야 합니다. 다음 절차를 소개된 순서 그대로 따라서 데이터베이스를 다시 내보내고 가져와 보십시오.
이 절차를 수행하려면 Administrators 그룹 구성원이거나 적절한 권한을 위임 받아야 합니다.
DHCP 데이터베이스 및 구성을 다른 서버로 이동하려면:
로컬 Administrators 그룹의 구성원인 계정을 사용하여 원본 DHCP Server에 로그온합니다.
시작, 실행을 차례로 클릭하고 cmd를 입력한 다음 확인을 클릭합니다.
netsh dhcp server export C:\dhcp.txt all을 입력한 다음 Enter 키를 누릅니다.
DHCP Server 서비스를 설치합니다.
이 절차를 수행하려면 Administrators 그룹 구성원이거나 적절한 권한을 위임 받아야 합니다.
Windows Server를 실행 중인 기존 컴퓨터에 DHCP Server 서비스를 설치하려면:
DHCP Server 컴퓨터에서 시작, 제어판을 차례로 클릭한 다음 프로그램 추가/제거를 두 번 클릭합니다.
Windows 구성 요소 추가/제거를 클릭합니다.
Windows 구성 요소 마법사의 구성 요소 상자에서 네트워킹 서비스를 클릭한 다음 세부 정보를 클릭합니다.
이미 선택되어 있지 않은 경우 DHCP(Dynamic Host Configuration Protocol) 확인란을 선택한 다음 확인을 클릭합니다.
Windows 구성 요소 마법사에서 다음을 클릭하여 선택한 구성 요소를 설치합니다. Windows Server 2008 설치 CD를 컴퓨터 CD 드라이브 또는 DVD 드라이브에 넣으라는 메시지가 나타나면 CD를 넣습니다. 설치 프로그램이 DHCP 서버 및 도구 파일을 컴퓨터에 복사합니다.
설치가 완료되면 마침을 클릭합니다.
DHCP 데이터베이스를 가져옵니다.
이 절차를 수행하려면 Administrators 그룹 구성원이거나 적절한 권한을 위임 받아야 합니다.
DHCP 데이터베이스를 가져오려면:
로컬 Administrators 그룹의 명시적 구성원인 사용자로 로그온합니다. 로컬 Administrators 그룹의 구성원인 그룹에 있는 사용자 계정으로는 이 작업을 수행할 수 없습니다. 도메인 컨트롤러에 대한 로컬 Administrators 계정이 없으면 디렉터리 서비스 복원 모드로 컴퓨터를 다시 시작한 다음 이 단원의 뒷부분에 설명된 대로 관리자 계정을 사용하여 데이터베이스를 가져옵니다.
내보낸 DHCP 데이터베이스 파일을 컴퓨터의 로컬 하드 디스크에 복사합니다.
서버 컴퓨터에서 DHCP 서비스가 시작되었는지 확인합니다.
시작, 실행을 차례로 클릭하고 cmd를 입력한 다음 확인을 클릭합니다.
명령 프롬프트에서 netsh dhcp server import c:\dhcpdatabase.txt all 을 입력한 다음 Enter 키를 누릅니다. 여기서 c:\dhcpdatabase.txt는 서버에 복사한 데이터베이스 파일의 전체 경로 및 파일 이름입니다.
DHCP Server에 권한을 부여합니다.
이 절차를 수행하려면 Administrators 그룹 구성원이거나 적절한 권한을 위임 받아야 합니다.
DHCP Server에 권한을 부여하려면:
DHCP Server 컴퓨터에서 시작을 클릭하고 모든 프로그램, 관리 도구를 차례로 가리킨 다음 DHCP를 클릭합니다.
DHCP 스냅인의 콘솔 트리에서 새 DHCP Server를 확장합니다. 서버 개체의 오른쪽 아래 모서리에 빨간색 화살표가 있으면 서버가 아직 권한을 부여 받지 않은 것입니다.
서버 개체를 마우스 오른쪽 단추로 클릭한 다음 권한 부여를 클릭합니다.
잠시 후 서버를 다시 마우스 오른쪽 단추로 클릭한 다음 새로 고침을 클릭합니다. DHCP Server에 권한이 부여되었음을 알려 주는 녹색 화살표가 나타납니다.
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.DatabaseCorrupt" 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.DatabaseCorrupt_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">1057</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</And>
</Expression>
</Configuration>
</UnitMonitor>