DataGuard (activate a physical standby as a stand-alone database database)?
Hi all
Can I please ask advice on how it would activate a physical database ensures for 11.2.0.4?
Note - I do not want to return the "standby" to watch again...
Note 1 – I don't have (and don't use flashback technology to do this) - so I can't use a watch "snapshot"...
Note 2 - the 'primary' current cannot be touched.
Something like below?
Repeat stop applies to pending
SQL > alter database recover managed standby database cancel;
Stop redo pending transaction logs.
PRIMARY
SQL > ALTER SYSTEM SET LOG_ARCHIVE_DEST_STATE_2 = DELAY;
Activate and open the database physical sleep.
Physical STANDBY
SQL > ALTER DATABASE ENABLE PENDING DATA base;
SQL > STARTUP MOUNT FORCE;
SQL > alter database base_de_donnees ensures together to improve performance;
SQL > ALTER DATABASE OPEN;
Concerning
It wouldn't affect Production (primary). It's just the steps of failover.
The same applies to the role transition, but in a role transition, you must first pass at the primary level of Eve and the day before, you must run the digital switchover to make primary.
You could refer to this https://docs.oracle.com/cd/E11882_01/server.112/e41134/role_management.htm#SBYDB4769 you would get to the difference of the steps for the passage and failover.
-Jonathan Rolland
Tags: Database
Similar Questions
-
11g Question: Stand alone database vs single node cluster
We are about to create a new 11.2.0.3 database that will eventually become a 11.2.0.3 in cluster database. Our host servers are hardware IBM pSeries AIX 6.1 running. We will use just Oracle Clusterware and not IBM HACMP. We also plan to use ASM for database storage. The plan is ultimately to have a 2 or a 3-node cluster, but currently, we have only an AIX server available to us.
My question concerns our initial approach to the installation.
It is preferable to install the Oracle database as a stand-alone database first and then convert the database to a RAC cluster as soon as we have the material for the second node? Or would it be better to create the cluster with a single node and install and configure grid Clusterware for a single node cluster and then add the second node when the material becomes available?
I apologize if my explanation is not very clear. Any notice will be considered and appreciated. Thank you.Hello
We are about to create a new 11.2.0.3 database that will eventually become a 11.2.0.3 in cluster database. Our host servers are hardware IBM pSeries AIX 6.1 running. We will use just Oracle Clusterware and not IBM HACMP. We also plan to use ASM for database storage. The plan is ultimately to have a 2 or a 3-node cluster, but currently, we have only an AIX server available to us.
My question concerns our initial approach to the installation.
It is preferable to install the Oracle database as a stand-alone database first and then convert the database to a RAC cluster as soon as we have the material for the second node? Or would it be better to create the cluster with a single node and install and configure grid Clusterware for a single node cluster and then add the second node when the material becomes available?
If you are planning to ACTIVE/PASSIVE here database my option:
{message: id = 10138477}If you are planning in the future use a RAC database:
{message: id = 10142640}If you plan use CARS in the future, you can install Oracle Clusterware without worry about licenses.
Oracle Clusterware can serve to protect any application (reboot or otherwise on the application failure), free of charge, if one or more of the following conditions are met:
- At least one of the servers in the cluster is allowed for the Oracle database (SE or EE)
http://docs.Oracle.com/CD/E11882_01/license.112/e10594/editions.htm#CJAHFHBJIf you ARE database Oracle or EA (i.e., not one SE), you can install the product Oracle Clusterware and Oracle RAC (EE to buy the RAC Option) in a node later you can stretch clusterware adding additional nodes, and more database instance.
You do not need to create a RAC database, you can create a single database (i.e. Non-RAC) on OH software Oracle RAC using DBCA.
Although I prefer that you create a database of CAR Policy-Managed database... which makes the dynamics and the automatic (i.e. managed by Clusterware) creation/deletion of instances. You will use a POOL with a knot... later you can add more nodes in that POOL... Oracle Clusterware/PAP automatically create undo/redo/instances on the new nodes added to this POOL.
All this is transparent to your customers of Oracle.Oracle Grid Infrastructure for a stand-alone server (Oracle Restart) is an option only if you plan used to one node. If you are using more than one node... Start with Oracle Grid Infrastructure for a Cluster (Oracle Clusterware).
Hope this helps,
Levi PereiraPublished by: Levi Pereira on March 12, 2012 13:58
-
Oracle Database Express Edition used in a stand-alone database
I have developed databases for years in access. I had a lot of people want me to databases for them. I don't want to make databases in access and then have to worry about sending a database to a different State and then find out that the user has a different version of access installed and it does not work properly.
Can I use Oracle database Express edition to create a database with a front end that I can send to others and they can install on their computer and run it? Or do need to install the full Oracle Express? In other words, is there like a version of the Runtime?user13756579 wrote:
I saw that you had to install twice last night, messed up my password. The only thing that that worries me is the database always current running on the user's computer, when well even that they could not use the database for months at a time. These databases are of small databases to keep the data of the members of the group. That is to say. name, address, phone number, personal information and perhaps a scanned document or two.I have looked at other database programs, but won't put a lot of money if I could develop only 3-5 small databases annually.
You can develop your application in such a manner, that it will start service Oracle XE and stop it at the exit. Set the service to start manually. That's all.
-
file/etc/hosts for a stand-alone database
Dear Experts,
I'm installingOracle 10g R2 on RHEL-5 EE on a VMWare environment for learning purposes. I have configured my file "/ etc/hosts" as:
and the output of "ifconfig" is:[oracle@dbhost oui]$ cat /etc/hosts # Do not remove the following line, or various programs # that require network functionality will fail. 127.0.0.1 localhost.localdomain dbhost.mydom.com localhost dbhost 192.168.1.101 dbhost.mydom.com dbhost 192.168.1.100 dbhost2pc.mydom.com dbhost2 [oracle@dbhost oui]$
What's my configuration "/ etc/hosts" correct?[root@dbhost ~]# ifconfig eth0 Link encap:Ethernet HWaddr 00:0C:29:22:AE:4A inet addr:192.168.1.101 Bcast:192.168.1.255 Mask:255.255.255.0 inet6 addr: fe80::20c:29ff:fe22:ae4a/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:354 errors:0 dropped:0 overruns:0 frame:0 TX packets:9 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:47459 (46.3 KiB) TX bytes:546 (546.0 b) Interrupt:10 Base address:0x2024 lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 inet6 addr: ::1/128 Scope:Host UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:2392 errors:0 dropped:0 overruns:0 frame:0 TX packets:2392 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:3039139 (2.8 MiB) TX bytes:3039139 (2.8 MiB) [root@dbhost ~]#
Is it mandatory to have the first line with "127.0.0.1..."?
Thank you for taking the time to answer a very basic question.
Good byePrem Kumar says:
Dear Experts,I'm installingOracle 10g R2 on RHEL-5 EE on a VMWare environment for learning purposes. I have configured my file "/ etc/hosts" as:
[oracle@dbhost oui]$ cat /etc/hosts # Do not remove the following line, or various programs # that require network functionality will fail. 127.0.0.1 localhost.localdomain dbhost.mydom.com localhost dbhost 192.168.1.101 dbhost.mydom.com dbhost 192.168.1.100 dbhost2pc.mydom.com dbhost2 [oracle@dbhost oui]$
and the output of "ifconfig" is:
[root@dbhost ~]# ifconfig eth0 Link encap:Ethernet HWaddr 00:0C:29:22:AE:4A inet addr:192.168.1.101 Bcast:192.168.1.255 Mask:255.255.255.0 inet6 addr: fe80::20c:29ff:fe22:ae4a/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:354 errors:0 dropped:0 overruns:0 frame:0 TX packets:9 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:47459 (46.3 KiB) TX bytes:546 (546.0 b) Interrupt:10 Base address:0x2024 lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 inet6 addr: ::1/128 Scope:Host UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:2392 errors:0 dropped:0 overruns:0 frame:0 TX packets:2392 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:3039139 (2.8 MiB) TX bytes:3039139 (2.8 MiB) [root@dbhost ~]#
What's my configuration "/ etc/hosts" correct?
That's if you want all references of this machine 'dbhost' or 'dbhost.mydom.com' to resolve to address IP 192.168.1.101 and all references of this machine to 'dbhost2' or 'dbhost2pc.mydom.com' to resolve the IP 192.168.1.100.
Is it mandatory to have the first line with "127.0.0.1..."?
No, it can be anywhere in the hosts file. Strictly speaking, it is not yet mandatory to have at all, but as the poster said, if you delete it, some features may be lost.
All net communications should go down to an IP address. The hosts file is nothing else that a mechanism to map a name to IP address. This allows you to return a destination by name, and really, this name can be anything you want. Resolving to 127.0.0.1 ' localhost' is a universal standard which depend on some process.
>
Thank you for taking the time to answer a very basic question.
Good bye
-
2nd physical standby (dataguard)
Hi all
11.2.0.3.11
Can you give me docs on how the program installation/create/configure a 2nd physical standby (dataguard)?
Thank you all,
MK
Hello;
Sorry for the delay. I live on the other side of the world, and I have a few questions to do with my family.
Port 1521 is the default value for the listener, so if your listener uses different ports, they need to be taken into account in the firewall.
The error you are getting is related to network. You check the configuration of the receiver and confirm the port you are using.
Best regards
mseberg
-
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)
-
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)
-
Here's my question after tons of research and test without have the right solutions.
Target:
(1) I have a 12.1.0.2 database unique main enterprise 'testdb' as database instance running on the server "node1".
(2) I created physical standby database "stbydb" on the server "node2".
(3) DataGuard running on the mode of MaxAvailability (SYNC) with roll forward in real time 12 default c apply.
(4) primary database has 3 groups of one-man redo. (/oraredo/testdb/redo01.log redo02.log redo03.log)
(5) I've created 4 standby redo logfiles (/oraredo/testdb/stby01.log stby02.log stby03.log stby04.log)
(6) I do RMAN backup (database and archivelog) on the site of relief only.
(7) I want to use this backup for full restore of the database on the primary database.
He is a DR test to simulate the scenario that has lost every primary & Eve total servers.
Here is how to save, on the database pending:
(1) performance 'alter database recover managed standby database Cancel' to ensure that compatible data files
(2) RMAN > backup database;
(3) RMAN > backup archivelog all;
I got elements of backup and copied to primary db Server something like:
/Home/Oracle/backupset/o1_mf_nnndf_TAG20151002T133329_c0xq099p_.BKP (data files)
/Home/Oracle/backupset/o1_mf_ncsnf_TAG20151002T133329_c0xq0sgz_.BKP (spfile & controlfile)
/Home/Oracle/backupset/o1_mf_annnn_TAG20151002T133357_c0xq15xf_.BKP (archivelogs)
So here's how to restore, on the main site:
I clean all the files (data files, controlfiles oder all gone).
(1) restore spfile from pfile
RMAN > startup nomount
RMAN > restore spfile from pfile ' / home/oracle/pfile.txt' to ' / home/oracle/backupset/o1_mf_ncsnf_TAG20151002T133329_c0xq0sgz_.bkp';
(2) modify pfile to convert to db primary content. pFile shows below
*.audit_file_dest='/opt/Oracle/DB/admin/testdb/adump '
* .audit_trail = "db".
* full = '12.1.0.2.0'
*.control_files='/oradata/testdb/control01.ctl','/orafra/testdb/control02.ctl'
* .db_block_size = 8192
* .db_domain = "
*.db_file_name_convert='/testdb/','/testdb /'
* .db_name = "testdb".
* .db_recovery_file_dest ='/ orafra'
* .db_recovery_file_dest_size = 10737418240
* .db_unique_name = "testdb".
*.diagnostic_dest='/opt/Oracle/DB '
* .fal_server = "stbydb".
* .log_archive_config = 'dg_config = (testdb, stbydb)'
* .log_archive_dest_2 = "service = stbydb SYNC valid_for = (ONLINE_LOGFILE, PRIMARY_ROLE) db_unique_name = stbydb'"
* .log_archive_dest_state_2 = 'ENABLE '.
*.log_file_name_convert='/testdb/','/testdb /'
* .memory_target = 1800 m
* .open_cursors = 300
* runoff = 300
* .remote_login_passwordfile = "EXCLUSIVE."
* .standby_file_management = "AUTO".
* .undo_tablespace = "UNDOTBS1.
(3) restart db with updated file pfile
SQLPLUS > create spfile from pfile='/home/oracle/pfile.txt'
SQLPLUS > the judgment
SQLPLUS > startup nomount
(4) restore controlfile
RMAN > restore primary controlfile to ' / home/oracle/backupset/o1_mf_ncsnf_TAG20151002T133329_c0xq0sgz_.bkp';
RMAN > change the editing of the database
(5) all elements of backup catalog
RMAN > catalog starts by ' / home/oracle/backupset / '.
(6) restore and recover the database
RMAN > restore database;
RMAN > recover database until the SNA XXXXXX; (this YVERT is the maximum in archivelog backups that extends beyond the scn of the backup of the data file)
(7) open resetlogs
RMAN > alter database open resetlogs;
Everything seems perfect, except one of the file log roll forward pending is not generated
SQL > select * from v$ standby_log;
ERROR:
ORA-00308: cannot open archived log ' / oraredo/testdb/stby01.log'
ORA-27037: unable to get file status
Linux-x86_64 error: 2: no such file or directory
Additional information: 3
no selected line
I intended to use the same backup to restore primary basic & helps record traffic and the downtime between them in the world of real output.
So I have exactly the same steps (except STANDBY restore CONTROLFILE and not recover after database restore) to restore the database pending.
And I got the same missing log file.
The problem is:
(1) complete alert.log filled with this error, not the concern here
(2) now repeat it in real time apply won't work since the Party shall LGWR shows always "WAITING_FOR_LOG."
(3) I can't delete and re-create this log file
Then I tried several and found:
The missing standby logfile was still 'ACTIVE' at present RMAN backup was made.
For example, on db standby, under Group #4 (stby01.log) would be lost after the restoration.
SQL > select GROUP #, SEQUENCE #, USE (s), the STATUS from v$ standby_log;
GROUP # SEQUENCE # USED STATUS
---------- ---------- ---------- ----------
4 19 ACTIVE 133632
5 0 0 UNASSIGNED
6 0 0 not ASSIGNED
7 0 0 UNASSIGNED
So until I take the backup, I tried on the primary database:
SQL > alter system set log_archive_dest_state_2 = delay;
This was the Group of standby_log side Eve #4 was released:
SQL > select GROUP #, SEQUENCE #, USE (s), the STATUS from v$ standby_log;
GROUP # SEQUENCE # USED STATUS
---------- ---------- ---------- ----------
4 0 0 UNASSIGNED
5 0 0 UNASSIGNED
6 0 0 not ASSIGNED
7 0 0 UNASSIGNED
Then, the backup has been restored correctly without missing standby logfile.
However, to change this primary database means break DataGuard protection when you perform the backup. It's not accept on the production environment.
Finally, my real questions come:
(1) what I do may not do on parameter change?
(2) I know I can re-create the control file to redo before delete and then recreate after. Is there any simple/fast to avoid the standby logfile lost or recreate the lost one?
I understand that there are a number of ways to circumvent this. Something to keep a copy of the log file waiting restoration progress and copy up one missing, etc, etc...
And yes I always have done no real-time applies "to the aid of archived logfile" but is also not accept mode of protection of production.
I just want proof that the design (which is displayed in a few oracle doc Doc ID 602299.1 is one of those) that backs up data backup works effectively and can be used to restore the two site. And it may be without spending more time to resume backups or put the load on the primary database to create the database before.
Your idea is very much appreciated.
Thank you!
Hello
1--> when I take via RMAN backup, RMAN does not redo log (ORL or SRL) file, so we cannot expect ORLs or SRL would be restored.
2nd--> when we opened the ORL database should be deleted and created
3rd--> Expecting, SRL should not be an issue.we should be able to do away with the fall.
DR sys@cdb01 SQL > select THREAD #, SEQUENCE #, GROUP #, STATUS from v$ standby_log;
THREAD # SEQUENCE # GROUP # STATUS
---------- ---------- ---------- ----------
1 233 4 ACTIVE
1 238 5 ACTIVE
DR sys@cdb01 SQL > select * from v$ logfile;
GROUP # STATUS TYPE MEMBER IS_ CON_ID
---------- ------- ------- ------------------------------ --- ----------
3 /u03/cdb01/cdb01/redo03.log no. 0 online
/U03/cdb01/cdb01/redo02.log no. 0 2 online
1 /u03/cdb01/cdb01/redo01.log no. 0 online
4 /u03/cdb01/cdb01/stdredo01.log WATCH No. 0
/U03/cdb01/cdb01/stdredo02.log EVE 5 No. 0
DR sys@cdb01 SQL > ! ls - ltr /u03/cdb01/cdb01/stdredo01.log
method: cannot access the /u03/cdb01/cdb01/stdredo01.log: no such file or directory
DR sys@cdb01 SQL >! ls - ltr /u03/cdb01/cdb01/stdredo02.log
-rw - r-. 1 oracle oinstall 52429312 17 Oct 15:32 /u03/cdb01/cdb01/stdredo02.log
DR sys@cdb01 SQL > alter database force claire logfile 4;
change the database group claire logfile 4
*
ERROR on line 1:
ORA-01156: recovery or current flashback may need access to files
DR sys@cdb01 SQL > alter database recover managed standby database cancel;
Database altered.
DR sys@cdb01 SQL > change the database group claire logfile 4;
Database altered.
DR sys@cdb01 SQL > ! ls - ltr /u03/cdb01/cdb01/stdredo01.log
-rw - r-. 1 oracle oinstall 52429312 17 Oct 15:33 /u03/cdb01/cdb01/stdredo01.log
DR sys@cdb01 SQL >
If you do, you can recreate the controlfile without waiting for redo log entry...
If you still think it's something is not acceptable, you must have SR with support to analyze why he does not abandon SRL when controlfile_type is "underway".
Thank you
-
Test failover with physical standby
Hello
I have a primary at base of 11.2.0.4 (cars) and an instance of unique physical standby (on a virtual machine).
I need to test failover.
I'm looking some procedure or steps.
Can they be valid?
On primary
- change the built-in system again to standby_db_name;
- alter system archive log current;
- Stop the shipment of archive: alter system set log_archive_dest_state_2 = "DAVID";
Standby:
- ALTER DATABASE RECOVER MANAGED STANDBY DATABASE CANCEL;
- ALTER DATABASE RECOVER MANAGED STANDBY DATABASE FINISH;
- stop immediately; --> the snapshot can be done at this stage or need to get after 'RECOVER MANAGED STANDBY DATABASE CANCEL'
- Make a snapshot of the virtual machine
- startup nomount
- ALTER database base_de_donnees eve of Mount;
- ALTER DATABASE ACTIVATE PHYSICAL STANDBY DATABASE.
- ALTER DATABASE OPEN;
Test what finish
Standby:
- stop the database
- restore from snapshot
- Put the database in recovery mode
Elementary school:
- Allow destination of the Journal 2
What do you think?
Use the snapshot before...
https://docs.Oracle.com/CD/B28359_01/server.111/b28294/manage_ps.htm#BACIEJJI
-
Test of physical Standby DB 11 g
Hi all
My company is considering a DR test in a few months, and since I never did this until I was wondering what would be the best way to go on the DB pending tests. This is a database of 11G (11.2.0.3). I read the following articles:
http://gavinsoorma.com/2009/09/11g-snapshot-standby-for-real-time-testing/
http://www.Pythian.com/blog/testing-a-physical-standby-database-in-Oracle-10G/
http://www.Oracle.com/technetwork/articles/SQL/11g-DataGuard-083323.html
From what I can tell the snapshot method is the easiest. My main question is when the primary method still must send the archive logs to the waiting or can I defer only to archive log shipping? How we test normally the site of DR is completely disconnect the network connections and put everything in place for the primary will not be able to speak to the waiting and vice versa. Or is the best method to follow the other article that speaks using the flashback database?
Thanks in advance for your help.
From what I can tell the snapshot method is the easiest. My main question is when the primary method still must send the archive logs to the waiting or can I defer only to archive log shipping?
Are you in 11g, yes instant is a nice feature to test your intelligence. If you enable the destination, there is no problem. Meanwhile if too many records are generated and then it takes a long time to get a site to DR.
How we test normally the site of DR is completely disconnect the network connections and put everything in place for the primary will not be able to speak to the waiting and vice versa
You can also completely disconnect the primary DR and tests after the conversion of the physics on the eve of the snapshot if it is your condition to do so.
Or is the best method to follow the other article that speaks using the flashback database?
In traditional flashback, you will need to take care just like the creation of restore point with guarantee, mode standby manually and run again then flashback to the restore point. Snapshot is really simple and easy to use. If am in your position of course I use the standby database snapshot.
-
Hi all
I have a custodian of data configured in my local system. Please find the slot configuration of the data protection
Data type of guard:-physical Standby (version Oracle 11 g)
Service responsible for log transport:-ARCH
No newspaper to redo the previous day:- neither primary Nor in standby mode
I'm failing by using the command 'alter database recover managed standby database finish. "
Please find the below info alert log after this command.
Killed Dec 03 01:42:14 2013
ALTER database recover managed standby database finish
Try to perform a recovery of Terminal (PRD)
Beginning media recovery: recovery ensures managed (PRD)
Parallel media enabled rapid recovery
Managed Standby recovery not using real time applies
Media, recovery waiting for thread 1 sequence 145
"Terminal recovery Timestamp is December 3, 2013 01:42:15.
Terminal recovery: application standby redo logs.
Terminal recovery: thread 1 seq # 145 again required
Media, recovery waiting for thread 1 sequence 145
Terminal recovery: allowance end Redo log
Recovery Terminal: waiting for redo logfile created 3 ' / data/PRD_DR/arch/arch_1_0_831359165.arch'
This waiting for redo log file is created as part of the recovery
operation. This waiting for redo log file should be deleted after the
transition to a primary operation complete.
Recovery Media Log /data/PRD_DR/arch/arch_1_0_831359165.arch
Terminal retrieval: newspaper 3 reserved for thread 1 sequence 145
Online Redo Log recovery: thread 1 mem Group 3 Seq 145 reading 0
Mem # 0: /data/PRD_DR/arch/arch_1_0_831359165.arch
Identified end-of-Redo for thread 1 sequence 145
Incomplete recovery applied all redo them ever generated.
Change recovery completed by 559773 23/11/2013 time 13:38:13
Recovery media Complete (PRD)
Terminal recovery: success of
Activation reset sleep ID 1895332757 (0x70f87b95)
Completed: alter database recover managed standby database finish
Killed Dec 03 01:42:50 2013
change the database for validation at the crossing elementary school
ALTER DATABASE TRANSITION TO PRIMARY SCHOOL (PRD)
Waiting for the transition from role maximum is 15 minutes.
Backup controlfile written to trace the file /apps/oracle/diag/rdbms/stand/PRD/trace/PRD_ora_9466.trc
tkcrrxms: kill 3 process (all the RFS)
Terminal standby recovery start SCN: 559772
RESETLOGS after complete through change 559773
Log in/data/PRD_DR/REDOLOG11 line. JOURNAL: Thread 1 Group 1 had been previously authorized
Log in/data/PRD_DR/REDOLOG21 line. JOURNAL: Thread 1 group 2 was previously disabled
Standby became primary YVERT: 559771
Killed Dec 03 01:42:53 2013
Here, my question is, why oracle implicitly creates a newspaper waiting redo pending data base for the realization of "alter database recover managed standby database finish".
Thank you
Like to, its due to the following bug.
Bug 5889025 : FINISHING SWITCH GENERATES INCORRECT STANDBY REDO LOG.
This bug refers to version 9i and standby redo logs/realtime concept is not available.
OP using the 11g version... Although if you see in the State of the article, the State is "92 - closed, not a Bug", according to me this is the default behavior and is not bug.
-
Hello
11.2.0.1
We have a DEV database which is also as critical as the PROD db since there are many strategic projects running on it.
This DEV database has been configured with dataguard physical standby on the DR server.
Well, that's what I read in the documents only as I'm newly taken over as a dba. Setup has been done outsourced
by 3rd party, and I can't talk to the implentors, as they were long gone.
When I check the DR server that only the PROD is running and the DEV was arrested for the last 12 months.
My question is if the physical standby is stopped for almost a year, can it still be activated? or is it still valid?
This will affect the performance of the primary database? Since he could always check heartbeat for her? or delay some process as archivers?
How to disable the physical standby from the primary database?
Thank you
Petra k.
Hello;
"If the physical standby is stopped for almost a year, can it still be activated? or is it still valid? »
No and no. Even a tiny production database would have generated and remove too many archives in a year for the old standby at any value. Rebuild it.
How to disable the physical standby from the primary database?
You could do just that: (primary side)
ALTER system set log_archive_dest_state_2 = reporter;
And you can clean all the parameters for DG too.
How to remove a primary database data protection Configuration (Doc ID 733794.1)
Best regards
mseberg
-
Problem creating physical standby with RMAN
Hi guru
Perhaps this impact that all face you when creating physical standby DB. I'm trying to create a physical standby database Using RMAN double order a server
(pri machine) machine on standby.
Here are the steps I followed to create the above:
Step 1:-activate forced logging
SQL > ALTER DATABASE FORCE LOGGING;
Step 2:-set up a standby Redo Log
SQL > ALTER DATABASE ADD STANDBY LOGFILE GROUP 10
2 > ('/ oracle/dbs/log1c.rdo','/oracle/dbs/log2c.rdo') SIZE 500 M;
Step 3:-set the parameters of primary database initialization
SQL > create pfile='?/dbs/pfileorcl.ora' of spfile;
Edit the pfile to add the sleep settings, shown here:
db_unique_name = "orcl".
LOG_ARCHIVE_CONFIG = 'DG_CONFIG = (ORCL, orcldr)'
LOG_ARCHIVE_DEST_2 = "SERVICE = orcldr LGWR ASYNC VALID_FOR =(ONLINE_LOGFILES,PRIMARY_ROLE) DB_UNIQUE_NAME = orcldr'"
* .fal_server = orcldr
* .fal_client = orcl
* .standby_file_management = auto
Step 4:-activate archiving
SQL > SHUTDOWN IMMEDIATE;
SQL > STARTUP MOUNT;
SQL > ALTER DATABASE ARCHIVELOG;
SQL > ALTER DATABASE OPEN;
Step 5:-tnsnames for eve of the configuration database
This should be done on the primary database to edit tnsnames.ora or using the command NetCA and create by the name orcldr
orcldr =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP) (HOST = Eve-svr)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = orcldr)
)
)
Step 6:-backup of database and copy it to standby mode
This backup script must be run on primary and copied to sleep on the same mount point, run these scripts with RMAN, all files in /rman_backup need to be copied in /rman_backup on the standby server.
$rman target.
RMAN > run
{
allocate channel c1 type disk;
allocate channel c2 type disk;
backup of database format ' / rman_backup/%U';
ARCHIVELOG backup all the format ' / rman_backup %U ';
backup current controlfile to Eve format ' / rman_backup/%U';
}
Step 7:-availability of measures database
Installation of Oracle software
This should be the same version and patch group with exactly same ORACLE_HOME mount point.
Commissioning of the listener
Create and start a listener on the database of sleep by using NetCA, or create listener.ora in $ORACLE_HOME/network/admin
LISTENER =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP) (HOST = Eve-svr)(PORT = 1521))
)
Step 8:-set of backup database initialization parameters
Copy the pfile file created in the database primary it renames in initorcldr.ora and change these settings:
db_unique_name = "orcldr".
LOG_ARCHIVE_CONFIG = 'DG_CONFIG = (orcldr, ORCL)'
LOG_ARCHIVE_DEST_2 = "SERVICE = orcl LGWR ASYNC VALID_FOR =(ONLINE_LOGFILES,PRIMARY_ROLE) DB_UNIQUE_NAME = orcl'"
* .fal_server = orcl
* .fal_client = orcldr
*. LOG_ARCHIVE_DEST_STATE_2 = 'ENABLE '.
Step 9:-installation tnsnames for the primary database
This should be done on the pending change tnsnames.ora or using the command NetCA database and create it in the name orcl
ORCL =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP) (HOST = primary-svr)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = orcl)
)
)
Step 10:-copy a password file
A password file must be created on the primary and copied to the standby site. The sys password must be the same on both sites. Copy orapworcl in $ORACLE_HOME/dbs and rename the file in orapworcldr
Step 11:-create for Oracle mount points
Mount point must be created on the standby server with the same convention used in primary education, which includes the location for controlfiles, redo logs, data files, destination of the newspaper Archives and alert logs.
$ mkdir Pei/u01/app/oracle/oradata/orcl /.
$ mkdir Pei/u01/app/oracle/flash_recovery_area /.
$ mkdir Pei/u01/app/oracle/admin/orcl/adump
$ mkdir Pei/u01/app/oracle/admin/orcl/bdump
$ mkdir Pei/u01/app/oracle/admin/orcl/cdump
$ mkdir Pei/u01/app/oracle/admin/orcl/udump
Step 12:-use RMAN to restore the backup and standby configuration
Connecting to RMAN and run the following command to create the database pending, this must be performed on the standby server after the backup copy and the tnsnames parameter.
$ export ORACLE_SID = orcldr
$ rman target sys/tiger@orcl auxiliary sys/tiger@orcldr
RMAN > target double standby database dorecover;
Here, I'm getting problem such as:
While he was trying to connect to databases traget and auxiliary, I noticed that when RMAN is connected across the two databases it shows
ORCL (DBID xyz)
ORCL (unmounted)
Here, in my opinion the second database must be the name of the standby database or auxiiary db name is Eve db which is orcldr in my case
After this issue, I am faced with the second issues such as:
in command
target double standby database dorecover;
After you change the command to
RMAN > duplicate target database "sleep."
RMAN-05520 database name mismatch
Can u please let me know where I can be wrong
Finally I have the problem after all this googling and thinking the same thing.
Thanks to you all
-
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
-
EBS R12.2.4 physical Standby
Hi all
EBS R12.2.4
11 GR 2
Rhel6.5
We want to create both physical standby databases cascading. The first will be used for the statement and the 2nd waterfall is Dr.
Can you help me find documents on how configure/install this kind of scenario?
Thank you very much
JC
Jenna_C wrote:
Hi all
EBS R12.2.4
11 GR 2
Rhel6.5
We want to create both physical standby databases cascading. The first will be used for the statement and the 2nd waterfall is Dr.
Can you help me find documents on how configure/install this kind of scenario?
Thank you very much
JC
Please see:
Using Active Data Guard of generation of Oracle E-Business Suite 12.2 version reports and databases Oracle 11 g (Doc ID 1944539.1)
Business Continuity for Oracle E-Business Suite Release 12.2 using Oracle Database 11g (GR 11, 2) physical standby (Doc ID 1491855.1)
https://blogs.Oracle.com/stevenChan/entry/data_guard_11_2_0
https://blogs.Oracle.com/stevenChan/entry/oracle_active_data_guard_11
Thank you
Hussein
Maybe you are looking for
-
Satellite Pro A200 - Supervisor Password Setup Utility fails
Hello I own a Satellite Pro A200-PSAE7E and a license to retail for Windows Vista Ultimate 32-bit Edition (with SP1) is installed. Before installing Vista, I have updated the BIOS to the latest version available on the Toshiba site (http://it.compute
-
Network Netgear DGND 3700V2 comments
I try to activate the guest network I check enable network comments tick show I did the two do not select no password and different types of security whenever I click on apply settings do not take, any help would be welcome please
-
refurbished nine Windows xp my computer keep freezing at random how to fix?
my computer is constantly freezing at random times. His is a refurbished pc and he sometimes gel until about 3 or 4 minutes straight and sometimes as little as just a few seconds Here is my system info: Name of the operating system Microsoft Windows
-
Network printer says that it is offline with a single account but Online with another
Hello I have 5 accounts altogether on computers. Through one of them that the printer reports that it is online and print without problem, in another, he pointed out that it is offline and therefore does not print at all, how can I rectify this? At
-
Cannot sync blackBerry Smartphones
I have a Torch 9810 - today during synchronization I received an Intellisync software error message: "connector specific error". Help, please