Skip to main content
  • Place orders quickly and easily
  • View orders and track your shipping status
  • Create and access a list of your products
Some article numbers may have changed. If this isn't what you're looking for, try searching all articles. Search articles

NetWorker: How to automatically render daemon.raw to daemon.log in real time

Summary: The KB details how to enable real-time rendering of the daemon.raw log file into a human readable .log file.

This article applies to This article does not apply to This article is not tied to any specific product. Not all product versions are identified in this article.

Instructions

By default NetWorker logs all information into a .raw (unrendered) log. This log can be rendered using the nsr_render_log command: https://www.dell.com/support/kbdoc/000022793/

NetWorker has the following nsrlog resources and configuration settings:

[root@networker-mc]:~# nsradmin -p nsrexecd
NetWorker administration program.
Use the "help" command for help, "visual" for full-screen mode.
nsradmin> show name; maximum size MB; maximum versions; runtime rendered log; runtime rollover by size; log path
nsradmin> print type: nsr log
             maximum size MB: 500;
            maximum versions: 5;
        runtime rendered log: /opt/lgtonmc/logs/gstd.log;
    runtime rollover by size: Enabled;
                        name: gstd.raw;
                    log path: /opt/lgtonmc/logs/gstd.raw;

             maximum size MB: 500;
            maximum versions: 5;
        runtime rendered log: /nsr/logs/daemon.log;
    runtime rollover by size: Enabled;
                        name: daemon.raw;
                    log path: /nsr/logs/daemon.raw;

             maximum size MB: 500;
            maximum versions: 10;
        runtime rendered log: ;
    runtime rollover by size: Disabled;
                        name: nsrim.raw;
                    log path: /nsr/logs/nsrim.raw;

             maximum size MB: 500;
            maximum versions: 10;
        runtime rendered log: ;
    runtime rollover by size: Disabled;
                        name: adhoc-job-YWkeZF;
                    log path: /nsr/tmp/adhoc/adhoc-job-YWkeZF;

             maximum size MB: 500;
            maximum versions: 10;
        runtime rendered log: ;
    runtime rollover by size: Disabled;
                        name: adhoc-job-xJqhz8;
                    log path: /nsr/tmp/adhoc/adhoc-job-xJqhz8;
nsradmin>


Perform the following on for the "nsr log" resources you want to enable runtime rendering:

Linux:

[root@networker-mc ~]# nsradmin -p nsrexecd
NetWorker administration program.
Use the "help" command for help, "visual" for full-screen mode.
nsradmin> . type: nsr log; name: daemon.raw
Current query set
nsradmin> update runtime rendered log: /nsr/logs/daemon.log
        runtime rendered log: /nsr/logs/daemon.log;
Update? y
updated resource id 15.0.191.109.0.0.0.0.160.9.116.98.10.240.192.221(2)
nsradmin> print
                        type: NSR log;
               administrator: root, 
                              "user=nsrnmc,host=networker-mc.emclab.local", 
                              "user=root,host=networker-mc.emclab.local";
                       owner: NetWorker;
             maximum size MB: 500;
            maximum versions: 10;
        runtime rendered log: /nsr/logs/daemon.log;
    runtime rollover by size: Disabled;
    runtime rollover by time: ;
                        name: daemon.raw;
                    log path: /nsr/logs/daemon.raw;

Note: The log path shown is expected default; however another location can be specified. 

The maximum size in MB can also be extended (minimum 500 MB and maximum 4000 MB), The maximum versions (number of copies) can be increased or decreased, and the runtime rollover by size can be Enabled.

Restart services, once services have been restarted the real-time log rendering will begin:

systemctl restart networker



Windows:
 

C:\Users\Administrator.EMCLAB>nsradmin -p  nsrexecd
NetWorker administration program.
Use the "help" command for help, "visual" for full-screen mode.
nsradmin> . type: nsr log; name: daemon.raw
Current query set
nsradmin> update runtime rendered log: "C:\\Program Files\\EMC NetWorker\\nsr\\logs\\daemon.log"
        runtime rendered log: \
"C:\\Program Files\\EMC NetWorker\\nsr\\logs\\daemon.log";
Update? y
updated resource id 12.0.188.19.0.0.0.0.234.2.36.96.10.240.192.117(6)
nsradmin> print
                        type: NSR log;
               administrator: Administrators,
"group=Administrators,host=winsrvr2k12.emclab.local";
                       owner: NetWorker;
             maximum size MB: 2;
            maximum versions: 10;
        runtime rendered log: \
"C:\\Program Files\\EMC NetWorker\\nsr\\logs\\daemon.log";
    runtime rollover by size: Disabled;
    runtime rollover by time: ;
                        name: daemon.raw;
                    log path: \
"C:\\Program Files\\EMC NetWorker\\nsr\\logs\\daemon.raw";

Note: The log path shown is expected default; however another location can be specified. \\ are required for specifying Windows folder paths. If a single \ is used the log file will not be generated.

The maximum size in MB can also be extended (minimum 500 MB and maximum 4000 MB), The maximum versions (number of copies) can be increased or decreased, and the runtime rollover by size can be Enabled.

Restart services, once services have been restarted the real-time log rendering will begin:

If system is a client only:

net stop nsrexecd /y
net start nsrexecd

If system is a NetWorker server:

net stop nsrexecd /y
net start nsrd

If system contains NMC server, GST services will need to be started:

net start gstd

Additional Information

Affected Products

NetWorker

Products

NetWorker
Article Properties
Article Number: 000023670
Article Type: How To
Last Modified: 27 Apr 2023
Version:  6
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.