Tivoli Header

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 Tivoli Storage Manager 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--+-'
                '-Yes-'
 
 

Parameters

FIX
Specifies how Tivoli Storage Manager 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
Tivoli Storage Manager 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
Tivoli Storage Manager fixes any inconsistencies and issues messages indicating the actions taken.

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

No
Tivoli Storage Manager only tests the referential integrity of the database.

Yes
Tivoli Storage Manager tests the referential integrity of the database and the integrity of each database entry.

Examples

Task

Audit the Tivoli Storage Manager database for inconsistencies, but do not fix inconsistencies if they exist.

Sample JCL
//TIVSM01 JOB ,                           
//          REGION=256M,TIME=1440,CLASS=A,MSGCLASS=H
//TIVSM01 EXEC PGM=ANRSERV,DYNAMNBR=300,TIME=NOLIMIT,
//  PARM='/AUDITDB FIX=NO'
//OPT      DD DSN=TIVSM.OPTIONS,DISP=SHR,FREE=CLOSE
//DSMAMENG DD DSN=TIVSM.ANRMSG(ANRMENU),DISP=SHR
//HLPAMENG DD DSN=TIVSM.ANRHLP(ANRHENU),DISP=SHR
//DSK      DD DSN=TIVSM.DISKLOG,DISP=SHR
//SYSPRINT DD SYSOUT=*
//SYSTERM  DD SYSOUT=*


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