NetWorker:カスタマイズされたログ ロールオーバー ルールを作成する方法

Summary: NetWorkerサーバーで「nsradmin」コマンドを使用して、NetWorkerログ設定を作成し、ログを増大させるのではなくロール オーバーするように設定します。

Acest articol se aplică pentru Acest articol nu se aplică pentru Acest articol nu este legat de un produs specific. Acest articol nu acoperă toate versiunile de produs existente.

Instructions

最大サイズ変更の範囲は 10 MB から 4000 MB です。
  1. ロールオーバーを実行するログの新しいルールを作成します。
[root@nsr logs] # nsradmin -p nsrexecd

NetWorker管理プログラム
ヘルプの場合は「help」コマンドを、全画面モードの場合は「visual」コマンドを使用します。

nsradmin> create type: NSR log; log path: /nsr/logs/rap.log     (change the path for the log as needed)
                        type: NSR log;
                    log path: /nsr/logs/rap.log;
Create? y
created resource id 12.0.48.172.0.0.0.0.110.201.50.103.192.168.9.150(1)
  1. 作成したログ ロールオーバー ルールを選択します。
nsradmin> p type: nsr log; log path: /nsr/logs/rap.log
                        type: NSR log;
               administrator: root, "user=nsrnmc,host=nsr.amer.lan",
                              "user=root,host=nsr.amer.lan";
                       owner: NetWorker;
             maximum size MB: 500;
            maximum versions: 10;
        runtime rendered log: ;
    runtime rollover by size: Disabled;
    runtime rollover by time: ;
                        name: rap.log;
                    log path: /nsr/logs/rap.log;
  1. 変更する設定(最大ログ サイズなど)を指定します。
nsradmin> update maximum size MB: 10
             maximum size MB: 10;
Update? y
updated resource id 12.0.8.7.0.0.0.0.254.158.45.103.192.168.9.150(5)
  1. ルールを再度一覧表示して、変更が正常に行われたことを確認します。
nsradmin> p
                        type: NSR log;
               administrator: root, "user=nsrnmc,host=nsr.amer.lan",
                              "user=root,host=nsr.amer.lan";
                       owner: NetWorker;
             maximum size MB: 10;
            maximum versions: 10;
        runtime rendered log: ;
    runtime rollover by size: Disabled;
    runtime rollover by time: ;
                        name: rap.log;
                    log path: /nsr/logs/rap.log;

Additional Information

関連記事:

Produse afectate

NetWorker Family
Proprietăți articol
Article Number: 000247424
Article Type: How To
Ultima modificare: 15 Jan 2026
Version:  2
Găsiți răspunsuri la întrebările dvs. de la alți utilizatori Dell
Servicii de asistență
Verificați dacă dispozitivul dvs. este acoperit de serviciile de asistență.