Creation of two physical databases ensures
Hi all
11 GR 2
Rhel6.5
For single basic physical intelligence, are the init.ora parameters:
LOG_ARCHIVE_CONFIG = 'DG_CONFIG = (PROD, STBY)'
LOG_ARCHIVE_DEST_2 = "SERVICE = STBY NOAFFIRM ASYNC VALID_FOR = (ONLINE_LOGFILES, PRIMARY_ROLE) DB_UNIQUE_NAME = STBY"; "
LOG_ARCHIVE_DEST_STATE_2 = ENABLE;
The following settings are correct for the physical double standby database creation?
LOG_ARCHIVE_CONFIG = 'DG_CONFIG = (PROD, STBY, STBY2)'
LOG_ARCHIVE_DEST_2 = "SERVICE = STBY NOAFFIRM ASYNC VALID_FOR = (ONLINE_LOGFILES, PRIMARY_ROLE) DB_UNIQUE_NAME = STBY"; "
LOG_ARCHIVE_DEST_3 = "SERVICE = STBY2 NOAFFIRM VALID_FOR =(ONLINE_LOGFILES,PRIMARY_ROLE) DB_UNIQUE_NAME STBY2 = ASYNC';"
LOG_ARCHIVE_DEST_STATE_2 = ENABLE;
LOG_ARCHIVE_DEST_STATE_3 = ENABLE;
Thank you very much
JC
Hello
Just before that you create, you may need to think about that (it can help you to reduce network traffic / performance little main question)
We have two physical Standby in two ways
(1) again are shipped from the primary two databases on hold
(2) again will be sent on the eve of first and second Eve will receive repeat first aid (primary will not be directly in contact with second Eve)
Starting from your configuration.
Two standby databases will receive repeat primary, so the donc les deux two standby will be sync will be main without delay (depends on the availability of network and the mode of production)
The following settings seems good!
LOG_ARCHIVE_CONFIG = 'DG_CONFIG = (PROD, STBY, STBY2)'
LOG_ARCHIVE_DEST_2 = "SERVICE = STBY NOAFFIRM ASYNC VALID_FOR = (ONLINE_LOGFILES, PRIMARY_ROLE) DB_UNIQUE_NAME = STBY"; "
LOG_ARCHIVE_DEST_3 = "SERVICE = STBY2 NOAFFIRM VALID_FOR =(ONLINE_LOGFILES,PRIMARY_ROLE) DB_UNIQUE_NAME STBY2 = ASYNC';"
LOG_ARCHIVE_DEST_STATE_2 = ENABLE;
LOG_ARCHIVE_DEST_STATE_3 = ENABLE;
11 g in the halls, FAL_CLIENT is not mandatory, but have control over FAL_SERVER that you have two databases on hold.
FAL_SERVER--> in short where we receive archives (oracle log source where this database represent relief)
In your situation, you need to have TWO values in each database for FAL_SERVER
http://docs.Oracle.com/CD/B28359_01/server.111/b28320/initparams078.htm
Prod
--------
FAL_SERVER = STBY, STBY2
To STBY
--------
FAL_SERVER = PROD, STBY2
For STBY2
--------
FAL_SERVER = PROD, STBY
If you have parameters, above the during pass / failover wont it be a problem.
Consider allowing the return of flame in all three database (at least for the minimum retention)
Have flashback will eliminate recreation to sleep when there is failure unexpected-over(NOT Graceful fail-over)
If you choose the second option.
(2) again will be sent on the eve of first and second Eve will receive repeat first aid
Take a look on
http://docs.Oracle.com/CD/B28359_01/server.111/b28294/cascade_appx.htm
Thank you
Tags: Database
Similar Questions
-
Hello
Need of the primary database to implement the flashback database when a physical database ensures converts a standby time of the snapshot? Or something to do with the primary database? I find some documents this work to allow the return of flame for the primary databases, but I think that he didn't need to do.
Thank you
Best regards.
I did recently, I have not configured flashback on primary, only configured in the standby mode. I converted the standby database and restored the changes after the test. Primary database continued to send archives to the standby site. Instant once converted into sleep mode, as mseberg mentioned overlaps with the sync state after starting MRP.
-
synchronize two physical databases
How can I synchronize two databases SQL Modeler, or SQL dev? Whatever one will work.
Discover the characteristic of Different database in SQL Developer.
You can also create a template of each database and to compare a model to generate an alter script.
-
A physical database ensures running in noarchivelog mode
Primary database: cluster 2 node rac, 11.2.0.2 RDBMS and GI
Standby Database: single instance 11.2.0.2
OPERATING SYSTEM: AIX 7.1
Hello
I'm trying to implement a Data Guard standby system. To make this simpler system to the admin, I want to run the day before in NOARCHIVELOG mode database. This expectation is used only as a mirror of the production (to be copied to a 3rd site of activity of separate user) and will never pass mode. Now another set of archive logs seems to be redundant to me and another point of failure, so I want to disable archiving. I wanted to ask if all the experts of DG on the forums have already had experience with this? Does anyone know if this is recommended? I searched the Oracle Data guard documentation online... it is said that the primary must obviously be in mode archive, but I don't see anything specific on the standby. Please let me know if anyone has experience with this.
Thank youHello again;
If this is the case, then I have nothing to worry about here. Does that sound right to you?
Yes.
To do this:
b) monthly, shutdown this system and copy it to a 3rd site to host a separate set of business activity
I would consider this case RMAN Duplicate, you can avoid the closure.
And for that:
resync the "mirror" with production
All you have to do if SEE the primaries forward, then ENABLE and Data Guard will catch up.
-Will post a detailed example here in a moment.
From the beginning of the year, they wanted to work on our main server room (power). I've done the switchover to the waiting, but I kept log_archive_dest_state_2 on the new primary series to DEFER. Then I stop
all databases of the main site. At the end of the work two days later, I started the databases on the primary site in standby mode. Log_archive_dest_state_2 switched to ACTIVATE. While the databases were back in SYNC
I did another pass and he did. I used the TAF, and none of the users even notice.Best regards
mseberg
-
Transition to a physical database ensures
Hi all
I finished the passage to a Physical Standby Database succesfully, there is no error in change log file, but when I fire on my new primary database "select * dba_segments order by 2", then it give me following error
SQL error: ORA-00604: error occurred at the SQL level 1 recursive
ORA-06553: PLS-801: internal error [56319]
[ORA-06544: PL/SQL: internal error, arguments: [56319] [] [], [], [], [], []]
ORA-06553: PLS-801: internal error [56319]
00604 00000 - "an error occurred at the SQL level recursive %s.
* Cause: An error occurred during the processing of a recursive SQL statement
(a statement applicable to dictionary tables inside).
* Action: If the situation described by the following error stack
can be corrected, to do so; otherwise contact Oracle Support.
my version of the database is
Oracle Database 11 g Enterprise Edition Release 11.1.0.6.0 - 64 bit Production
Thank you all for the reply in advance.mohammed_dba wrote:
The President complied,
Thank you Mr. President for response even once, you are right and I found the solution, that my new version of the primary database is 11g 32 bit at the beginning it was 11g 64 bit this problem occurs, you can refer as a result of Web siteOnce again thank you all for the reply.
You are welcome. I'm happy if I can help you. :-)
-
A physical database configuration ensures in 9i
Hi all
OS: Solaris 10 SPARC x 64
DB: 9.2.0.6 x 64
I have a task to create a physical database ensures in a solaris 10 - Oracle 9.2.0.6 approx. I'm used to doing this configuration on version 11.2 of Oracle and because of that I have some doubts about the possible configurations needed to be done in a 9i database.
(1) the main question I have is in regards using RMAN. I would like to know if it is possible to restore a normal backup of my primary database in the database pending and after that, apply necessary to synchronize the day before with the primary logs archived? The controlfile I would use would be created by the RMAN command "BACKUP CONTROLFILE CURRENT for INTELLIGENCE". The RMAN script woulb be similar to the one below:
Run {}
allocate channel ch01 device type disk;
allocate channel ch02 device type disk;
allocate channel ch03 device type disk;
allocate channel ch04 device type disk;
Restore controlfile from "standby_controlfile.ctl"
SQL 'edit the editing of the database';
restore the database;
recover the database;
}
(2) the directory structure will be the same, so I think that it is not necessary to use SET NEWNAME and DB_FILE_NAME_CONVERT/LOG_FILE_NAME_CONVERT, is that correct?
(3) you have any other regarting considerations the differences between a 9i and a 11 g physical secondary Configuration?
Thank you for your attention and patience beach.
Hello;
Question 1 – see this:
http://docs.Oracle.com/CD/B10500_01/server.920/a96566/rcmstand.htm
On question 2 - work assuming RMAN then DB_FILE_NAME_CONVERT/LOG_FILE_NAME_CONVERT would NOT have to be defined in the same directory structure.
Question 3 - Check this:
http://docs.Oracle.com/CD/B10500_01/server.920/a96653.PDF
Best regards
mseberg
-
ORA-01274 on the physical database paused.
Hello
I configured a physical database ensures with * LGWR ASYNC * transport services, which works very well.
When I create a set of data files and the users on the main site, and then create a control journal, the journal of alerts to the backup site is written with error: * ORA-01274 *.
I have attributed this to a configuration problem and did the whole excerceise from the creation of the primary database of Eve databe and configure the dataguard, this time with * ARCH * transport services.
But the problem still persists. Is this normal? I was told that new tablespaces/data files will not be replicated on the site of Eve by transport services. Is this true? If so, please tell me how to reproduce them on the backup site.
If not, please help me solve the problem.
I also write, the alert log sleep here for a better understanding of the problem. Kindly go through it...
Thanks in advance,+ Clearing online redo logfile 1 /u02/app/oracle/oradata/asridb/redologs/r01.log Clearing online log 1 of thread 1 sequence number 37 Sun Mar 22 12:47:42 2009 Errors in file /u02/app/oracle/admin/asridb/bdump/asridb_mrp0_20176.trc: ORA-19527: physical standby redo log must be renamed ORA-00312: online log 1 thread 1: '/u02/app/oracle/oradata/asridb/redologs/r01.log' Clearing online redo logfile 1 complete Media Recovery Waiting for thread 1 sequence 39 Sun Mar 22 12:47:43 2009 Completed: alter database recover managed standby database disconnect from session Using STANDBY_ARCHIVE_DEST parameter default value as /u02/app/oracle/asridb/archival Redo Shipping Client Connected as PUBLIC -- Connected User is Valid RFS[1]: Assigned to RFS process 20213 RFS[1]: Identified database type as 'physical standby' Sun Mar 22 12:49:04 2009 RFS LogMiner: Client disabled from further notification Sun Mar 22 12:49:40 2009 RFS[1]: No standby redo logfiles created RFS[1]: Archived Log: '/u02/app/oracle/asridb/archival/1_39_682125307.arc' Sun Mar 22 12:49:42 2009 Media Recovery Log /u02/app/oracle/asridb/archival/1_39_682125307.arc Media Recovery Waiting for thread 1 sequence 40 Sun Mar 22 12:56:33 2009 RFS[1]: No standby redo logfiles created RFS[1]: Archived Log: '/u02/app/oracle/asridb/archival/1_40_682125307.arc' Sun Mar 22 12:56:38 2009 Media Recovery Log /u02/app/oracle/asridb/archival/1_40_682125307.arc File #5 added to control file as 'UNNAMED00005' because the parameter STANDBY_FILE_MANAGEMENT is set to MANUAL The file should be manually created to continue. Errors with log /u02/app/oracle/asridb/archival/1_40_682125307.arc MRP0: Background Media Recovery terminated with error 1274 Sun Mar 22 12:56:38 2009 Errors in file /u02/app/oracle/admin/asridb/bdump/asridb_mrp0_20176.trc: ORA-01274: cannot add datafile '/u02/app/oracle/oradata/asridb/datafiles/asrim_master.dbf' - file could not be created Some recovered datafiles maybe left media fuzzy Media recovery may continue but open resetlogs may fail Sun Mar 22 12:56:39 2009 Errors in file /u02/app/oracle/admin/asridb/bdump/asridb_mrp0_20176.trc: ORA-01274: cannot add datafile '/u02/app/oracle/oradata/asridb/datafiles/asrim_master.dbf' - file could not be created Sun Mar 22 12:56:39 2009 MRP0: Background Media Recovery process shutdown (asridb) +
Aswin.Note this line:
because the parameter STANDBY_FILE_MANAGEMENT is set to MANUAL
The file must be created manually to continue.If you want to have the automatic creation of files on the side of the watch, set this pfile/spfile to AUTO.
Werner
-
Several primary and physical databases Configuration ensures in Data Guard Broker
Hello
Is it possible to add two or several primary and physical databases configuration ensures in data guard broker?
I have 1 primary databases and two databases physical standby that is
(1) primary that is pri - (database primary)
(2) secondary i, e, s (physical pending)
(3) Secondary2 i.e. sec2 (physical pending)
Practical AM sinister place, my scenario is my pri and dry machines are in seat, if the pri crashed it switch to s that works very well and my S2 is in another area office. Suppose that if my two siege machines pri and sec crashed, so I want to do my mahcine sec2 as primary.
I have two separate computers to the broker a headquarters and a District Office
Use failure of quick start on Data Guard Broker, broker headquarters machine I have configured pri and dry but in sector office broker not able congifured pri and S2 and the machine.
can be done several primary database configuration with data bases on hold?
Has anyone done this before, or has a perform a recovery after loss of place...
need help or suggestion
thanx
No.... It is not possible. When you use the DG broker, the first thing you can do in the DGMGRL utility is to deliver CONFIGURATION to CREATE. You can see on the doc of this command that you define here the PRIMARY DATABASE.
The command to add a DATABASE to the broker, adds a new database pending. You cannot add an another primary.
The broker configuration is explicitly for a primary and all standby databases is supported. If you have an another primary, you create a separate DG broker configuration.
See you soon,.
Brian -
physical creation of the standby database
Hi master,
I tried to create physical databases Eve on the same host as my primary database, I followed the steps according to the oracle documentation.
but it always ben difficult to create one on the same machine with a different directory structure.
I just want to know what additional steps should I follow? I need to create controlfile everywhere for standby? or the same controlfile will work for me?
But if I recreate it could be the difference in thread...
What is delicate procrdure?
Thanks and greetings
VDMy dear friend... even if you create a database of watch on the same host that you don't need to recreate the controlfile. Standby Controlfile will work for you. DB_convert settings will change the path of the data files in the controlfile. If you re-create a controlfile... then it won't be identified as standby controlfile.
Concerning
-
Problem creating a Standby physical database with RMAN
Hi all
I am learning oracle dataguard and as part of the learning process of creation of database on hold.
Platform: V250-fire-Sun Sparc, Solaris 10
Version of database - Oracle 11R2
I create standby database on the same server, so the directory structure is different.
By following the instructions on the site of Oracle, I managed to create a functional physical standby database. But I'm not able to create a database with RMAN backup. Here are the steps that I follow-
1 configure all the required settings on the primary database as done in creating physical standby database manually, for example implementation force of logging, the creation of newspapers ensure etc..
2. settings edited on the primary database file as does everything in manual creation of physical database backup. Some of these changes are –
On the primary database:
*. FAL_CLIENT = "orcl11020" #Primary database unique name
*. FAL_SERVER = "stdby_11" #Standby database unique name
db_file_name_convert ='/ < dir >/oradata/stdby_11 ',' / < dir >/oradata/orcl11020 '
log_file_name_convert ='/ < dir >/oradata/stdby_11 ',' / < dir >/oradata/orcl11020 ',' / < dir > / oradata/stdby_11/redo_mem ',' / < dir > / oradata/orcl11020/redo_mem '
standby_file_management = auto
* .log_archive_config = 'DG_CONFIG = (orcl11020, stdby_11)'
* .log_archive_dest_1 = "LOCATION = / < dir > / flash_recovery_area/ORCL11020/archivelog"
VALID_FOR = (ALL_LOGFILES, ALL_ROLES) db_unique_name = orcl11020'
* .log_archive_dest_2 = "SERVICE = db_unique_name LGWR ASYNC = (ONLINE_LOGFILES, PRIMARY_ROLE) stdby_11 = stdby_11 VALID_FOR'"
*. LOG_ARCHIVE_DEST_STATE_1 = 'ENABLE '.
*. LOG_ARCHIVE_DEST_STATE_2 = 'ENABLE '.
*. LOG_ARCHIVE_FORMAT='%t_%s_%r.arc'
*. LOG_ARCHIVE_MAX_PROCESSES = 30
Copied same pfile standby database and set to date follows.
"* .control_files ='/ < dir > /oradata/stdby_11/stdby_11.ctl','/ < dir > / fra_stdby/stdby_11/stdby_11.ctl".
* .db_name = "orcl1102".
* .db_unique_name = "stdby_11".
*. FAL_CLIENT = "stdby_11."
*. FAL_SERVER = "orcl11020."
db_file_name_convert ='/ < dir >/oradata/orcl11020 ',' / < dir >/oradata/stdby_11 '
log_file_name_convert ='/ < dir >/oradata/orcl11020 ',' / < dir >/oradata/stdby_11 ',' / < dir > / oradata/orcl11020/redo_mem ',' / < dir > / oradata/stdby_11/redo_mem '
standby_file_management = auto
* .log_archive_dest_1 = "LOCATION = / < dir > / fra_stdby/STDBY_11/archivelog"
VALID_FOR = (ALL_LOGFILES, ALL_ROLES) db_unique_name = stdby_11'
* .log_archive_dest_2 = "SERVICE = orcl11020 LGWR ASYNC VALID_FOR = (ONLINE_LOGFILES, PRIMARY_ROLE)
db_unique_name = orcl11020'
3. Add the relevant information in tnsnames.ora and listener.ora files and restart the listener.
3 created the file password with the same credentials as database primary.
4.up - to-date RMAN backup primary database available.
5. create controlfile standby with rman
While the primary database s open (I tried with a primary database in montage mode as well).
$> rman/paswd@rman for catalog rman target /.
RMAN > BACKUP CURRENT CONTROLFILE TO SLEEP;
6. open a new terminal standby base and start in nomount mode using the settings created - file
$> ORACLE_SID = stdby_11
$> export ORACLE_SID
$> sqlplus / as sysdba
SQL > STARTUP NOMOUNT pfile =' < rental/initfilename.ora '
SQL > quit
$> rman AUXILIARY / target sys/passwd@orcl11020 catalog rman/passwd@rman
RMAN > duplicate TARGET DATABASE ENSURES DORECOVER;
RMAN ends without error but the archive logs is not eliminated. Looking at the newspaper, following caught my eye.
Logging of 1017 errors received on the eve
------------------------------------------------------------
Verify that the primary and standby use a password file
and remote_login_passwordfile shared or EXCLUSIVE.
and the SYS password is the same password files.
error ORA-16191
------------------------------------------------------------
FAL [client, ARC2]: error 16191 connection at orcl11020 for the extraction of the gap sequence
Errors in file /<>dir > / diag/rdbms/stdby_11/stdby_11/trace/stdby_11_arc2_24321.trc:
ORA-16191: customer main newspaper not connected waiting for shipment
Errors in file / < dir > / diag/rdbms/stdby_11/stdby_11/trace/stdby_11_arc2_24321.trc:
ORA-16191: customer main newspaper not connected waiting for shipment
Thus on primary and standby I confirmed
SQL > show parameter remote_login_passwordfile
VALUE OF TYPE NAME
------------------------------------ ----------- ------------
Remote_login_passwordfile string EXCLUSIVE
Make double sure that the password files are the same, I stop databases, delete the password and recreated with the same credentials.
Password files are called - orapworcl11020 and orapwstdby_11
Can someone guide me where thisngs wrong here please.How did you create your file of passwords on the rescue system?
I will consider your entire post and see what jumps.
* 3. Created the file password with the same credentials as primary database.*
You cannot create the password on the eve of 11.1 from file. You must COPY the password from the primary to the wait for passwords to match. What I do, is copy and rename.
E.g.
I copy orapwPRIMARY to the standby server and rename it orapwSTANDBY
(Your names varies)
It could start to work if you do this with a stop and restart of recovery on the day before. Newspapers make up probably just.
If you find this helpful please mark as well.
Best regards
mseberg
Published by: mseberg on July 7, 2011 07:16
A few things about the parameters (they can make no difference)
This
Log_archive_dest_1 =' LOCATION = /
/flash_recovery_area/ORCL11020/archivelog VALID_FOR = (ALL_LOGFILES, ALL_ROLES) db_unique_name = orcl11020' Would it be
Log_archive_dest_1 =' LOCATION = USE_DB_RECOVERY_FILE_DEST VALID_FOR = (ALL_LOGFILES, ALL_ROLES) db_unique_name = orcl11020'
Not sure that you need.
LOG_ARCHIVE_FORMAT='%t_%s_%r.arc'
-
How to create a Pool of connections to two different databases in OBIEE
Hello
I have a requirement where few reports coming from databases and a few others to another database. I created two pools of connections and added the frame connection details. But when I created the report I get error as below.
State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error occurred. [nQSError: 43113] The message returned by OBIS. [nQSError: 17001] Oracle error code: 942, message: ORA-00942: table or view does not exist to the call of the OCIStmtExecute OIC. [nQSError: 17010] Prepare the SQL statement failed. (HY000)
Now, I would like to see if I can create a pool of connections to two different databases. If so, how that happen.
Thank you!
Hi Antonio,.
Cross database joins are possible, no problem for it. But you do not do so in an object of unique data base in the physical layer using 2 pools of connections connection to the source A and B, then adding objects to A and B children of your unique database.
You create 2 databases in the physical layer, each with its own connection pool, then you can do your knuckles crossed on the physical schema.
As a picture is worth a thousand words, take a look:
The physical diagram uses objects of A and B and define the rules of the join between them, it is a cross-database join. But in the physical layer of the database A and B are 2 separate objects each with its own pool of connections.
-
How to apply the physical database design
I imported the tables in my physical database and made some design changes. Now how can I apply the changes to my physical database?
On the Tools menu, patterns for comparison/merging of views can make the comparison between registered design but no physical database?
Published by: 871744 on April 10, 2012 20:31In the right part of the main toolbar, there are two blue arrows for synchronization to/from the data dictionary.
-
transformation of the two different database table
Hi all
I am trying to load the table from a database table to another table of database in ODI 10 g. I created two physical and logical topology.
But when in the design of the interface I drag source and target tables in the diagram window, but here he doesnot shows the auto mapping options, when I try manually by dragging a field, I failed. When I run the operation the following error has occurred:
Create or replace view db1. "" C$ _0 W_INT_ORG_D.
(
)
in select
from db1. W_INT_ORG_DS W_INT_ORG_DS
where (1 = 1)
Here db of the source and the target are the same...
How can I solve itClick the field to the target. And then in the expression editor to write
sourcetable_alisname. FieldName
As do this for all columns, then save and close the interface.
Now open your interface, and then click on any target filed. You should see the filed source raised is automatically informed.If everything is ok then its done.
Thank you
-
Is it possible to create physical databases Eve from an another standby database?
Is it possible to create physical databases idle for another physical standby database? I intend to create the second physical standby database, but I don't want to add more downtime to the production database to create the second database pending.You don't have to get the amount of Production downtime. Copy instead, ensure another wait. But, adds the second Eve also in Production for Archive log shipping.
-
Hi allWe had two P6 database instance as a DEV and PROD
We want to configure the web client so that the user can select either DEV or PROD according to the requirement by the same URL.
Can you please tell me what I need to do in the web to work with two DB instance client?
Normally, changes are reflected without bouncing the middle tier (weblogic Server). If t is not then rebound / restart the server managed by admin / when P6 application is deployed.
Kind regards
Sachin Gupta
Maybe you are looking for
-
How to add the Firefox search bar
I would like to add the search bar Firefox 35.0.1 for me to change search engines. How can I do this? Thank you
-
When my \\serveur\partage\direct window is not centered
When my browser opens the display is cut on the right side of the screen and I can't drag in view
-
I can't load Adobe version 8! The error comes back and says I need a newer version of Windows install. I use Windows 2000 service pack 4. What version of Windows install can I load?
-
BlackBerry Smartphones how is the exact procedure?
I have search the Forum but couldn't find exactly how to transfer contacts from my old phone to my new BB "BOLD". Can someone tell me the exact procedure to do? To be more precise, I have Nokia E65 and would like to transfer all the contacts in my ne
-
Charging of the battery/blackBerry Smartphones Blackberry problems
... My Blackberry has problems. One night I plugged it to load (I always charge it all night, I think it's about 10% charge left). The next morning, I discovered that although I had plugged everything, it didn't load. So he then stop and not restart.