Skip to main content
  • Place orders quickly and easily
  • View orders and track your shipping status
  • Enjoy members-only rewards and discounts
  • Create and access a list of your products
  • Manage your Dell EMC sites, products, and product-level contacts using Company Administration.

Dell NetWorker 19.9 Administration Guide

Raw log file management

The NetWorker software manages the size and the rollover of the raw log files.

NetWorker automatically manages the nwsnap.raw and nsrcpd.raw files in the following ways:

  • nwsnap.raw: Before a process writes messages to the nwsnap.raw file, the process checks the size of the .raw file. The process invokes the trimming mechanism when the size of the log file is 100 MB or larger. Snapshot management supports up to 10 .raw file versions.
  • nsrcpd.raw: When the NetWorker daemons start on the machine, the startup process checks the size of the raw file. The startup process runs the trimming mechanism when the size of the log file is 2 MB or larger. Package Manager supports 10 raw file versions.

NetWorker enables you to customize the maximum file size, maximum number of file versions, and the runtime rollover of the daemon.raw, gstd.raw, networkr.raw, and Networker_server_sec_audit.raw files. Use the nsradmin program to access the NSRLA database, and modify the attributes that define how large the log file becomes before NetWorker trims or renames the log file.

The following table describes the resource attributes that manage the log file sizes.

Table 1. Raw log file attributes that manage log file size
Attribute Information
Maximum size MB Defines the maximum size of the log files.

Default: 500 MB

The accepted range for the attribute is 10 MB to 4000 MB. Starting with NetWorker 19.9, for upgrade scenarios, if the value is less than 10 MB, the value 10 is considered.
Maximum versions Defines the maximum number of the saved log files.

When the number of copied log files reaches the maximum version value,
NetWorker removes the oldest log when a new copy of the log file is created.

Default: 10

Runtime rollover by size When set, this attribute invokes an automatic hourly check of the log file size.

When you configure the runtime rendered log attribute, NetWorker
trims the runtime rendered log file and the associated .raw
file simultaneously.

Default: disabled

Runtime rollover by time

When set, this attribute runs an automatic trimming of the log file at the
defined time, regardless of the size. The accepted formats for the variable are: HH:MM (hour:minute), day
in the week (Sunday to Saturday), and N day every month (N must be
in the range 1-31). The rollover based on the day in the week and the day in
the month happens in the first hour of the appropriate day.

When you configure the runtime rendered log attribute, NetWorker trims the
runtime rendered log file and the associated .raw file simultaneously.

Default: undefined

NOTE:After setting this attribute, restart NetWorker services for the change to take effect.

How the trimming mechanism trims the log files differs depending on how you define the log file size management attributes. The following table summarizes the trimming behavior.

Table 2. Raw log file attributes that manage the log file trimming mechanism
Attribute configuration Trimming behavior
When you configure runtime rollover by time or runtime rollover by size
  • NetWorker copies the contents of the existing log file to a new file with the naming convention:daemondate_time.raw
  • NetWorker truncates the existing daemon.raw to 0 MB.
NOTE:When this mechanism starts on a NetWorker Server that is under a heavy load, this process may take some time to complete.
When you do not configure runtime rollover by time or runtime rollover by size
  • NetWorker checks the log file size when the nsrexecd process starts on the computer.
  • When the log file size exceeds the size that is defined by the maximum size MB attribute, NetWorker renames the existing log file to log_file_name_date_time.raw then creates a new empty log file.
NOTE:When the nsrd daemon or NetWorker Backup and Recover Server service runs for a long time, the size of the log file can become much larger than the value defined by maximum size MB.

Rate this content

Accurate
Useful
Easy to understand
Was this article helpful?
0/3000 characters
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please select whether the article was helpful or not.
  Comments cannot contain these special characters: <>()\