Cisco Headend System Release 2.5 Installation Guide

Page of 252
 
Chapter 6    Delete RMA DHCTs from the Database with the del-hct-cd Utility 
 
 
 
90 
4020695 Rev C 
Process RMA DHCTs From a File 
Overview 
Operators of sites where the staging area is remotely located from the DNCS may 
find it difficult to supply the DNCS operator with the RMA CD so that the DNCS 
operator can execute the del-hct-cd utility in conjunction with RMA DHCTs. To 
support these sites, we have included an option in the del-hct-cd.sh script, 
implemented by the -p switch, that enables the script to read from a file rather than 
from the RMA CD. 
Important:  System operators and network administrators who currently use the -p 
switch when processing RMA DHCTs already have a thorough understanding of the 
directory structure of the RMA CD because they must model the directory structure 
of their DNCS to reflect that of the CD. Other than a brief mention, this section 
provides no instructions on analyzing the directory structure of the RMA CD, nor on 
modeling the directory structure of the DNCS to reflect that of the CD. Any site that 
is interested in using the -p switch to process RMA DHCTs from a file rather than 
from the CD should contact Cisco Services for guidance. 
 
Guidelines for Processing RMA DHCTs From a File 
On the RMA CD, the individual DHCT definition files that are used when 
processing RMA DHCTs are stored in the …/dncs/dhcts directory. To use the -p 
switch, system operators must have a similar directory structure in place on their 
DNCS.  
Examples:     
 
/export/home/ftp/dncs/dhcts 
 
/tmp/ftp/dncs/dhcts 
In the examples provided above, system operators duplicate the entire CD directory 
structure and contents at /export/home/ftp or /tmp/ftp on the DNCS.  
Note:  Even though the entire directory structure is copied to the DNCS, the del-hct-
cd.sh script, when used with the -p switch, only accesses the dncs/dhcts 
subdirectory. 
To run the del-hct-cd utility using the -p and -a switches, system operators execute 
the del-hct-cd.sh  -a  -p/[directory path name] command, and then press Enter
Example:  del-hct-cd.sh  -a  -p/export/home/ftp/dncs/dhcts