Cisco Headend System Release 2.5 Guia Da Instalação

Página de 260
 
Chapter 2    Delete Unneeded EMMs with the dbOptimizer Program 
 
 
 
18 
740020 Rev H 
 
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. 
4  Type more  /dvs/dncs/tmp/dbOptimizer.info.out and then press Enter. The 
dbOptimizer.info.out file opens for viewing using the UNIX more utility. 
5  Examine the dbOptimizer.info.out file to determine whether you want your 
system to delete the EMMs of these DHCTs from the database. 
Notes: 
 
Press the Spacebar to advance through the file. 
 
When you are finished, press the Ctrl and keys simultaneously to exit from 
the more utility. 
6  Do you want to continue configuring your system to automatically delete EMMs 
based upon the age of the EMMs? 
 
If yes, continue with step 7. 
 
If no, type exit and then press Enter to close the xterm window. 
7  Type  
dbOptimizer  -d[number of days>  >  /dvs/dncs/tmp/dbOptimizer.out  2>&1 
and then press Enter
Example:  Type  
dbOptimizer  -d90  >  /dvs/dncs/tmp/dbOptimizer.out  2>&1 and then press 
Enter to delete staging EMMs older than 90 days. 
Results:   
 
The system deletes excess EMMs from the DNCS database based upon the 
age of the EMMs. 
 
The system writes a list of DHCTs with EMMs that were deleted to the 
/dvs/dncs/tmp/dbOptimizer.out file. 
Note:  Depending on the size of your system, this step may take up to 4 hours to 
complete. 
8  Type exit and then press Enter to close the xterm window.