Oracle11g R2 Active Data guard using ASM Problem?
I have configured oracle11g r2 RAC on 2 notes using ASM Grid ( OS unix).
RAC is up and running.
Now I am configuring Active data Guard.
Under grid user instance +ASM and listener is running.
Under oracle user static listener is running.
All disk is mounted.
Oracle RAC and Data Guard directory and structure I have keeped same.
Now my problem is below:
$ ./rman target sys/HPinvent123nbl@dcpdb AUXILIARY sys/HPinvent123nbl@drpdb
Recovery Manager: Release 11.2.0.1.0 - Production on Wed Jan 16 16:28:32 2013
Copyright (c) 1982, 2009, Oracle and/or its affiliates. All rights reserved.
connected to target database: DCPDB (DBID=316773134)
connected to auxiliary database: DRPDB (not mounted)
RMAN> duplicate target database for standby from active database;
Starting Duplicate Db at 16-JAN-13
using target database control file instead of recovery catalog
allocated channel: ORA_AUX_DISK_1
channel ORA_AUX_DISK_1: SID=5644 device type=DISK
contents of Memory Script:
backup as copy reuse
targetfile '/u02/app/oracle/product/11.2.0/dbhome_1/dbs/orapwdcpdb1' auxiliary format
'/u02/app/oracle/product/11.2.0/dbhome_1/dbs/orapwdrpdb' ;
executing Memory Script
Starting backup at 16-JAN-13
allocated channel: ORA_DISK_1
channel ORA_DISK_1: SID=1897 instance=dcpdb1 device type=DISK
Finished backup at 16-JAN-13
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of Duplicate Db command at 01/16/2013 16:28:48
RMAN-06136: ORACLE error from auxiliary database: ORA-00200: control file could not be created
ORA-00202: control file: '+data'
ORA-17502: ksfdcre:4 Failed to create file +data
ORA-15001: diskgroup "DATA" does not exist or is not mounted
ORA-15055: unable to connect to ASM instance
ORA-01031: insufficient privileges
RMAN>
Please help.\
Thanks
Solaiman
root@drpdb1 []# id oracle
uid=108(oracle) gid=700(oinstall) groups=701(dba)
root@drpdb1 []# id grid
uid=109(grid) gid=700(oinstall) groups=701(dba),702(asmdba)
Edited by: 876149 on Jan 16, 2013 3:19 AM
Similar Messages
-
Create Data Guard Using ASM Managed RMAN backup
we have an oracle database 11.1.0.7 working on Windows server 2003 (64bit). The storage in ASM managed (same 11.1.0.7). Our total database size is 4TB.
I will have to create a physical standby database (Data Guard) of this instance. Now I am having issues on how to transport my RMAN backup pieces (which is also ASM managed).
I cannot do an over the network RMAN backup because it will take months to complete.
We have external 4 hard disks (2 TB each). But my RMAN backup pieces are ASM in format.
Any ideas on how to easily create a data guard in this set up.TheAlchemist wrote:
can you provide us any clear steps....Hope you asked for Restoring from backups.
1) Prepare PFILE and put in nomount status.
2) Restore standby controlfile
RMAN> restore standby controlfile from '+DG/...'
3) Mount controlfile
SQL> alter database mount standby database;
4) Restore database.
If you are restoring into another diskgroups, then use as below.
RUN {
SET NEWNAME FOR DATAFILE 1 TO '+Dg1/....';
SET NEWNAME FOR DATAFILE 2 TO "+Dg1/...';
RESTORE DATABASE
If same diskgroup you want to use then, just give RMAN> restore database;
After successful restore
5) Start MRP
SQL> alter database recover managed standby database disconnect from session; -
How to configure Enterprise Manager in Active Data Guard?
Hi,
I have installed oracle 11g r2 rac with asm in two nodes. OS is hp-Unix.
I have installed oracle11g Active Data Guard using Single alone Database.
Both RAc and Active Data Guard works fine.
I have not configure Data Guard Broker.
Question: How to configure Enterprise Manager in Active Data Guard?
Thanks
Solaimanhttp://www.gokhanatil.com/2012/04/manage-your-existing-data-guards-with.html
-
DB link problem between active Data Guard and report application database
My database version in 11.2.0.2.0 and OS is Oracle Solaris 10 9/10.
I am facing a problem in my Active data guard Database for reporting purpose. Active Data guard information is as below.
SQL> select name, database_role, open_mode from v$database;
NAME DATABASE_ROLE OPEN_MODE
ORCL PHYSICAL STANDBY READ ONLY WITH APPLY
Problem detail is below
I have created a db link (Name: DATADB_LINK) between active data guard and report application database for reporting purpose.
SQL> create database link DATADB_LINK connect to HR identified by hr using 'DRFUNPD';
Database link created.
But when I run a query using db link from my report application database I got this below error.
ORA-01555: snapshot too old: rollback segment number 10 with name "_SYSSMU10_4261549777$" too small
ORA-02063: preceding line from DATADB_LINK
Then I check Active Data Guard database alart log file and get below error
ORA-01555 caused by SQL statement below (SQL ID: 11yj3pucjguc8, Query Duration=1 sec, SCN: 0x0000.07c708c3):SELECT "A2"."BUSINESS_TRANSACTION_REFERENCE","A2"."BUSINESS_TRANSACTION_CODE",MAX(CASE "A1"."TRANS_DATA_KEY" WHEN 'feature' THEN "A1"."TRANS_DATA_VALUE" END ),MAX(CASE "A1"."TRANS_DATA_KEY" WHEN 'otherFeature' THEN "A1"."TRANS_DATA_VALUE" END )
But the interesting point if I run the report query directly in Active Data Guard database, I never got error.
So is it a problem of DB link between active Data Guard and other database?Fazlul Kabir Mahfuz wrote:
My database version in 11.2.0.2.0 and OS is Oracle Solaris 10 9/10.
I am facing a problem in my Active data guard Database for reporting purpose. Active Data guard information is as below.
SQL> select name, database_role, open_mode from v$database;
NAME DATABASE_ROLE OPEN_MODE
ORCL PHYSICAL STANDBY READ ONLY WITH APPLY
Problem detail is below
I have created a db link (Name: DATADB_LINK) between active data guard and report application database for reporting purpose.
SQL> create database link DATADB_LINK connect to HR identified by hr using 'DRFUNPD';
Database link created.
But when I run a query using db link from my report application database I got this below error.
ORA-01555: snapshot too old: rollback segment number 10 with name "_SYSSMU10_4261549777$" too small
ORA-02063: preceding line from DATADB_LINK
Then I check Active Data Guard database alart log file and get below error
ORA-01555 caused by SQL statement below (SQL ID: 11yj3pucjguc8, Query Duration=1 sec, SCN: 0x0000.07c708c3):SELECT "A2"."BUSINESS_TRANSACTION_REFERENCE","A2"."BUSINESS_TRANSACTION_CODE",MAX(CASE "A1"."TRANS_DATA_KEY" WHEN 'feature' THEN "A1"."TRANS_DATA_VALUE" END ),MAX(CASE "A1"."TRANS_DATA_KEY" WHEN 'otherFeature' THEN "A1"."TRANS_DATA_VALUE" END )
But the interesting point if I run the report query directly in Active Data Guard database, I never got error.
So is it a problem of DB link between active Data Guard and other database?
Check this note which is applicable for your environment
*ORA-01555 on Active Data Guard Standby Database [ID 1273808.1]*
also
http://asktom.oracle.com/pls/asktom/f?p=100:11:0::::P11_QUESTION_ID:8908307196113 -
Using Oracle EM 11g with Active Data Guard 11g
Has anyone installed Active Data Guard 11g with OEM 11g for an active-active state or know if there are any installation procedures with these two products? We will be installing these products this year. Thanks, Cathy
If you already have both servers configured in Grid Control as targets, it should be fairly easy to create a standby database on server B. OEM has Availability tab on your primary database Instance section should have "Data Guard" section which has "Setup and Manage" option. You follow through the wizard, and it will generate a standby database on server B. Then you can convert your standby db on server B to Active Read-only database by clicking few more buttons.
If you do not have these two servers configured on your Grid Control, that would be the first task.
We set up three standby databases using Grid Control 11g in our test boxes, and they worked very well. Our biggest problem was to actually installing the Grid Control, but once installed, everything was easy. -
What are the pros and cons using Active Data Guard vs Data Guard?
My understanding is that Active Data Guard is an additional database option for Oracle 11gR2 Enterprise Edition. I need to know the pros and cons using Active Data Guard vs Data Guard in order to decide whether to get pay extra for the Active Data Guard.
Thanks for any help.Hemant K Chitale wrote:
Before jumping in to Active Data Guard, one needs to evaluate :
a. Is there really a need to run queries on the Standby ? The Standby could / should be at a remote site so queries are "across the network". Depending on the nature of the queries and the volume of output, the "performance" of the queries may not seem to be the same.
b. If the database is not in Maximum Protection mode, the data "seen" at the standby may not be in "real-time" synch
c. Not all applications are truely read-only when querying. Some applications use "jobs" that write to tables when querying. Such would not work with Active DataGuard. (example : EBusiness Suite). There are very complicated ways of handling this -- and one needs to consider if the complications can be introduced and supported.
Over the network accessing standby read only is really not an good idea, I think no one will compare performance with primary and standby,
But some of them they want to validate data which are very critical, as it is matching with primary or not, Its an added advantage with ACTIVE DATAGUARD
Prior to that until unless stop MRP, open database and then we need to validate, So there is an interruption of recovery, I can say its also an advantage where there is no interruption of recovery. -
Urgent : ORA-01426: numeric overflow on oracle 11g Active Data Guard
Hi
I have configured Active Data Guard on oracle 11g, for reporting purpose we will select mutliple querry on target side(10 users). we are getting 'numeric overflow erro'r on alert log file When we issuing multiple query on target side. PLeae let me know is this error will cause performance degrad. if it will degrade performance mean please tell me how to resolve this problem. Why the numeric overflow is comming . and it is not comming in the primary database, it is comming in standby database only. please any one help it is very urgent
is there any parameter To overcome this problme
Please please it is very important to me and very urgent .
Thanks
nafees
Edited by: Nafees on Jan 1, 2009 3:44 AM
Edited by: Nafees on Jan 1, 2009 3:54 AMThere is no one drowning.
Your house is not on fire.
The volcano has not exploded.
Please apologize for abusing this forum by claiming your issue is more urgent than other people's requests.
Then, and only then, should anyone help you. I know I certainly won't until I read your sincere apology and promise not to be abusive in the future. -
Oracle 11g Active Data Guard help ?
Hi Friends,
I successfully setup an Active data guard environment(11g). But, I dont know when the PROD database is highly utilize , its read only tasks like reporting and backup are doing in STANDBY. How can I know which db (prod or stand by) is used for these readonly operations ?
Regards
VishIt is not so simple to direct reports to the Physical Standby as you seem to assume.
You need to do some work for the setup.
See here for a description:
http://uhesse.com/downloads/real-time-query-presentation/
Kind regards
Uwe Hesse
Don't believe it, test it!"
http://uhesse.com -
RMAN in active data guard with real time apply ON without a catalog DB
I would like to know whether I can take RMAN backups (both level 0 & incremental) in active data guard with real time apply ON without a catalog database. version is 11.2.0.3.2. Will it make difference in the control file of standby syncing with primary? Can I use these backups on primary to restore and recover the database(including control file backup)?
Thank you very much msberg. Could you please answer the below queries as well?
Should I cancel Real Time Apply before starting RMAN?
Will it make difference in the control file of standby syncing with primary? Is it possible to use these backups on primary to restore and recover the database(including control file backup)? If possible, how will I do that? -
Hi,
We have Oracle 11.2.0.4 and are currently using Active Data Guard on a physical standby. My boss wants me to use Goldengate
to replicate several schema from Oracle to SqlSserver. She doesn't want to touch the Primary, which is in production. Would it be better
to setup a Logical standby for Goldendate to use, in addition to the Physical standby? Or will it be sufficient to use the Physical standby?
The application tables don't all have primary keys. I'm trying to decide if the Logical standby adds another layer of complexity or would
introduce delays in getting the data from Oracle to Sqlserver.
Thanks in advance,Hi,
In this case I recommend you to use physical standby + Golden gate with ALO mode. You might have sligthly more trouble in logical standby. it means you might have more trouble at Goldengate's extract side.
You said
The application tables don't all have primary keys.
so you have to add keycols on replicat side.
I recommend you to add an index which should consist of keycols columns. it will be necessary for replicat performance.
Best Regards -
I have no idea where to ask this question and if I'm asking in the wrong forum I'd appreciate it if someone can direct me to the right one.
I have a physical standby server and I'd like add the Active Data Guard option to it to offload ETL processing. If I want to use named user plus licensing, how many named users to I need to pay for? There is only 1 server, 1 process, and 1 user that will be pulling data from this standby server into a SQL Server landing store database. Eventually the data will make it into a data warehouse (also SQL Server), SQL Server Reporting Services, and SQL Server Analysis Services. Between SSAS and SSRS there might be 100 distinct users on the front end, but they are all several levels removed from the standby server.
So the question is how many named users do I need to buy? The definition of "named user plus" in the licensing definitions is about as clear mud. I think I only need 1. But it could be 25 based on minimum # of users for EE. And it could be 100 if every user of SSRS and SSAS is counted individually.
I'm trying to avoid doing processor based licensing which is equally unclear but on initial impression seems to be much more expensive. The standby server in question has 2 dual core intel xeon processors, running on Windows 2008 R2. The version of Oracle is 11GR2 Enterprise Edition. If I've done the math right, processor licensing comes out to 23k.Hello;
Active Data Guard does need a license and you are in the correct forum. But only your Oracle salesperson can answer this question.
Was at Cloud Control class last month and several DBA's there thought everyone has a similar license agreement. Not true. So somebody here might guess at your answer, but in the end only Oracle's answer will count.
Best Regards
mseberg -
Hi Gurus,
I have primary db amsprd and active data guard amsprd_stby.
we are planning to apply application patches in amsprd. earlier we used to rely on rman backup for restore in case of any failures.
I would like to make use of standby as primary and keep the business up immediately after application patch failures.(to reduce the downtime - application failures are not having any rollback steps :-( - vendor product).
to achieve this,
before application patch application
do i have to just stop the log shipping?
or do i have to stop just log file apply?
what are the steps involved in case of primary applicaiton patching failures.
Thank you.So the Application Patch may turn out as a "Logical Mistake" from the Database perspective.
One option would be to stop the Apply on the Standby Database. If your Application Patch was no good, you could do an "Immediate Failover" which will open the Standby immediately without applying the received redo first like an ordinary Failover would. You would have to create a new Standby Database on your Ex Primary site then.
Another option would be to turn on Flashback Logging on both sites. If your Application Patch was ok - nothing to do. If not, flashback both sites to before the App Patch. Look here for an example:
http://uhesse.wordpress.com/oracle-database-ha-architecture/2010/08/06/using-flashback-in-a-data-guard-environment/
Second option has the benefit that you do not delay an emergency failover, should your Primary incidentally get destroyed during the App Patch. Also, if you need to rewind the Logical Mistake, you do not need to recreate the Standby completely. If you are on 11gR2, you can even turn on/off Flashback Logging without having to restart:
http://uhesse.wordpress.com/2010/06/25/turning-flashback-database-on-off-with-instance-in-status-open/
Kind regards
Uwe Hesse
http://uhesse.wordpress.com -
Active Data guard with R12.1.X
Hi
One of our customers wants to configure their EBS R12 Instance with Active Data guard
Current Architecture:
R12.0.6 with RDBMS 10.2.0.4
Projected Architecture:
R12.1.3 with 11.2.0.3 RDBMS with Active Data guard.
I have checked the MOS ID :
Using Active Data Guard Reporting with Oracle E-Business Suite Release 12.1 and Oracle Database 11g [ID 1070491.1]
Please share your ideas and doc id's to do this activity successfully.
Please share the docs to upgrade R12.0.6 to R12.1.1
Thanks
ShaikOne of our customers wants to configure their EBS R12 Instance with Active Data guard
Current Architecture:
R12.0.6 with RDBMS 10.2.0.4
Projected Architecture:
R12.1.3 with 11.2.0.3 RDBMS with Active Data guard.
I have checked the MOS ID :
Using Active Data Guard Reporting with Oracle E-Business Suite Release 12.1 and Oracle Database 11g [ID 1070491.1]
Please share your ideas and doc id's to do this activity successfully.The document you posted covers every thing in detail.
In details you can check
http://appsdbastuff.blogspot.com/2009/07/configuring-standby-databasedataguard.html
Disaster recovery for R12.1.1
Please share the docs to upgrade R12.0.6 to R12.1.1Oracle E-Business Suite Installation and Upgrade Notes Release 12 (12.1.1) for Linux x86 [ID 761564.1]
Oracle E-Business Suite Release 12.1.1 Maintenance Pack Installation Instructions [ID 752619.1]
Upgrade 12.0.6 To 12.1.1 Failed On Frmxml.odf with Duplicate Keys [ID 1094034.1]
Thanks -
Hello,
I want to configure active data guard on Oracle EBS 11.5.10.2 i need Metalink document to configure active data guard.I'll appreciate for this act of kindness.
OS=Windows 2003 (SP2) 32-bit
DB=11.2
Regards,
MerriI want to configure active data guard on Oracle EBS 11.5.10.2 i need Metalink document to configure active data guard.I'll appreciate for this act of kindness.
OS=Windows 2003 (SP2) 32-bit
DB=11.2Please refer to these docs.
Business Continuity for Oracle E-Business Release 11i Using Oracle 11g Physical Standby Database - Single Instance and Oracle RAC [ID 1068913.1]
Business Continuity for Oracle Applications Release 11i, Database Releases 9i and 10g [ID 216212.1]
Thanks,
Hussein -
In case of Active Data Guard can i run different database versions (11.2.0.3 and 11.2.0.4) at Primary and DR for production environment ? And will having RAC in environment make any difference?
Hi,
>>In case of Active Data Guard can i run different database versions (11.2.0.3 and 11.2.0.4) at Primary and DR for production environment ?
As per normal Data Guard requirement, Oracle 11.2 does support flexibility where Primary and Standby may have different hard wares such as CPU architecture and OS etc. but the Oracle RDBMS software version must be the same. Having said so does not mean it will not support it. Beginning with 11.1.07, a physical standby database can be used to execute a rolling database upgrade to a new Oracle Patch Set or database release by using the transient logical rolling database upgrade process. It means you can have with different database version but for how long, you need to check above documents.. For complete information you should read this note:
Data Guard Support for Heterogeneous Primary and Physical Standbys in Same Data Guard Configuration (Doc ID 413484.1) &
http://www.oracle.com/technetwork/database/features/availability/maa-wp-11g-transientlogicalrollingu-1-131927.pdf
2) >> And will having RAC in environment make any difference?
NO. You can find answer at - https://docs.oracle.com/cd/E11882_01/server.112/e41134/standby.htm#SBYDB4716
**The primary database can be a single instance database or an Oracle Real Application Clusters (Oracle RAC) database. The standby databases can be single instance databases or Oracle RAC databases.
HTH,
Pradeep
Maybe you are looking for
-
Address book sync google problem
I tried to sync Contacts of my Google account into the address book. I follow the steps after clicking the preferences in Address book and type the google account and password info correctly. I hit the circle icon on the top right menu bar and pull
-
Can not update Photoshop CC (2014) and receive error message U43M1D206. What do I do?
-
Event Export not working correctly.
I have a simple library, I actually use aperture, but was looking at iPhoto for a client project. I imported 3 folders from the desktop, and it created separate events; which is great. when i export the events as a web page and i open in safari, i on
-
My Adobe x pro is not launching, so i can't view pdf files ?
-
Why does this keep popping up, even on sites like yahoo?