Microsoft Windows NT Server includes a utility, Jetpack.exe, that can be used to compact a Windows Internet Name Service (WINS) or Dynamic Host Configuration Protocol (DHCP) database. Microsoft recommends that you compact the WINS database whenever it approaches 30 MB.
If the WINS/DHCP service is a resource within a Windows 2000 Cluster, refer to the following article:
Link
If the WINS/DHCP service is a resource within a Windows 2000 Cluster, refer to the following article:
283251 How to Use the Jetpack Utility on a Clustered WINS/DHCP Databas.
The correct syntax for Jetpack.exe is:
Example commands to compact the WINS database:
Example commands to compact the DHCP database:
In the examples above, Tmp.mdb is a temporary database that is used by Jetpack.exe. Wins.mdb is the WINS database. Dhcp.mdb is the DHCP database.
Jetpack.exe compacts the WINS or DHCP database by doing the following:
NOTE: During the compact process, Jetpack.exe creates a temporary file with the name that is specified by the temp database name parameter. The temporary file is removed when the compact process is complete. Make sure you do not have a file already existing in WINS or DHCP folder with the same name as the one specified in the temp database name parameter.
JETPACK.EXE
Example commands to compact the WINS database:
CD %SYSTEMROOT%\SYSTEM32\WINS
NET STOP WINS
JETPACK WINS.MDB TMP.MDB
NET START WINS
NET STOP WINS
JETPACK WINS.MDB TMP.MDB
NET START WINS
Example commands to compact the DHCP database:
CD %SYSTEMROOT%\SYSTEM32\DHCP
NET STOP DHCPSERVER
JETPACK DHCP.MDB TMP.MDB
NET START DHCPSERVER
NET STOP DHCPSERVER
JETPACK DHCP.MDB TMP.MDB
NET START DHCPSERVER
In the examples above, Tmp.mdb is a temporary database that is used by Jetpack.exe. Wins.mdb is the WINS database. Dhcp.mdb is the DHCP database.
Jetpack.exe compacts the WINS or DHCP database by doing the following:
- Copies database information to a temporary database file called Tmp.mdb.
- Deletes the original database file, Wins.mdb or Dhcp.mdb.
- Renames the temporary database files to the original filename.
NOTE: During the compact process, Jetpack.exe creates a temporary file with the name that is specified by the temp database name parameter. The temporary file is removed when the compact process is complete. Make sure you do not have a file already existing in WINS or DHCP folder with the same name as the one specified in the temp database name parameter.
Link
Δεν υπάρχουν σχόλια:
Δημοσίευση σχολίου