How to install RAC1 on DR site with SAN replication
919890Feb 24 2012 — edited Feb 14 2013Hi experts, please share with your experiences on setting up RAC/RAC1 nodes on a remote DR site using SAN replication. Here is our environment:
Primary site with RAC One nodes on 2 servers: p-node1, p-node2
Standy DR Site will have another RAC One nodes: s-node1, s-node2
Primary and DR Data/FRA are replicated by Hitachi HUR SAN replication.
Grid Home and RDBMS Home are local, not shared, and non-replicated cross site.
Clusterware/ASM (OCR/Voting disk) on CRS DG is independent on primary and DR -- not replicated cross site.
Note: with SAN mirror, the DR site Data/FRA hdisks are not visible until failover (or split mirror).
So, the plan is:
1. Primray site: Install Grid Home, RDBMS Home, and create RAC1 database (by standard installation procedures)
... now Primary site has two RAC1 nodes functioning ...
2. Next, on DR site: Install Grid Home/Clusterware and create another ASM instance on another non-replicated CRS diskgroup
... we have the 2nd Clusterware/ASM on DR, with CRS DG only
... at this point, the Data/FRA LUNs are replicated copy -- not visible to DR servers, until failover or split mirror.
3. Next, shutdown primary site database and Clusterware. Then, either failover or split SAN mirror to Dr -- to make Data/FRA LUNs visible to DR s-node1 and s-node2 servers.
Questions:
1. Once the replicated Data/FRA LUNs are visible on DR, the DR ASM instance should be able to discover the LUNs automatically, correct?
2. Since Data/FRA DG metadata is already in LUN header, will DR ASM be able to automatically incoorporate the diskgroups? (thus no need to do create diskgroups?)
If not so, HOW do I add the Data/FRA DGs to DR ASM?
... there is no 'srvctl add diskgroup' command....
3. After DR ASM recognize and mount Data/FRA diskgroups, will Clusterware automatically register the diskgroups? The following 2 links says it will automatically register at first mount. Is this correct?
http://imergegroup.blogspot.com/2011/07/oracle-11g-release-2-srvctl-commands_21.html
http://surachartopun.com/2009/12/how-to-register-asm-diskgroup-in-grid.html
4. Finally, what needs to be done to register the database/instance/service to the DR Clusterware?
5. What other steps are needed to complete DR Clusterware and RAC One installation?
Thanks!