#ln
#chown
#chown oracle:oinstall orapw+ASM2
7.Add the ASM instances with the CRS cluster on the recovery cluster. In this example, run the following commands from any node on cluster2:
#export ORACLE_SID=”+ASM”
#srvctl add asm
#srvctl add asm
Configuring the identical RAC database in the recovery cluster
Complete the following procedure to configure the replica RAC database. To explain this procedure, it is assumed that the database name is hrdb and the instance hrdb1 is the first instance on the first node and hrdb2 is the second instance on second node of the primary cluster.
To configure the identical RAC database:
1.Copy the first RAC database instance pfile and password file from the primary cluster to the first RAC database instance node in the recovery cluster.
In this example, run the following commands from the first node in cluster1:
#cd /opt/app/oracle/product/11.1.0/db_1/dbs
#rcp
#rcp
The
2.Set up the first RAC database instance on the recovery cluster. In this example, run the following commands from the first node in cluster2:
#cd /opt/app/oracle/product/11.1.0/db_1/dbs
#chown oracle:oinstall orapwhrdb1
#chown oracle:oinstall initrhrdb1.ora
3.Copy the second RAC database instance pfile and password file from the primary cluster to the second RAC database instance node in the recovery cluster. In this example, run the following commands from the second node in cluster1:
#cd /opt/app/oracle/product/11.1.0/db_1/dbs
#rcp
#rcp
The
4.Set up the second RAC database instance on the recovery cluster. In this example, run the following commands from the second node in cluster2:
#cd /opt/app/oracle/product/11.1.0/db_1/dbs
#chown oracle:oinstall orapwhrdb2
#chown oracle:oinstall inithrdb2.ora
5.Create the directory for the database (in this example “hrdb”) that is replicated to the recovery cluster, in the Oracle admin directory.
#cd /opt/app/oracle
#rcp
#rcp
Configuring the identical RAC database in the recovery cluster 141