Data Guard change mode errors
Dear all
I have done a physical standby database ,version number is ORACLE9.2.0
Now , It can work well on "Maximize performance mode" and standby database also can receive archived logfiles and applied it , As other reason I decided to change the standby database to "MAXIMIZE PROTECTION" mode , I did on primary database as below:
1) alter system set log_archive_dest_2='SERVICE=STB LGWR SYNC AFFIRM
scope=spfile'
2) alter database set standby database to maximize protection
then when I sent "alter database open " command I receive a error :
SQL> alter database set standby database to maximize protection;
数据库已更改。
SQL> alter database open;
alter database open
ERROR 位于第 1 行:
ORA-03113: 通信通道的文件结束
then I check the alter.log file :
alter database open
Mon May 28 12:35:37 2007
LGWR: Primary database is in CLUSTER CONSISTENT mode
LGWR: Primary database is in MAXIMUM PROTECTION mode
LGWR: Destination LOG_ARCHIVE_DEST_1 is not serviced by LGWR
LNS0 started with pid=11
Mon May 28 12:35:43 2007
LGWR: Error 16086 verifying archivelog destination LOG_ARCHIVE_DEST_2
LGWR: Continuing...
Mon May 28 12:35:43 2007
Errors in file c:\oracle\admin\fox\bdump\fox_lgwr_3260.trc:
ORA-16086: standby database does not contain available standby log files
LGWR: Error 16086 disconnecting from destination LOG_ARCHIVE_DEST_2 standby host 'STB'
LGWR: Minimum of 1 applicable standby database required
Mon May 28 12:35:43 2007
Errors in file c:\oracle\admin\fox\bdump\fox_lgwr_3260.trc:
ORA-16072: a minimum of one standby database destination is required
LGWR: terminating instance due to error 16072
Mon May 28 12:35:43 2007
Errors in file c:\oracle\admin\fox\bdump\fox_pmon_204.trc:
ORA-16072: a minimum of one standby database destination is required
Instance terminated by LGWR, pid = 3260
how can I reslove this probelm?? I need you help.......
ORA-16086: standby database does not contain available standby log filesError clearly says , there is no standby log file, so Add standby log files to the standby database. Check following link for details
Standby Redo Logs
Virag
Similar Messages
-
Data Guard Broker teasing error ORA-12514: TNS:listener
Hello,
I have spent many hours but don't understand what little thing I am missing or confusing me.. Please help to fix the issue.
Physical Standb db created successfully, but now facing following issue: Though it should be and must be fixed but really making me mad
DGMGRL> SHOW CONFIGURATION;
Configuration - DATA GUARD
Protection Mode: MaxPerformance
Databases:
dg - Primary database
Fast-Start Failover: DISABLED
Configuration Status:
DISABLED
DGMGRL> ADD DATABASE DG_DB2
> AS CONNECT IDENTIFIER IS DG_DB2
> MAINTAINED AS PHYSICAL;
Error: ORA-12514: TNS:listener does not currently know of service requested in connect descriptor
Failed.
PRIM:
db_name: DG
db_unique_name: dg
service_names: dg
STBY:
db_name: DG
db_unique_name: dg_db2
service_names: dg_db2
# TNSNAMES same entries on both Primary and Standby: HOSTNAMES are different.
DG =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = db01.domain)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = dg)
DG_DB2 =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = db02.domain)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = dg_db2)
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
(ADDRESS = (PROTOCOL = TCP)(HOST = db01.domain)(PORT = 1521)) db02.domain for Standby on standby machine.
# Listener.ora on PRIMARY:
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
(ADDRESS = (PROTOCOL = TCP)(HOST = db01.domain)(PORT = 1521))
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(GLOBAL_DBNAME = dg_DGMGRL.domain)
(ORACLE_HOME = /oracle/app/11g/db)
(SID_NAME = dg)
(SERVICE_NAME = dg.domain)
# Listener.ora on Standby:
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(GLOBAL_DBNAME = dg_db2_DGMGRL.domain)
(ORACLE_HOME = /oracle/app/11g/db)
(SID_NAME = dg_db2)
(SERVICE_NAME = dg_db2.domain)
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = db02.domain)(PORT = 1521))
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
I created Stby DB with the minimum parameters required, so that I configure BROKER and see it magic, but badly stuck in this situation here. I have read many docs related to this..but can not fix it unfortunately.
Please guide me from your own experience as note ids, blogs are not helping me here...
Bundle of thanks.
Best RegardsHi,
Your listener.ora file has SERVICE_NAME = dg_db2.domain whereas tnsnames.ora file has SERVICE_NAME = dg_db2.
Check in your database for exact service name and reflect the same in both the files.
SQL> sho parameter service_names
Restart the listener and try connecting.
Thank you!! -
How to set Data Protection Mode of a Primary Database? Setting only LOG_ARCHIVE_DEST_2 parameter will do?
Hello;
Welcome to the forum.
No. LOG_ARCHIVE_DEST_2 is almost always used to the the location of a standby database.
By default Data Guard will be in MAXIMUM PERFORMANCE mode.
Here's a short note I put together on this :
http://www.visi.com/~mseberg/protection_mode.html
Please consider closing your question if its answered.
Best Regards
mseberg -
Data guard, network disconnect error
Hi All,
we have data guard two node cluster of oracle 9iR2 on Solaris 9 SPARC, initially there were too many error coming in both Primary and standby sites, but after resolving all those problems we are now just getting following error in Alert.log of standby database
RFS: possible network disconnect with primary database
while there is NO other error/message in alert logs, we are able to do tnsping from both sites !
what might be the possible cause of the above error?
TIAHi,
the primary database is a Production database that is open and running.
here are the alert logs from them:
Primary Database:
Thu Jan 29 09:18:55 2009
Thread 1 advanced to log sequence 16629
Current log# 1 seq# 16629 mem# 0: /dev/vx/rdsk/SIDdata_dg/SID_log1_a
Current log# 1 seq# 16629 mem# 1: /dev/vx/rdsk/SIDdata_dg/SID_log1_b
Thu Jan 29 09:18:55 2009
ARCH: Evaluating archive log 4 thread 1 sequence 16628
ARCH: Beginning to archive log 4 thread 1 sequence 16628
Creating archive destination LOG_ARCHIVE_DEST_1: '/global/archive/SID/arch_SID_1_16628.arc'
Thu Jan 29 09:18:55 2009
ARC3: Evaluating archive log 4 thread 1 sequence 16628
ARC3: Unable to archive log 4 thread 1 sequence 16628
Log actively being archived by another process
Thu Jan 29 09:18:55 2009
ARCH: Completed archiving log 4 thread 1 sequence 16628
Thu Jan 29 09:19:29 2009
Thread 1 advanced to log sequence 16630
Current log# 2 seq# 16630 mem# 0: /dev/vx/rdsk/SIDdata_dg/SID_log2_a
Current log# 2 seq# 16630 mem# 1: /dev/vx/rdsk/SIDdata_dg/SID_log2_b
Thu Jan 29 09:19:29 2009
ARC0: Evaluating archive log 1 thread 1 sequence 16629
ARC0: Beginning to archive log 1 thread 1 sequence 16629
Creating archive destination LOG_ARCHIVE_DEST_1: '/global/archive/SID/arch_SID_1_16629.arc'
ARC0: Completed archiving log 1 thread 1 sequence 16629
Thu Jan 29 09:19:44 2009
Thread 1 advanced to log sequence 16631
Current log# 3 seq# 16631 mem# 0: /dev/vx/rdsk/SIDdata_dg/SID_log3_a
Current log# 3 seq# 16631 mem# 1: /dev/vx/rdsk/SIDdata_dg/SID_log3_b
Thu Jan 29 09:19:44 2009
ARC2: Evaluating archive log 2 thread 1 sequence 16630
ARC2: Beginning to archive log 2 thread 1 sequence 16630
Creating archive destination LOG_ARCHIVE_DEST_1: '/global/archive/SID/arch_SID_1_16630.arc'
ARC2: Completed archiving log 2 thread 1 sequence 16630
Thu Jan 29 09:22:24 2009
ARC1: Begin FAL archive (thread 1 sequence 16628 destination SIDdr)
Creating archive destination LOG_ARCHIVE_DEST_2: 'SIDdr'
ARC1: Complete FAL archive (thread 1 sequence 16628 destination SIDdr)
ARC1: Begin FAL archive (thread 1 sequence 16629 destination SIDdr)
Creating archive destination LOG_ARCHIVE_DEST_2: 'SIDdr'
Thu Jan 29 10:39:35 2009
ARC3: Evaluating archive log 3 thread 1 sequence 16631
ARC3: Unable to archive log 3 thread 1 sequence 16631
Log actively being archived by another process
Thu Jan 29 10:39:35 2009
Creating archive destination LOG_ARCHIVE_DEST_1: '/global/archive/SID/arch_SID_1_16631.arc'
ARCH: Completed archiving log 3 thread 1 sequence 16631
Standby database:
Thu Jan 29 03:00:37 2009
RFS: Possible network disconnect with primary database
Thu Jan 29 03:11:26 2009
RFS: Possible network disconnect with primary database
Thu Jan 29 03:22:39 2009
RFS: Possible network disconnect with primary database
Thu Jan 29 03:31:29 2009
RFS: Possible network disconnect with primary database
Thu Jan 29 03:33:40 2009
RFS: Possible network disconnect with primary database
Thu Jan 29 03:41:30 2009
RFS: Possible network disconnect with primary database
Thu Jan 29 03:44:41 2009
RFS: Possible network disconnect with primary database
Thu Jan 29 03:54:43 2009
RFS: Possible network disconnect with primary database
Thu Jan 29 04:05:44 2009
RFS: Possible network disconnect with primary database
Thu Jan 29 04:22:36 2009
RFS: Possible network disconnect with primary database
Thu Jan 29 04:33:37 2009
RFS: Possible network disconnect with primary database
Thu Jan 29 04:37:48 2009
RFS: Possible network disconnect with primary database
Thu Jan 29 04:43:38 2009
RFS: Possible network disconnect with primary database
Thu Jan 29 05:13:41 2009
RFS: Possible network disconnect with primary database
Thu Jan 29 05:45:46 2009
RFS: Possible network disconnect with primary database
Thu Jan 29 05:49:58 2009
RFS: Possible network disconnect with primary database
Thu Jan 29 06:00:00 2009
RFS: Possible network disconnect with primary database
Thu Jan 29 06:05:48 2009
RFS: Possible network disconnect with primary database
Thu Jan 29 06:31:03 2009
RFS: Possible network disconnect with primary database
Thu Jan 29 06:36:52 2009
RFS: Possible network disconnect with primary database
Thu Jan 29 06:47:53 2009
RFS: Possible network disconnect with primary database
Thu Jan 29 07:03:07 2009
regards, -
Disable the Editing Option in Employee Start Date at change Mode
Hi Expert's,
Here I have one requirement to Disable the Particular field in change mode. In Change mode the employee Start Date will possible to edit
but my client asking to disable that field. In create mode only that field should be enabled. i meant field ( PA0001-begda).
i know it is possible to restrict edit option with help of BADI and User Exit. but am looking to do in customizing option. it is possible to do?.
Thanks in Advance..
Regards,
Thangam.PHi ,
Anyone suggest me to resolve my problem.
Regards,
Thangam.P -
Data Guard - Change IP Address
I need to move two 10g R1 Data Guard servers to a new colo. This means they will need different IP addresses. I have searched for any info related to this, but did not find much.
Is there anything special that needs to be done because it is a Data Guard configuration or is making the neccessary OS changes enough? Thanks.there shouldn't be any issue if you've been using hostname to refer the servers.
just make sure the DNS is in sync
if you have any hard coded ip address in your configure file like other post mentioned, then you need to change them manually. -
Master data attribute change run error
hi all,
plz tell me the procedure to overcome the masterdata attribute change run error.plz explain me with steps clearly
thanks in advance,
jackHi Jack,
The process of Attribute change run is just the activation of the Master data same as DSO's.
In RSA1>tools>Apply Hierarchy/Attribute change run(CRTL+F9). You can check your object for which the attribute change run has to be applied through the infoobject list.
Then execute. now the attribute change run is completed.
Please ensure the infoobject is activated.
Provide us the error message to give you more details.
Regards,
Ravi -
How to upload Master data in Change mode
Hi,
I have inserted 3 vendors 1/2/3 in normal mode with BDC first. In these 3 vendors the Payment Terms code was not there initially. Then i created a flat file with the Ptems code for 3 vendors. But when i call MK02 to update, the fields do not get updated and i have to manually change them. Can anybody help me with the problem.Hi Sourav,
Y cant u do in this way better to do recording for particular fields which u want to make changes (while recording go for mk02).
Reward points if helpful.
Thanks
Naveen khan -
Hello,
I'm planning to setup DG in WAN with 1GB or less network pipe. What is the best mode to setup like Maximum availability or Maximum performanance or Max protection?
Please share the ML also .
thanksHello,
You'll find here a description of the 3 modes:
Data Guard Protection Modes
If you are not sure about the Network it's better to choose Maximum Performance (the default). By that way the Primary don't suffer from any delay in writing the redo to the Standby.
With Maximum Protection the Primary is unavailable if the redo cannot be sent to the Standby.
Maximum Availability is a go-between these 2 modes.
Anyway, think about monitoring the redo application on the Standby so as to avoid any GAP. Also, you can set the parameter "archive_lag_target" to force a switch of the redo at regular interval.
Hope this help,
Best regards,
Jean-Valentin Lubiez -
Error: ORA-16532: Data Guard broker configuration does not exist
Hi there folks. Hope everyone is having a nice weekend.
Anyways, we have a 10.2.0.4 rac primary and a 10.2.0.4 standby physical standby. We recently did a switchover and the dgbroker files automatically got created in the Oracle_home/dbs location of the primary. Now need to move these files to the common ASM DG. For this, I followd the steps from this doc:
How To Move Dataguard Broker Configuration File On ASM Filesystem (Doc ID 839794.1)
The only exception to this case is that I have to do this on a Primary and not a standby so I am disabling and enabling the Primary(and not standby as mentioned in below steps)
To rename the broker configuration files in STANDBY to FRA/MYSTD/broker1.dat and FRA/MYSTD/broker2.dat, Follow the below steps
1. Disable the standby database from within the broker configuration
DGMGRL> disable database MYSTD;
2. Stop the broker on the standby
SQL> alter system set dg_broker_start = FALSE;
3. Set the dg_broker_config_file1 & 2 parameters on the standby to the appropriate location required.
SQL> alter system set dg_broker_config_file1 = '+FRA/MYSTD/broker1.dat';
SQL> alter system set dg_broker_config_file2 = '+FRA/MYSTD/broker2.dat'
4. Restart the broker on the standby
SQL> alter system set dg_broker_start = TRUE
5. From the primary, enable the standby
DGMGRL> enable database MYSTD;
6. Broker configuration files will be created in the new ASM location.
I did so but when I try to enable the Primary back I get this:
Error: ORA-16532: Data Guard broker configuration does not exist
Configuration details cannot be determined by DGMGRL
Form this link,(Errors setting up DataGuard Broker it would seem that I would need to recreate the configuration....Is that correct ? If yes then how come Metalink is missing this info of recreating the configuration... OR is it that that scenario wouldnt be applicable in my case ?
Thanks for your help.Yes I can confirm from the gv$spparameter view that the changes are effective for all 3 instances. From the alert log the alter system didnt throw u pany errros. I didnt restart the instances though since I dont have the approvals yet. But I dont think thats required.
-
Data Guard Broker: errors ORA-16816 and ORA-16817 with Fast Start Failover
Hi,
my environment is:
OS: Windows XP Professional Edition SP2
DB: Oracle EE 10.2.0.3
Primary db: orcl
Standby db: stby
both databases are running on the same server.
I have configured Data Guard as described in the DG Administration Guide.
In the Data Guard Broker I switch to 'stby' succesfully and 'stby' is the primary db and 'orcl' is the standby db.
I switched back to 'orcl' as primary db and I get some errors:
DGMGRL> show database 'orcl' statusreport;
STATUS REPORT
INSTANCE_NAME SEVERITY ERROR_TEXT
* WARNING ORA-16817: configuration for Fast Start of Failover is not synchronized.
DGMGRL> show database 'stby' statusreport;
STATUS REPORT
INSTANCE_NAME SEVERITY ERROR_TEXT
* ERROR ORA-16816: wrong databaserole
* WARNING ORA-16817: configuration for Fast Start of Failover is not synchronized.
DGMGRL> show configuration;
Configuration
Name: DG1
Enabled: YES
Protection Mode: MaxAvailability
Fast-Start Failover: ENABLED
Databases:
orcl - Physical standby database
- Fast-Start Failover target
stby - Primary database
Current status for DG1:
Warning: ORA-16607: one or more databases failed.
I have searched for solutions on Metalink and google, but with no success.
Has anyone got this kind of problem?
Any suggestions on how to resolve it?
ThanksHi DigerDBA
I did your advice , the error disappear, and thanks for your advice , but do I need to keep standby_file_management='AUTO' or 'MANUAL' in primary and standby init files?
Am asking this because when I use the observer the failover failed and I get the following error
SQL Execution error=604, sql=[ALTER DATABASE COMMIT TO SWITCHOVER TO PRIMARY WAIT WITH SESSION SHUTDOWN]. See error stack below.
ORA-00604: error occurred at recursive SQL level 1
ORA-01275: Operation ADD LOGFILE is not allowed if standby file management is automatic.
Complete Failover operation failed in the step when attempting to convert the database to be the new primary.
Database Resource SetState Error (16771)
01/07/2014 09:14:43
Command FAILOVER TO epprod2 completed with error ORA-16771
if possible can you advice me please? -
Error: ORA-16525: the Data Guard broker is not yet available
Hi ,
After upgrading from 11201 to 11203 ON AIX GI/RDBMS on standby but have not upgraded the primary db yet.I had set dg_broker_start=false and disable configuration before i started the upgrade .
once the GI for oracle restart was upgraded i upgraded the rdbms binaries and brought up the standby on mount ,while trying to enable configuration its throwing the below error.I had already started the broker process.
SQL> show parameter dg_
NAME TYPE VALUE
dg_broker_config_file1 string /u01/app/omvmxp1/product/11.2.
0/dbhome_2/dbs/dr1mvmxs2.dat
dg_broker_config_file2 string /u01/app/omvmxp1/product/11.2.
0/dbhome_2/dbs/dr2mvmxs2.dat
dg_broker_start boolean TRUE
DGMGRL> show configuration;
Configuration - Matrxrep_brkr
Protection Mode: MaxAvailability
Databases:
mvmxp2 - Primary database
mvmxs2 - Physical standby database
Error: ORA-16525: the Data Guard broker is not yet available
Fast-Start Failover: DISABLED
Configuration Status:
ERROR
from drcmvmxs2.log
Starting Data Guard Broker bootstrap <<Broker Configuration File Locations:
dg_broker_config_file1 = "/u01/app/omvmxp1/product/11.2.0/dbhome_2/dbs/dr1mvmxs2.dat"
dg_broker_config_file2 = "/u01/app/omvmxp1/product/11.2.0/dbhome_2/dbs/dr2mvmxs2.dat"
12/19/2012 16:05:33
Data Guard Broker shutting down
DMON Process Shutdown <<12/19/2012 16:10:20
Starting Data Guard Broker bootstrap <<Broker Configuration File Locations:
dg_broker_config_file1 = "/u01/app/omvmxp1/product/11.2.0/dbhome_2/dbs/dr1mvmxs2.dat"
dg_broker_config_file2 = "/u01/app/omvmxp1/product/11.2.0/dbhome_2/dbs/dr2mvmxs2.dat"
~
Regards
Edited by: Monto on Dec 19, 2012 1:23 PMHi,
I removed the configuration and removed the broker files from RAC primary(mvmxp2) and single instance standby(mvmxs2) and re-created back.i tried it many times but getting error "ORA-16532" .I needed to have this standby backup before i start upgrading the primary.
SQL> alter system set dg_broker_start=true scope=both;
System altered.
SQL> exit
Disconnected from Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
With the Partitioning, Automatic Storage Management, OLAP, Data Mining
and Real Application Testing options
palmer60:/u01/app/omvmxp1/product/11.2.0/dbhome_2/dbs>dgmgrl
DGMGRL for IBM/AIX RISC System/6000: Version 11.2.0.3.0 - 64bit Production
Copyright (c) 2000, 2009, Oracle. All rights reserved.
Welcome to DGMGRL, type "help" for information.
DGMGRL> connect sys@mvmxp2
Password:
Connected.
DGMGRL> CREATE CONFIGURATION 'Matrxrep'
AS
PRIMARY DATABASE IS 'mvmxp2'
CONNECT IDENTIFIER IS 'mvmxp2';> > >
Configuration "Matrxrep" created with primary database "mvmxp2"
DGMGRL> ADD DATABASE 'mvmxs2'
AS
CONNECT IDENTIFIER IS 'mvmxs2'
;Database "mvmxs2" added
DGMGRL> SHOW CONFIGURATION;
Configuration - Matrxrep
Protection Mode: MaxPerformance
Databases:
mvmxp2 - Primary database
mvmxs2 - Physical standby database
Fast-Start Failover: DISABLED
Configuration Status:
DISABLED
DGMGRL> ENABLE CONFIGURATION;
Enabled.
DGMGRL> SHOW DATABASE MVMXS2;
Database - mvmxs2
Role: PHYSICAL STANDBY
Intended State: APPLY-ON
Transport Lag: (unknown)
Apply Lag: (unknown)
Real Time Query: OFF
Instance(s):
mvmxs2
Database Status:
DGM-17016: failed to retrieve status for database "mvmxs2"
ORA-16532: Data Guard broker configuration does not exist
ORA-16625: cannot reach database "mvmxs2"
DGMGRL>
tailed the drcmvmxs2.log during stop and start of the broker
palmer60:/u01/app/omvmxp1/diag/rdbms/mvmxs2/mvmxs2/trace>tail -f drcmvmxs2.log
12/19/2012 20:32:20
drcx: cannot open configuration file "/u01/app/omvmxp1/product/11.2.0/dbhome_2/dbs/dr1mvmxs2.dat"
ORA-27037: unable to obtain file status
IBM AIX RISC System/6000 Error: 2: No such file or directory
Additional information: 3
12/19/2012 20:32:55
drcx: cannot open configuration file "/u01/app/omvmxp1/product/11.2.0/dbhome_2/dbs/dr2mvmxs2.dat"
ORA-27037: unable to obtain file status
IBM AIX RISC System/6000 Error: 2: No such file or directory
Additional information: 3
12/19/2012 20:59:10
Data Guard Broker shutting down
DMON Process Shutdown <<12/19/2012 20:59:35
Starting Data Guard Broker bootstrap <<Broker Configuration File Locations:
dg_broker_config_file1 = "/u01/app/omvmxp1/product/11.2.0/dbhome_2/dbs/dr1mvmxs2.dat"
dg_broker_config_file2 = "/u01/app/omvmxp1/product/11.2.0/dbhome_2/dbs/dr2mvmxs2.dat"
Not sure how to fix this one.
Regards -
Standby recovery error on data guard
Hi,
I am creating data guard of Oracle 9i in windows server 2003. I have copied all the primary datafiles with created standby control file to standby server and issued
recover automatic standby database I am getting the below error.
SQL> recover automatic standby database;
ORA-00283: recovery session canceled due to errors
ORA-01110: data file 1: 'D:\ORACLE\ORADATA\ORCL1\SYSTEM01.DBF'
ORA-01157: cannot identify/lock data file 1 - see DBWR trace file
ORA-01110: data file 1: 'D:\ORACLE\ORADATA\ORCL1\SYSTEM01.DBF'.
File is present at OS level and since these are standby i have changed the directory name to orcl1 to orcl2.
Db version: 9.2.0.6.0
OS version: windows server 2003
Edited by: user10724679 on Feb 1, 2012 1:16 PMI am creating data guard of Oracle 9i in windows server 2003. I have copied all the primary datafiles with created standby control file to standby server and issued
recover automatic standby database I am getting the below error.
SQL> recover automatic standby database;
ORA-00283: recovery session canceled due to errors
ORA-01110: data file 1: 'D:\ORACLE\ORADATA\ORCL1\SYSTEM01.DBF'
ORA-01157: cannot identify/lock data file 1 - see DBWR trace file
ORA-01110: data file 1: 'D:\ORACLE\ORADATA\ORCL1\SYSTEM01.DBF'.
File is present at OS level and since these are standby i have changed the directory name to orcl1 to orcl2.
Db version: 9.2.0.6.0
OS version: windows server 2003
Edited by: user10724679 on Feb 1, 2012 1:16 PMWell, As per the primary/source controlfile , All datafile location points to ORCL1, But now you copied them to ORCL2, Then how oracle knows that you have changed location? So before starting MRP, you have rename all those files as
SQL> alter database rename file 'D:\ORACLE\ORADATA\ORCL1\SYSTEM01.DBF' to 'D:\ORACLE\ORADATA\ORCL2\SYSTEM01.DBF';
Like that rename all the datafiles & log files.
Then start MRP. Post if any errors. -
How to add two protection mode in oracle data guard
Hi all,
We have a discussion on oracle physical data guard yesterday.....
As we all know that data guard has 3 protection mode
1. Maximum Performance
2. Maximum Availability (Default)
3. Maximum Protection
Now we were discussing about is it possible to have two protection mode on same data guard simultaneously... for e.g. Maximum performance and maximum availability.
We have searched a lot but don't find any help on google.
Can any one help on this with any doc, pdf or links..
Thanks & RegardsHi,
you don't find anything on this because it's not possible and would make no sense even if you could do it.
Maximum Availability uses SYNC commit between primary and standby db. If you combine Max. Availabilty with Max. Performance then your db clients have to wait on commit until primary and the max. availability standby have commited. That they would not have to wait on another Max. Performance DB doesn't change anything to the client. You would only combine the disadvantages of both approaches, the wait on sync commit for max. availability and beeing not in sync with primary for the max. performance db.
The max. protection mode requires by definition that the primary db shuts down in case no standby can process the commit. If the primary is not up and running it is pointless to have another (max. availability) standby db at hand, if this max. availability db would take over the service this would violate the defintion of max. protection. No Dataloss is valued higher than db availability, having the data commited only on one db site is not allowed.
Regards
Thomas -
Grid control agent and data guard in mount mode
Hello,
I would like to know how you manage your data guards when you do not have the license for active data guard with the grid control agents. The standby database is in mount mode, so the agents cannot query the database.
What do you guys do in such cases? Remove the agent? Or wait till a switchover?Check this out with a mounted database
[lo***p02].oracle:/home/oracle > sqlplus dbsnmp
SQL*Plus: Release 11.2.0.3.0 Production on Mon Jun 4 15:52:11 2012
Copyright (c) 1982, 2011, Oracle. All rights reserved.
Enter password:
ERROR:
ORA-01033: ORACLE initialization or shutdown in progress
Process ID: 0
Session ID: 0 Serial number: 0It cannot connect.
And then
[lo****p02].oracle:/home/oracle > sqlplus / as sysdba
SQL*Plus: Release 11.2.0.3.0 Production on Mon Jun 4 15:57:49 2012
Copyright (c) 1982, 2011, Oracle. All rights reserved.
Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
With the Partitioning, Real Application Clusters, Automatic Storage Management, OLAP,
Data Mining and Real Application Testing options
SQL> select open_mode from v$database;
OPEN_MODE
MOUNTED
Maybe you are looking for
-
Dear Experts, I have done Miro for excise duty (CIN) of Import Purchase order and then posted the material document in MIGO_GR referencing PO, i have entered the Excise invoice No (created in MIRO ) in the commercial excise invoice no t
-
Handling Refunds- need a solution
My client is on 4.6c and although they are up and running in AP, the vendor and customer is not linked in customer master. Is there a solution in handling refunds? I know this has something to do with payment method however what t-codes make a refu
-
Hello All, I have a query when I create an activity, the system shows me the current date and time which is correct When I select the time it shows me an half an hour interval I need the interval to be every 15 minutes, how can I achieve the same? I
-
Why are parameters to startElement() empty in SAX handler?
I extended the SAX DefaultHandler in the standard JAXP download. The startElement() method has 4 parameters, but only the third one gets any values. Even with the tag shown below, the URI parameter is always blank as is the local name parameter. The
-
Where do i find the server name or URL?
where do i find the server name or URL for my icloud account