Cisco Headend Digital Broadband Delivery System Guida All'Installazione
Chapter 5 SR 5.0 Post Upgrade Procedures
74
4042225 Rev A
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:
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:
are only saved when the logLvl +ZIP is enabled.
Notes:
The logLvl command sets logging levels. The +ZIP switch enables the save-log
option.
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).
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
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.