Automatic Corrupt Database Collection
When the Domino server detects that a database has corruption, it will automatically store the corrupted database as a separate file in a separate directory. The detection and collection of corrupted database is done at database open. To enable and control the automatic collection of corrupt databases, set the following Domino configuration variables:
DATABASE_CAPTURE_ENABLED enables the automatic collection of a corrupted database as detected by the sever when the database is opened. Set to 1 to enable.
Note: Upon startup, the Domino server will enable the function and reset the value of the variable in the notes.ini file so that the corrupt database collection is not started on subsequent server restarts without user intervention.
DATABASE_CAPTURE_LIMIT is the maximum number of corrupt databases that will be collected by the server. If not set, the default value is 10. If set to 0, there will be no limit on the number of corrupt databases collected.
DATABASE_CAPTURE_SIZE_LIMIT is the limit, in megabytes (MB), of the total size of all collected databases. If not set, the default value is 100. If set to 0, there will be no limit on the total size of corrupt databases collected.
DATABASE_CAPTURE_DIRECTORY is the directory that will contain the collected databases. It is specified relative to the "data" directory. If not set, the default value is "IBM_TECHNICAL_SUPPORT\ACDC" which will place the corrupted database files into the "data\IBM_TECHNICAL_SUPPORT\ACDC" directory.
Collected databases have the same name as the source database file with a ".cor" extension.
The automatic facility will collect any database detected to have corruption within the configuration parameters currently active.
Corrupted Database Collection Tool
The dbcapture tool is provided as a standalone tool to collect a specific database manually at the discretion of the administrator or user. The tool respects the number and size limits when collecting a database. The tool ignores the DATABASE_CAPTURE_ENABLED configuration variable.
To collect a database manually, enter the following command at the server console:
load dbcapture abc\red.nsf
where "red.nsf" is the name of the database file to be captured in the "abc" directory relative to the data directory. The dbcapture tool can also be run from an Operating System command prompt by entering the following command:
dbcapture abc\red.nsf
Databases will not be collected, automatically or with the dbcapture tool, in the following cases:
• The DATABASE_CAPTURE_LIMIT has been reached
• Collecting the database would exceed the total size for collected databases as set in DATABASE_CAPTURE_SIZE_LIMIT
• The database has already been collected
• The database is being processed by the compact or fixup tasks.
No comments:
Post a Comment