Cisco Headend System Release 2.7 User Guide

Page of 117
749640 Rev C 
Examine the Database for Expiring EMMs With the emm_check Utility 
5-1 
Chapter 5 
Examine the Database for Expiring EMMs  
With the emm_check Utility 
Overview 
Introduction 
The emm_check utility examines the DNCS database for EMMs that are about to 
expire. System operators who run the emm_check utility every few days can detect 
and prevent potentially serious DHCT timeout conditions. 
The emm_check utility performs three checks on the DNCS database to detect 
impending or actual DHCT timeout conditions. The first two checks examine the 
database for conditions that may prevent the camAuditor process of the DNCS from 
functioning properly. The emm_check utility automatically corrects these conditions. 
The third check examines the database for EMMs that are set to expire within 18 
days. Normally, all operational EMMs have an expiration time at least 20 days in the 
future. 
Prerequisite 
Be sure that you have a current backup of your DNCS database before running the 
emm_check utility. 
The deleteDhct Utility 
In certain cases, the emm_check utility automatically calls the deleteDhct utility in 
order to delete DHCT records from the database. The logic of the emm_check utility 
is such that all references to the deleteDhct utility occur automatically; no user 
intervention is required. The deleteDhct utility is included on the DBDS Utility CD. 
The deleteDhct utility was designed by Cisco to completely delete DHCT records 
from the DNCS database. It deletes a single DHCT or can delete all DHCTs in a list 
containing DHCT MAC addresses that are presented in a text file.  
The logic in the deleteDhct utility is very good at finding all database rows in all the 
different DHCT tables that contain or used to contain records for the specified 
DHCT(s). The deleteDhct utility deletes orphaned DHCT records. While orphaned 
DHCT records are less common now than they have been in the past, at one time 
duplicate database rows were generated for RMA DHCTs when they were returned 
from repair with a changed secure_micro address. This utility helps correct this 
legacy condition. 
 
Continued on next page