Home » RDBMS Server » Backup & Recovery » Disaster recovery from SAN (Oracle 12c)
Disaster recovery from SAN [message #663812] |
Wed, 21 June 2017 01:35  |
 |
greencurry
Messages: 13 Registered: June 2017
|
Junior Member |
|
|
Hi all,
I have a question on switching to a DR server.
I have a production server (PROD) running Windows 2012 with Oracle 12c installed. The DB_CREATE_FILE_DEST and DB_RECOVERY_FILE_DEST are set to a Storage Area Network (D:\u01\oracle\oradata) and (E:\u01\oracle\fast_recovery_area) respectively.
Then I clone this setup to a standby server (STANDBY) and shut down all oracle database services.
After PROD server has been running for a few hours, I shut down all oracle database services, disconnect the mapped drives on SAN.
Then, on the STANDBY server, I start all oracle database services and map corresponding drives on SAN.
I tried:
$ : sqlplus / as sysdba
SQL> show parameter control_files;
NAME TYPE VALUE
------------------------------------ ----------- ------------------------------
control_files string D:\U01\ORADATA\DBTEST\CONTROLF
ILE\O1_MF_DGOXT93C_.CTL, E:\U0
2\FAST_RECOVERY_AREA\DBTEST\CO
NTROLFILE\O1_MF_DGOXT94H_.CTL
SQL> host rman target /
Recovery Manager: Release 12.1.0.2.0 - Production on Wed Jun 21 14:28:10 2017
Copyright (c) 1982, 2015, Oracle and/or its affiliates. All rights reserved.
connected to target database: DBTEST (not mounted)
RMAN> SET DBID=3845233333;
executing command: SET DBID
RMAN> alter database mount;
using target database control file instead of recovery catalog
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of sql statement command at 06/21/2017 14:30:33
ORA-00205: error in identifying controlfile
From the alert log, it reads:
ORA-00210: cannot open the specified control file
ORA-00202: control file: 'E:\U02\FAST_RECOVERY_AREA\DBTEST\CONTROLFILE\O1_MF_DGOXT94H_.CTL'
ORA-27041: unable to open file
OSD-04002: unable to open file
O/S-Error: (OS 5) Access is denied.
ORA-00210: cannot open the specified control file
ORA-00202: control file: 'D:\U01\ORADATA\DBTEST\CONTROLFILE\O1_MF_DGOXT93C_.CTL'
ORA-27041: unable to open file
OSD-04002: unable to open file
O/S-Error: (OS 5) Access is denied.
Please help.
|
|
|
|
|
|
Re: Disaster recovery from SAN [message #663820 is a reply to message #663818] |
Wed, 21 June 2017 02:07   |
 |
greencurry
Messages: 13 Registered: June 2017
|
Junior Member |
|
|
Checked all oracle services on both servers, all are 'log on' by oracle instance.
OS-wise, I consider both servers are identical as the STANDBY is a direct clone of the PROD.
If I shutdown all services on STANDBY, disconnect the SAN drives, and on PROD, mount the SAN drives and start all services, the database runs well.
[Updated on: Wed, 21 June 2017 02:16] Report message to a moderator
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Goto Forum:
Current Time: Mon Mar 31 04:07:34 CDT 2025
|