NÂNG CẤP DOMAIN CONTROLLER WINDOWS SERVER 2008

  -  
This article provides details for completing a migration of Windows server 2008 R2 to Windows hệ thống 2012 R2.

Summary: This article provides details for completing a migration of Windows hệ thống 2008 R2 khổng lồ Windows vps 2012 R2.See less This article provides details for completing a migration of Windows hệ thống 2008 R2 to Windows server 2012 R2.


This article is designed to lớn provide a step by step walkthrough of the migration of a vps running Windows server 2008 R2 with the Active Directory domain Services (ADDS) role installed và acting as a tên miền controller to as server runningWindows server 2012 R2. The migration includes migrating the Active Directory (AD) environment, tên miền Naming System (DNS) and Dynamic Host Configuration Protocol (DHCP). The migration is designed khổng lồ migrate everything with zero downtime in the environment allowing clients lớn continue to lớn operate uninterrupted. The roles will be added & configured on lớn the hệ thống running Windows hệ thống 2012 R2. The goal is khổng lồ retire the server running Windows vps 2008 R2.

Bạn đang xem: Nâng cấp domain controller windows server 2008

The current environment is configured as follows.Hardware - hostingvietnam.vn PowerEdge 1950Operating System - Windows vps 2008 R2Computer Name - W08R2-DCRoles - ADDS, DNS, DHCPIP Address - 192.168.0.1Domain - domain.localDHCP Scope - Client-ScopeHardware - hostingvietnam.vn PowerEdge R820Operating System - Windows server 2012 R2Computer Name - W12R2-DCIP Address - 192.168.0.2


Note: This article assumes the AD environment is healthy. An unhealthy AD environment will result in an unsuccessful migration. It may appear the migration completed successfully, but short và long term problems will arise which may lead to completely reinstalling ADDS and rebuilding the AD infrastructure.

This document can be used as a reference for performing a migration in a customerenvironment. Simply substitute the following information throughout the document.

W08R2-DC = customers" existing domain name controller computer nameW08R2-DC IP address = customers" existing domain name controller IP addressW08R2-DC DHCP scope = customers" existing DHCP scopeW12R2-DC = customers" new computer nameW12R2-DC IP address = customers" new server IP addressdomain.local = customers" forest/domain name

Solution:

1. Prepare the existing AD environment for the migration to lớn the new hệ thống by upgrading the schema using adprep.exe. Log on khổng lồ W08R2-DC as tên miền Administrator, xuất hiện elevated command prompt & perform the following steps.


Note: This section isn"t necessary with Windows hệ thống 2012 or Windows hệ thống 2012 R2. The AD schema is updated during the promotion of the new server to a tên miền controller. It is here for informational purposes only.
domain.local where domain.local is replaced by the name of the Active Directory domain và press Enter.

b. Enter the Administrator account password when prompted và press Enter. C. Type d:supportadprepadprep.exe /forestprep and press Enter.


Note: The drive letter d: in the above command is the DVD drive on the hostingvietnam.vn PowerEdge 1950 & contains the Windows hệ thống 2012 R2 DVD.

d. Type C to confirm the khổng lồ upgrade the schema lớn version 69, Windows vps 2012 R2, and press Enter.

Xem thêm: Webmail Là Gì? Cách Sử Dụng Webmail Hướng Dẫn Sử Dụng Webmail Để Gửi/ Nhận Email

