Cisco Headend System Release 2.7 Installation Guide

Page of 260
 
Chapter 6    Delete RMA DHCTs from the Database with the del-hct-cd Utility 
 
 
 
88 
740020 Rev H 
Run the del-hct-cd Utility 
Introduction 
When you install the DNCS Utilities onto your system, you install a program that 
the system uses to purge your database of records pertaining to RMA DHCTs. You 
can run the del-hct-cd utility in any of the following modes: 
 
Information mode-implemented with the -i switch, counts and lists the DHCTs 
found on the RMA CD and reports on their database status. 
Note:  No deletions from the database occur when the del-hct-cd utility is run in 
Information mode. 
 
Default mode-deletes from the Informix database those DHCTs contained on the 
RMA CD that have a status of out-of-service in the Informix database. 
 
Delete All mode-implemented with the -a switch, deletes all DHCTs, regardless 
of status, that are found on the RMA CD and contained in the Informix database. 
 
All System Operators Run Script in Information Mode First 
All system operators should run the del-hct-cd utility in Information mode first to 
learn how many DHCTs contained on the RMA CD are listed as in-service and out-
of-service in the DNCS database. Then, based upon this information, system 
operators should decide whether to delete from the database all DHCTs listed on the 
RMA CD, or to delete from the database only out-of-service DHCTs. 
System operators actually delete RMA DHCTs from the database in the following 
way: 
 
Operators of systems prior to SR 2.0 use the UNIX command line to execute the 
del-hct-cd utility to delete RMA DHCTs. 
 
Operators of systems at SR 2.0, or later, use the DNCS user interface to execute 
the built-in del-hct-cd.sh code to delete RMA DHCTs. 
Refer to one of the following procedures to run the del-hct-cd utility in Information 
mode, and then to delete RMA DHCTs: 
 
Running the del-hct-cd Utility on Systems Prior to SR 2.0 (on page 89) 
 
Running the del-hct-cd Utility on SR 2.0 and Later Systems (on page 92)