SlideShare une entreprise Scribd logo
1  sur  25
Migrating DHCP From Windows Server 2003 to 2012 R2
End of support for Windows Server 2003 is nearing quickly. To address this
concern,Microsoft provides great tools to assist organizations in their migration
efforts.
Windows Server Migration Tools, introduced with Windows Server 2008 R2
enables administrators to migrate server roles, features, configuration settings
seamlessly from one system to another. Windows server 2012 R2 also includes
this feature and in this Step-By-Step will demonstrate how it can be utilized to
migrate the DHCP role.
Please note to use this method we need to install this feature in both source and
destination servers.
For the demonstration I am using following setup
Server Name Operating
System
Server
Roles
Networks
dhcp-2k3.canitpro.local Windows Server
2003 R2
Enterprise x86
DHCP Network A – 10.10.10.0
Network B –
172.16.25.0
Network C –
192.168.148.0
CANITPRO-
DC2K12.canitpro.local
Windows Server
2012 R2 x64
- -
Before start the migration process it’s important to consider on following:
1. To migrate the roles you need to log in to source and destination servers as
“Domain Administrators”
2. Before start the migration process make sure source and destination
servers’ runs with latest updates and service packs
3. If the source server runs with multiple network, multiple NIC make sure the
destination server also have same number of NIC so it can be server with
same network setup.
Prerequisites
dhcp-2k3.canitpro.local server currently setup with 3 additional NIC to represent
network A,B and C. those have configured with static ip addresses to match with
relevant network it belongs to. The DHCP server host different DHCP scopes for
each network.
Before we start the process we need to install the following software in windows
server 2003(dhcp-2k3.canitpro.local) if it’s not there already.
1. .Net Framework 3.5 (http://www.microsoft.com/en-
us/download/details.aspx?id=21)
2. Windows PowerShell 2.0 (http://support2.microsoft.com/kb/968929/en-us)
Step 1: Windows Server Migration Tools installation for Windows Server
2012 R2
1. Log in to the Windows server 2012 R2 as Domain Administrator
2. Go to Server Manager > Add Roles and Features
3. It will open the Add roles and features Wizard and click next to start the
process
4. In next window, for the installation type select “Role-based or feature-
based installation” then click next to continue
5. In next window keep the default server selection and click next to continue
6. Then it will give option to select server roles but we need to install only a
feature. So keep the default selection and click next to continue.
7. Then in features selection, select “Windows Server Migration Tools” and
click next to continue
8. In next window it will give the confirmation window and click on install to
begin the installation process
9. Once installation is completed click on close to exit from the wizard
Step 2: Windows Server Migration Tools installation for Windows Server
2003
1. Log in to the Windows server 2012 as Domain Administrator
2. Go to Server Manager > Tools > Windows Server Migration Tools >
Windows Server Migration Tools
3. It will open up the command prompt and then
type cd ServerMigrationTools
4. Now we need to create migration deployment package for windows server
2003. To save the files I have create folder “C:WIN2K3MIG”. Now type
the command .SmigDeploy.exe /package /architecture x86 /os ws03 /path
C:WIN2K3MIG and press enter
5. This creates the package as following
6. Now we need to copy the folder C:WIN2K3MIGSMT_ws03_x86 to
windows server 2003 which host the DHCP role
Step 3: Preparing the DHCP Source of Windows Server 2003 for Migration
1. Log in to the Windows server 2003 as Domain Administrator
2. Go to Start > All Programs > Accessories > Windows PowerShell >
Windows PowerShell
3. Then type “Net stop “DHCP Server”” and enter
4. This will stop the running DHCP server. Then open the folder copied from
windows server 2012 R2 and then open the file called “SmigDeploy.exe”
5. Then it will open up the command window. Then type Get-
SmigServerFeature and press enter
6. This will examine the roles running on this server and provide list of roles
which we can migrate over to windows server 2012 R2
7. Now it’s time export the DHCP data using the tool. Before do it we need to
prepare a share folder in network which will have access from both DHCP
Source Server andDHCP Destination Server. I have create folder called
“DHCPShare” in windows server 2012 and share it with read and write
NTFS permissions.
8. Type the command Export-SmigServerSetting -featureID DHCP -User
All -Group -path Canitpro-dc2k12DHCPShare -Verbose and press
enter to export the DHCP data. In here featureID define the server role.
Once enter the command it will ask a password to protect the data.
9. Now in the share we can see it created the backup file.
The DHCP data is now exported.
Step 4: Removing the old DHCP roles From Windows Server 2003
Since we no longer need DHCP role running on this server we can go ahead and
uninstall the DHCP service.
1. Log in to the windows server 2003 as member of administrator group
2. Start > Control Panel > Add or Remove Programs
3. Then click on “Add/Remove Windows Components”
4. In next window select “Networking Services” and click on details
5. From next window de-select the DHCP option and click ok
6. Then click next to uninstall the DHCP service
It will uninstall the DHCP role from the windows 2003 server.
Step 5: Installing the DHCP Role in Windows Server 2012 R2
1. Log in to the windows server 2012 as member of administrator group
2. Open Server Manager > Add Roles and Features
3. It will open the wizard and click next to continue
4. For the installation type select “Role-based or feature-based installation”
and click next
5. Let the default selection run on server selection and click next to continue
6. For the server roles select DHCP and it will prompt to add relevant
features. Click on “Add features” to add them and next to continue
7. For the features let it run with default. Click next to continue
8. Then it will give brief description about DHCP server role and click next to
continue
9. Next window it will give the confirmation and click on install to continue
This will install the DHCP server role in the new server.
Step 6: Importing the DHCP Server Data into Windows Server 2012 R2
1. Log in to the Windows server 2012 as Domain Administrator
2. Open Windows Powershell using Server manager > Tools > Windows
Powershell
3. Type “Net stop “DHCP Server”” and press enter
4. Then type Add-PSSnapin
microsoft.windows.servermanager.migration and press enter to use the
migration tools command set.
5. Now to import DHCP data type Import-SmigServerSetting -featureID
DHCP -Force -path C:DHCPShare -Verbose and press enter. Here
C:DHCPShare is the folder path where we save the DHCP data from
windows server 2003. It will ask the password to enter which we have
define during the export DHCP server data process.
Note: Here I didn’t import the users or groups as its domain controller I am
importing to but if necessary you can do it using –
Users and Group command
6. Then type Start-Service DHCPServer and press enter to start the
DHCP server
7. Then Authorize the DHCP server with command Netsh DHCP add server
CANITPRO-DC2K12.canitpro.local 38.117.80.124
8. Reboot the Server
Note : If the source DHCP server had multiple NIC with Multiple networks
make sure the new server also match the same config. Assign the static ip
address to those interfaces to match the configuration. This also can
automated during the import process. You can get more info about
command option in http://technet.microsoft.com/en-
us/library/dn495425.aspx
Now we completed with the restore process and I already can see its issues IP
addresses.
Source: http://blogs.technet.com/b/canitpro/archive/2014/11/26/step-by-step-
migrating-dhcp-from-windows-server-2003-to-2012-r2.aspx

Contenu connexe

Tendances

Step by step guide to switch ip address of 2 domain controllers
Step by step guide to switch ip address of 2 domain controllersStep by step guide to switch ip address of 2 domain controllers
Step by step guide to switch ip address of 2 domain controllersNilesh Kamble
 
Setting up computer servers (sucs)
Setting up computer servers (sucs)Setting up computer servers (sucs)
Setting up computer servers (sucs)Melchor Maravillas
 
Installation of Windows Server 2003 Domain Controller and DNS Server Setup
Installation of Windows Server 2003 Domain Controller and DNS Server SetupInstallation of Windows Server 2003 Domain Controller and DNS Server Setup
Installation of Windows Server 2003 Domain Controller and DNS Server Setup► Supreme Mandal ◄
 
Windows services 101 (2004)
Windows services 101 (2004)Windows services 101 (2004)
Windows services 101 (2004)Vatroslav Mihalj
 
Installing and Configuring SolarWinds Patch Manager Automation Role Server
Installing and Configuring SolarWinds Patch Manager Automation Role ServerInstalling and Configuring SolarWinds Patch Manager Automation Role Server
Installing and Configuring SolarWinds Patch Manager Automation Role ServerSolarWinds
 
Install and Configure DHCP role on Windows Server 2012
Install and Configure DHCP role on Windows Server 2012Install and Configure DHCP role on Windows Server 2012
Install and Configure DHCP role on Windows Server 2012abdualziz-aljohani
 
Installing license server
Installing license serverInstalling license server
Installing license serverKang YAyan
 
Installation steps about window server 2003 and windows XP in virtualbox
Installation steps about window server 2003 and windows XP in virtualbox Installation steps about window server 2003 and windows XP in virtualbox
Installation steps about window server 2003 and windows XP in virtualbox sekhonharman
 
performancetestingjmeter-121109061704-phpapp02
performancetestingjmeter-121109061704-phpapp02performancetestingjmeter-121109061704-phpapp02
performancetestingjmeter-121109061704-phpapp02Gopi Raghavendra
 
Deployment serviceswd sinwindowsserver2008
Deployment serviceswd sinwindowsserver2008Deployment serviceswd sinwindowsserver2008
Deployment serviceswd sinwindowsserver2008o12
 
Domain Migration/Administration for the
Domain Migration/Administration for the Domain Migration/Administration for the
Domain Migration/Administration for the webhostingguy
 
Oracle SOA 12.2.1 Installation
Oracle SOA 12.2.1 InstallationOracle SOA 12.2.1 Installation
Oracle SOA 12.2.1 InstallationVijay Reddy
 
CIS 246 Technology levels--snaptutorial.com
CIS 246 Technology levels--snaptutorial.comCIS 246 Technology levels--snaptutorial.com
CIS 246 Technology levels--snaptutorial.comsholingarjosh55
 

Tendances (18)

01 sql server_administration_creatingdc
01 sql server_administration_creatingdc01 sql server_administration_creatingdc
01 sql server_administration_creatingdc
 
Step by step guide to switch ip address of 2 domain controllers
Step by step guide to switch ip address of 2 domain controllersStep by step guide to switch ip address of 2 domain controllers
Step by step guide to switch ip address of 2 domain controllers
 
Setting up computer servers (sucs)
Setting up computer servers (sucs)Setting up computer servers (sucs)
Setting up computer servers (sucs)
 
Installation of Windows Server 2003 Domain Controller and DNS Server Setup
Installation of Windows Server 2003 Domain Controller and DNS Server SetupInstallation of Windows Server 2003 Domain Controller and DNS Server Setup
Installation of Windows Server 2003 Domain Controller and DNS Server Setup
 
Wds
WdsWds
Wds
 
Spoxamigrate
SpoxamigrateSpoxamigrate
Spoxamigrate
 
Windows services 101 (2004)
Windows services 101 (2004)Windows services 101 (2004)
Windows services 101 (2004)
 
Installing and Configuring SolarWinds Patch Manager Automation Role Server
Installing and Configuring SolarWinds Patch Manager Automation Role ServerInstalling and Configuring SolarWinds Patch Manager Automation Role Server
Installing and Configuring SolarWinds Patch Manager Automation Role Server
 
Install and Configure DHCP role on Windows Server 2012
Install and Configure DHCP role on Windows Server 2012Install and Configure DHCP role on Windows Server 2012
Install and Configure DHCP role on Windows Server 2012
 
Installing license server
Installing license serverInstalling license server
Installing license server
 
KB Article 1-FINAL
KB Article 1-FINALKB Article 1-FINAL
KB Article 1-FINAL
 
Installation steps about window server 2003 and windows XP in virtualbox
Installation steps about window server 2003 and windows XP in virtualbox Installation steps about window server 2003 and windows XP in virtualbox
Installation steps about window server 2003 and windows XP in virtualbox
 
performancetestingjmeter-121109061704-phpapp02
performancetestingjmeter-121109061704-phpapp02performancetestingjmeter-121109061704-phpapp02
performancetestingjmeter-121109061704-phpapp02
 
Mobile App - Jmeter (1)
Mobile App - Jmeter (1)Mobile App - Jmeter (1)
Mobile App - Jmeter (1)
 
Deployment serviceswd sinwindowsserver2008
Deployment serviceswd sinwindowsserver2008Deployment serviceswd sinwindowsserver2008
Deployment serviceswd sinwindowsserver2008
 
Domain Migration/Administration for the
Domain Migration/Administration for the Domain Migration/Administration for the
Domain Migration/Administration for the
 
Oracle SOA 12.2.1 Installation
Oracle SOA 12.2.1 InstallationOracle SOA 12.2.1 Installation
Oracle SOA 12.2.1 Installation
 
CIS 246 Technology levels--snaptutorial.com
CIS 246 Technology levels--snaptutorial.comCIS 246 Technology levels--snaptutorial.com
CIS 246 Technology levels--snaptutorial.com
 

En vedette

Cacti. biology and uses
Cacti. biology and usesCacti. biology and uses
Cacti. biology and usesHaris Setiawan
 
Windows server 2012 DHCP
Windows server 2012 DHCPWindows server 2012 DHCP
Windows server 2012 DHCPabkaryoussef
 
Top 9 dns interview questions answers
Top 9 dns interview questions answersTop 9 dns interview questions answers
Top 9 dns interview questions answersJobinterviews
 
Nagios Conference 2011 - Tony Roman - Cacti Workshop
Nagios Conference 2011 - Tony Roman - Cacti WorkshopNagios Conference 2011 - Tony Roman - Cacti Workshop
Nagios Conference 2011 - Tony Roman - Cacti WorkshopNagios
 
Dhcp windows server 2012
Dhcp windows server 2012Dhcp windows server 2012
Dhcp windows server 2012Taha99
 
Conference on Nagios: Reinhard Scheck on Cacti
Conference on Nagios: Reinhard Scheck on CactiConference on Nagios: Reinhard Scheck on Cacti
Conference on Nagios: Reinhard Scheck on CactiWürth Phoenix
 
Hirens Boot CD 15.2 ppt
Hirens Boot CD 15.2 pptHirens Boot CD 15.2 ppt
Hirens Boot CD 15.2 pptSuman Sudheer
 
vSphere vStorage: Troubleshooting Performance
vSphere vStorage: Troubleshooting PerformancevSphere vStorage: Troubleshooting Performance
vSphere vStorage: Troubleshooting PerformanceProfessionalVMware
 
Upgrading from Windows Server 2008 / 2008 R2 to Windows Server 2012
Upgrading from Windows Server 2008 / 2008 R2 to Windows Server 2012Upgrading from Windows Server 2008 / 2008 R2 to Windows Server 2012
Upgrading from Windows Server 2008 / 2008 R2 to Windows Server 2012Harold Wong
 
Chapter12 Managing And Implementing Backups And Disaster Recovery
Chapter12     Managing And Implementing Backups And Disaster RecoveryChapter12     Managing And Implementing Backups And Disaster Recovery
Chapter12 Managing And Implementing Backups And Disaster RecoveryRaja Waseem Akhtar
 
Lecture 7 -_ftp,_tftp,_telnet_and_ssh
Lecture 7 -_ftp,_tftp,_telnet_and_sshLecture 7 -_ftp,_tftp,_telnet_and_ssh
Lecture 7 -_ftp,_tftp,_telnet_and_sshSerious_SamSoul
 

En vedette (20)

Excel for beginners class 2
Excel for beginners class 2Excel for beginners class 2
Excel for beginners class 2
 
Excel for beginners class 4
Excel for beginners class 4Excel for beginners class 4
Excel for beginners class 4
 
Cacti. biology and uses
Cacti. biology and usesCacti. biology and uses
Cacti. biology and uses
 
sreeram CV
sreeram CVsreeram CV
sreeram CV
 
Windows server 2012 DHCP
Windows server 2012 DHCPWindows server 2012 DHCP
Windows server 2012 DHCP
 
Top 9 dns interview questions answers
Top 9 dns interview questions answersTop 9 dns interview questions answers
Top 9 dns interview questions answers
 
Ftp tftp
Ftp tftpFtp tftp
Ftp tftp
 
Nagios Conference 2011 - Tony Roman - Cacti Workshop
Nagios Conference 2011 - Tony Roman - Cacti WorkshopNagios Conference 2011 - Tony Roman - Cacti Workshop
Nagios Conference 2011 - Tony Roman - Cacti Workshop
 
An overview of ftp
An overview of ftpAn overview of ftp
An overview of ftp
 
Shubham Latest CV.
Shubham Latest CV.Shubham Latest CV.
Shubham Latest CV.
 
Dhcp windows server 2012
Dhcp windows server 2012Dhcp windows server 2012
Dhcp windows server 2012
 
Conference on Nagios: Reinhard Scheck on Cacti
Conference on Nagios: Reinhard Scheck on CactiConference on Nagios: Reinhard Scheck on Cacti
Conference on Nagios: Reinhard Scheck on Cacti
 
Cacti manual
Cacti manualCacti manual
Cacti manual
 
Hirens Boot CD 15.2 ppt
Hirens Boot CD 15.2 pptHirens Boot CD 15.2 ppt
Hirens Boot CD 15.2 ppt
 
vSphere vStorage: Troubleshooting Performance
vSphere vStorage: Troubleshooting PerformancevSphere vStorage: Troubleshooting Performance
vSphere vStorage: Troubleshooting Performance
 
Upgrading from Windows Server 2008 / 2008 R2 to Windows Server 2012
Upgrading from Windows Server 2008 / 2008 R2 to Windows Server 2012Upgrading from Windows Server 2008 / 2008 R2 to Windows Server 2012
Upgrading from Windows Server 2008 / 2008 R2 to Windows Server 2012
 
Chapter12 Managing And Implementing Backups And Disaster Recovery
Chapter12     Managing And Implementing Backups And Disaster RecoveryChapter12     Managing And Implementing Backups And Disaster Recovery
Chapter12 Managing And Implementing Backups And Disaster Recovery
 
Lecture 7 -_ftp,_tftp,_telnet_and_ssh
Lecture 7 -_ftp,_tftp,_telnet_and_sshLecture 7 -_ftp,_tftp,_telnet_and_ssh
Lecture 7 -_ftp,_tftp,_telnet_and_ssh
 
GUIA DE HIREN BOOT CD
GUIA DE HIREN BOOT CDGUIA DE HIREN BOOT CD
GUIA DE HIREN BOOT CD
 
100 most vmware q&a
100 most vmware q&a100 most vmware q&a
100 most vmware q&a
 

Similaire à Migrating dhcp from windows server 2003 to 2012 r2

Active directory installation on windows server 2012
Active directory installation on windows server 2012Active directory installation on windows server 2012
Active directory installation on windows server 2012Ricardo Solís
 
Dhcp server and windows 2012
Dhcp server and windows 2012Dhcp server and windows 2012
Dhcp server and windows 2012HEM Sothon
 
Configuration manager
Configuration managerConfiguration manager
Configuration managerRaghu nath
 
Windows Server 2012 Installation and Configurtion Superiorgrw
Windows Server 2012 Installation and Configurtion SuperiorgrwWindows Server 2012 Installation and Configurtion Superiorgrw
Windows Server 2012 Installation and Configurtion SuperiorgrwAwais Amjad
 
3.3_-_Lecture_3_Installing_the_DNS_Server_Role.pdf
3.3_-_Lecture_3_Installing_the_DNS_Server_Role.pdf3.3_-_Lecture_3_Installing_the_DNS_Server_Role.pdf
3.3_-_Lecture_3_Installing_the_DNS_Server_Role.pdfssuserfd0132
 
AD setup and RDP Connection Guide.pdf
AD setup and RDP Connection Guide.pdfAD setup and RDP Connection Guide.pdf
AD setup and RDP Connection Guide.pdfUmerWaqas31
 
Dhcp, dns and proxy server (1)
Dhcp, dns and proxy server (1)Dhcp, dns and proxy server (1)
Dhcp, dns and proxy server (1)Sahira Khan
 
Microsoft exchange-server-2013-installation
Microsoft exchange-server-2013-installationMicrosoft exchange-server-2013-installation
Microsoft exchange-server-2013-installationtakdirlovely09
 
Best MCSA - SQL SERVER 2012 Training Institute in Delhi
Best MCSA - SQL SERVER 2012 Training Institute in DelhiBest MCSA - SQL SERVER 2012 Training Institute in Delhi
Best MCSA - SQL SERVER 2012 Training Institute in DelhiInformation Technology
 
PHP environment setup installation
PHP environment setup installation PHP environment setup installation
PHP environment setup installation e-visionlabs
 
Microsoft exchange server 2013 installation steps
Microsoft exchange server 2013 installation stepsMicrosoft exchange server 2013 installation steps
Microsoft exchange server 2013 installation stepssebin246
 
Microsoft dynamics crm 2011 installation
Microsoft dynamics crm 2011 installation Microsoft dynamics crm 2011 installation
Microsoft dynamics crm 2011 installation Naveen Kumar
 
Configuration manager
Configuration managerConfiguration manager
Configuration managerRaghu nath
 
DHCP Failover tren Window Server 2012.docx
DHCP Failover tren Window Server 2012.docxDHCP Failover tren Window Server 2012.docx
DHCP Failover tren Window Server 2012.docxhuy pham
 

Similaire à Migrating dhcp from windows server 2003 to 2012 r2 (20)

02 setting up domain controller
02   setting up domain controller02   setting up domain controller
02 setting up domain controller
 
Active directory installation on windows server 2012
Active directory installation on windows server 2012Active directory installation on windows server 2012
Active directory installation on windows server 2012
 
Dhcp server and windows 2012
Dhcp server and windows 2012Dhcp server and windows 2012
Dhcp server and windows 2012
 
Microsoft Lync Server 2010 Installation
Microsoft Lync Server 2010 InstallationMicrosoft Lync Server 2010 Installation
Microsoft Lync Server 2010 Installation
 
03 setting up database server sample
03   setting up database server sample03   setting up database server sample
03 setting up database server sample
 
Configuration manager
Configuration managerConfiguration manager
Configuration manager
 
Windows Server 2012 Installation and Configurtion Superiorgrw
Windows Server 2012 Installation and Configurtion SuperiorgrwWindows Server 2012 Installation and Configurtion Superiorgrw
Windows Server 2012 Installation and Configurtion Superiorgrw
 
3.3_-_Lecture_3_Installing_the_DNS_Server_Role.pdf
3.3_-_Lecture_3_Installing_the_DNS_Server_Role.pdf3.3_-_Lecture_3_Installing_the_DNS_Server_Role.pdf
3.3_-_Lecture_3_Installing_the_DNS_Server_Role.pdf
 
AD setup and RDP Connection Guide.pdf
AD setup and RDP Connection Guide.pdfAD setup and RDP Connection Guide.pdf
AD setup and RDP Connection Guide.pdf
 
Dhcp, dns and proxy server (1)
Dhcp, dns and proxy server (1)Dhcp, dns and proxy server (1)
Dhcp, dns and proxy server (1)
 
Windows 2003 Server
Windows 2003 ServerWindows 2003 Server
Windows 2003 Server
 
Microsoft exchange-server-2013-installation
Microsoft exchange-server-2013-installationMicrosoft exchange-server-2013-installation
Microsoft exchange-server-2013-installation
 
Microsoft Exchange Server 2013 Installation
Microsoft Exchange Server 2013 InstallationMicrosoft Exchange Server 2013 Installation
Microsoft Exchange Server 2013 Installation
 
Best MCSA - SQL SERVER 2012 Training Institute in Delhi
Best MCSA - SQL SERVER 2012 Training Institute in DelhiBest MCSA - SQL SERVER 2012 Training Institute in Delhi
Best MCSA - SQL SERVER 2012 Training Institute in Delhi
 
PHP environment setup installation
PHP environment setup installation PHP environment setup installation
PHP environment setup installation
 
Microsoft exchange server 2013 installation steps
Microsoft exchange server 2013 installation stepsMicrosoft exchange server 2013 installation steps
Microsoft exchange server 2013 installation steps
 
Microsoft dynamics crm 2011 installation
Microsoft dynamics crm 2011 installation Microsoft dynamics crm 2011 installation
Microsoft dynamics crm 2011 installation
 
Configuration manager
Configuration managerConfiguration manager
Configuration manager
 
Dc domain controller
Dc domain controllerDc domain controller
Dc domain controller
 
DHCP Failover tren Window Server 2012.docx
DHCP Failover tren Window Server 2012.docxDHCP Failover tren Window Server 2012.docx
DHCP Failover tren Window Server 2012.docx
 

Plus de laonap166

Huong dan xu ly cac loi khi su dung phan mem reset may in
Huong dan xu ly cac loi khi su dung phan mem reset may inHuong dan xu ly cac loi khi su dung phan mem reset may in
Huong dan xu ly cac loi khi su dung phan mem reset may inlaonap166
 
Huong dan reset muc l200 epson
Huong dan reset muc l200 epsonHuong dan reset muc l200 epson
Huong dan reset muc l200 epsonlaonap166
 
NEC Server Documents
NEC Server DocumentsNEC Server Documents
NEC Server Documentslaonap166
 
Mtcv giám đốc tt cntt
Mtcv giám đốc tt cnttMtcv giám đốc tt cntt
Mtcv giám đốc tt cnttlaonap166
 
Nếu bạn làm it bạn cần biết
Nếu bạn làm it  bạn cần biếtNếu bạn làm it  bạn cần biết
Nếu bạn làm it bạn cần biếtlaonap166
 
Nhạp mon lap trinh khong code
Nhạp mon lap trinh khong code Nhạp mon lap trinh khong code
Nhạp mon lap trinh khong code laonap166
 
Ha active active bang gfs2
Ha active  active bang gfs2Ha active  active bang gfs2
Ha active active bang gfs2laonap166
 
Hướng dẫn cài đặt phần mềm turnoffmonitor
Hướng dẫn cài đặt phần mềm turnoffmonitorHướng dẫn cài đặt phần mềm turnoffmonitor
Hướng dẫn cài đặt phần mềm turnoffmonitorlaonap166
 
Bao cao web cake php
Bao cao web cake phpBao cao web cake php
Bao cao web cake phplaonap166
 
He 74 a-thltht-lãxuântâm-11tlt
He 74 a-thltht-lãxuântâm-11tltHe 74 a-thltht-lãxuântâm-11tlt
He 74 a-thltht-lãxuântâm-11tltlaonap166
 
Quản lý cua hang giai khat lxt
Quản lý cua hang giai khat lxtQuản lý cua hang giai khat lxt
Quản lý cua hang giai khat lxtlaonap166
 
Ve ngoi nha lap trinh do hoa bang c
Ve ngoi nha lap trinh do hoa bang cVe ngoi nha lap trinh do hoa bang c
Ve ngoi nha lap trinh do hoa bang claonap166
 
Don xin thanh lap doanh nghiep lien doanh
Don xin thanh lap doanh nghiep lien doanhDon xin thanh lap doanh nghiep lien doanh
Don xin thanh lap doanh nghiep lien doanhlaonap166
 
Thu cam on khach hang
Thu cam on khach hangThu cam on khach hang
Thu cam on khach hanglaonap166
 
Cai dat su_dung_acronis_snapdeployforpc_debungfilebackuphangloat
Cai dat su_dung_acronis_snapdeployforpc_debungfilebackuphangloatCai dat su_dung_acronis_snapdeployforpc_debungfilebackuphangloat
Cai dat su_dung_acronis_snapdeployforpc_debungfilebackuphangloatlaonap166
 
Xd email server zimbra
Xd email server zimbraXd email server zimbra
Xd email server zimbralaonap166
 
Tom tat ly thuyet thi bằng lái xe b2
Tom tat ly thuyet thi bằng lái xe b2Tom tat ly thuyet thi bằng lái xe b2
Tom tat ly thuyet thi bằng lái xe b2laonap166
 
Policy Based Assignment DHCP – Windows Server 2012
Policy Based Assignment DHCP – Windows Server 2012Policy Based Assignment DHCP – Windows Server 2012
Policy Based Assignment DHCP – Windows Server 2012laonap166
 
How to backup active directory domain services database in windows server 201...
How to backup active directory domain services database in windows server 201...How to backup active directory domain services database in windows server 201...
How to backup active directory domain services database in windows server 201...laonap166
 
Dns backup and recovery in windows server 2012 r2
Dns backup and recovery in windows server 2012 r2Dns backup and recovery in windows server 2012 r2
Dns backup and recovery in windows server 2012 r2laonap166
 

Plus de laonap166 (20)

Huong dan xu ly cac loi khi su dung phan mem reset may in
Huong dan xu ly cac loi khi su dung phan mem reset may inHuong dan xu ly cac loi khi su dung phan mem reset may in
Huong dan xu ly cac loi khi su dung phan mem reset may in
 
Huong dan reset muc l200 epson
Huong dan reset muc l200 epsonHuong dan reset muc l200 epson
Huong dan reset muc l200 epson
 
NEC Server Documents
NEC Server DocumentsNEC Server Documents
NEC Server Documents
 
Mtcv giám đốc tt cntt
Mtcv giám đốc tt cnttMtcv giám đốc tt cntt
Mtcv giám đốc tt cntt
 
Nếu bạn làm it bạn cần biết
Nếu bạn làm it  bạn cần biếtNếu bạn làm it  bạn cần biết
Nếu bạn làm it bạn cần biết
 
Nhạp mon lap trinh khong code
Nhạp mon lap trinh khong code Nhạp mon lap trinh khong code
Nhạp mon lap trinh khong code
 
Ha active active bang gfs2
Ha active  active bang gfs2Ha active  active bang gfs2
Ha active active bang gfs2
 
Hướng dẫn cài đặt phần mềm turnoffmonitor
Hướng dẫn cài đặt phần mềm turnoffmonitorHướng dẫn cài đặt phần mềm turnoffmonitor
Hướng dẫn cài đặt phần mềm turnoffmonitor
 
Bao cao web cake php
Bao cao web cake phpBao cao web cake php
Bao cao web cake php
 
He 74 a-thltht-lãxuântâm-11tlt
He 74 a-thltht-lãxuântâm-11tltHe 74 a-thltht-lãxuântâm-11tlt
He 74 a-thltht-lãxuântâm-11tlt
 
Quản lý cua hang giai khat lxt
Quản lý cua hang giai khat lxtQuản lý cua hang giai khat lxt
Quản lý cua hang giai khat lxt
 
Ve ngoi nha lap trinh do hoa bang c
Ve ngoi nha lap trinh do hoa bang cVe ngoi nha lap trinh do hoa bang c
Ve ngoi nha lap trinh do hoa bang c
 
Don xin thanh lap doanh nghiep lien doanh
Don xin thanh lap doanh nghiep lien doanhDon xin thanh lap doanh nghiep lien doanh
Don xin thanh lap doanh nghiep lien doanh
 
Thu cam on khach hang
Thu cam on khach hangThu cam on khach hang
Thu cam on khach hang
 
Cai dat su_dung_acronis_snapdeployforpc_debungfilebackuphangloat
Cai dat su_dung_acronis_snapdeployforpc_debungfilebackuphangloatCai dat su_dung_acronis_snapdeployforpc_debungfilebackuphangloat
Cai dat su_dung_acronis_snapdeployforpc_debungfilebackuphangloat
 
Xd email server zimbra
Xd email server zimbraXd email server zimbra
Xd email server zimbra
 
Tom tat ly thuyet thi bằng lái xe b2
Tom tat ly thuyet thi bằng lái xe b2Tom tat ly thuyet thi bằng lái xe b2
Tom tat ly thuyet thi bằng lái xe b2
 
Policy Based Assignment DHCP – Windows Server 2012
Policy Based Assignment DHCP – Windows Server 2012Policy Based Assignment DHCP – Windows Server 2012
Policy Based Assignment DHCP – Windows Server 2012
 
How to backup active directory domain services database in windows server 201...
How to backup active directory domain services database in windows server 201...How to backup active directory domain services database in windows server 201...
How to backup active directory domain services database in windows server 201...
 
Dns backup and recovery in windows server 2012 r2
Dns backup and recovery in windows server 2012 r2Dns backup and recovery in windows server 2012 r2
Dns backup and recovery in windows server 2012 r2
 

Dernier

08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking MenDelhi Call girls
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationSafe Software
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)Gabriella Davis
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsJoaquim Jorge
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024Rafal Los
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsEnterprise Knowledge
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking MenDelhi Call girls
 
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessPixlogix Infotech
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024The Digital Insurer
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?Antenna Manufacturer Coco
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdfhans926745
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CVKhem
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonetsnaman860154
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfEnterprise Knowledge
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Scriptwesley chun
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Miguel Araújo
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Drew Madelung
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxMalak Abu Hammad
 

