When the Oracle RAC cluster is used at the production end and a single machine is used at the DR end, after the DR database is created, you need to configure the pfile file.
If the DR end is in the single-instance environment where databases are installed on file systems, copy required database files and folders from the production end to the DR end, and modify the users or roles of the copy required database files. Files and folders need to be copied include all folders under the $ORACLE_BASE\admin\dbname directory, the $ORACLE_HOME\network\admin\ listener.ora file, the $ORACLE_HOME\network\admin\ tnsnames.ora file, and password and parameter files under the $ORACLE_HOME\dbs directory.
oracle@suse140:/u01/app/oracle/product/11.2.0/db_1/dbs> export ORACLE_SID=lqraw1 oracle@suse140:/u01/app/oracle/product/11.2.0/db_1/dbs> sqlplus / as sysdba SQL*Plus: Release 11.2.0.3.0 Production on Fri Jun 26 09:57:08 2020 Copyright (c) 1982, 2011, Oracle. All rights reserved. Connected to: Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production With the Partitioning, Real Application Clusters, Automatic Storage Management, OLAP, Data Mining and Real Application Testing options
SQL> show parameter spfile;
NAME TYPE VALUE
------------------------------------ ----------- ------------------------------
spfile string +LQRAWDATA/lqraw/spfilelqraw.o
ra
SQL> create pfile='/home/oracle/initlqraw1.ora' from spfile; File created.


Red contents need to be modified. For details about how to modify pfile files, consult the database administrator. Incorrect modification may impose adverse impact on the DR database.
oracle@suse140:/u01/app/oracle/product/11.2.0/db_1/dbs> export ORACLE_SID=lqraw
oracle@suse140:/u01/app/oracle/product/11.2.0/db_1/dbs> sqlplus / as sysdba
SQL*Plus: Release 11.2.0.3.0 Production on Fri Jun 26 09:57:08 2020
Copyright (c) 1982, 2011, Oracle. All rights reserved.
Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
With the Partitioning, Real Application Clusters, Automatic Storage Management, OLAP,
Data Mining and Real Application Testing options
SQL> startup pfile='/home/oracle/ initlqraw1.ora'; ORACLE instance started. Total System Global Area 5144301568 bytes Fixed Size 2230424 bytes Variable Size 1157629800 bytes Database Buffers 3976200192 bytes Redo Buffers 8241152 bytes Database mounted. Database opened.
SQL> create spfile from pfile='/home/oracle/initlqraw1.ora';
File created.
SQL> shutdown immediate Database closed. Database dismounted. ORACLE instance shut down.
SQL> startup ORACLE instance started. Total System Global Area 5144301568 bytes Fixed Size 2230424 bytes Variable Size 1157629800 bytes Database Buffers 3976200192 bytes Redo Buffers 8241152 bytes Database mounted. Database opened.
SQL> show parameter spfile;
NAME TYPE VALUE
------------------------------------ ----------- ------------------------------
spfile string /u01/app/oracle/11.2.0/product
/db/dbs/spfilelqraw.ora
For Oracle 12c databases, run the srvctl modify database -db database name -spfile local path to file spfile command to save file spfile to the local path, after the previous operations are complete.
On non-Windows operating systems, create the database under dbca. On Windows operating system, create the database under Database Configuration Assistant.
After the database is created, the spfile file is saved locally or on a LUN.
On non-Windows operating systems, check whether spfile${ORACLE_SID}.ora and init${ORACLE_SID}.ora exist under $ORACLE_HOME/dbs. On Windows operating systems, check whether spfile${ORACLE_SID}.ora and init${ORACLE_SID}.ora exist under %ORACLE_HOME%/database.
bash-4.2$ cat initautoasm.ora SPFILE='+PG_AUTOASM$_DATA/autoasm/spfileautoasm.ora' bash-4.2$ export ORACLE_SID=autoasm
bash-4.2$ sqlplus / as sysdba
SQL*Plus: Release 11.2.0.3.0 Production on Thu Jun 16 09:32:39 2020
Copyright (c) 1982, 2011, Oracle. All rights reserved.
Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
With the Partitioning, Automatic Storage Management, OLAP, Data Mining
and Real Application Testing options
SQL> create pfile='/home/oracle/initautoasm.ora' from spfile; File created.
SQL> shutdown immediate; Database closed. Database dismounted. ORACLE instance shut down.
SQL> startup pfile='/home/oracle/initautoasm.ora'; ORACLE instance started. Total System Global Area 5144301568 bytes Fixed Size 2230424 bytes Variable Size 1157629800 bytes Database Buffers 3976200192 bytes Redo Buffers 8241152 bytes Database mounted. Database opened.
SQL> create spfile from pfile='/home/oracle/initautoasm.ora'; File created.
SQL> startupORACLE instance started. Total System Global Area 5144301568 bytes Fixed Size 2230424 bytes Variable Size 1157629800 bytes Database Buffers 3976200192 bytes Redo Buffers 8241152 bytes Database mounted. Database opened.
SQL> show parameter spfile;
NAME TYPE VALUE
------------------------------------ ----------- ------------------------------
spfile string /u01/app/oracle/11.2.0/product
/db/dbs/spfileautoasm.ora
For Oracle 12c databases, run the srvctl modify database -db database name -spfile local path to file spfile command to save file spfile to the local path, after the previous operations are complete.