Building Disaster Recovery Serviceguard Solutions Using Metrocluster with EMC SRDF

The -p option retains the permissions of the file.
4. Setup the first ASM instance on the target disk site.
In this example, run the following commands from node1 in the site2.
# cd /opt/app/oracle/product/11.1.0/db_1/dbs
# ln s /opt/app/oracle/admin/+ASM/pfile/init.ora init+ASM1.ora
# chown -h oracle:oinstall init+ASM1.ora
# chown oracle:oinstall orapw+ASM1
5. Copy the second ASM instance pfile and password file from site1 to the second ASM
instance node in site2.
# cd /opt/app/oracle/admin/+ASM/pfile
# rcp -p init.ora <site2_node2>:$PWD
# cd /opt/app/oracle/product/11.1.0/db_1/dbs
# rcp -p orapw+ASM2 <site2_node2>:$PWD
The -p option retains the permissions of the file.
6. Setup the second ASM instance on the target disk site.
In this example, run the following commands from node2 of site2:
# cd /opt/app/oracle/product/11.1.0/db_1/dbs
# ln s /opt/app/oracle/admin/+ASM/pfile/init.ora init+ASM2.ora
# chown -h oracle:oinstall init+ASM2.ora
# chown oracle:oinstall orapw+ASM2
7. Add the ASM instances with the CRS sub-cluster on the target disk site.
In this example, run the following commands from any node on site2:
# export ORACLE_SID=+ASM
# srvctl add asm -n <site2_node1> -i +ASM1 o
/opt/app/oracle/product/11.1.0/db_1/
srvctl add asm -n <site2_node2> -i +ASM2 o
/opt/app/oracle/product/11.1.0/db_1/
Configuring the identical RAC database
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 first
node and hrdb2 is second instance on second node of the source disk site.
To configure the identical RAC database:
1. Copy the first RAC database instance pfile and password file from the source site to the first
RAC database instance node in the target disk site.
In this example, run the following commands from the first node in site1:
# cd /opt/app/oracle/product/11.1.0/db_1/dbs
# rcp -p inithrdb1.ora <site2_node1>:$PWD
# rcp -p orapwhrdb1 <site2_node1>:$PWD
The -p option retains the permissions of the file.
2. Setup the first RAC database instance on the target disk site.
In this example, run the following commands from the first node in site2:
# cd /opt/app/oracle/product/11.1.0/db_1/dbs
# chown oracle:oinstall orapwhrdb1
# chown oracle:oinstall initrhrdb1.ora
124 Configuring Oracle RAC in SADTA