NetWorker - NetWorker Management Console 데이터베이스를 복구하는 방법

Riepilogo: NetWorker recoverpsm 명령을 사용하여 NMC(NetWorker Management Console) 데이터베이스를 nmcdb의 백업으로 복원할 수 있습니다.

Questo articolo si applica a Questo articolo non si applica a Questo articolo non è legato a un prodotto specifico. Non tutte le versioni del prodotto sono identificate in questo articolo.

Istruzioni

NMC 데이터베이스 손상을 식별한 경우 NetWorker recoverpsm 명령을 사용하여 NMC 데이터베이스를 의 백업으로 복원합니다. nmcdb. 기본적으로 기본 서버 보호 정책 내에 NMC 서버 백업 워크플로가 있어야 합니다. NMC 데이터베이스의 백업을 완료하기 위해 이 작업이 예약되고 올바르게 구성되었는지 확인합니다.

NMC 서버 보호에 대한 자세한 내용은 NetWorker Administration GuideNetWorker Command Reference Guide 를 참조하십시오 savepsmrecoverpsm 옵션. 이러한 문서는 Dell NetWorker 제품 페이지에서 찾을 수 있습니다.

 

  1. 를 사용하여 NMC 데이터베이스의 백업이 있는지 확인합니다. mminfo 명령을 사용합니다.
구문: mminfo -avot -q client=nmc_server_name
예:
[root@linux1 ~]# mminfo -avot -q client=linux1.amer.lan | 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

참고: 의 백업이 없는 경우 nmcdb_stage 세이브 세트를 사용하는 경우 NMC를 복구할 수 없으며 유일한 옵션은 NMC를 새 인스턴스로 다시 설치하는 것입니다.

 

  1. NMC 서버에서 관리 루트 명령 프롬프트를 열어 NMC를 중지합니다 GSTD service(실행 중인 경우):

Windows: net stop gstd
Linux: systemctl stop gst


이전(예전) 메시지로 이동과 tasklist/Task Manager 또는 PS 명령을 사용하여 GSTD 서비스가 중지되었습니다.

 

  1. 다음으로 CD 명령을 실행하여 NMC의 설치 bin 디렉토리로 이동합니다. 다음 사항을 확인합니다. recoverpsm 명령이 이 디렉토리에 나열됩니다. 이 명령은 NMC 데이터베이스를 복구하는 데 사용됩니다.

Windows: [NMC Installation Dir\Management\GST\bin
Linux: /opt/lgtonmc/bin
 

  1. 다음의 recoverpsm 명령을 실행하여 NMC 서버에서 다음을 수행합니다.
구문:
recoverpsm [-s server] [-c client-name] [-d destination] [-p pass-phrase] [-t time] [-hfO] Staging_Directory


옵션:

-c client-name

소스 NMC 서버의
이름을 지정합니다. 자세한 내용은 복구를 참조하십시오.

-d destination

다음 디렉토리를 지정합니다. recoverpsm NMC 데이터베이스를 복구합니다. 이 옵션을 사용할 경우 대상 디렉토리의 데이터베이스 파일을 NMC 서버에 대해 정의된 데이터베이스 디렉토리로 수동으로 복사해야 합니다. 복사가 완료된 후 데이터베이스 파일과 자격 증명 파일에 대해 동일한 소유권과 사용 권한을 유지해야 합니다.

 -f

복구 작업을 시작하기 전에 데이터베이스 디렉토리에 있는 현재 데이터베이스 파일을 삭제하려면 이 옵션을 사용합니다.

 -h

에 대한 사용량 정보를 표시합니다. recoverpsm 명령을 사용합니다.

 -O

데이터베이스 자격 증명 파일의 복구를 생략하려면 이 옵션을 사용합니다. 드물지만 자격 증명 파일이 여전히 존재하고 복구 시 자격 증명 파일을 사용하지 않으려는 경우에만 이 옵션을 사용합니다.

 -p pass-phrase

AES 암호화 데이터베이스 파일을 복구하려고 할 때 추가 암호를 지정하려면 이 옵션을 사용합니다. 자세한 내용은 복구(1m)를 참조하십시오.

 -s server

NMC 데이터베이스 백업을 수행한 NetWorker Server의 이름을 지정합니다

 -t time

다음에 지정된 날짜의 데이터베이스를 복구하려면 이 옵션을 사용합니다. nsrgetdate 판.

Staging_Directory

백업 작업에
사용되는 스테이징 디렉토리를 지정합니다. 자동 백업의 경우 세이브 세트 이름을 지정합니다.

 

예:

[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

 

  1. NMC 서버에서 관리 루트 명령 프롬프트를 열어 NMC를 중지합니다 GSTD 서비스:
Windows: net start gstd
Linux: systemctl start gst

이전(예전) 메시지로 이동과 tasklist/Task Manager 또는 PS 명령을 사용하여 GSTD 서비스가 시작되었습니다.
 
  1. NMC에 연결할 수 있는지 확인합니다.

 

  1. NMC 서비스 시작 중 오류가 있는지 gstd.raw 모니터링합니다.
Linux: /opt/lgtonmc/logs/gstd.raw
Windows: [Install Drive]:\Program Files\EMC NetWorker\Management\GST\logs\gstd.raw

Informazioni aggiuntive

NMC 서버의 .. \Management\GSTD\logs\gstd.raw 또는 /opt/lgtonmc/logs/gstd.raw를 사용하여 NMCDB 손상이 있는지 확인할 수 있습니다. :

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

Prodotti interessati

NetWorker

Prodotti

NetWorker
Proprietà dell'articolo
Numero articolo: 000019968
Tipo di articolo: How To
Ultima modifica: 01 nov 2024
Versione:  5
Trova risposta alle tue domande dagli altri utenti Dell
Support Services
Verifica che il dispositivo sia coperto dai Servizi di supporto.