NetWorker: NMDA DB2 분류 가이드

Summary: 이 문서에서는 NMDA DB2 문제의 초기 문제 해결에 필요한 정보를 간략하게 설명합니다.

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

문제 해결을 위해 요청된 정보

 

1) NetWorker Server, 클라이언트 OS 및 버전

2) DB2용 NMDA 버전 및 빌드 번호

3) 문제 설명

  - 데이터베이스 백업 관련 문제

     새로 설치하시겠습니까?

          예 -> DB2 클라이언트가 NMC 클라이언트 생성 마법사를 통해 생성됩니까? 그렇지 않은 경우 마법사를 사용하여 결과를 수집하십시오.

          아니요 -> 전에 작동했습니까?가져오기

mminfo -avot -r name,savetime,pool,ssflags -q client=<db2 client name>

 

            수동 백업이 작동합니까?

- Archivelog 백업 관련 이슈

       DB2 인스턴스 소유자로 DB2 인스턴스에 로그인

       의 출력을 가져옵니다. 

db2 get db cfg for <DB name>

       DB2 클라이언트에서 DB2 archivelog 백업 구성 파일 <db2archive.cfg> 파일 가져오기

         

4) 오류 메시지 및 로그 발췌

5) 백업 디바이스 유형(테이프, AFTD, Data Domain, VTL 또는 기타)

6) 관찰 : 언제 발생했으며, 무엇이 변경되었으며, 백업이 얼마나 진행되었습니까?

7) 디버그:

db2.cfg 파일에서 디버그 옵션 설정

NSR_DEBUG_LEVEL= 1 ~ 9 (most cases 3~5)

NSR_DIAGNOSTIC_DEST= /nsr/apps/logs (make the folder full permission to db2 account)

NSR_DPRINTF=TRUE  (enables NetWorker debug for modules)


8) 필요한 로그:

NetWorker Server - nsrget

DB2 NetWorker Client - nsrget

 

9) 수동 백업 예시

UNIX 또는 Linux:             

db2 backup db <db name> load /usr/lib/libnsrdb2.so options @/<path/to/db_backup>.cfg> without prompting

Windows:

db2 backup db <db name> load c:\\path\linbsrdb2.dll  options @/<path/to/db_backup>.cfg> without prompting

복원 예시.

복원

데이터를 복원할 DB2 호스트(NetWorker Client)에서 다음과 같이 운영 체제에 해당하는 DB2 복원 명령을 입력합니다.


Linux 및 UNIX:

$ db2 restore db <source DB name> load /usr/lib/libnsrdb2.xx open sessions <n>  options @/pathname/nmdb2.cfg taken at yyyymmddtttt into <target DB name>

Windows:

$ db2 restore db <source DB name> load <drive>:\<NetWorker_Install_Directory>\nsr\bin\libnsrdb2.dll open sessions <n> options @<drive>:\pathname\nmdb2.cfg taken at yyyymmddtttt into <target DB name>

 

Affected Products

NetWorker

Products

NetWorker, NetWorker Module for Databases and Applications
Article Properties
Article Number: 000021161
Article Type: How To
Last Modified: 15 Jul 2024
Version:  4
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.