Zu den Hauptinhalten
  • Bestellungen schnell und einfach aufgeben
  • Bestellungen anzeigen und den Versandstatus verfolgen
  • Profitieren Sie von exklusiven Prämien und Rabatten für Mitglieder
  • Erstellen Sie eine Liste Ihrer Produkte, auf die Sie jederzeit zugreifen können.

NetWorker: Kuinka palauttaa NMC-tietokanta?

Zusammenfassung: NetWorker recoverpsm -komennolla voit palauttaa NMC-tietokannan nmcdb:n varmuuskopioon.

Dieser Artikel gilt für   Dieser Artikel gilt nicht für 

Weisungen

Jos olet havainnut NMC-tietokannan vioittumisen. NetWorker recoverpsm -komennolla voit palauttaa NMC-tietokannan nmcdb:n varmuuskopioon. Oletusarvon mukaan palvelimen suojauskäytännössä tulisi olla NMC-palvelimen varmuuskopioinnin työnkulku. Varmista, että tämä on ajoitettu ja määritetty oikein NMC-tietokannan varmuuskopiointia varten. Lisätietoja NMC-palvelimen suojauksesta on NetWorker Administration Guide -oppaassa ja NetWorker Command Reference Guide -oppaassa koskien sekä savepsm - että recoverpsm-vaihtoehtoja . Nämä asiakirjat löytyvät https://www.dell.com/support/home/product-support/product/networker/docs

1) Varmista ensin, että NMC-tietokanta on varmuuskopioitu mminfo-komennolla:
Syntaksi: mminfo -avot -q client=nmc_server_name 
Esimerkki:
[root@linux1 ~]# mminfo -avot -q client=linux1.amer.lan -t "today" | grep nmcdb_stage
ClientBackupPool.001 Data Domain linux1.amer.lan 08/15/2022 02:00:17 PM 53 MB 687518690 cb full /nsr/nmc/nmcdb_stage


Huomautus: Jos sinulla ei ole edellä mainittua tallennusjoukkoa, et voi palauttaa NMC:tä, vaan voit asentaa sen uudelleen uutena esiintymänä.
 

2) Avaa NMC-palvelimessa hallinta-/pääkomentokehote ja pysäytä NMC GSTD -palvelu (jos käynnissä):

Windows: net stop gstd
Linux: systemctl stop gst

Huomautus: Varmista tehtäväluettelon/tehtävienhallinnan tai ps-komentojen avulla, että gstd-palvelu on pysähtynyt
 

3) Siirry cd-komennolla NMC:n asennusbin-hakemistoon. Varmista, että recoverpsm-komento näkyy tässä hakemistossa. Tällä komennolla palautetaan NMC-tietokanta.

Windows: [NMC-asennusdir\hallinta\GST\bin
Linux: /opt/lgtonmc/bin

4) Suorita recoverpsm-komento NMC-palvelimessa:

Syntaksi:
recoverpsm [-s server] [-c client-name] [-d destination] [-p pass-phrase] [-t time] [-hfO] Staging_Directory

Options:

-c asiakas-nimi

Määrittää lähde-NMC-palvelimen nimen. Katso lisätietoja kohdasta palauttaminen.

 D Määränpää

Määrittää hakemiston, johon recoverpsm palauttaa NMC-tietokannan. Kun käytät tätä asetusta, tietokantatiedostot on kopioitava manuaalisesti kohdehakemistosta NMC-palvelimelle määritettyyn tietokantahakemistoon. Varmista, että tietokanta- ja tunnistetiedostojen omistajuus ja käyttöoikeudet säilyvät samat kopioinnin jälkeenkin.

  F

Tämän asetuksen avulla voit poistaa tietokantahakemistossa olevat nykyiset tietokantatiedostot ennen palautustoiminnon aloittamista.

 h

Näyttää recoverpsm-komennon käyttötiedot.

 O

Tämän asetuksen avulla voit jättää tietokannan tunnistetiedoston palautuksen pois. Käytä tätä vaihtoehtoa vain siinä harvinaisessa tapauksessa, jossa tunnistetiedosto on edelleen olemassa etkä halua käyttää palautuksen tunnistetietoja.

 P-tunnuslause

Tämän asetuksen avulla voit määrittää ylimääräisen salalauseen, kun yrität palauttaa AES-salattuja tietokantatiedostoja. Katso lisätietoja kohdasta recover(1m).

 S-palvelin

Määrittää NMC-tietokannan varmuuskopioinnin suorittaneen NetWorker-palvelimen nimen.

 t aika

Tämän asetuksen avulla voit palauttaa tietokannan nsrgetdate-muodossa määritetystä päivämäärästä alkaen.

Valmisteluhakemisto

Määrittää varmuuskopioinnin käyttämän valmisteluhakemiston. Jos haluat varmuuskopioida automaattisesti, määritä tallennusjoukon nimi

 Esimerkki: 

