Tivoli Storage Manager for Windows: Administrator's Reference

DSMSERV AUDITDB (Verify Database Information)

Use this command to ensure that the database is returned to a synchronized state after it is reloaded by issuing the DSMSERV LOADDB command. A message at the end of the output from the DSMSERV LOADDB command indicates whether this command is required. Issue this command before starting the server, and do not restart the server until the command has completed processing.

Issue this command only if one of the following conditions is true:

Note:
If the recovery log mode was set to roll-forward before the server was halted, set the recovery log mode to normal before issuing the DSMSERV AUDITDB utility. This action will avoid running out of log space during DSMSERV AUDITDB processing.

No other server activity is allowed during DSMSERV AUDITDB processing.

Note:
If STANDARD policy objects are deleted before TSM reinstallation, you will receive a message during the audit processing indicating that an instance count does not agree with actual data. If you delete the STANDARD policy objects, they are restored during reinstallation. The command does not delete the objects. Instead, it synchronizes the instance count to include the restored objects.

Syntax

                    .-FIX--=--No------.
>>-DSMSERV AUDITDB--+-----------------+------------------------->
                    '-FIX--=--+-No--+-'
                              '-Yes-'
 
   .-Detail--=--No------.
>--+--------------------+--+--------------------+--------------><
   '-Detail--=--+-No--+-'  '-FILE--=--file_name-'
                '-Yes-'
 
 

Parameters

FIX
Specifies how TSM resolves inconsistencies in the database. This parameter is optional. The default is NO. When you are recovering a database, you should specify YES. Possible values are:

No
TSM reports, but does not fix, any logical inconsistencies found.

If the audit finds inconsistencies, re-issue the command specifying FIX=YES before making the server available for production work. Because AUDITDB must be run with FIX=YES to recover the database, the recommended usage in a recovery situation is FIX=YES the first time.

Yes
TSM fixes any inconsistencies and issues messages indicating the actions taken.

Detail
Specifies the level of database testing that TSM will do. This parameter is optional. The default value is NO. Possible values are:

No
TSM only tests the referential integrity of the database.

Yes
TSM tests the referential integrity of the database and the integrity of each database entry.

FILE
Specifies that the output is redirected to the specified file. This parameter is optional.

Examples

Task

Audit the TSM database for inconsistencies, but do not fix inconsistencies if they exist.

Command:
dsmserv auditdb fix=no


[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]