พฤหัสบดี, 23 กุมภาพันธ์ 2012
Migrate Domain Controller จาก Windows Server 2003 ไปยัง Windows Server 2008 R2
เขียนโดย @k    วันพุธที่ 17 กุมภาพันธ์ 2010 เวลา 11:13 น.   
อีเมล
( 3 Votes )

เป็นบทความต่อเนื่องจากการที่ วิธี 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
  • เลือก Next
  • เลือก Active Directory Domain Services (การ add roles ต่างกับ run dcpromo คือ add roles จะติดตั้ง Feature required ให้ด้วย)
  • เลือก Add Required Feature
  • เลือก Next
  • เลือก Install
  • เลือกที่ Close this wizard and lunch the Active Directory Domain Service Installation Wizard (dcpromo.exe)
  • ใส่เครื่องหมายถูกที่ Use advance mode installation แล้วเลือก Next
  • เลือก Next
  • เลือก Existing forest และ Add a domain controller to an existing domain แล้วเลือก Next
  • เลือก Next
  • คลิกเลือก root domain แล้วเลือก Next
  • จะมี popup ขึ้นมาบอกว่า เราไม่ได้รัน "adprep /rodcprep" ถ้าไม่ได้ใช้ RODC ก็ไม่ต้องรัน ให้เลือก Yes
  • เลือก Default-First-Site-Name แล้วเลือก Next
  • เลือก Next
  • เลือก Yes แล้วเลือก Next
  • เลือก Replicate data over the network from an exiting domain controller แล้วเลือก Next
  • เลือก Next
  • เลือกที่เก็บ database, log และ SYSVOL จากนั้นเลือก Next
  • ใส่ password สำหรับ restore mode แล้วเลือก Next
  • เลือก Next
  • ระบบจะทำการ Install AD Service รอให้เสร็จ
  • เลือก Finish
  • เลือก Restart Now
เมื่อ Reboot ขึ้นมาแล้ว ให้ทำการตรวจสอบความสมบูรณ์ของ Domain Controller เหมือนกับบทความ วิธี Promote Domain Controller บน Windows Sever 2003 R2 เมื่อสมบูรณ์ระบบ เราก็จะได้ Windows Server 2008 R2 เป็น Additional Domain Controller เพิ่มเข้าในระบบ Domain Controller แล้ว

หลังจากนั้นขั้นตอนต่อไปเราก็ให้ทำการ Transfer FSMO โดยใช้ ntdsutil ตามบทความนี้
แก้ไขล่าสุด ( วันพุธที่ 18 สิงหาคม 2010 เวลา 22:32 น. )
 

คอมเมนต์คอมเมนต์  

 
0 #1 sakura 2010-08-18 15:47
คุ้นๆว่า เคยเห็นที่ไหนมา ก่อนเลยอะ บทความนี้มันไม่ ใช่วิธีการ Migrate Domain 2003 เป็น 2008 นะคะ แค่ ทำให้มี Additional Domain เป็น Windows 2008 เท่านั้น
การ migrate domain จะต้องเพิ่มเรื่ องของการย้าย FSMO Roles
อ้างอิง
 
 
0 #2 @k 2010-08-19 12:35
อ๋อเป็นบทความต่ อเนื่องน่ะครับ ผมเขียนบทความนี ้ก่อนแล้วค่อยไป ทำอีกบทความหนึ่ ง คือ http://www.thaivmadmin.com/index.php/Windows-Server-Article/วิธี-Transfer-FSMO-Roles-โดยใช้-ntdsutil.html

แต่ลืมกลับมาทำ Link เพิ่มเติม

ขอบคุณมากครับคุ ณ sakura
อ้างอิง
 
 
0 #3 pwizard 2010-10-15 15:48
จริงๆ แล้วต้องเป็นแบบ นี้

http://www.elmajdal.net/win2k8/In-Place_Upgrade_Windows_Server_2003_Domain_Controller_To_Windows_Server_2008.aspx
อ้างอิง
 
 
0 #4 @k 2010-10-15 16:07
อ้างอิง pwizard:
จริงๆ แล้วต้องเป็นแบบ นี้

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 นะครับ
อ้างอิง
 
 
0 #5 apirun 2011-06-15 10:31
พอดีผมลองทำตามบ ทความแล้วแต่มัน ขึ้น error ครับ รึว่าต้อง run จาก Administrator ของเครื่องครับ
อ้างอิง
 
 
0 #6 @k 2011-06-15 10:44
อ้างอิง apirun:
พอดีผมลองทำตามบ ทความแล้วแต่มัน ขึ้น error ครับ รึว่าต้อง run จาก Administrator ของเครื่องครับ

ทำถึงขั้นตอนไหน ครับ ใช้ user administrator รันหรือเปล่าครั
อ้างอิง
 
 
0 #7 apirun 2011-06-16 08:20
ถึงตอนที่ ใส่แผ่น DVD Windows Server 2008 R2 ที่เครื่อง Windows Server 2003 ก่อน
ตรวจสอบ adprep โฟลเดอร์ ว่าอยู่ที่ไหน ปกติจะอยู่ที่ \support\adprep (เช่น D:\support\adpr ep )

รัน command "adprep32 /forestprep" และรอจนเสร็จ

แต่มันไม่สามารถ run adprep32 ได้ ครับ
มันขึ้น error ให้ Contract Administrator
ผม Login Administrator ของ Domain ครับ
อ้างอิง
 
 
0 #8 @k 2011-06-16 08:25
อ้างอิง apirun:
ถึงตอนที่ ใส่แผ่น DVD Windows Server 2008 R2 ที่เครื่อง Windows Server 2003 ก่อน
ตรวจสอบ adprep โฟลเดอร์ ว่าอยู่ที่ไหน ปกติจะอยู่ที่ \support\adprep (เช่น D:\support\adpr ep )

รัน command "adprep32 /forestprep" และรอจนเสร็จ

แต่มันไม่สามารถ run adprep32 ได้ ครับ
มันขึ้น error ให้ Contract Administrator
ผม Login Administrator ของ Domain ครับ


ขอ error แบบเต็ม ๆ ด้วยครับ
อ้างอิง
 
 
0 #9 apirun 2011-06-16 08:36
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.
อ้างอิง
 
 
0 #10 @k 2011-06-16 08:53
ไม่ต้อง copy มาครับ เข้าไปที่ path ของ adprep ใน DVD เลย
อ้างอิง
 

เพิ่มคอมเมนต์ใหม่


รหัสป้องกันความปลอดภัย
รีเฟรช

Other