I need to move my 2 nodes RAC (Solaris 10 / Oracle 10g (10.2.0.3)) to a new data center.
My OCR and Votting disks are on a SAN (x) and on the new datacenter I want to put them on a new SAN (y).
How can I perform this server movement without losing the current RAC/Clusterware configuration?
I was planning to do the following:
- Backup current databases
- Backup spfile
- Backup Diskgroups/ASM configuration
- Delete databases
- Delete Diskgroups/ASM
- Shutdown CRS (crsctl stop crs)
- Backup OCR disks (ocrconfig -export export_filename)
- Backup Votting disks (dd if=voting_disk_name of=backup_file_name)
- Turn off the servers
- Move them to the new Datacenter
- Attch the new SAN
- Restore Votting disks (dd if=backup_file_name of=voting_disk_name)
- Restore OCR disks ( ocrconfig -import export_filename)
- Then recreate Diskgroups/ASM
- Restore databases
Is this the right procedure/commands to accomplish it without losing the RAC configuration?
I am trying to avoid rebuilding the whole RAC from scratch.
I forgot to mention that there is no connection between the old and new datacenter. If there would, I would just present the new SAN space from the new datacenter to the old one, so I can just add the new OCR/Votting disk to the current ones (mirror) and then remove the old disks.
Same for the ASM and databases, but unfortunally, there is no connection between this two datacenter.
It is like moving the servers from one state to another.
Use RMAN and Data Guard to create a physical standby in the new data center.
Fail over to the new data center.
Turn off the lights at the existing location.
Move the OCR and Voting Disk? I wouldn't touch it.
No connection between the data centers? Get one for 30 days.
are you going to have same ip addresses/subnets for public / private interconnects? The steps you have mentioned looks ok. If the ip addresses are different, you need to update the cluster config with oifcfg commands. You will be able to find that information on the oracle support.
If you have RAC you either have two physical servers or you have a disaster waiting to happen: Which is it?
If you have two physical servers ... move one ... turn it into a DG standby ... fail over to it ... then bring over the other server and do an ADD NODE.
Yes, I have a 2-nodes RAC.
I have not experience using Data Guard. I have read about the Standby/fail-over feature but I was not sure that if will work with RAC (OCR/Votting disks).
Could you please tell me where I can find more information about Data Guard standby setup for RAC?