NetWorker: NMDA DB2 Triage Guide

Summary: Dit document bevat de informatie die nodig is voor de eerste probleemoplossing van een NMDA DB2-probleem.

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

Informatie die wordt gevraagd voor het oplossen van problemen,

 

1) Besturingssysteem en versie van NetWorker Server en client

2) NMDA voor DB2 versie en buildnummer

3) Beschrijving van het probleem

  - Probleem met databaseback-up

     Nieuwe installatie?

          Ja -> Wordt de DB2-client gemaakt via de wizard NMC client maken? Als dit niet het geval is, probeer dan de wizard te gebruiken en de resultaten te verzamelen.

          Nee -> Werkte het eerder? krijgen

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

 

            Werkt handmatige back-up?

- Probleem met de back-up van Archivelog

       Meld u aan bij de DB2-instantie met de eigenaar van de DB2-instantie

       Uitvoer ophalen van 

db2 get db cfg for <DB name>

       Haal het DB2 archivelog back-upconfiguratiebestand <db2archive.cfg> op de DB2-client op

         

4) Foutmelding en logboekuittreksel

5) Type back-upapparaat (tape, AFTD, Data Domain, VTL of andere)

6) Observatie: Wanneer is het gebeurd, wat is er veranderd, hoe ver is de back-up gevorderd?

7) Foutopsporing:

Stel de optie Debug in het bestand db2.cfg in

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) Vereiste logboeken:

Op NetWorker server - nsrget

Op DB2 NetWorker-client - nsrget

 

9) Voorbeeld van handmatige back-up

UNIX of 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

Voorbeeld van herstellen.

Herstelt

Op de DB2-host (NetWorker-client) waar de data moeten worden hersteld, typt u de DB2-herstelopdracht die geschikt is voor het besturingssysteem als volgt:


Linux en 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.