NMDA-Oracle: Konfigurieren der Hilfsdatenbank für die systemübergreifende Oracle-Wiederherstellung mit dem NMC-Assistenten
Summary: Um eine Hilfsinstanz für die Oracle Cross System-Wiederherstellung mithilfe des NMC-Assistenten zu erstellen, befolgen Sie die Anweisungen in diesem Artikel.
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
oraprd = Quelle (ORCL1)
oratst = Ziel (ORCL1AUX)
Schritt 1: Herstellen einer Verbindung zur Quell-DB
[oracle@oraprd ~]$ export ORACLE_SID=ORCL1 [oracle@oraprd ~]$ sqlplus / as sysdba
Schritt 2: Suchen Sie den Namen der Serverparameterdatei.
SQL> show parameter spfile
Schritt 3: Erstellen der Parameterdatei für die Oracle-Hilfsinstanz
SQL> create pfile='/u01/app/oracle/product/19.3.0/dbhome_1/dbs/initORCL1AUX.ora' from spfile;
Schritt 4: Ersetzen Sie Quellinstanzname (ORCL1) durch den Namen der Hilfsinstanz (ORCL1AUX) in initORCL1AUX.ora
PWD = /u01/app/oracle/product/19.3.0/dbhome_1/dbs [oracle@oraprd dbs]$ cat initORCL1AUX.ora
Schritt 5: Kopieren Sie die Datei initORCL1AUX.ora auf den Remotezielhost
[oracle@oraprd dbs]$ scp initORCL1AUX.ora oracle@oratst:/u01/app/oracle/product/19.3.0/dbhome_1/dbs/
Schritt 6: Erstellen Sie auf dem Remoteziel-Node die gesamte Ordnerstruktur gemäß der Datei initORCL1AUX.ora
[oracle@oratst dbs]$ mkdir -p /u01/app/oracle/admin/ORCL1AUX/adump /u02/oradata/ORCL1AUX/ /u01/app/oracle/recovery_area/ORCL1AUX/ /u01/app/oracle/recovery_area
Schritt 7: Erstellen einer Oracle-Kennwortdatei
[oracle@oratst dbs]$ orapwd file=orapwORCL1AUX password=oracle entries=5 format=12
Schritt 8: Hinzufügen einer zusätzlichen SID (ORCL1AUX) zur Datei listener.ora
[oracle@oratst admin]$ cat listener.ora
Schritt 9: Hinzufügen einer Hilfs-SID (ORCL1AUX) und einer Quell-SID (ORCL1) in tnsnames.ora auf Quell- und Ziel-Nodes
[oracle@oratst admin]$ cat tnsnames.ora
Schritt 10: Starten Sie Listner auf beiden Nodes neu
[oracle@oratst dbs] lsnrctl reload [oracle@oraprd dbs] lsnrctl reload
Schritt 11: Exportieren der neuen ORACLE_SID
[oracle@oratst dbs]$ export ORACLE_SID=ORCL1AUX
Schritt 12: Mit Hilfsinstanz verbinden
[oracle@oratst dbs]$ sqlplus / as sysdba
Schritt 13: Starten der DB im NOMOUNT-Modus mit PFILE
SQL> startup nomount pfile=/u01/app/oracle/product/19.3.0/dbhome_1/dbs/initORCL1AUX.ora
Schritt 14: Start-DB im NOMOUNT-Modus unter Verwendung von SPFILE
SQL> create spfile from pfile='/u01/app/oracle/product/19.3.0/dbhome_1/dbs/initORCL1AUX.ora'; SQL> startup force nomount;
Schritt 15: Verbinden Sie RMAN von beiden Nodes, um zu überprüfen, ob die Verbindungen ordnungsgemäß funktionieren
[oracle@oratst dbs] rman target sys/oracle@ORCL1 auxiliary sys/oracle@ORCL1AUX [oracle@oraprd dbs] rman target sys/oracle@ORCL1 auxiliary sys/oracle@ORCL1AUX
Affected Products
NetWorker Module for Databases and ApplicationsArticle Properties
Article Number: 000261454
Article Type: How To
Last Modified: 19 Dec 2024
Version: 2
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.