The company originally used the DHCP Server Server 2003 system, now need to replace the machine just can incidentally upgrade the system to server R2
Ask the Brother Department for a super-viagra service: Do raid, install the system, Hyper-V (not in narration)
Due to the change of the DHCP class name from 2003 to R2, before we get to the point of migration, we need to change the configuration file of Server 2003 before importing to server2012 R2
1, enter the Server 2003 and R2 servers export DHCP configuration to a TXT document, convenient to compare differences
server2003 cmd mode netsh dhcp server dump >c:\2k3_dhcp.txt
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M00/70/43/wKiom1W1oATAsQrBAABlW5A1SAU086.jpg "title=" cmd 2003.jpg "alt=" Wkiom1w1oatasqrbaablw5a1sau086.jpg "/>
server R2 powershell mode netsh dhcp server dump >c:\2012_dhcp.txt
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M00/70/40/wKioL1W1o5zSSyZTAAE5gRurzrw662.jpg "title=" cmd JPG "width=" 643 "height=" border= "0" hspace= "0" vspace= "0" style= "width:643px;height:92px;" alt= " Wkiol1w1o5zssyztaae5grurzrw662.jpg "/>
2. Differences in contrast classes
650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M01/70/43/wKiom1W1otywV-SWAAH8ZLpvCCM219.jpg "title=" 2k3.jpg "width=" 643 "height=" 103 "border=" 0 "hspace=" 0 "vspace=" 0 "style=" width:643px;height:103px; "alt=" Wkiom1w1otywv-swaah8zlpvccm219.jpg "/>
650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M02/70/43/wKiom1W1o5qixXNTAAJt-xV_b2Y881.jpg "title=" 2012. JPG "width=" 643 "height=" "border=" 0 "hspace=" 0 "vspace=" 0 "style=" width:643px;height:105px; "alt=" Wkiom1w1o5qixxntaajt-xv_b2y881.jpg "/>
In contrast, the name of the class in which the first two items are defined is changed by Server R2, and a new category is added. Then we just need to change the configuration of Server 2003 so that they are the same.
3. Add Delete class
Server 2003 servers, entering CMD mode
Delete first two class netsh dhcp server 192.168.0.1 delete class
650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M02/70/44/wKiom1W1qBrCvftVAADI9zvucBE278.jpg "title=" class " Width= "643" height= "border=" 0 "hspace=" 0 "vspace=" 0 "style=" WIDTH:643PX;HEIGHT:27PX; "alt=" Wkiom1w1qbrcvftvaadi9zvucbe278.jpg "/>
For example:netsh Dhcp Server 192.168.0.1 Delete Class "Default Routing and Remote Access category" "Remote access Client user class Don't "525241532e4d6963726f736f6674 0 B
Add the first three classes in the 2012_dhcp.txt class netsh dhcp server 192.168.0.1 add Class
650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M02/70/45/wKiom1W1q1iShIBwAAEruOspyNQ485.jpg "title=" 2012 class. jpg "width=" 643 "height=" border= "0" hspace= "0" vspace= "0" style= "width:643px;height:34px;" alt= " Wkiom1w1q1ishibwaaeruospynq485.jpg "/>
For example: netsh Dhcp Server 192.168.0.1 Add Class "Default Routing and Remote Access class" "User class for remote access clients" 525241532e4d6963726f736f6674 0 B
4. Run netsh dhcp server dump detection on 2003 server in CMD mode, add Class is consistent with R2.
5. Export Server 2003 DHCP all configuration
cmd mode netsh dhcp server export c:\dhcp_bk.txt
650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M02/70/43/wKioL1W1vlzi7ILFAAEHoTu1m38950.jpg "title=" Cmd.jpg "width=" 643 "height=" 195 "border=" 0 "hspace=" 0 "vspace=" 0 "style=" width:643px;height:195px; "alt=" Wkiol1w1vlzi7ilfaaehotu1m38950.jpg "/>
650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M02/70/46/wKiom1W1vNXCGHpPAAE85IZDThs776.jpg "title=" Hdcp.jpg "width=" 643 "height=" 176 "border=" 0 "hspace=" 0 "vspace=" 0 "style=" width:643px;height:176px; "alt=" Wkiom1w1vnxcghppaae85izdths776.jpg "/>
6. Copy the exported files to the server R2 servers.
This article is from the "Shuming Flying Growth Station" blog, please make sure to keep this source http://anyue007.blog.51cto.com/3113658/1678665
DHCP Server Server2003 to Server 2012 migration (i)