Dernier (20)

08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your Business
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
 

Migrating dhcp from windows server 2003 to 2012 r2

  • 1. Migrating DHCP From Windows Server 2003 to 2012 R2 End of support for Windows Server 2003 is nearing quickly. To address this concern,Microsoft provides great tools to assist organizations in their migration efforts. Windows Server Migration Tools, introduced with Windows Server 2008 R2 enables administrators to migrate server roles, features, configuration settings seamlessly from one system to another. Windows server 2012 R2 also includes this feature and in this Step-By-Step will demonstrate how it can be utilized to migrate the DHCP role. Please note to use this method we need to install this feature in both source and destination servers. For the demonstration I am using following setup Server Name Operating System Server Roles Networks dhcp-2k3.canitpro.local Windows Server 2003 R2 Enterprise x86 DHCP Network A – 10.10.10.0 Network B – 172.16.25.0 Network C – 192.168.148.0 CANITPRO- DC2K12.canitpro.local Windows Server 2012 R2 x64 - - Before start the migration process it’s important to consider on following: 1. To migrate the roles you need to log in to source and destination servers as “Domain Administrators” 2. Before start the migration process make sure source and destination servers’ runs with latest updates and service packs 3. If the source server runs with multiple network, multiple NIC make sure the destination server also have same number of NIC so it can be server with same network setup. Prerequisites dhcp-2k3.canitpro.local server currently setup with 3 additional NIC to represent network A,B and C. those have configured with static ip addresses to match with relevant network it belongs to. The DHCP server host different DHCP scopes for each network. Before we start the process we need to install the following software in windows server 2003(dhcp-2k3.canitpro.local) if it’s not there already.
  • 2. 1. .Net Framework 3.5 (http://www.microsoft.com/en- us/download/details.aspx?id=21) 2. Windows PowerShell 2.0 (http://support2.microsoft.com/kb/968929/en-us) Step 1: Windows Server Migration Tools installation for Windows Server 2012 R2 1. Log in to the Windows server 2012 R2 as Domain Administrator 2. Go to Server Manager > Add Roles and Features 3. It will open the Add roles and features Wizard and click next to start the process 4. In next window, for the installation type select “Role-based or feature- based installation” then click next to continue
  • 3. 5. In next window keep the default server selection and click next to continue
  • 4. 6. Then it will give option to select server roles but we need to install only a feature. So keep the default selection and click next to continue.
  • 5. 7. Then in features selection, select “Windows Server Migration Tools” and click next to continue
  • 6. 8. In next window it will give the confirmation window and click on install to begin the installation process
  • 7. 9. Once installation is completed click on close to exit from the wizard Step 2: Windows Server Migration Tools installation for Windows Server 2003 1. Log in to the Windows server 2012 as Domain Administrator 2. Go to Server Manager > Tools > Windows Server Migration Tools > Windows Server Migration Tools
  • 8. 3. It will open up the command prompt and then type cd ServerMigrationTools 4. Now we need to create migration deployment package for windows server 2003. To save the files I have create folder “C:WIN2K3MIG”. Now type the command .SmigDeploy.exe /package /architecture x86 /os ws03 /path C:WIN2K3MIG and press enter
  • 9. 5. This creates the package as following 6. Now we need to copy the folder C:WIN2K3MIGSMT_ws03_x86 to windows server 2003 which host the DHCP role
  • 10. Step 3: Preparing the DHCP Source of Windows Server 2003 for Migration 1. Log in to the Windows server 2003 as Domain Administrator 2. Go to Start > All Programs > Accessories > Windows PowerShell > Windows PowerShell 3. Then type “Net stop “DHCP Server”” and enter
  • 11. 4. This will stop the running DHCP server. Then open the folder copied from windows server 2012 R2 and then open the file called “SmigDeploy.exe” 5. Then it will open up the command window. Then type Get- SmigServerFeature and press enter
  • 12. 6. This will examine the roles running on this server and provide list of roles which we can migrate over to windows server 2012 R2 7. Now it’s time export the DHCP data using the tool. Before do it we need to prepare a share folder in network which will have access from both DHCP Source Server andDHCP Destination Server. I have create folder called “DHCPShare” in windows server 2012 and share it with read and write NTFS permissions.
  • 13. 8. Type the command Export-SmigServerSetting -featureID DHCP -User All -Group -path Canitpro-dc2k12DHCPShare -Verbose and press enter to export the DHCP data. In here featureID define the server role. Once enter the command it will ask a password to protect the data. 9. Now in the share we can see it created the backup file. The DHCP data is now exported. Step 4: Removing the old DHCP roles From Windows Server 2003 Since we no longer need DHCP role running on this server we can go ahead and uninstall the DHCP service. 1. Log in to the windows server 2003 as member of administrator group 2. Start > Control Panel > Add or Remove Programs
  • 14. 3. Then click on “Add/Remove Windows Components”
  • 15. 4. In next window select “Networking Services” and click on details
  • 16. 5. From next window de-select the DHCP option and click ok
  • 17. 6. Then click next to uninstall the DHCP service It will uninstall the DHCP role from the windows 2003 server. Step 5: Installing the DHCP Role in Windows Server 2012 R2 1. Log in to the windows server 2012 as member of administrator group 2. Open Server Manager > Add Roles and Features
  • 18. 3. It will open the wizard and click next to continue 4. For the installation type select “Role-based or feature-based installation” and click next
  • 19. 5. Let the default selection run on server selection and click next to continue
  • 20. 6. For the server roles select DHCP and it will prompt to add relevant features. Click on “Add features” to add them and next to continue
  • 21. 7. For the features let it run with default. Click next to continue
  • 22. 8. Then it will give brief description about DHCP server role and click next to continue 9. Next window it will give the confirmation and click on install to continue
  • 23. This will install the DHCP server role in the new server. Step 6: Importing the DHCP Server Data into Windows Server 2012 R2 1. Log in to the Windows server 2012 as Domain Administrator 2. Open Windows Powershell using Server manager > Tools > Windows Powershell 3. Type “Net stop “DHCP Server”” and press enter 4. Then type Add-PSSnapin microsoft.windows.servermanager.migration and press enter to use the
  • 24. migration tools command set. 5. Now to import DHCP data type Import-SmigServerSetting -featureID DHCP -Force -path C:DHCPShare -Verbose and press enter. Here C:DHCPShare is the folder path where we save the DHCP data from windows server 2003. It will ask the password to enter which we have define during the export DHCP server data process. Note: Here I didn’t import the users or groups as its domain controller I am importing to but if necessary you can do it using – Users and Group command 6. Then type Start-Service DHCPServer and press enter to start the DHCP server 7. Then Authorize the DHCP server with command Netsh DHCP add server CANITPRO-DC2K12.canitpro.local 38.117.80.124
  • 25. 8. Reboot the Server Note : If the source DHCP server had multiple NIC with Multiple networks make sure the new server also match the same config. Assign the static ip address to those interfaces to match the configuration. This also can automated during the import process. You can get more info about command option in http://technet.microsoft.com/en- us/library/dn495425.aspx Now we completed with the restore process and I already can see its issues IP addresses. Source: http://blogs.technet.com/b/canitpro/archive/2014/11/26/step-by-step- migrating-dhcp-from-windows-server-2003-to-2012-r2.aspx