Title: Re: [ActiveDir] DHCP migration(OT)

I agree with Daniel – I believe that netsh will do a fine job of migrating scopes and scope options but not leases.  However, leases should not be too much of an issue so long as you instruct the DHCP server to perform conflict detection (assumes that ICMP is not blocked on your network).

 

A set of commands something like the following perform the migration for you.

 

From a command prompt on the existing DHCP server:

Netsh  dhcp  server  \\existing_dhcp_server  export  c:\dhcp_info.txt   all

 

From a command prompt on the new DHCP server:

Netsh  dhcp  server  \\existing_dhcp_server  import  \\existing_dhcp_server\c$\dhcp_info.txt   all

 

Now keep in mind that this will export everything and import everything.  I would suggest ensuring that the new DHCP server is at the time of import not authorized in the AD or at least in a state that no clients will attempt to use it.  After the import you can retrofit any of the imported data as necessary, such as altering or removing scopes or options.

 

If you need to be more selective about what you export from the existing server, you will want to use the dump command instead and the massage the output so that you can use the add command on the new DHCP server.

 

HTH

 

Aric

 

 

 


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Conrad, Daniel C Mr. Nortel Government Solutions
Sent: Tuesday, May 16, 2006 9:50 AM
To: [email protected]
Subject: RE: [ActiveDir] DHCP migration(OT)

 

Past experience,

 

NETSH will migrate the scopes but you use the backup/restore process for the leases (if you want them).

 

D

 


From: [EMAIL PROTECTED] on behalf of Matheesha Weerasinghe
Sent: Tue 5/16/2006 8:43 AM
To: [email protected]
Subject: Re: [ActiveDir] DHCP migration(OT)

Havent played with it for a while so I cant answer unless I fire up a
VM and start playing. Do you fancy letting me know your findings ;-)

M@

On 5/16/06, Tom Kern <[EMAIL PROTECTED]> wrote:
>
> Will netsh overwrite the scopes already exisitng on the target?
>
> Also, does netsh migrate leases or just the scope and scope options?
>
> Thanks
>
>
>
> On 5/16/06, Matheesha Weerasinghe <[EMAIL PROTECTED]> wrote:
> > look into netsh. might be of use.
> >
> > On 5/12/06, Tom Kern <[EMAIL PROTECTED] > wrote:
> > >
> > > I want to migrate DHCP(scopes,scope options,leases) from one win2k box
> to
> > > another.
> > >
> > > My issue is, the target server is running DHCP with scopes,etc already
> > > configured.
> > >
> > > Is there anyway to migrate the source DHCP server to the target without
> > > overwriting the target's settings?
> > >
> > > I just want to merge the 2- move the source info over while keeping the
> > > target DHCP info intack as well.
> > >
> > > Is this possible?
> > >
> > > Thanks
> > >
> > >
> >
>
>
.+-wi0-+
֬[EMAIL PROTECTED]֫rzm  Vry&-4ibb

Reply via email to