Cisco Headend System Release 2.5 Installation Guide

Page of 252
 
 
Deletion of EMMs Based Upon Age 
4020695 Rev C 
11 
 
Deletion of EMMs Based Upon Age 
By executing the dbOptimizer program with the -d option, and then specifying the 
number of days, the system deletes unneeded EMMs that are older than the number 
of days specified. 
Deleting excess staging EMMs based upon the age of the EMMs does not change 
your entry in the crontab file. After initial installation of the DNCS Utilities, you can 
change your crontab entry by running the setDbOptCron script, described in Change 
the crontab Entry
 (on page 13). 
 
Deleting EMMs Based Upon Age 
Follow these instructions to delete excess staging EMMs based upon the age of the 
EMMs. 
1  If necessary, open an xterm window on the DNCS. 
2  Choose one of the following options: 
 
If you want to review information concerning which DHCTs on your system 
have staging EMMs that are older than an age you will specify, go to step 3. 
Notes: 
– 
 System operators usually have no need to review information concerning 
which specific DHCTs on their system have staging EMMs older than a 
specified age. System operators obtain similar information by running the 
dbOptimizer program with the -h option, discussed in the previous 
section, List EMMs by Age (on page 9). 
– 
 Choosing the -h option provides information, only; it does not delete 
EMMs, nor does it change your configuration. 
 
If you want to delete EMMs based upon the age of the EMMs without 
reviewing which DHCTs are affected, go to step 7. 
3  Type 
dbOptimizer   -d [number of days]  -i   >  /dvs/dncs/tmp/dbOptimizer.info.out  
2>&1
 and then press Enter
Example:  Type  
dbOptimizer  -d90  -i  >  /dvs/dncs/tmp/dbOptimizer.info.out  2>&1 and then 
press Enter to display a list of DHCTs that have staging EMMs older than 90 
days. Assume the date is November 20. The system considers EMMs assigned to 
DHCTs on August 21, or earlier, to be older than 90 days. 
Result:  The system writes the list of DHCTs with staging EMMs older than the 
number of days you specified to the /dvs/dncs/tmp/dbOptimizer.info.out file. 
Note:  Depending on the size of your system, it may take 2 to 4 hours to prepare 
this file.