[root@linux1 bin]# ./recoverpsm -f -s linux1.amer.lan -c linux1.amer.lan -p Pa$$w0rd01 /nsr/nmc/nmcdb_stage
108157:recover: Restoring database files...
179040:recover: Step (1 of 11) for PID-6264: Recovery has been started on the client 'linux1.amer.lan'.
179733:recover: Step (2 of 11) for PID-6264: Checking if the set of exclusion files is given for the recovery of the selected files for the client 'linux1.amer.lan'.
179738:recover: Step (3 of 11) for PID-6264: Setting the server 'linux1.amer.lan' for the media database calls for the recovery of the selected files for the client 'linux1.amer.lan'.
179745:recover: Identified a file level recovery with PID 6264 to relocate to the new path '/nsr/nmc/nmcdb' for the client 'linux1.amer.lan'. Updating the total number of steps from 11 to 8.
179748:recover: Step (4 of 8) for PID-6264: Initializing a recovery job with the nsrjobd for the recovery of the selected file(s) for the client 'linux1.amer.lan'.
179749:recover: Step (5 of 8) for PID-6264: Validating and setting the relocation path '/nsr/nmc/nmcdb' for the recovery of selected file(s) for the client 'linux1.amer.lan'.
179754:recover: Step (6 of 8) for PID-6264: Initializing the file level recovery of the client 'linux1.amer.lan'.
179730:recover: Step (7 of 8) for PID-6264: Building the recovery tree of the client 'linux1.amer.lan'.
Recovering 1500 files within /nsr/nmc/nmcdb_stage/ into /nsr/nmc/nmcdb
Requesting 1500 file(s), this may take a while...
179728:recover: Initializing the recovery session with the NetWorker server 'linux1.amer.lan' to recover the selected files.
Recover start time: Mon 15 Aug 2022 02:20:37 PM PDT
179718:recover: Initializing to recover multiple streams of data from the NetWorker server 'linux1.amer.lan'.
Requesting 1 recover session(s) from server.
179714:recover: Initializing the child threads to recover the given recovery stream from the NetWorker server 'linux1.amer.lan'.
179713:recover: Initializing to set up a connection to start reading the data from the recover stream.
Enabling compressed restore for save set ID '687518690' with 'Data Domain' device path '/linux1/ClientBackupDevice01'.
Successfully established the direct file retrieval session for save set ID '687518690' with 'Data Domain' volume 'ClientBackupPool.001'.
./pgdata/backup_label
...
./pgdata/
179716:recover: Coordinating all the child recovery processes.
179717:recover: Releasing all the resources held by the recovery process.
179721:recover: All recovery streams from the NetWorker server 'linux1.amer.lan' are read successfully.
Received 1500 file(s) from NSR server `linux1.amer.lan'
Recover completion time: Mon 15 Aug 2022 02:20:39 PM PDT
179068:recover: Step (8 of 8) for PID-6264: The recovery completed successfully on the client 'linux1.amer.lan'.
108161:recover: Setting permissions for the restored database files

 

5) Avaa NMC-palvelimessa hallinta/root-komentokehote ja pysäytä NMC GSTD -palvelu:
Windows: net start gstd
Linux: Systemctl Käynnistä GST

Huomautus: Varmista tehtäväluettelon/tehtävienhallinnan tai ps-komentojen avulla, että gstd-palvelu on käynnistynyt.
 

6) Varmista, että voit muodostaa yhteyden NMC:hen.


Jos NMC-palautus epäonnistuu recoverypsm-tuella , ota yhteys Dell EMC -tukeen. Huomaa, että jos palautus ei ole mahdollinen, NMC on asennettava uudelleen.

Weitere Informationen

NMC-palvelimen .. \Management\GSTD\logs\gstd.raw tai /opt/lgtonmc/logs/gstd.raw voidaan tarkistaa, onko NMCDB vioittunut:

Esimerkki:

31581 1501512324 2 0 0 5632 6204 0 NMC-server gstd NSR warning 23 *** gstd starting at %s 1 36 24 Mon Jul 31 10:45:24 2017
NMC-server gstd NSR notice 5 %s %s 2 0 24 MM/DD/YYY HH:MM:SS.3852 0 50 Internal error: could not create database process.
NMC-server gstd NSR notice 5 %s %s 2 0 24 MM/DD/YYY HH:MM:SS.643852 0 50 Internal error: could not create database process.
NMC-server gstd NSR notice 5 %s %s 2 0 24 MM/DD/YYY HH:MM:SS.643852 0 50 Internal error: could not release database handle.
NMC-server gstd NSR notice 5 %s %s 2 0 24 MM/DD/YYY HH:MM:SS.675017 0 48 Internal error: could not stop database process.
NMC-server gstd NSR notice 5 %s %s 2 0 24 MM/DD/YYY HH:MM:SS.675017 0 54 FATAL ERROR: could not stop 'EMC GST Database Service'
NMC-server gstd NSR notice 5 %s %s 2 0 24 MM/DD/YYY HH:MM:SS.675017 0 48 Internal error: could not stop database process.
NMC-server gstd NSR notice 5 %s %s 2 0 24 MM/DD/YYY HH:MM:SS.675017 0 48 Internal error: could not stop database process.
NMC-server gstd NSR notice 5 %s %s 2 0 24 MM/DD/YYY HH:MM:SS.675017 0 54 The most recently called subfunction returned error 2.
NMC-server gstd NSR warning 2 %s 1 0 27 library error 22 os error 0
NMC-server gstd NSR warning 23 *** gstd stopping at %s 1 36 24 MM/DD/YYY HH:MM:SS

 

Betroffene Produkte

NetWorker

Produkte

NetWorker
Artikeleigenschaften
Artikelnummer: 000019968
Artikeltyp: How To
Zuletzt geändert: 03 Sept. 2024
Version:  4
Antworten auf Ihre Fragen erhalten Sie von anderen Dell NutzerInnen
Support Services
Prüfen Sie, ob Ihr Gerät durch Support Services abgedeckt ist.