メイン コンテンツに進む
  • すばやく簡単にご注文が可能
  • 注文内容の表示、配送状況をトラック
  • 会員限定の特典や割引のご利用
  • 製品リストの作成とアクセスが可能
  • 「Company Administration(会社情報の管理)」では、お使いのDell EMCのサイトや製品、製品レベルでのコンタクト先に関する情報を管理できます。

文書番号: 000052666


How to set the Networker log rollover / truncation time

文書の内容


現象



Need to set the Networker logs to rollover daily, rather than allowing them to grow.

解決方法

Run nsradmin on the server:

nsradmin -p nsrexecd -s localhost

NetWorker administration program.
Use the "help" command for help, "visual" for full-screen mode.
nsradmin> p type: NSR log


Current settings:
                        type: NSR log;
               administrator: root, "user=root,host=server.domain.com";
                       owner: NMC Log File;
             maximum size MB: 2;
            maximum versions: 10;
        runtime rendered log: ;
    runtime rollover by size: Disabled;
    runtime rollover by time: Disabled;
                        name: gstd.raw;
                    log path: /opt/lgtonmc/logs/gstd.raw;

                        type: NSR log;
               administrator: root, "user=root,host=server.domain.com ";
                       owner: NetWorker;
             maximum size MB: 2;
            maximum versions: 10;
        runtime rendered log: ;
    runtime rollover by size: Disabled;
    runtime rollover by time: Disabled;
                        name: daemon.raw;
                    log path: /nsr/logs/daemon.raw;


To update the time:
nsradmin> update  runtime rollover by time: "17:00"
    runtime rollover by time: "17:00";
Update? y
updated resource id 14.0.236.7.47.0.0.0.11.30.125.83.192.168.123.102(3)
    runtime rollover by time: "17:00";
Update? y
updated resource id 13.0.236.7.47.0.0.0.11.30.125.83.192.168.123.102(3)
nsradmin>



その他の情報

Note that the actual time the logs rotate may be up to an hour after the time specified, because the log rotate time is checked hourly after Networker start.
Therefore, in the above example, of Networker started at say hh:35, the log rotation will occur at 17:35 daily.


文書のプロパティ


影響を受ける製品

NetWorker

製品

NetWorker

最後に公開された日付

06 5月 2024

バージョン

3

文書の種類

Solution