System Setup and Software Installation Guide for Cisco NCS 1014, IOS XR Releases 26.x.x

PDF

System Setup and Software Installation Guide for Cisco NCS 1014, IOS XR Releases 26.x.x

Automated file management system

Want to summarize with AI?

Log in

Explains how the automated file management system frees solid-state drive space on Cisco NCS 1014 by archiving older system-generated files and removing them from local nodes.


The automated file management system is a file-handling system that

  • archives older files on each node,

  • removes older files from local nodes to free valuable solid-state drive (SSD) space, and

  • applies to system-generated files, including log files, showtech-related residual files, and optical time-domain reflectometer (OTDR) files.


File types for automated file management

The solid-state drive (SSD) stores two types of generated files:

  • User: Creates and owns files for requirement purposes and deletes the files when they are no longer needed.

  • System: Organizes files automatically based on the file content and the application that created the content, such as .log and showtech-related residual files.

    Automated file management is applicable for the system-generated files.


How automated file management works

Automated file management handles system-generated files on Cisco NCS 1014, including log files, showtech-related residual files, and optical time-domain reflectometer (OTDR) files.

Summary

The process applies to these file categories:

  • Log files: The NCS 1014 system uses log rotation configurations to manage log files as required.

  • Showtech-related residual log files: The system removes residual files after log collection.

Workflow

These stages describe how automated file management works for various files.

  1. For log files, the system checks for .log files that exceed 10 MB.
    Note

    This threshold is applicable for /tmp folder files only. For files in other folders, the system uses a different threshold and follows the same process.

  2. After locating the file, the system archives that file with the .gz extension and creates a new .log file with the same name.
  3. The system then maintains one active log file and two archived files.
  4. When new files are archived, the system deletes the oldest archived file to make sure that only the two most recently archived files and the current log file are retained.
  5. For showtech-related residual log files, the system generates the residual files during the collection of logs when Showtech logs is in operation.
  6. After collecting the logs, the system automatically removes these residual files to conserve space.

Result

The system retains the current log file, the two most recently archived log files, and the allowed OTDR file count while removing excess or residual files.