

{"id":542,"date":"2017-01-23T09:54:42","date_gmt":"2017-01-22T23:54:42","guid":{"rendered":"https:\/\/kng.tech\/blog\/?p=542"},"modified":"2017-01-27T10:12:21","modified_gmt":"2017-01-27T00:12:21","slug":"replace-dc-with-new-hardware-and-keeping-old-servernameip","status":"publish","type":"post","link":"https:\/\/kng.tech\/blog\/replace-dc-with-new-hardware-and-keeping-old-servernameip\/","title":{"rendered":"Replace DC with new hardware and keeping old servername\/ip"},"content":{"rendered":"<p>This was the project that completed during this break.<br \/>\nThe old infrastucture has 1 PDC (2008R2, standalone) and 1 BDC (2012R2, hyperv)<br \/>\nThe aim was to replace the PDC with a new hardware due to its age (about 6 years old and out of warranty)<br \/>\nAt the end of the project, We have 1 new PDC (2012R2, standalone) and\u00a01 BDC (2012R2, hyperv)<\/p>\n<p>The whole process turned out pretty straightforward and completed smoothly.<\/p>\n<p>As a summary, here are the main steps taken:<\/p>\n<pre>\r\n1. Install 2012R2 on the new server, Windows updates\r\n2. Add Roles, ADDS \r\n3. Promote the new server to a Domain Controller\r\n4. Wait for it to replicated across all DCs\r\n5. Transfer FSMO from old server to new server\r\n6. Robocopy, files and folders from old server to new server keeping the same permissions and file structures (because we had file shared from the old server) \r\n7. Install Files and Storage Services on new server\r\n8. Tested Files\/Shares and permissions and are working as expected\r\n9. change old server's name to something else using \"netdom computername\"\r\n10. change old server's ip to something else\r\n11. change new server's name to old server's name\r\n12. change new server's ip to old server's ip\r\n13. Configure DNS Upstream Forwarder on the new server \r\n14. Install\/Configure DHCP on new server\r\n15. run dcpromo on the old server to demote from the AD, and decommissioned.\r\n<\/pre>\n<p>Here are some websites that I reference to complete this project:<br \/>\n1. http:\/\/jackstromberg.com\/2013\/10\/migrating-domain-controllers-from-server-2008-r2-to-server-2012-r2\/<br \/>\n2. https:\/\/www.experts-exchange.com\/questions\/27872748\/Replacing-a-Primary-Domain-Controller-with-new-hardware.html<br \/>\n3. https:\/\/www.experts-exchange.com\/questions\/28233238\/robocopy-copy-files-from-one-server-to-another.html<br \/>\n4. http:\/\/support.microsoft.com\/?kbid=125996 (Import\/Export file shares)<br \/>\n5. https:\/\/technet.microsoft.com\/en-us\/library\/cc835082(v=ws.11).aspx (Rename Domain Controller)<\/p>\n<p>Notes:<br \/>\nUseful commands: (used in this project)<br \/>\nnetdom query fsmo, nltest, dcdiag, ntdsutil, etc<br \/>\nrobocopy.exe W:\\ D:\\ *.* \/e \/copyall \/r:3 \/w:2 \/nfl \/ndl \/mt \/tee \/np \/log:\"C:\\robocopy_20170119.log\"<br \/>\nSteps to change Domain Controller name:<br \/>\n1. netdom computername \/add (add althernative name)<br \/>\n2. netdom computername \/makeprimary (restart server after this)<br \/>\n3. netdom computername \/remove (remove old name)<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This was the project that completed during this break. The old infrastucture has 1 PDC (2008R2, standalone) and 1 BDC (2012R2, hyperv) The aim was to replace the PDC with a new hardware due to its age (about 6 years old and out of warranty) At the end of the project, We have 1 new [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[70,34,69],"class_list":["post-542","post","type-post","status-publish","format-standard","hentry","category-tech","tag-domain-controller","tag-windows","tag-windows-server"],"_links":{"self":[{"href":"https:\/\/kng.tech\/blog\/wp-json\/wp\/v2\/posts\/542","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/kng.tech\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/kng.tech\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/kng.tech\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/kng.tech\/blog\/wp-json\/wp\/v2\/comments?post=542"}],"version-history":[{"count":14,"href":"https:\/\/kng.tech\/blog\/wp-json\/wp\/v2\/posts\/542\/revisions"}],"predecessor-version":[{"id":562,"href":"https:\/\/kng.tech\/blog\/wp-json\/wp\/v2\/posts\/542\/revisions\/562"}],"wp:attachment":[{"href":"https:\/\/kng.tech\/blog\/wp-json\/wp\/v2\/media?parent=542"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/kng.tech\/blog\/wp-json\/wp\/v2\/categories?post=542"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/kng.tech\/blog\/wp-json\/wp\/v2\/tags?post=542"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}