*
*
2. Install ADDS on W12R2-DC.a. Xuất hiện Server Manager by pressing Windows Logo+R, type servermanager.exe and press Enter. The same task can be accomplished by pressing Windows Logo and selecting Server Manager on the left side of the screen.
*
b. Click Add roles và features in the Dashboard under Configure this local server.c. Click Next on Before You Begin.
*
d. Select Role-based or feature-based installation for Installation Type and click Next.
*
e. Select W12R2-DC on the Server Selection page và click Next.
*
f. Click Active Directory domain name Services to install it, click showroom Features when prompted & click Next.
*
g. Click Next on Features.
*
h. Click Next on ADDS.
*
i. Click Install on Confirmation.
*
3. Promote W12R2-DC to lớn a domain controller in the domain.local forest. A. Click the refresh icon in the đứng đầu center of the Dashboard in Server Manager and a Post-deployment Configuration notification will appear.
*
b. Click Promote this hệ thống to a domain name controller to begin the Active Directory domain name Services Configuration Wizard.
*
c. Ensure Add a domain name controller khổng lồ an existing domain is checked và type the tên miền name in Domain:. D. Click Change... next khổng lồ Supply the credentials to lớn perform this operation & type Administrator
domain.local where domain.local is the fully qualified domain name (FQDN) of the actual domain.Enter the Administrator password.
*
e. Type the Directory Restore Mode (DSRM) password, confirm it & click Next on Domain Controller Options.
*
f. Click Next on DNS Options.
*
g. Click Next on Additional Options.
*
h. Click Next on Paths.
*
i. Click Next on Preparation Options.
*
j. Click Next on Review Options.
*
k. Click Install on Installation khổng lồ complete the wizard. The vps will reboot upon completion.
*
4. Transfer the Domain naming operations master Flexible Single Master Operations (FSMO) role from W08R2-DC khổng lồ W12R2-DC. A. Open Server Manager by pressing Windows Logo+R, type servermanager.exe & press Enter. The same task can be accomplished by pressing Windows Logo & selecting Server Manager on the left side of the screen. B. Click the Tools menu in the upper right of Dashboard in Server Manager and select Active Directory Domains và Trusts.
*
c. Right-click on Active Directory Domains and Trusts and choose Change Active Directory domain Controllers. Click on W12R2-DC và click OK.
*
d. Right-click on Active Directory Domains & Trusts và choose Operations Master.... Click Change, acknowledge Yes to change the Domain naming operations master FSMO to W12R2-DC và click OK to complete the task.
*
5. Transfer the RID, PDC & Infrastructure FSMO rolesto W12R2-DC. A. Xuất hiện Server Manager by pressing Windows Logo+R, type servermanager.exe and press Enter. The same task can be accomplished by pressing Windows Logo and selecting Server Manager on the left side of the screen. B. Click the Tools menu in the upper right of Dashboard in Server Manager and select Active Directory Users và Computers.
*
c. Right-click on the domain name name in Active Directory Users & Computers và choose Change Active Directory tên miền Controllers. Click on W12R2-DC and click OK.
*
d. Right-click on the domain name name Active Directory Users & Computers và choose Operations Master.... Click Change on the RID tab, acknowledge Yes to change theRID FSMO role khổng lồ W12R2-DC và click OK khổng lồ complete the task. Perform the same task on the PDC and Infrastructure FSMO roles.
*
6. Transfer the Schema master FSMO role from W08R2-DC to W12R2-DC. A. Press Windows Logo+R, type regsvr32 schmmgmt.dll & press Enter. Acknowledge the successful registration of the .dll by clicking OK.
*
*
b. Windows Logo+R, type mmc và press Enter to open the Microsoft Management Console (MMC).
*
c. Click File, select Active Directory Schema under Available snap-ins:, click Add and click OK to add the snap-in to lớn the MMC. D. Right-click on the domain name in the MMC and choose Change Active Directory tên miền Controllers. Click on W12R2-DC và click OK. Acknowledge the message.
*
e. Right-click on the tên miền name the MMC and choose Operations Master...

Xem thêm: Chương 4: Các Kiểu Chữ Ký Có Nên Gạch Chân Không, Chữ Ký Có Nên Gạch Chân Không

. Click Change, acknowledge Yes lớn change the Schema master FSMO role khổng lồ W12R2-DC & OK to complete the task.
*
7. Install the DHCP Server role on W12R2-DC. Complete steps a through I in section 2 above và install DHCP Server.8. Migrate the DNS role from W08R2-DC to lớn W12R2-DC. A. On W12R2-DC mở cửa the Network Connections Control Panel tool by pressing the Windows Logo+R, type ncpa.cpl and press Enter.
*
b. Right-click on the Network Interface card (NIC) & click Properties.
*
c. Select Internet Protocol Version 4 (TCP/IPv4) và click Properties.
*
d. Change the Preferred DNS server: lớn 192.168.0.2 & click OK lớn complete the change.
*
e. On W08R2-DC press Windows Logo+R, type dhcpmgmt.msc & press Enter. F. In DHCP under IPv4 select server Options & double-click on 006 DNS Server under Option Name.
*
g. Click Remove under IP Address, change the IP address lớn 192.168.0.2 và click Add khổng lồ complete the process. Acknowledge any messages that appear. H. Perform steps a through d in this section on W08R2-DC.9. Migrate the DHCP role from W08R2-DC lớn W12R2-DC. Perform the following steps on W12R2-DC. A. Press Windows Logo, type Windows PowerShell, right-click on Windows PowerShell và click Run as administrator to mở cửa Windows PowerShell. B. Type md c:export và press Enterto create a new thư mục named export on c: c: Type md c:exportackup và press Enter to create a new thư mục named backup on c:export.
*
d. Type Export-DhcpServer -ComputerName W08R2-DC.domain.local -Leases -File c:exportleases.xml -verbose và press Enter to export the leases.
*
e. Type Import-DhcpServer -ComputerName W12R2-DC.domain.local -Leases -File c:exportleases.xml -verbose and press Enter to import the leases.
*
f. Mở cửa Server Manager by pressing Windows Logo+R, type servermanager.exe và press Enter. The same task can be accomplished by pressing Windows Logo and selecting Server Manager on the left side of the screen. G. Click the Tools thực đơn in the upper right of Dashboard in Server Manager & select DHCP. H. Right-click on DHCP, choose Add Server, click This authorized DHCP server và click OK to địa chỉ cửa hàng the server.
*
i. Right-click on W08R2-DC.domain.local, click Unauthorize and acknowledge Yes. J. Right-click on W12R2-DC.domain.local, click Authorize and acknowledge Yes. K. Click on W12R2-DC.domain.local, click Action, click All Tasks và click Restart lớn restart the DHCP service.
*