Cisco Headend System Release 2.7 Installation Guide

Page of 260
 
Chapter 8    Identify and Correct Database Problems with the checkDB Script 
 
 
 
106 
740020 Rev H 
Run the checkDB Script 
Introduction 
The checkDB script examines the following tables in your DNCS database for 
possible error conditions: 
 
emm 
 
hct_profile 
 
pdkeycertificate 
 
pdsernummap 
 
secure_micro 
 
sm_auth_profile 
 
sm_pkg_auth 
 
You can run the checkDB script in three possible modes: 
 
Run the checkDB script in default mode (with no options) to generate a detailed 
report listing possible error conditions in the database. When the checkDB script 
is run in default mode, the script does not correct any error conditions it finds. 
The script merely generates a report listing potential error conditions. 
 
Run the checkDB script in "fix" mode to automatically delete certain orphaned 
records from the database. When run in "fix" mode, with the -f or -F' option, the 
script generates a report listing potential error conditions and lists any changes it 
made to the database as a result of running the script in "fix" mode.      
Important!  Cisco recommends that you run the script with no options before 
running the script with one of the "fix" mode options. 
 
Run the checkDB script with the -v option to display only the version number of 
the checkDB script.