Cisco ASR 5000 Series Installation And Administration Manual page 83

External
Hide thumbs Also See for ASR 5000 Series:
Table of Contents

Advertisement

L-ESS Maintenance and Troubleshooting
If you want to delete files from directory /home/ess/udr and /home/ess/edr, you can provide base path as /home/ess. In
other words if you provide path as /home/ess all of the older files from the directories below ess such as edr or udr will
be deleted.
Step 2
You can provide more than one path at a time so that the script deletes the files from more than one path.
./deleteLocalFiles.sh /home/ess /home/mediation /home/RESS
only required paths for the script.
The script reads the required parameters from the ess/ess config. The parameters and definitions are listed below:
 essdellocalrecordsexpirytime: Indicates the number of days after which the file is treated as an older file. If this
parameter is set to 0, the files will not be deleted.
 essdellocalrecordsstarttime: This value in hours indicates the starting hour when the L-ESS will start deleting
older files.
Important:
Step 3
Start this script from /ess directory with the following command:
./deleteLocalFiles.sh path1 [path2 path3 .. pathn ]
Important:
ess/log/deleteLocalFiles_%timestamp%.log.
OL-22979-03
W
:
ARNING
Since all older files below the base directory are deleted, make sure that you are providing
The above parameters read from config file are applied to all paths provided to the script.
The logs for the cleanup script are generated in a file located at
Cisco ASR 5000 Series External Storage Server Installation and Administration Guide ▄
L-ESS Server Scripts ▀
83

Advertisement

Table of Contents
loading

Table of Contents