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:
- On a DHCP server computer, open a command prompt.
- 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
In this tutorial:
- Configuring DHCP Servers and Clients
- Configuring the DHCP Server
- Benefits of DHCP
- Installing the DHCP Server Service
- Authorizing the Server
- Configuring Scopes
- IP Address Range
- Exclusion Ranges
- Using the 80/20 Rule for Servers and Scopes
- Creating Reservations
- Assigning DHCP Options
- Activating a Scope
- Networking Configuring the Client
- Migrating from APIPA or Alternate Configurations
- Migrating ICS Clients
- Installing and Configuring a DHCP Server
- Adding a DHCP Server Role
- Configuring a DHCP Client
- Managing DHCP in Windows Networks
- Changing DCHP Server Status
- Services Console
- Managing DHCP from a Command Line
- Connecting Clients to Remote DHCP Servers
- Using Superscopes
- Changing the Addressing of a Subnet
- Backing Up the DHCP Server Database
- Performing a Manual Backup
- Manually Compacting a DHCP Server
- Using Options Classes
- Implementing User Classes
- Performing a Manual Backup of the DHCP Server
- Creating a New Superscope
- Configuring DHCP Servers to Perform DNS Updates
- Configuring Dynamic Updates with DHCP
- Using the DnsUpdateProxy Security Group
- Adding Members to the DnsUpdateProxy