NetWorker: Cómo crear reglas de sustitución de registros personalizadas

Summary: Utilice el comando "nsradmin" en el servidor de NetWorker para crear una configuración de registro de NetWorker a fin de configurar los registros para que se sustituyan en lugar de dejar que crezcan. ...

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

El rango para el cambio de tamaño máximo está entre 10 MB y 4000 MB.
  1. Cree una regla nueva para que los registros realicen la sustitución.
[root@nsr logs] # nsradmin -p nsrexecd

Programa
de administración de NetWorker Utilice el comando "help" para obtener ayuda y "visual" para el modo de pantalla completa.

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. Seleccione la regla de sustitución de registros que creamos.
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. Especifique la configuración que desea cambiar, por ejemplo, el tamaño máximo del registro.
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. Vuelva a enumerar la regla para confirmar que el cambio se realizó correctamente.
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

Consulte los artículos relacionados:

Affected Products

NetWorker Family
Article Properties
Article Number: 000247424
Article Type: How To
Last Modified: 13 Nov 2024
Version:  1
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.