Cisco Headend System Release 2.7 Installation Guide

Page of 158
 
Chapter 5    SR 5.0 Post Upgrade Procedures 
 
 
 
70 
4035749 Rev B 
Set the manage_dncsLog Script Log Retention 
Variables 
In this procedure, you will review and, if necessary, set variables in the 
manage_dncsLog script. These variables determine the number of days DBDS core 
files and logs are kept. DBDS core files and logs can be very large and, under 
extreme conditions, may be created very rapidly. 
The variables are: 
 
DAYS_SAVELOGS_KEPT=10
 
 
DAYS_COREFILES_KEPT=10
 
 
DAYS_CORELOGDIRS_KEPT=10
 
As shown in the preceding example, the default value is 10 days. DBDS process logs 
are only saved when the logLvl +ZIP is enabled. 
Notes: 
 
The logLvl command sets logging levels. The +ZIP switch enables the save-log 
option. 
 
Cisco recommends that logLvl +ZIP only be enabled when attempting to capture 
logs for processes that are exhibiting a problem. Once sufficient logs have been 
captured, this should be disabled (-ZIP). 
These variables are set to minimize the possibility that core files and logs would fill 
the file system and cause system outages. If you determine DBDS logs and/or core 
files should be kept for a longer or shorter period, follow these instructions to set the 
variables. 
1  From the root xterm window on the DNCS, open the 
/dvs/dncs/etc/manage_dncsLog file with a text editor. 
2  If desired, locate the DAYS_LOGDIRS_KEPT variable and change the value to 
the desired number of days. 
3  If desired, locate the DAYS_COREFILES_KEPT variable and change the value 
to the desired number of days. 
4  Save and close the file.