+ Post New Thread
Results 1 to 12 of 12
Windows Server 2008 R2 Thread, Moving DHCP to a new server in Technical; The story so far is that I am systematically moving, migrating or installing, applications and services from a W2K3 server ...
  1. #1
    leco's Avatar
    Join Date
    Nov 2006
    Location
    West Yorkshire
    Posts
    2,026
    Thank Post
    595
    Thanked 125 Times in 119 Posts
    Rep Power
    41

    Moving DHCP to a new server

    The story so far is that I am systematically moving, migrating or installing, applications and services from a W2K3 server to a number of W2K8R2 servers.

    OK so I've got a variety of articles and How to's for DHCP, as that's the next service to migrate. As I understand it I can export the database and import on the new server. Or backup the database and restore on the new server. However, as far as I can see none of the papers mention doing this in a live network. Does the network have to be non-operational for the move to take place? I'm a little confused as to what happens to clients during the move. Also after (or before?) the move, what will I need to look at to ensure that all clients are pointing to the new server?

  2. #2

    SYNACK's Avatar
    Join Date
    Oct 2007
    Posts
    10,980
    Thank Post
    850
    Thanked 2,647 Times in 2,249 Posts
    Blog Entries
    9
    Rep Power
    763
    You are fine to do it live if you want to, just use the migration tools and it will do it all for you. Both can run in parallel for a short time untill the migration of settings is complete then just turn off the old dhcp server service. Just make sure you don't tell it to move the server ip addresses over from the old one to the new one unless you are decommisioning the old one right away.

    There is a video here that goes through it quite well:
    Migrating DHCP using the Windows Server 2008 R2 Migration Tools | Media | TechNet Edge

    To check that it is all going after you have moved the service and switched off the old one just do an ipconfig /release then ipconfig /renew to see if it can grab an ip, you can use the ipconfig /all command to see what server it got it from.

    The existing clients will be fine and will just keep running with whatever setting they had untill they are restarted or the DHCP lease runs out. At this point they will just find the new DHCP server and use it.

    The only thing that would likely cause problems is if you have a layer 3 network with muultiple VLANs and DHCP helpers/fowarders setup on your switches. In that case you would need to point the switches to the new ip address.
    Last edited by SYNACK; 18th May 2010 at 11:00 PM.

  3. Thanks to SYNACK from:

    leco (18th May 2010)

  4. #3
    leco's Avatar
    Join Date
    Nov 2006
    Location
    West Yorkshire
    Posts
    2,026
    Thank Post
    595
    Thanked 125 Times in 119 Posts
    Rep Power
    41
    Thanks didn't find that one in my trawling. Also hadn't realised that 2K8 had a migration tool. By server addresses do you mean the IPs of the actual servers?

  5. #4

    SYNACK's Avatar
    Join Date
    Oct 2007
    Posts
    10,980
    Thank Post
    850
    Thanked 2,647 Times in 2,249 Posts
    Blog Entries
    9
    Rep Power
    763
    Yes thats correct, it has an option to move over the ip addresses from the old server to the new server but I have never used it. The migration tools include support for most of the services so if you have any others to migrate it can be quite handy.

  6. #5
    leco's Avatar
    Join Date
    Nov 2006
    Location
    West Yorkshire
    Posts
    2,026
    Thank Post
    595
    Thanked 125 Times in 119 Posts
    Rep Power
    41
    Thanks, that's tomorrow taken care of then. Let's hope I have more luck with this than I have done so far with Exchange migration.

  7. #6

    SYNACK's Avatar
    Join Date
    Oct 2007
    Posts
    10,980
    Thank Post
    850
    Thanked 2,647 Times in 2,249 Posts
    Blog Entries
    9
    Rep Power
    763
    Yes I saw your blog posting about that, unfortunatly I have not done a 2010 migration yet so don't have any answers to offer regardign the permissions issue. The only thing that I can think of is making sure that the send connectors/routing groups are setup properly for both the 2003 and 2010 servers as it needs those to talk properly.
    Upgrade Exchange 2003 to Exchange 2010

  8. #7
    leco's Avatar
    Join Date
    Nov 2006
    Location
    West Yorkshire
    Posts
    2,026
    Thank Post
    595
    Thanked 125 Times in 119 Posts
    Rep Power
    41
    That's one of the articles I followed, I've left it for now so my brain clears a little. Sometimes can't see the wood for trees. Thanks again, no doubt my blog will be growing this weekend.

  9. #8

    Join Date
    Dec 2009
    Posts
    250
    Thank Post
    5
    Thanked 28 Times in 26 Posts
    Rep Power
    14
    Can't see you having any issues with this, we successfully did exactly the same task, by exporting the database to a file and importing back in on a new 2008 server. After the forwarders had been set it all worked seemlessly

  10. #9
    leco's Avatar
    Join Date
    Nov 2006
    Location
    West Yorkshire
    Posts
    2,026
    Thank Post
    595
    Thanked 125 Times in 119 Posts
    Rep Power
    41
    Well I've spent all day on this - to no avail I used the Migration Tool mentioned above and successfully put it on the 2003 server. After downloading and reading all the articles from MS I began the task. Trouble is when doing something for the first time - messages that pop up have little or no meaning, so I probably missed some vital instructions. After exporting I imported on the new box only to get lots of "this hasn't been done because it already exists" verbosity. When opening DHCP on the 2010 server there is nothing there.

    At that point the IT suite filled up - with lots of people unable to logon!! I swiftly reinstated DHCP on the old server and all was well again. Think I need some peace and quiet to absorb what it is that I'm actually trying to achieve and why what I have done has not worked. More grey hair appearing by the minute - is it half term yet?

  11. #10
    leco's Avatar
    Join Date
    Nov 2006
    Location
    West Yorkshire
    Posts
    2,026
    Thank Post
    595
    Thanked 125 Times in 119 Posts
    Rep Power
    41
    Success at last yippee. DHCP is now set up on new server and servicing clients. Oh that's after I sent an ipconfig /release command to a machine - that I was remoted into - . Still I tested another machine that's on Hyper-V and that worked OK. (Note to self must reset the 'stuck' machine first thing)

    However, I have an IP showing up to be a DHCP server, that's not even in my range. Think it must be a throw-back from a previous range (the LA changed all the schools' ranges when they changed ISP) Is there a way of getting rid of it?

  12. #11

    SYNACK's Avatar
    Join Date
    Oct 2007
    Posts
    10,980
    Thank Post
    850
    Thanked 2,647 Times in 2,249 Posts
    Blog Entries
    9
    Rep Power
    763
    I have done that (ipconfig /release) on a remote system before, you hit enter then wonder why you loose the connection for a second or two before it clicks.

    Where is the other DHCP server displaying? In the authorized DHCP servers list? If so and it is no longer active you will need to use the netsh commands to remove it.
    How to Use Netsh.exe to Authorize, Unauthorize and List DHCP Servers in Active Directory

    If that does not work you may need to use ADSI edit and remove it manually from the AD database in CN=NetServices,CN=Services,CN=Configuration,DC=dom ain
    http://forums.techarena.in/active-directory/393412.htm
    Last edited by SYNACK; 19th May 2010 at 10:14 PM.

  13. #12
    leco's Avatar
    Join Date
    Nov 2006
    Location
    West Yorkshire
    Posts
    2,026
    Thank Post
    595
    Thanked 125 Times in 119 Posts
    Rep Power
    41
    Have tried the netsh command to remove it but it stubbornly refuses to go. ADSI edit mm my learning never stops, will have a look at that thanks.

SHARE:
+ Post New Thread

Similar Threads

  1. Checklist? Moving from one server to another
    By contink in forum Windows Server 2000/2003
    Replies: 6
    Last Post: 7th July 2009, 12:32 PM
  2. Moving to a new server?
    By sidewinder in forum ICT KS3 SATS Tests
    Replies: 10
    Last Post: 27th February 2009, 01:20 PM
  3. Moving server roles
    By modcoms in forum Windows
    Replies: 10
    Last Post: 8th September 2008, 10:30 AM
  4. Moving SIMS to a new server
    By jasonb007 in forum MIS Systems
    Replies: 3
    Last Post: 16th May 2007, 10:38 AM
  5. Downsides to passing tftp server via 2003 DHCP server?
    By pete in forum Wireless Networks
    Replies: 7
    Last Post: 11th July 2006, 10:07 PM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •