So you dont like your logs RAW

Posted: March 2, 2009 in EMC Networker

Well Ive had a couple of people ask me over the last few days about Networker log files. For those of you who have moved to a 7.4.x system you will have noticed the daemon.log file has been superseeded by a new daemon.raw log file which in my opinion brings alot of nice features when the log is rendered using the nsr_render_log utility.

So something I found quite handy was the option (which I couldnt find in the admin guide) which allows you to configure Networker to log to both files (Both Daemon.raw and Daemon.log) this will benifit customers who have scripts setup to find particular errors or events.

Heres how you do it, open the command prompt on your Networker backup server and use the following commands.

Unix/Linux Servers

nsradmin –p nsrexec –s nsrserver 

(replace nsrserver with your backup server name)

nsradmin> print type: nsr log

nsradmin> update runtime rendered log: /nsr/logs/daemon.log

Windows Servers

nsradmin –p nsrexec –s nsrserver 

(replace nsrserver with your backup server name)

nsradmin> print type: nsr log

nsradmin> update runtime rendered log: “E:\\nsr\\logs\\daemon.log”

(Obviously youll need to replace the path shown with correct path for your backup server)

There you go, just restart the Networker services for the change to apply.

Advertisements
Comments
  1. vijaysys says:

    Hi

    The given commands are not working on the linux prd networker server.
    # nsradmin -p nsrexec bpserver –> here bpserver is the hostname
    it opens the cofig file only. so, i just exit from this file with out any change

    #nsradmin -p nsrexec bpserver
    Editing 2 resource(s)…
    # nsradmin
    NetWorker administration program.
    Use the “help” command for help, “visual” for full-screen mode.
    nsradmin> print type: nsr log
    No resources found for query:
    type: nsr log;
    nsradmin> update runtime rendered log: /nsr/logs/daemon.log
    no resources to update!
    nsradmin> quit

    after that i restarted the networker service, but still logging is happening not happening in /nsr/logs/daemon.log..

    can you please suggest your inputs.

    Thanks

    • Brian Norris says:

      Hi, You need to put a -s before the server name so its nsradmin -p nsrexec -s bpserver

      Let me know how you get on.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s