NetWorker: Como definir o tempo de rollover/truncamento do registro
Summary: NetWorker: Como definir o tempo de truncamento ou substituição do registro.
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.
Symptoms
É necessário definir os registros do NetWorker para rollover diariamente, em vez de permitir que eles cresçam.
Cause
.
Resolution
Execute nsradmin no servidor:
nsradmin -p nsrexecd -s localhost
NetWorker administration program.
Use the "help" command for help, "visual" for full-screen mode.
nsradmin> p type: NSR log
Configurações atuais:
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;
Para atualizar o horário:
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>
Additional Information
A hora real de rotação dos logs pode ser de até uma hora após o horário especificado, pois o horário de rotação de logs é verificado de hora em hora após o início do NetWorker.
Portanto, no exemplo acima, do NetWorker iniciado em digamos hh:35, o rodízio de logs ocorre às 17:35 diariamente.
Portanto, no exemplo acima, do NetWorker iniciado em digamos hh:35, o rodízio de logs ocorre às 17:35 diariamente.
Affected Products
NetWorkerProducts
NetWorkerArticle Properties
Article Number: 000052666
Article Type: Solution
Last Modified: 10 Apr 2025
Version: 5
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.