Centralise 80 NT DHCP Server to one W2K3 DHCP Server

Discussion in 'Server Migration' started by Tom Warda, Dec 1, 2004.

  1. Tom Warda

    Tom Warda Guest

    Hi folks,
    I intend to migrate and merge multiple (~ 80) DHCP servers onto one Windows
    2003 machine. This works great if the source server is 2K or 2K3, I can
    easily dump the DHCP configuration with "netsh dhcp server dump >dhcp.dmp"
    and importing it on the target server with "netsh exec dhcp.dmp“. In between
    are a few steps for adjusting the server IP and scope options, but this is
    not relevant to the process itself.

    Now, how can I do the same thing if running NT on the source? Netsh doesn't
    work on NT, right?

    I thought about exporting the source server with DHCPExIm (available in the
    Resource Kit 2K3), then importing it on a temporary 2K3 machine and from
    there dumping it into my final productive server. This is because DHCPExIm
    requires an installed but unconfigured DHCP service.

    I am still within testing this procedure but it seems to have a lot of
    pitfalls and shows strange behaviour when performed.

    If anybody has similiar experience or another proposal to make, I would be
    very grateful before I start spending the nights on copying scopes manually.
    :)

    thanx a lot
    tom
     
    Tom Warda, Dec 1, 2004
    #1
    1. Advertisements

  2. Hi Tom,

    Do you want to migrate DHCP from NT to win2k3 server? If so, please compact
    the dhcp database by using jetpack ommand first and then export the
    database.

    Please follow the article below step by step:

    How to move a DHCP database from a computer that is running Windows NT
    Server 4.0, Windows 2000, or Windows Server 2003 to a computer that is
    running Windows Server 2003
    http://support.microsoft.com/?id=325473

    Any update, let us get in touch!

    Best regards,

    Rebecca Chen

    MCSE2000 MCDBA CCNA


    Microsoft Online Partner Support
    Get Secure! - www.microsoft.com/security

    =====================================================

    When responding to posts, please "Reply to Group" via your newsreader so
    that others may learn and benefit from your issue.

    =====================================================
    This posting is provided "AS IS" with no warranties, and confers no rights.
    --------------------
     
    Rebecca Chen [MSFT], Dec 2, 2004
    #2
    1. Advertisements

  3. Tom Warda

    Tom Warda Guest

    Hi Rebecca,
    thx for the quick reply.

    Yes, I want to migrate from NT to 2003. Unfortunately I need to do that
    under conditions which none of the MS KB-articles describes. I know the
    article you send me, and I know a few others. None is describing how to
    migrate n NT Servers to 1 2003 server. I had 1:1 migrations already and there
    were no problems at all.

    Compacting the database does not change anything, as you can see here:

    -------------------------------------------------------------------------

    C:\WINNT\system32\dhcp>dir
    Volume in drive C is System
    Volume Serial Number is 70DF-9763

    Directory of C:\WINNT\system32\dhcp

    02.12.2004 00:00 <DIR> .
    02.12.2004 00:00 <DIR> ..
    01.12.2004 10:01 <DIR> backup
    01.12.2004 11:29 2.105.344 dhcp.mdb
    01.12.2004 10:01 8.192 dhcp.pat
    02.12.2004 00:00 4.537 DhcpSrvLog-Thu.log
    30.11.2004 23:01 3.764 DhcpSrvLog-Tue.log
    01.12.2004 23:57 8.073 DhcpSrvLog-Wed.log
    11.08.2004 10:53 6.498 DhcpSrvLog.Wed
    01.12.2004 11:29 8.192 j50.chk
    01.12.2004 11:29 1.048.576 j50.log
    01.12.2004 11:19 1.048.576 j5000030.log
    30.11.2004 10:58 1.048.576 res1.log
    30.11.2004 10:58 1.048.576 res2.log
    11 File(s) 6.338.904 bytes
    3 Dir(s) 902.492.160 bytes free

    C:\WINNT\system32\dhcp>net stop "dhcp server"
    The DHCP Server service is stopping..
    The DHCP Server service was stopped successfully.


    C:\WINNT\system32\dhcp>jetpack dhcp.mdb temp.mdb
    Compacted database dhcp.mdb in 6.700 seconds.
    moving temp.mdb => dhcp.mdb
    jetpack completed successfully.

    C:\WINNT\system32\dhcp>dir
    Volume in drive C is System
    Volume Serial Number is 70DF-9763

    Directory of C:\WINNT\system32\dhcp

    02.12.2004 09:45 <DIR> .
    02.12.2004 09:45 <DIR> ..
    01.12.2004 10:01 <DIR> backup
    02.12.2004 09:45 2.105.344 dhcp.mdb
    01.12.2004 10:01 8.192 dhcp.pat
    02.12.2004 09:45 4.571 DhcpSrvLog-Thu.log
    30.11.2004 23:01 3.764 DhcpSrvLog-Tue.log
    01.12.2004 23:57 8.073 DhcpSrvLog-Wed.log
    11.08.2004 10:53 6.498 DhcpSrvLog.Wed
    02.12.2004 09:45 8.192 j50.chk
    02.12.2004 09:45 1.048.576 j50.log
    01.12.2004 11:19 1.048.576 j5000030.log
    30.11.2004 10:58 1.048.576 res1.log
    30.11.2004 10:58 1.048.576 res2.log
    11 File(s) 6.338.938 bytes
    3 Dir(s) 902.500.352 bytes free
    ------------------------------------------------------------

    Furthermore I get the error message "An error occurred. An attempt was made
    to load a program with a incorrect format.". I don't get this one on the
    import, but on the export.

    Summary:
    I could use DHCPExIm for the first server scopes to be migrated, but it
    doesn't work for the latter, because DHCPExIm requires an installed but
    unconfigured DHCP Service on the target machine.

    And another question before I forget: what is the recommendable amount of
    scopes on a dedicated DHCP server? Is there any limit for the jet-database
    size?

    thanx for any thoughts and replies

    tom
     
    Tom Warda, Dec 2, 2004
    #3
  4. Hi Tom,

    I have not found any document explicitly there is any limitation in DHCP
    scope and the jet database size.
    You may be interested to take a look at the following link:
    Enterprise Design for DHCP
    http://www.microsoft.com/technet/itsolutions/wssra/raguide/Network_Services_
    SB_2.mspx

    In addtion, do you mean you get error "An error occurred. An attempt was
    made to load a program with a incorrect format" when you export the dhcp
    scope on winNT? Please take a screen shot of the error and send it to
    for research.

    You scenario is not very common. I will do my best to do some research on
    this issue.

    Best regards,

    Rebecca Chen

    MCSE2000 MCDBA CCNA


    Microsoft Online Partner Support
    Get Secure! - www.microsoft.com/security

    =====================================================

    When responding to posts, please "Reply to Group" via your newsreader so
    that others may learn and benefit from your issue.

    =====================================================
    This posting is provided "AS IS" with no warranties, and confers no rights.
    --------------------
     
    Rebecca Chen [MSFT], Dec 3, 2004
    #4
  5. Hi Tom,

    I have received your screen shot. I would like to know are these separate
    DHCP servers due to different scopes?

    I suggest you try to use the dhcpexim to export the dhcp scopes and then
    use the netsh utility on the Windows 2003 server to import them.

    What is the result?

    Best regards,

    Rebecca Chen

    MCSE2000 MCDBA CCNA


    Microsoft Online Partner Support
    Get Secure! - www.microsoft.com/security

    =====================================================

    When responding to posts, please "Reply to Group" via your newsreader so
    that others may learn and benefit from your issue.

    =====================================================
    This posting is provided "AS IS" with no warranties, and confers no rights.
     
    Rebecca Chen [MSFT], Dec 8, 2004
    #5
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.