|
Migrate Domain Controller จาก Windows Server 2003 ไปยัง Windows Server 2008 R2 |
|
เขียนโดย @k
วันพุธที่ 17 กุมภาพันธ์ 2010 เวลา 11:13 น. |
|
|
|
|
เป็นบทความต่อเนื่องจากการที่ วิธี Promote Domain Controller บน Windows Sever 2003 R2 สำหรับบทความนี้ เป็นการ Migrate Domain Controller จาก Windows Server 2003 หรือ 2003 R2 ไปยัง Windows Server 2008 R2 ซึ่ง 2008 R2 นั้น มีแค่ 64bit ไม่มี 32bit แล้ว ซึ่งมีวิธีการเตรียมระบบและ ขั้นตอนการ Migrate ดังนี้
สิ่งที่ต้องคำนึงก่อน Migrate Domain Controller
- Backup Domain Controller ก่อน
- ตรวจสอบ Upgrade Requirement ว่าต้องมีอะไรบ้าง เช่น Hardware หรือ Software ที่รองรับ Windows Server 2008 R2
- ตรวจสอบ Domain ว่าสมบูรณ์หรือเปล่า โดยใช้ Tools ต่าง ๆ เช่น Dcdiag.exe, repadmin.exe, gpotool.exe หรือดู Event Viewer
- ตรวจสอบ Domain Functional Level ต้องเป็น Windows 200 native หรือ Windows Server 2003 (แนะนำ)
- อัพเกรด Schema ให้ 2003 DC ก่อน โดยใช้ adprep.exe (ก่อนอื่นต้องเปลี่ยน Domain Functional Level ก่อน) โดยวิธีการมีดังนี้
- ใส่แผ่น DVD Windows Server 2008 R2 ที่เครื่อง Windows Server 2003 ก่อน
- ตรวจสอบ adprep โฟลเดอร์ ว่าอยู่ที่ไหน ปกติจะอยู่ที่ \support\adprep (เช่น D:\support\adprep)
- รัน command "adprep32 /forestprep" และรอจนเสร็จ
-
- รัน command "adprep32 /domainprep /gpprep" และรอจนเสร็จ
เริ่มขั้นตอนการ Migrate Domain Controller ไปยัง Windows Server 2008 R2
- ติดตั้ง Windows Server 2008 R2
- Join Windows Server 2008 R2 เข้าเป็น Member Domain ก่อน
- ไปที่ Server Manager > Roles > Add Roles
- เลือก Active Directory Domain Services (การ add roles ต่างกับ run dcpromo คือ add roles จะติดตั้ง Feature required ให้ด้วย)
- เลือก Add Required Feature
- เลือกที่ Close this wizard and lunch the Active Directory Domain Service Installation Wizard (dcpromo.exe)
- ใส่เครื่องหมายถูกที่ Use advance mode installation แล้วเลือก Next
- เลือก Existing forest และ Add a domain controller to an existing domain แล้วเลือก Next
- คลิกเลือก root domain แล้วเลือก Next
- จะมี popup ขึ้นมาบอกว่า เราไม่ได้รัน "adprep /rodcprep" ถ้าไม่ได้ใช้ RODC ก็ไม่ต้องรัน ให้เลือก Yes
- เลือก Default-First-Site-Name แล้วเลือก Next
- เลือก Replicate data over the network from an exiting domain controller แล้วเลือก Next
- เลือกที่เก็บ database, log และ SYSVOL จากนั้นเลือก Next
- ใส่ password สำหรับ restore mode แล้วเลือก Next
- ระบบจะทำการ Install AD Service รอให้เสร็จ
|
|
แก้ไขล่าสุด ( วันพุธที่ 18 สิงหาคม 2010 เวลา 22:32 น. )
|
คอมเมนต์คอมเมนต์
การ migrate domain จะต้องเพิ่มเรื่ องของการย้าย FSMO Roles
แต่ลืมกลับมาทำ Link เพิ่มเติม
ขอบคุณมากครับคุ ณ sakura
http://www.elmajdal.net/win2k8/In-Place_Upgrade_Windows_Server_2003_Domain_Controller_To_Windows_Server_2008.aspx
ตาม Link นี้เป็น upgrade นะครับ คือการ Upgrade Windows 2003 เป็น 2008 ใน Hardware เดียวกัน ซึ่งจะมี Downtime
แต่บทความผมเป็น Migrate ครับ คือทำคนละเครื่อ ง แล้ว Transfer FSMO ไปครับ ซึ่งไม่มี downtime
คนละแบบกันขึ้นอ ยู่กับจุดประสงค ์ว่ามี Environment และ Migrate แบบไหน แต่สามารถทำได้ท ั้งสองวิธีครับ
ขอบคุณสำหรับบทค วาม upgrade นะครับ
ทำถึงขั้นตอนไหน ครับ ใช้ user administrator รันหรือเปล่าครั บ
ตรวจสอบ adprep โฟลเดอร์ ว่าอยู่ที่ไหน ปกติจะอยู่ที่ \support\adprep (เช่น D:\support\adpr ep )
รัน command "adprep32 /forestprep" และรอจนเสร็จ
แต่มันไม่สามารถ run adprep32 ได้ ครับ
มันขึ้น error ให้ Contract Administrator
ผม Login Administrator ของ Domain ครับ
ขอ error แบบเต็ม ๆ ด้วยครับ
You are not permitted to execute the following program
"C:\adprep\adpre p32.exe" * // ตรงนี้ผมลอง copy มาไว้ใน drive C:\ นะครับ
Please contact your administrator if you require access.
ติดตามคอมเมนต์นี้ในรูปแบบ RSS feeds