10g dataguard - physical intelligence database
Hi guys,.Db1 < primary - > Production
DB2 < knows standby - > DR
I need to start my DB2 in DR segment for testing.
If I make below, will this affect my Production DB? I need it to be in place and works as well.
DR:
recover managed standby database cancel;
stop immediately;
startup nomount;
ALTER database base_de_donnees eve of Mount;
recover database until cancel; pending
ALTER database activate standby database;
Thank you
dbaing wrote:
My question is, will it decrease my production db if I activate the database pending?
Thank you
No, it won't lower db output by activating the standby mode
It may be useful
See you soon
Tags: Database
Similar Questions
-
Questions concerning the creation of a database of physical intelligence 10 gr 2
I'll set up a physical standby database in a test environment using both windows 2003 servers. I was wondering if anyone could answer a few questions, on which I do not really understand. I have been through the manual of data protection and as much information I can find online. I may work but wanted to post things that I'm not sure I did quite right.
My tnsnames.ora files.
On my primary database server:
tnsnames.ora # Network Configuration file: F:\oracle\product\10.2.0\db_1\NETWORK\ADMIN\tnsnames.ora
# Generated by Oracle configuration tools.
PRIMARY =.
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP) (HOST = SERVER1)(PORT = 1521))
)
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = PRIMARY. Mydomain.com)
)
)
STANDBY =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP) (HOST = SERVER2)(PORT = 1521))
)
(CONNECT_DATA =
(SERVICE_NAME = STANDBY. Mydomain.com)
)
)
On my physical server to the standby database:
tnsnames.ora # Network Configuration file: f:\oracle\product\10.2.0\db_1\NETWORK\ADMIN\tnsnames.ora
# Generated by Oracle configuration tools.
STANDBY =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP) (HOST = SERVER2)(PORT = 1521))
)
(CONNECT_DATA =
(SERVICE_NAME = STANDBY. Mydomain.com)
)
)
PRIMARY =.
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP) (HOST = SERVER1)(PORT = 1521))
)
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = PRIMARY. Mydomain.com)
)
)
My Listener.ora files:
On my primary database server:
listener.ora # Network Configuration file: F:\oracle\product\10.2.0\db_1\NETWORK\ADMIN\listener.ora
# Generated by Oracle configuration tools.
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(GLOBAL_DBNAME = PRIMARY. Mydomain.com)
(ORACLE_HOME = f:\oracle\product\10.2.0\db_1)
(SID_NAME = primary)
)
)
LISTENER =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = server1.mydomain.com) (PORT = 1521))
)
On my physical server to the standby database:
listener.ora # Network Configuration file: f:\oracle\product\10.2.0\db_1\NETWORK\ADMIN\listener.ora
# Generated by Oracle configuration tools.
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(GLOBAL_DBNAME = standby.mydomain.com)
(ORACLE_HOME = f:\oracle\product\10.2.0\db_1)
(SID_NAME = sleep)
)
)
LISTENER =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = sever2.mydomain.com) (PORT = 1521))
)
I'm not sure I call after creating the control for use in standby file.
A primary server that I created using the:
change the database create controlfile as 'sbcontrol01.ctl ';
I copied the database pfile primary I had created earlier to the standby server, renames and edited.
Initially, I left the CONTROL_FILES = parameter pointing to the control01.ctl, the control02.ctl and the control03.ctl that I restored. But I was getting the error ORA-01665: control file is not a standby control file
So I copied the sbcontrol01.ctl to sbcontrol02 and sbcontrol03.ctl and stressed the CONTROL_FILES = setting at home.
The error disappeared and the database came. I still need to test it even more, but I wanted to see if I was doing the correct or a stroke of luck.
Edited by: tjohnson on March 23, 2009 14:26This seems correct, you could have also just named Eve controlfiles to control01, as your principal is 02.etc.
-
How to open a physical standby database "Manual" in read/write mode
Hello
I am running Oracle Database 10g Release 10.2.0.3.0 - 64 bit Standard Edition Production on Linux version 2.6.9 - 42.0.8.ELsmp ([email protected]) (version gcc 3.4.6 20060404 (Red Hat 3.4.6 - 3))
I created a physical standby database, but since I am running Standard Edition, I don't use the features in DataGuard. I use the utility rsync to copy on the data pending archivelogs, and I periodically applied to the standby database.
The standby database is started in this way:
startup nomount pfile='/u01/oradata/orcl/initorcl.stdby';
ALTER database base_de_donnees eve of Mount;
Everything works perfectly, I can "open database in read-only alter" and then I can make selects in the tables to confirm that everything is up-to-date.
The thing is, if I stop the database and then perform the boot simply:
stop immediately;
start-up;
The database opens with an error message, but it is always in read-only mode...
I read that the default behavior for a database ensure must open read-only, as I am experiencing, but I would like to know what is the right way to open it in read-write mode correctly (I understand that after this, my watch will not standby more and I need to recreate my database pending).
Thank you
CarpetTry: -.
ALTER database activate standby database;
This should open read-write (you will not be able to recover thereafter)
-
Block corruption on the physical Standby database
Hi all
Operating system: HP Unix
DB: 10.2.0.4
We are facing corruption block on our database of physical intelligence. The same has been detected using commands below and several blocks were found to be corrupt.
RMAN > backup validate check the logic of database;
SQL > select * from v$ database_block_corruption
As it is a basic data watch no backup is present, pulling the command below did not help
RMAN > list of corruption block restoration;
I think taking the incremental backup of the PR and the same application on DR, y at - it another way to eliminate corruption said?
Kind regards
Sphinx
You can check below link if corruption block results nologging, there is a thread already with the question.
Block corruption on the standby database
10.5.2 steps of recovery for databases physical standby
-
Problem with data hold creating a Physical Standby Database turorial
There is a tutorial for creating a Data Guard Physical Standby Database:
http://www.Oracle.com/technology/OBE/11gr1_db/HA/DataGuard/physstby/physstdby.htm
I tried to install it on two servers. One for a primary database (deuxieme for the physical standby.
I have the error on creating C. the database of watch on the #6 action network:
«On the rescue system, set the ORACLE_SID to your < SID physical standby > environment variable (i.e. orclsby1) and start the instance in NOMOUNT mode with the text initialization parameter file.»
When I try to connect to the instance that is idle, there is an error pops up:
C:\ > sqlplus / as sysdba
SQL * more: version 11.1.0.7.0 - Production Thursday, May 21, 16:28:10 2009
Copyright (c) 1982, 2008, Oracle. All rights reserved.
ERROR:
ORA-12560: TNS:protocol adapter error
I ' v checked listener, and it is managed. There is no database service because there is still no database.
The question is did some data installed a guard configuration using this tutorial? Are there errors in there? What should I do to complete the installation?On Windhose for any service must have been created using the oradim command.
Oracle tutorials are usually centered on Unix, because Windhose is an odd man out, so they do not discuss.
"Please do the needful" and create the service before the beginning of the instance in nomount modeTip: oradim is documented and has a help = clause of y.
IIRC there is an option in control database (in the part of the interview) that automates everything.
----------------
Sybrand Bakker
Senior Oracle DBAExperts: those who read documentation
-
How to change the character of database defined on the physical standby database?
Hello
We hear a database to WE8ISO8859P1 character and migrated the character set using csscan/csalter scripts to WE8MSWIN1252. This database has a configuration also physical standby database, and after the migration, the database physical standby shows always defined as WE8ISO8859P1 character. How can I change the characters on the physics of the day before? I asked a Service request with Oracle, and they said that you re-create the database pending is the only way to support the development of the tank set to the standby database. Is this true?
Thank you
AnthonyYou have received good advice from the Support of Oracle, so I recommend doing a complete refresh of Eve, but if you want to play with fire...
On the elementary level, you can: -.
target connection.
RUN {}
ALLOCATE CHANNEL disk1 DEVICE TYPE DISK FORMAT ' / home/oracle/rman_%d_%T_%s_%p';
BACKUP CURRENT CONTROLFILE TO SLEEP;
}or
ALTER DATABASE CREATE STANDBY CONTROLFILE AS ' / home/oracle/standby.ctl';
Then you stop the watch, replace the with the new primary backup controlfile and make sure that file names are correct (select name from v$ datafile). If the file names are correct, start the recovery. Otherwise, rename files, or difficulty with the rman command 'catalogue start with '.
-
Primary database is RAC and physical intelligence is the single instance
Hi all
I use Oracle RAC 11.2.0.3 as primary database, we will begin to use the Oracle Data Guard.
I am designing my infrastructure and planing to use single instance Oracle 11.2.0.3 my stand physical database.
My question is it possible to have my sleep as single instance database while the primary is RAC?
is it possible to build my Oracle database single instance ensures from the primary database to the RAC, RMAN backup?
Are there restrictions (or all of the points to consider) as my primary database is CARS while the physics of Eve is the only Oracle instance?
in the link below
[http://docs.oracle.com/cd/B28359_01/server.111/b28294/concepts.htm#i1039416]
It was mentioned that primary can be CARS or simple and even the day before, but my question is possible to have primary as CARS all on standby as single instance? or it should be like each other?
Kind regardsThe primary database can be either a single-instance Oracle database or an Oracle Real Application Clusters (RAC) database. Similar to a primary database, a standby database can be either a single-instance Oracle database or an Oracle RAC database.
http://docs.Oracle.com/CD/B28359_01/server.111/b28294/rac_support.htm
-
10g DataGuard, changing to dgmgrl
Hello
$ sqlplus / as sysdba SQL*Plus: Release 10.2.0.4.0 - Production on Thu Dec 9 19:14:59 2010 Copyright (c) 1982, 2007, Oracle. All Rights Reserved. Connected to: Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bit Production With the Partitioning, OLAP, Data Mining and Real Application Testing options SQL> select NAME,OPEN_RESETLOGS,SWITCHOVER#,DATABASE_ROLE from v$database; NAME OPEN_RESETL SWITCHOVER# DATABASE_ROLE --------- ----------- ----------- ---------------- KMC NOT ALLOWED 3014887948 PRIMARY SQL>
So we have a custodian of ASYNCHRONOUS data. You want to automate via dgmgrl now.how to do?select NAME,OPEN_RESETLOGS,SWITCHOVER#,DATABASE_ROLE from v$database; NAME OPEN_RESETL SWITCHOVER# DATABASE_ROLE --------- ----------- ----------- ---------------- KMC REQUIRED 3014887948 PHYSICAL STANDBY SQL>
Get info:
sysname = HP - UX
nodeName = kmcpgw2
release = B.11.23
version = U (unlimited-user license)
machine = ia64
IDnumber = 1488128101
vmunix outputversion:
@(#) $Revision: vmunix: B11.23_LR FLAVOR = perf Fri Aug 29 22:35:38 PDT $2003
$
Kind regards$ swapinfo -m Mb Mb Mb PCT START/ Mb TYPE AVAIL USED FREE USED LIMIT RESERVE PRI NAME dev 7408 0 7408 0% 0 - 1 /dev/vg00/lvol2 dev 19604 0 19604 0% 0 - 1 /dev/vg01/lvol1 reserve - 1889 -1889 memory 16352 4294 12058 26% $
See the link:-hope this will help you.
http://blogs.Oracle.com/AlejandroVargas/gems/DataGuardBrokerandobserverst.PDF
http://oracleinstance.blogspot.com/2010/01/configuration-of-10G-Data-Guard-Broker.html
http://gjilevski.WordPress.com/2010/03/06/configuring-10G-Data-Guard-Broker-and-observer-for-failover-and-switchover/Good luck.
-
DataGuard and Flashback database
Any sense to run a database (using the flashback database) when using Dataguard.
We don't talk about uptimeWhen to use database of flashback? (to decline the upgrades?)
0 protection against human errors
1 flashback database
2 flashback Data Archivealso should we run dataguard in a physical standby or a logical standby configuration
1 physical standby
And effect seen use "logical standby".Kind regards
Taj -
EBS R12 dataguard physical standby
Hi all
BSE R12.2.4
RHEL 6
Most of the physical standby of companies used to be opened read only for reports.
It comes to unload part of the load of PROD for better performance.
Most of the reporting tools are 3rd party like Jasper, Crystal, Java, .net, Apex, Toad, Sqldev, etc.
My question is can a simultaneous Manager EBS reports can execute on a database read-only?
Thank you very much
JC
Also
Using Active Data Guard and discoverer of generation of Oracle E-Business Suite release 12.1 reports and a database in Oracle 11 g or 12 c pending physical (Doc ID 1070491.1)
Using Active Data Guard of generation of Oracle E-Business Suite 12.2 version reports and databases Oracle 11 g (Doc ID 1944539.1)
-
Oracle 10g of MSSQL 2005 database link
Hello
We are configuration link database to oracle 10g of mssql 2005
Thanks to the heterogeneous connectivity. We get the following error when testing database link.
ORA-28500: connection between ORACLE and a non-Oracle system has sent this message:
ORA-28541: error in the HS on line 1 init file.
ORA-02063: preceding 2 lines of < SID >
28500 00000 - "connection between ORACLE and a non-Oracle system has sent this message:
* Cause: The cause is explained in the forwarded message.
* Action: See documentation for the non-Oracle of the transmission system
Message.
Error on line: column 4:19
Can someone guide correct configeration of Hetrogeneous Service and why the error arises.
Thank you
Basu,
Dg4ODBC gateway can be used with the 10.2.0.5 database. It is certified and no additional license is required for the database to ODBC gateway - the license is included in the license database (even when the Oracle database is still version 10.2) AND you can also install Dg4ODBC on another machine, then the Oracle database. There is no need to have Dg4ODBC installed on the same computer as the Oracle database.
-When you install DG4ODBC on the same machine as your Oracle 10.2 database, then install in its own, separate OH - otherwise you will corrupt your existing installation of the database.
-Klaus
Post edited by: kgronau
-
Hi all
11.2.0.1
AIX 6.1
My boss asked me to change each month the SYS and SYSTEM password database to the PRIMARY and STANDBY database.
Is my standby DG db archivelog updates affected by these changes to password?
Thank you very much
zxy
So it seems do not resolve the issue since you will always change password for security reasons, just a loop question
You must read this link to clear all REDO_TRANSPORT_USER. Mr. Mahir Quluzade | Blog of Oracle: Oracle DataGuard 11 g - Redo Transport user
-
Hello
Need good documentation, pdf or links to understand the concept of database paused and its application in Oracle 11.2.0.0.0Check out this Oracle for Concepts documentation
http://docs.Oracle.com/CD/E14072_01/server.112/e10700/TOC.htm
http://andrewfraserdba.com/2011/08/09/Oracle-Data-Guard-overview/
For the implementation
https://blogs.Oracle.com/AlejandroVargas/resource/DataGuard/how%20To%20create%20A%20physical%20standby%20database%20using%20Rman%20Duplicate%20command.PDF
-
The upgrade of physical standby database
Hi guru,.
We have Oracle 11 GR 2 (11.2.0.1) in a production of single instance database. This prod db has a physical database Eve sitting on another server. We would like to improve our prod & Eve at 11.2.0.3
I remember reading a document of MOS on the upgrade of the previous day, but unfortunately not able to find.
Grateful if you could guide me.
Thank you
PremPL see this Doc MOS and the Docs of MOS, he made reference to
How to level one database and secondary physical to Oracle10gR2 (10.2) [ID 407040.1]
HTH
Srini -
10g Grid Control with database 11g
Hello
According to the name of the topic, it is possible to manage a database 11g with 10g grid control? The situation is that 10g grid is up and running and we have several new 11g databases, can they be added?
After that, when I try to install an agent from the web interface, I'm invited only with the Linux platform, however the 11g database is under Windows, how can this be resolved? (Enterprise Manager Grid Control works on linux)
Thank you very much for the input.Mika wrote:
HelloAccording to the name of the topic, it is possible to manage a database 11g with 10g grid control? The situation is that 10g grid is up and running and we have several new 11g databases, can they be added?
Yes, it can. But better to use the Agent and the Group of OEM Grid Control 10.2.0.5 patch.
Learn more Oracle Enterprise Manager Grid Control Certification Checker ID 412431.1*.After that, when I try to install an agent from the web interface, I'm invited only with the Linux platform, however the 11g database is under Windows, how can this be resolved?
Not sure I understand how you install the agent, could you clarify? It comes from the OEM Grid COntrol? Have you downloaded the Agent for Windows?
Nicolas.
Note added MOS
Published by: 399642 on November 30, 2010 11:51
Maybe you are looking for
-
How can I open now two copies of the same page
As a shortcut to business I cut and paste a copy of one web page to another copy. The new feature does not allow two copies of the same page. Is there a way to force the two copies?
-
Hello all, I just noticed that my Apple Watch (stainless steel 42mm). Drag to the right or left when I'm in the message section I don't know what the problem? can someone enlighten me please? ! I have reset a few times and I have firmware (2.2) updat
-
A few questions about the recovery image installation
A recovery USB drive created using the Recovery Media Creator contains the Windows operating system and is it the Windows key to reinstall - how it is activated. Is it different for the repair disk. Can be used for a new installation of Windows 7 on
-
HP Pavilion DV7t-6000 - product number: XW899AV - replacement Fan
Hello I need to replace my fan. Looking at the manual, I see two differnet options to determine what I need spare part, but am not sure what graphics subsystem I. I want to be sure that I have order the right part. Please let me know if you need ad
-
Windows 7 Home premium 64-bit sp1 is not detecting wireless networks.
I bought a second hand HP Altec Lansing with Windows 7 Home Premium 64 - bit sp1 on 20/02/2014 and on the current (22/02/2014) Internet has stopped working completely! It says no connection available when my room is larger than the router! I tried to