NetWorker: 런타임 렌더링 로그의 크기를 변경하는 방법
Summary: 특정 NetWorker 로그 설정을 변경하려면 nsradmin 명령을 사용합니다.
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
참고: 런타임 렌더링은 NetWorker의 자동 렌딩을 의미합니다
.raw 에 로그인합니다. .log 파일. 여기에는 에포크 시간을 서버(사람이 읽을 수 있는) 타임스탬프, 오류 코드 및 호스트 렌더링으로 변환하는 작업이 포함됩니다.
이 문서에서는 로그 롤오버 기능, 최대 로그 복사본 수 및 런타임 렌더링 로그의 파일 크기에 대해 중점적으로 설명합니다.
이 .raw 로깅은 nsradmin 프롬프트를 참조하십시오. NetWorker 호스트의 관리자 권한 프롬프트에서 다음을 실행합니다. nsradmin -p nsrexecd
로깅 구성은 다음을 실행하여 확인합니다. print type: nsr log
예:
[root@nsr ~]# nsradmin -p nsrexecd NetWorker administration program. Use the "help" command for help, "visual" for full-screen mode. nsradmin> print type: nsr log type: NSR log; administrator: Administrators, 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: daemon.raw; log path: /nsr/logs/daemon.raw; ...
참고: NetWorker 호스트에 설치된 NetWorker 서비스에 따라
.raw 로깅이 나열됩니다. 예를 들어, NMC(NetWorker Management Console) 서버에는 gstd.raw명령을 수행할 수 있는 충분한 공간이 있어야 합니다. NetWorker가 설치된 모든 호스트에는 daemon.raw 모든 NetWorker 서비스에 대한 로그입니다. 기본적으로 런타임 렌더링은 활성화되어 있지 않으며 NetWorker 관리자가 활성화해야 합니다. 다음 문서를 참조하십시오 . NetWorker: daemon.raw를 daemon.log로 실시간 자동 렌더링하는 방법
관리하려는 로그 파일을 설정하려면 에서 다음 명령을 실행합니다. nsradmin 프롬프트:
. type: nsr log; name: LOG_NAME
예:
. type: nsr log; name: daemon.raw
로그 파일의 런타임 렌더링을 활성화하려면 런타임 렌더링된 로그 값을 .log 파일에 정의된 대로 사용하는 것이 중요합니다.
Linux 예제:
nsradmin> update runtime rendered log: /nsr/logs/daemon.log
runtime rendered log: /nsr/logs/daemon.log;
Update? y
updated resource id 14.0.82.32.0.0.0.0.244.130.220.103.192.168.9.150(2)
Windows 예:
nsradmin> update runtime rendered log: "C:\\Program Files\\EMC NetWorker\\nsr\\logs\\daemon.log"
runtime rendered log: \
"C:\\Program Files\\EMC NetWorker\\nsr\\logs\\daemon.log";
Update? y
updated resource id 8.0.136.23.0.0.0.0.125.191.185.104.192.168.0.5(5)
참고: 이
\ Windows에서 제대로 이스케이프되어야 합니다. 이것이 경로에 이중 백슬래시가 포함된 이유입니다 (\\) 파일 경로의 경우. 또한 경로에 공백이 포함된 경우 큰따옴표로 묶어야 합니다 "PATH" 위 그림과 같이.
크기별 런타임 롤오버를 활성화하려면 다음 명령을 입력합니다.
nsradmin> update runtime rollover by size: Enabled
runtime rollover by size: Enabled;
Update? y
updated resource id 14.0.82.32.0.0.0.0.244.130.220.103.192.168.9.150(3)
기본 구성은 .log 파일이 500MB에 도달하면 10개의 복사본을 유지합니다. 이러한 값은 재량에 따라 업데이트할 수도 있습니다.
nsradmin> update maximum size MB: 100
maximum size MB: 100;
Update? y
updated resource id 14.0.82.32.0.0.0.0.244.130.220.103.192.168.9.150(4)
nsradmin> update maximum versions: 5
maximum versions: 5;
Update? y
updated resource id 14.0.82.32.0.0.0.0.244.130.220.103.192.168.9.150(5)
nsradmin>
변경 사항을 적용하려면 NetWorker 서비스를 재시작해야 합니다.
Linux:
Windows NetWorker Client, Storage Node, NMC 서버(전용):
Windows NetWorker Server:
Windows NMC(NetWorker Management Console)(위 수행 후):
nsr_shutdown ; systemctl start networker
Windows NetWorker Client, Storage Node, NMC 서버(전용):
net stop nsrexecd /y && net start nsrexecd
Windows NetWorker Server:
net stop nsrexecd /y && net start nsrd
Windows NMC(NetWorker Management Console)(위 수행 후):
net start gstd
참고: 서비스를 재시작하면 시스템에서 실행 중인 모든 데이터 보호 작업이 중단됩니다. Windows 호스트에서는 NMC(NetWorker Management Console) 서비스도 중지됩니다. 클라이언트 서비스가 시작된 후에 시작해야 합니다.
NetWorker 서비스가 시작되면 렌더링된 .log 파일이 생성됩니다. 예:
[root@nsr ~]# ls -l /nsr/logs/daemon.log -rw-r--r--. 1 root root 21750 Sep 16 13:10 /nsr/logs/daemon.log
참고: 런타임 렌더링을 활성화해도 비활성화되지 않습니다.
.raw 로깅. 둘 다 .raw (렌더링되지 않은) 복사 및 .log 로그의 (렌더링된) 복사본이 동시에 존재합니다.
Additional Information
참고: NetWorker 호스트
nsrladb 폴더의 이름이 바뀝니다. 이러한 설정은 제거됩니다. 때 nsrladb 폴더의 이름이 바뀌면 새 nsrladb 다음 서비스 시작 시 생성됩니다. 새로 생성된 nsrladb 런타임 렌더링을 포함하지 않는 기본 설정으로 다시 생성됩니다. .raw 파일.
Affected Products
NetWorkerProducts
NetWorker FamilyArticle Properties
Article Number: 000010613
Article Type: How To
Last Modified: 24 Oct 2025
Version: 4
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.