DHCP迁移操作步骤

DHCP迁移操作步骤

1. 使用具有本地 Administrators 组的成员身份的帐户登录到源 DHCP 服务器。
2. 依次单击开始运行,在打开框中键入 cmd,然后单击确定

3. 键入 netsh dhcp server export C:\dhcp.txt all,然后按
Enter
4:将导出的 DHCP 数据库文件复制到基于 Windows Server 2003 的计算机的本地硬盘上。

5. 验证在基于 Windows Server 2003 的计算机上已启动 DHCP 服务。

6. 依次单击开始运行,在打开框中键入 cmd,然后单击确定

7. 在命令提示符下,键入 netsh dhcp server import c:\dhcpdatabase.txt all,然后按 Enter,其中 c:\dhcpdatabase.txt 是您复制到服务器上的数据库文件的完整路径和文件名


文件迁移建议:如果文件不是太多的话,直接
COPY过去即可,也是最简单的操作方法。

如果有安装
symantec exec backup等类似软件,可以通过备份,还原功能实现,需根据你的现状来制定相关操作。


Move a DHCP Database to Another Server
Updated: October 16, 2008
You can use this procedure to move a DHCP database from one server computer (the source server) to another server computer (the destination server).
Membership in the Administrators group or the DHCP Administrators group on the source and destination DHCP servers is the minimum required to complete this procedure.
To back up the DHCP database (at the source server)

  • Open DHCP.
     
  • In the console tree, click the applicable DHCP server.
     
  • On the Action menu, click Backup.
     
  • In the Browse For Folder dialog box, select the folder that will contain the backup DHCP database, and then click OK.
     
  • Stop the DHCP server.
    This prevents the server from assigning new address leases to clients after the database has been backed up.
     
  • Disable the DHCP Server service in the list of services.
    This prevents the DHCP server from starting after the database has been transferred.
     
  • Copy the folder that contains the backup DHCP database to the destination DHCP server computer.
     

Additional considerationsYou must choose a local drive for the DHCP database backup folder.
When you stop the DHCP service, DHCP clients cannot obtain address leases or renewals from the server.
The DHCP service creates an automatic backup of the DHCP database during normal operation. The default storage location for this copy of the database backup is systemroot\System32\Dhcp\Backup.

To restore the DHCP database (at the destination server)

  • If you have not already installed the DHCP server software, install it.
     
  • Open DHCP.
     
  • In the console tree, click the applicable DHCP server.
     
  • On the Action menu, click Restore.
     
  • In the Browse For Folder dialog box, select the folder that contains the backup DHCP database, and then click OK.
     


Additional considerationsTo restore the DHCP database, the DHCP service is temporarily stopped. When it is stopped, DHCP clients are unable to contact the DHCP server and obtain IP addresses.
Only DHCP databases from the same language version can be restored. For example, a DHCP database from DHCP server running an English language version of the operating system cannot be restored to a DHCP server running a Japanese language version of the operating system.


 

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值