NMDA:n oraakkeli: Lisätietokannan määrittäminen Oracle Cross System Restore -toimintoa varten ohjatulla NMC-toiminnolla

Summary: Jos haluat luoda apuesiintymän Oracle Cross System -palautusta varten ohjatun NMC-toiminnon avulla, noudata tämän artikkelin ohjeita.

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 = lähde (ORCL1)
oratst = kohde (ORCL1AUX)

Vaihe 1: Yhdistä lähdetietokantaan

[oracle@oraprd ~]$ export ORACLE_SID=ORCL1
[oracle@oraprd ~]$ sqlplus / as sysdba

Vaihe 2: Etsi palvelimen parametrin tiedostonimi

SQL> show parameter spfile

Vaihe 3: Apu-Oracle-esiintymän parametritiedoston luominen

SQL> create pfile='/u01/app/oracle/product/19.3.0/dbhome_1/dbs/initORCL1AUX.ora' from spfile;

Vaihe 4: Korvaa lähdeesiintymän nimi (ORCL1) apuesiintymän nimellä (ORCL1AUX) kohteessa initORCL1AUX.ora

PWD = /u01/app/oracle/product/19.3.0/dbhome_1/dbs
[oracle@oraprd dbs]$ cat initORCL1AUX.ora

Vaihe 5: Kopioi initORCL1AUX.ora etäkohteen isäntään

[oracle@oraprd dbs]$ scp initORCL1AUX.ora oracle@oratst:/u01/app/oracle/product/19.3.0/dbhome_1/dbs/

Vaihe 6: Luo Remote Destination -solmussa kaikki kansiorakenne initORCL1AUX.ora-tiedoston mukaisesti

[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

Vaihe 7: Luo Oracle-salasanatiedosto

[oracle@oratst dbs]$ orapwd file=orapwORCL1AUX password=oracle entries=5 format=12

Vaihe 8: Lisää apu-SID (ORCL1AUX) listener.ora-tiedostoon

[oracle@oratst admin]$ cat listener.ora

Vaihe 9: Lisää apu-SID (ORCL1AUX) ja lähde-SID (ORCL1) tnsnames.ora-tiedostoon sekä lähde- että kohdesolmuissa

[oracle@oratst admin]$ cat tnsnames.ora

Vaihe 10: Käynnistä Listner uudelleen molemmissa solmuissa

[oracle@oratst dbs] lsnrctl reload
[oracle@oraprd dbs] lsnrctl reload

Vaihe 11: Vie uusi ORACLE_SID

[oracle@oratst dbs]$ export ORACLE_SID=ORCL1AUX

Vaihe 12: Yhdistä apuinstanssiin

[oracle@oratst dbs]$ sqlplus / as sysdba

Vaihe 13: Käynnistys DB NOMOUNT-tilassa PFILE: n avulla

SQL> startup nomount pfile=/u01/app/oracle/product/19.3.0/dbhome_1/dbs/initORCL1AUX.ora

Vaihe 14: Käynnistys DB NOMOUNT-tilassa SPFILE: n avulla

SQL> create spfile from pfile='/u01/app/oracle/product/19.3.0/dbhome_1/dbs/initORCL1AUX.ora';
SQL> startup force nomount;

Vaihe 15: Yhdistä RMAN molemmista solmuista ja tarkista, toimivatko yhteydet oikein

[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 Applications
Article 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.