Networking / Beginners

Manually Compacting a DHCP Server

To support the offline compaction and repair of Jet databases, such as the DHCP database and the Windows Internet Name Service (WINS) database, Windows Server 2003 includes the Jetpack.exe tool.

The DHCP Server service performs dynamic Jet compaction of the DHCP database while the server is online-which reduces the need to use Jetpack.exe for offline compaction. However, offline compaction is a more efficient means of defragmenting the DHCP database than is dynamic compaction.

You should plan to use Jetpack.exe to compact a Jet database periodically whenever the database grows beyond 30 MB. In addition, performing offline compaction is recommended if you receive error messages indicating that the DHCP database has become corrupted.

To manually compact or repair the DHCP database, complete the following steps:

  1. On a DHCP server computer, open a command prompt.
  2. Use the Jetpack.exe tool to perform offline compaction.
    The correct syntax for Jetpack.exe is as follows:
    jetpack database_name temporary_database_name The following are example commands to compact the DHCP database:
    cd WINDOWS\system32\dhcp
    net stop dhcpserver
    jetpack dhcp.mdb tmp.mdb
    net start dhcpserver
    
[Previous] [Contents] [Next]