11g DUPLICATE database
I am going to do 11g RMAN active DUPLICATE database to another server, size > 300GB, will take hours,
Question: after its done, the DUPLICATE database is at the status of begin DUPLICATE or end of DUPLICATE?
Hello,
When you finish the duplicate you can issue:
SQL> select name,open_mode from v$database;
NAME OPEN_MODE
CLONEDB READ WRITE
kind regards
Mohamed
Similar Messages
-
Duplicate database from active database in 11g?
Does anyone know if it's possible to clone a database from stby by issuing RMAN duplicate database FROM ACTIVE DATABASE command in 11g?
I know it's possible from primary to create stby.
Thanks in advanceYou may have run into the same problem like I did recently:
The (UR=A) clause in tnsnames.ora is intended to work with a dynamically registered handler so the use of SERVICE_NAME versus SID is preferred.
ORA-12528: TNS listener BLOCKED - trying to duplicate database
Also for further problems:
RMAN 11gR2 duplicate database ORA-17627 ORA-01017 RMAN-03009 ORA-17628 -
Hi all,
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of Duplicate Db command at 02/17/2010 09:18:42
RMAN-03015: error occurred in stored script Memory Script
RMAN-06172: no AUTOBACKUP found or specified handle is not a valid copy or piece
I have got stuck with this error, while iam trying to duplicate database using rman from active database clause, I have checked in backup location for target and the autobackups are still available.
thanks in advance.Handle: user12984527
Status Level: Newbie
Registered: Apr 15, 2010
Total Posts: 72
Total Questions: 28 (25 unresolved)
so many questions & so few answers,
when all else fails, Read The Fine Manuals
http://download.oracle.com/docs/cd/B19306_01/backup.102/b14191/rcmbackp.htm#BRADV143 -
Error while duplicate database for standby
Hello Guys,
Both of my database are 10gR2 and Linux is the operating system.
I am trying to create a standby database for my production database.
I have matched the directory structure of primary and standby database and there is no conflict. Directory permissions are also set.
After taking the rman backup from production database when i connect auxiliary database from production. I run this command to duplicate database and create standby database.
rman
set until sequence XXXX;
duplicate target database for standby dorecover nofilenamecheck;
I get this error:
executing Memory Script
executing command: SET until clause
Starting restore at 04-JUN-11
using channel ORA_AUX_DISK_1
channel ORA_AUX_DISK_1: starting datafile backupset restore
channel ORA_AUX_DISK_1: restoring control file
channel ORA_AUX_DISK_1: reading from backup piece /tmp/backup_files/standby_control_1jme2far_1_1
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of Duplicate Db command at 06/04/2011 21:00:37
RMAN-03015: error occurred in stored script Memory Script
ORA-19870: error reading backup piece /tmp/backup_files/standby_control_1jme2far_1_1
ORA-01565: error in identifying file '/u01/app/oracle/product/10.2.0/db_1/dbs/spfileORCL.ora'
ORA-27037: unable to obtain file status
Linux-x86_64 Error: 2: No such file or directory
Additional information: 3
*/tmp/backup_files/standby_control_1jme2far_1_1 file exists*
* spfileORCL.ora* exists on both servers in same directory and same path.
Can you please suggest where is the problem?
Thank you so much.
ImranORA-19870: error reading backup piece /tmp/backup_files/standby_control_1jme2far_1_1
ORA-01565: error in identifying file '/u01/app/oracle/product/10.2.0/db_1/dbs/spfileORCL.ora'
ORA-27037: unable to obtain file statusLinux-x86_64 Error: 2: No such file or directory
Might the backup piece not exist or file is unae to read at this time. Can you check is this physically exist Or not?
And preferred to take new fresh backup and perform duplicate -
Error in creating Duplicate Database in same server..
Hi,
I am getting following error when creating duplicate database
DB Version=10.2.0.4
$ rman target sys/sys@test nocatalog auxiliary /
Recovery Manager: Release 10.2.0.4.0 - Production on Mon Sep 28 15:13:32 2009
Copyright (c) 1982, 2007, Oracle. All rights reserved.
connected to target database: TEST (DBID=1702666620, not open)
using target database control file instead of recovery catalog
connected to auxiliary database: CLNTEST (not mounted)
RMAN> DUPLICATE TARGET DATABASE TO "CLNTEST";
Starting Duplicate Db at 28-SEP-09
allocated channel: ORA_AUX_DISK_1
channel ORA_AUX_DISK_1: sid=156 devtype=DISK
contents of Memory Script:
set until scn 597629461;
set newname for datafile 1 to
"/u01/data_new/clonetest/system01.dbf";
set newname for datafile 2 to
"/u01/data_new/clonetest/undotbs01.dbf";
set newname for datafile 3 to
"/u01/data_new/clonetest/sysaux01.dbf";
set newname for datafile 4 to
"/u01/data_new/clonetest/users01.dbf";
set newname for datafile 5 to
"/u01/data_new/clonetest/example01.dbf";
set newname for datafile 6 to
"/u01/data_new/clonetest/undotbs02.dbf";
set newname for datafile 7 to
"/u01/data_new/clonetest/alweb1.dbf";
set newname for datafile 8 to
"/u01/data_new/clonetest/indx1.dbf";
restore
check readonly
clone database
executing Memory Script
executing command: SET until clause
executing command: SET NEWNAME
executing command: SET NEWNAME
executing command: SET NEWNAME
executing command: SET NEWNAME
executing command: SET NEWNAME
executing command: SET NEWNAME
executing command: SET NEWNAME
executing command: SET NEWNAME
Starting restore at 28-SEP-09
using channel ORA_AUX_DISK_1
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of Duplicate Db command at 09/28/2009 15:13:40
RMAN-03015: error occurred in stored script Memory Script
RMAN-06026: some targets not found - aborting restore
RMAN-06023: no backup or copy of datafile 8 found to restore
RMAN-06023: no backup or copy of datafile 7 found to restore
RMAN-06023: no backup or copy of datafile 6 found to restore
RMAN-06023: no backup or copy of datafile 5 found to restore
RMAN-06023: no backup or copy of datafile 4 found to restore
RMAN-06023: no backup or copy of datafile 3 found to restore
RMAN-06023: no backup or copy of datafile 2 found to restore
RMAN-06023: no backup or copy of datafile 1 found to restore
RMAN> crosscheck backupset of datafile 1;
using target database control file instead of recovery catalog
allocated channel: ORA_DISK_1
channel ORA_DISK_1: sid=154 devtype=DISK
crosschecked backup piece: found to be 'AVAILABLE'
backup piece handle=/u01/rmanbkp/db_prd0akqcnoh_1_1 recid=10 stamp=698769169
crosschecked backup piece: found to be 'AVAILABLE'
backup piece handle=/u02/data/flash_recovery_area/BINGO/backupset/2009_09_28/o1_mf_nnndf_TAG20090928T151044_5d114x0h_.bkp recid=17 stamp=698771444
Crosschecked 2 objects
RMAN> crosscheck backupset of datafile 2;
using channel ORA_DISK_1
crosschecked backup piece: found to be 'AVAILABLE'
backup piece handle=/u01/rmanbkp/db_prd0akqcnoh_1_1 recid=10 stamp=698769169
crosschecked backup piece: found to be 'AVAILABLE'
backup piece handle=/u02/data/flash_recovery_area/BINGO/backupset/2009_09_28/o1_mf_nnndf_TAG20090928T151044_5d114x0h_.bkp recid=17 stamp=698771444
Crosschecked 2 objects
RMAN> crosscheck backupset of datafile 3;
using channel ORA_DISK_1
crosschecked backup piece: found to be 'AVAILABLE'
backup piece handle=/u01/rmanbkp/db_prd0akqcnoh_1_1 recid=10 stamp=698769169
crosschecked backup piece: found to be 'AVAILABLE'
backup piece handle=/u02/data/flash_recovery_area/BINGO/backupset/2009_09_28/o1_mf_nnndf_TAG20090928T151044_5d114x0h_.bkp recid=17 stamp=698771444
Crosschecked 2 objects
RMAN> crosscheck backupset of datafile 4;
using channel ORA_DISK_1
crosschecked backup piece: found to be 'AVAILABLE'
backup piece handle=/u01/rmanbkp/db_prd0akqcnoh_1_1 recid=10 stamp=698769169
crosschecked backup piece: found to be 'AVAILABLE'
backup piece handle=/u02/data/flash_recovery_area/BINGO/backupset/2009_09_28/o1_mf_nnndf_TAG20090928T151044_5d114x0h_.bkp recid=17 stamp=698771444
Crosschecked 2 objects
RMAN> crosscheck backupset of datafile 5;
using channel ORA_DISK_1
crosschecked backup piece: found to be 'AVAILABLE'
backup piece handle=/u01/rmanbkp/db_prd0akqcnoh_1_1 recid=10 stamp=698769169
crosschecked backup piece: found to be 'AVAILABLE'
backup piece handle=/u02/data/flash_recovery_area/BINGO/backupset/2009_09_28/o1_mf_nnndf_TAG20090928T151044_5d114x0h_.bkp recid=17 stamp=698771444
Crosschecked 2 objects
RMAN> crosscheck backupset of datafile 6;
using channel ORA_DISK_1
crosschecked backup piece: found to be 'AVAILABLE'
backup piece handle=/u01/rmanbkp/db_prd0akqcnoh_1_1 recid=10 stamp=698769169
crosschecked backup piece: found to be 'AVAILABLE'
backup piece handle=/u02/data/flash_recovery_area/BINGO/backupset/2009_09_28/o1_mf_nnndf_TAG20090928T151044_5d114x0h_.bkp recid=17 stamp=698771444
Crosschecked 2 objects
RMAN> crosscheck backupset of datafile 7;
using channel ORA_DISK_1
crosschecked backup piece: found to be 'AVAILABLE'
backup piece handle=/u01/rmanbkp/db_prd0akqcnoh_1_1 recid=10 stamp=698769169
crosschecked backup piece: found to be 'AVAILABLE'
backup piece handle=/u02/data/flash_recovery_area/BINGO/backupset/2009_09_28/o1_mf_nnndf_TAG20090928T151044_5d114x0h_.bkp recid=17 stamp=698771444
Crosschecked 2 objects
Thanks,Hi,
RMAN> show all;
using target database control file instead of recovery catalog
RMAN configuration parameters are:
CONFIGURE RETENTION POLICY TO REDUNDANCY 1; # default
CONFIGURE BACKUP OPTIMIZATION OFF; # default
CONFIGURE DEFAULT DEVICE TYPE TO DISK; # default
CONFIGURE CONTROLFILE AUTOBACKUP OFF; # default
CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '%F'; # default
CONFIGURE DEVICE TYPE DISK PARALLELISM 1 BACKUP TYPE TO BACKUPSET; # default
CONFIGURE DATAFILE BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default
CONFIGURE ARCHIVELOG BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default
CONFIGURE MAXSETSIZE TO UNLIMITED; # default
CONFIGURE ENCRYPTION FOR DATABASE OFF; # default
CONFIGURE ENCRYPTION ALGORITHM 'AES128'; # default
CONFIGURE ARCHIVELOG DELETION POLICY TO NONE; # default
CONFIGURE SNAPSHOT CONTROLFILE NAME TO '/oracle/ora10g/product/10.2.0/db_1/dbs/snapcf_TEST.f'; # default
Thanks, -
Error while duplicate database from one server to another server
Hi there,
I am practicing duplicate database from one single database server to another server. Hardware and driver path on 2 machines is the same. Here are my steps:
--------------------- Clone site:
1. modify listener.ora with content:
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
(ADDRESS = (PROTOCOL = TCP)(HOST = localhost.localdomain)(PORT = 1521))
ADR_BASE_LISTENER = /u01/app/oracle
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(GLOBAL_DBNAME = orcl)
(ORACLE_HOME = /u01/app/oracle/product/11.2.0/db_1)
(SID_NAME= orcl)
ENABLE_GLOBAL_DYNAMIC_ENDPOINT_LISTENER = ON
2. stop and start listener again, message show like :
Service “orcl” has 1 instance(s).
Instance “orcl”, status UNKNOWN, has 1 handler(s) for this service…
The command completed successfully
3. create pfile from spfile.
4. shutdown and startup nomount with pfile is new pfile create from step 3.
--------------------------------------- Source site
1. modify tnsnames.ora with content like:
VVCOREDB =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = localhost.localdomain)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = vvcoredb)
ORCL =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP) (HOST = 10.254.1.235) (PORT=1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = orcl)
2. run command from rman like these:
rman> connect target sys@vvcoredb
rman> target database Password:
rman> connect auxiliary sys@orcl
rman> auxiliary database Password:
rman> DUPLICATE TARGET DATABASE to orcl from active database spfile nofilenamecheck;
Then the result show below:
Starting Duplicate Db at 24-SEP-12
using target database control file instead of recovery catalog
allocated channel: ORA_AUX_DISK_1
channel ORA_AUX_DISK_1: SID=63 device type=DISK
contents of Memory Script:
backup as copy reuse
targetfile '/u01/app/oracle/product/11.2.0/db_1/dbs/spfilevvcoredb.ora' auxiliary format
'/u01/app/oracle/product/11.2.0/db_1/dbs/spfileorcl.ora' ;
sql clone "alter system set spfile= ''/u01/app/oracle/product/11.2.0/db_1/dbs/spfileorcl.ora''";
executing Memory Script
Starting backup at 24-SEP-12
allocated channel: ORA_DISK_1
channel ORA_DISK_1: SID=74 device type=DISK
Finished backup at 24-SEP-12
sql statement: alter system set spfile= ''/u01/app/oracle/product/11.2.0/db_1/dbs/spfileorcl.ora''
contents of Memory Script:
sql clone "alter system set db_name =
''ORCL'' comment=
''duplicate'' scope=spfile";
shutdown clone immediate;
startup clone nomount;
executing Memory Script
sql statement: alter system set db_name = ''ORCL'' comment= ''duplicate'' scope=spfile
Oracle instance shut down
connected to auxiliary database (not started)
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of Duplicate Db command at 09/24/2012 17:44:12
RMAN-03015: error occurred in stored script Memory Script
RMAN-04014: startup failed: ORA-01261: Parameter db_recovery_file_dest destination string cannot be translated
ORA-01262: Stat failed on a file destination directory
Linux-x86_64 Error: 2: No such file or directory
I don't know what wrong with my pfile? I specify correct my pfile on clone site like this:
orcl.__db_cache_size=1476395008
orcl.__java_pool_size=16777216
orcl.__large_pool_size=16777216
orcl.__oracle_base='/u01/app/oracle'#ORACLE_BASE set from environment
orcl.__pga_aggregate_target=1342177280
orcl.__sga_target=1979711488
orcl.__shared_io_pool_size=0
orcl.__shared_pool_size=436207616
orcl.__streams_pool_size=0
*.audit_file_dest='/u01/app/oracle/admin/orcl/adump'
*.audit_trail='db'
*.compatible='11.2.0.0.0'
*.control_files='/u01/app/oracle/oradata/orcl/control01.ctl','/u01/app/oracle/flash_recovery_area/orcl/control02.ctl'
*.db_block_size=8192
*.db_domain=''
*.db_name='orcl'
*.db_recovery_file_dest='/u01/app/oracle/flash_recovery_area/vvcoredb'
*.db_recovery_file_dest_size=4070572032
*.diagnostic_dest='/u01/app/oracle'
*.dispatchers='(PROTOCOL=TCP) (SERVICE=orclXDB)'
*.memory_target=3313500160
*.open_cursors=300
*.processes=150
*.remote_login_passwordfile='EXCLUSIVE'
*.undo_tablespace='UNDOTBS1'
Please suggest me do i miss some steps when try to duplicate database?
Any suggestions are welcome.
Thanks in advance!
P/s: Sorry for my bad English.Oh god, it worked. Thank you. But i got another problem like this:
duplicate target database to orcl from active database spfile set "db_recovery_file_dest" = "/u01/app/oracle/flash_recovery_area/vvcoredb" nofilenamecheck;
Starting Duplicate Db at 24-SEP-12
using target database control file instead of recovery catalog
allocated channel: ORA_AUX_DISK_1
channel ORA_AUX_DISK_1: SID=63 device type=DISK
contents of Memory Script:
backup as copy reuse
targetfile '/u01/app/oracle/product/11.2.0/db_1/dbs/spfilevvcoredb.ora' auxiliary format
'/u01/app/oracle/product/11.2.0/db_1/dbs/spfileorcl.ora' ;
sql clone "alter system set spfile= ''/u01/app/oracle/product/11.2.0/db_1/dbs/spfileorcl.ora''";
executing Memory Script
Starting backup at 24-SEP-12
allocated channel: ORA_DISK_1
channel ORA_DISK_1: SID=74 device type=DISK
Finished backup at 24-SEP-12
sql statement: alter system set spfile= ''/u01/app/oracle/product/11.2.0/db_1/dbs/spfileorcl.ora''
contents of Memory Script:
sql clone "alter system set db_name =
''ORCL'' comment=
''duplicate'' scope=spfile";
sql clone "alter system set db_recovery_file_dest =
''/u01/app/oracle/flash_recovery_area/vvcoredb'' comment=
'''' scope=spfile";
shutdown clone immediate;
startup clone nomount;
executing Memory Script
sql statement: alter system set db_name = ''ORCL'' comment= ''duplicate'' scope=spfile
sql statement: alter system set db_recovery_file_dest = ''/u01/app/oracle/flash_recovery_area/vvcoredb'' comment= '''' scope=spfile
Oracle instance shut down
connected to auxiliary database (not started)
Oracle instance started
Total System Global Area 3307048960 bytes
Fixed Size 2217872 bytes
Variable Size 1811941488 bytes
Database Buffers 1476395008 bytes
Redo Buffers 16494592 bytes
contents of Memory Script:
sql clone "alter system set db_name =
''VVCOREDB'' comment=
''Modified by RMAN duplicate'' scope=spfile";
sql clone "alter system set db_unique_name =
''ORCL'' comment=
''Modified by RMAN duplicate'' scope=spfile";
shutdown clone immediate;
startup clone force nomount
backup as copy current controlfile auxiliary format '/u01/app/oracle/oradata/vvcoredb/control01.ctl';
restore clone controlfile to '/u01/app/oracle/recovery_area/vvcoredb/control02.ctl' from
'/u01/app/oracle/oradata/vvcoredb/control01.ctl';
alter clone database mount;
executing Memory Script
sql statement: alter system set db_name = ''VVCOREDB'' comment= ''Modified by RMAN duplicate'' scope=spfile
sql statement: alter system set db_unique_name = ''ORCL'' comment= ''Modified by RMAN duplicate'' scope=spfile
Oracle instance shut down
Oracle instance started
Total System Global Area 3307048960 bytes
Fixed Size 2217872 bytes
Variable Size 1811941488 bytes
Database Buffers 1476395008 bytes
Redo Buffers 16494592 bytes
Starting backup at 24-SEP-12
using channel ORA_DISK_1
channel ORA_DISK_1: starting datafile copy
copying current control file
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of Duplicate Db command at 09/24/2012 18:42:09
RMAN-03015: error occurred in stored script Memory Script
RMAN-03009: failure of backup command on ORA_DISK_1 channel at 09/24/2012 18:42:09
ORA-17628: Oracle error 19505 returned by remote Oracle server
I have a comment that source site doesn't have flash_recovery_area, instead it's name is recovery_area, is it problem?
Edited by: 788420 on Sep 24, 2012 4:44 AM -
Anybody using 11g RAC Database with OIM 9.1.0.2?
Hi,
We have poor performance problems with 11g RAC Database with OIM 9.1.0.2.
It looks like the issue could be because of RAC Ccluster.
Anybody using 11g RAC Database with OIM 9.1.0.2?
If so, What is the JDBC Driver r u using? Also what App Server (Weblogic or OAS etc) ?
Appreciate your input.
Regards
Vijay ChinnasamyWe are using weblogic 10.3. And I am sorry to tell you that we are yet to move to production.
We are planning to have Database in RAC, so i just thought of taking inputs from you.
can you tell me under what operations you face the poor performance issue?
For us the max no. of users in production is around 6k. So I am wondering how this RAC availability will affect the performance.
Thanks for sharing your inputs. -
Rman clone duplicate database from active database
Hi All,
I read document saying that rman can duplicate database from active database (prod) to a remote server, so long as you configure listener and tnsname.
I am working toward it.
I met a problem, which is when i bring up auxiliary database in nomount mode, the listener service of that auxiliary database is in BLOCKED status, and throw out ora-12528 error when I rman auxiliary sys/pass@clonedb. Isn't nomount mode the mode which auxiliary db is supposed to be in?
(ora-12528: TNS:listener: all appropriate instances are blocking new connections)
Thanks,
milicYou may have run into the same problem like I did recently:
The (UR=A) clause in tnsnames.ora is intended to work with a dynamically registered handler so the use of SERVICE_NAME versus SID is preferred.
ORA-12528: TNS listener BLOCKED - trying to duplicate database
Also for further problems:
RMAN 11gR2 duplicate database ORA-17627 ORA-01017 RMAN-03009 ORA-17628 -
The ABAP/4 Open SQL array insert results in duplicate database records
Hi,
Iam getting following error :
The ABAP/4 Open SQL array insert results in duplicate database records.
Error in ABAP application program.
The current ABAP program "SAPLV60U" had to be terminated because one of the
statements could not be executed.
This is probably due to an error in the ABAP program.
" Information on where terminated
The termination occurred in the ABAP program "SAPLV60U" in "VBUK_BEARBEITEN".
The main program was "SAPMSSY4 ".
The termination occurred in line 503 of the source code of the (Include)
program "LV60UF0V"
of the source code of program "LV60UF0V" (when calling the editor 5030).
Processing was terminated because the exception "CX_SY_OPEN_SQL_DB" occurred in
the
procedure "VBUK_BEARBEITEN" "(FORM)" but was not handled locally, not declared
in the
RAISING clause of the procedure.
The procedure is in the program "SAPLV60U ". Its source code starts in line 469
of the (Include) program "LV60UF0V "."
Please assist how to proceed further ..
Many thanks
Mujeeb.Sorry, THe correct note is 402221.
Description from the note
<< Please do not post SAP notes - they are copyrighed material >>
Edited by: Rob Burbank on Feb 22, 2009 3:46 PM -
Hi ALL,
While doing duplicate database using RMAN i m getting following error.
released channel: d1
RMAN-00571: =================================
RMAN-00569: === ERROR MESSAGE STACK FOLLOWS ======
RMAN-00571: =======================================
RMAN-03002: failure of Duplicate Db command at 05/14/2008 08:08:23
RMAN-03015: error occurred in stored script Memory Script
ORA-06550: line 1, column 1730:
PLS-00302: component 'LOGTERMINAL_OBJ' must be declared
ORA-06550: line 1, column 1716:
PL/SQL: Statement ignored
Recovery Manager complete.
Please Help
Regards
Mitalthanks Werner for reply ,
the above problem is solved, the proble was that you have said. the problem was realted to version . the target db was of 10.2.0.3 and the rman aux db is at 10.2.0.4
i have changed auxiliary db to 10.2.0.3 and the problem is resolved.
but now i am facing some diff. error.
setup:
backup server :\\bkpsvr\backup$\
backup location : \\bkpsvr\backup$\
target server \\tgt_svr
auxiliary server :\\aux_svr\ :
restore location : G:\ORACLE\ORADATA\ERPBI2DV\
during duplicate db commad while reading from backup piece it is givnig following error.
ORA-19870: error reading backup piece \\BRNORA10\BACKUP$\BI2\DF_ERPBI2_654625830_4599_1
ORA-19504: failed to create file "G:\ORACLE\ORADATA\ERPBI2DV\OWB_ERPBI2DV_01"
ORA-27040: file create error, unable to create file
OSD-04002: unable to open file
O/S-Error: (OS 3) The system cannot find the path specified.
released channel: d1
RMAN-00571: ==============================
RMAN-00569: = ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ======================================
RMAN-03002: failure of Duplicate Db command at 05/14/2008 12:39:14
RMAN-03015: error occurred in stored script Memory Script
RMAN-06026: some targets not found - aborting restore
RMAN-06023: no backup or copy of datafile 100 found to restore
RMAN-06023: no backup or copy of datafile 99 found to restore
please help.
Message was edited by:
mits -
Integrating Active directory with oracle EBS 12.1.3 with 11g R2 database
Hi,
can any one let me know Integrating Active directory windows 2009 R2 with oracle EBS 12.1.3 with 11g R2 database software requirements and document ids for integrating.
Is windows 2008 active directory is cerfied with 10g OID??
regards,
chandrasekhar.Hi
I found exact note
Is OID 10g/11g DIP Compatible / Certified With Microsoft Active Directory 2008 / Windows 2008 R1/R2? [ID 944298.1]
From note:
DIP 10g latest version (10.1.4.3) and DIP 11g up to PS4 / 11.1.1.5 Patchset releases integrations are certified with MS AD 2008 R1 only.
DIP 11g certification with AD 2008 R2 is supported only with DIP 11g PS5 / 11.1.1.6 Patchset or higher.
Note: Although DIP below 11.1.1.6 integration (synchronization, external authentication, etc.) with MS Windows / AD 2008 R2 may work, it is not officially compatible / certified. See also Note 1076018.1.
Regard
Helios -
hello friends,
my requirement is that, i am running some
sites with oracle database. but , at same time i want to configure a mirror database on
different host. suppose in case primary
database fails then we can up the mirrored database. my objective is site should not go
to downtime even for a single second. and
when primary database will be up then whatever transaction was made to mirror database that should be transfered to primary
server.
so, in my problem , till what extent this
duplicate database of recovery manager will
be helpful to me. if any other third party
software is available for my requirement
then please let me know.
thanx,
nullI don't think it is possible.
If you need this level of availability,
look at something different from Oracle,
for example, Tandem systems (from Compaq)
and their nonStop SQL database. However, a Tandem system costs roughly 10 times more
than a similar Oracle system.
If you need to use Oracle, look at hardware-level solution rather tan software-level solution. For example, EMC has SRDF technology - hardware-level mirroring
of your hard disk. Software-level solution
for high availability include Parallel server
(requires clustering software and external disk array) and standby database.
In my experience, achieving high availability is a matter of having enough finds for the project - you need a second
(third, fourth) system for development/testing/UAT, mirror all disks, etc.
RMAN has nothing to do with high availability -
it is just a tool for backing up databases.
Regards,
Sev
[email protected]
null -
Which Oracle 11g R2 Database Editions support Fusion Middleware?
I would like to create a database instance(s) and install a development environment (which will include Oracle Forms 11g and Reports 11g as well as APEX and JDeveloper), on my laptop. The laptop has an I5-2520 processor. The set-up is for learning purposes and I do not mind purchasing a license, if it is necessary. My laptop can be installed with an appropriate OS, if one is suggested. Currently, it has Windows 7 Professional 64.
My questions are:
1) Can a development environment be set-up on my laptop?
2) Which Oracle 11g R2 Database Editions (SE1, SE, EE, PE, XE) support Fusion Middleware for the development tools listed above?
3) Does anyone know of a document detailing the steps from installation of the DB to the installation of the development tools as well as any configuration steps?
Just need a point in the right direction. Any input would be welcome.
Thanks!Straggler wrote:
I would like to create a database instance(s) and install a development environment (which will include Oracle Forms 11g and Reports 11g as well as APEX and JDeveloper), on my laptop. The laptop has an I5-2520 processor. The set-up is for learning purposes and I do not mind purchasing a license, if it is necessary. My laptop can be installed with an appropriate OS, if one is suggested. Currently, it has Windows 7 Professional 64.
My questions are:
1) Can a development environment be set-up on my laptop?
2) Which Oracle 11g R2 Database Editions (SE1, SE, EE, PE, XE) support Fusion Middleware for the development tools listed above?
3) Does anyone know of a document detailing the steps from installation of the DB to the installation of the development tools as well as any configuration steps?
Just need a point in the right direction. Any input would be welcome.
Thanks!
>I would like to create a database instance(s) and install a development environment (which will include Oracle Forms 11g and Reports 11g as well as APEX and JDeveloper), on my laptop. The laptop has an I5-2520 processor. The set-up is for learning purposes and I do not mind purchasing a license, if it is necessary. My laptop can be installed with an appropriate OS, if one is suggested. Currently, it has Windows 7 Professional 64.
My questions are:
1) Can a development environment be set-up on my laptop?
2) Which Oracle 11g R2 Database Editions (SE1, SE, EE, PE, XE) support Fusion Middleware for the development tools listed above?
3) Does anyone know of a document detailing the steps from installation of the DB to the installation of the development tools as well as any configuration steps?
Just need a point in the right direction. Any input would be welcome.
Thanks!
software can be obtained from http://otn.oracle.com
documentation can be found at http://tahiti.oracle.com; including Installation Guides -
Dear Experts
Pls give me solution for my problem..
I am working on Oracle 10.2 running on rhel 4.I am trying to create duplicate database on the same host as on target.My target database is in archive log mode. When i am trying to fire the above command I get following error. Here are the steps..
[oracle@infotech ~]$ rman target / auxiliary sys/admin@dupli
Recovery Manager: Release 10.2.0.1.0 - Production on Thu Jan 27 12:50:25 2011
Copyright (c) 1982, 2005, Oracle. All rights reserved.
connected to target database: SQLSTAR (DBID=1533334878, not open)
connected to auxiliary database: DUPLI (not mounted)
RMAN> duplicate target database to dupli
2> logfile
3> '/database/dupli/log/redo01.log' size 10m,
4> '/database/dupli/log1/redo02.log' size 10m;
Starting Duplicate Db at 27-JAN-11
using target database control file instead of recovery catalog
allocated channel: ORA_AUX_DISK_1
channel ORA_AUX_DISK_1: sid=153 devtype=DISK
allocated channel: ORA_AUX_DISK_2
channel ORA_AUX_DISK_2: sid=154 devtype=DISK
allocated channel: ORA_AUX_DISK_3
channel ORA_AUX_DISK_3: sid=156 devtype=DISK
allocated channel: ORA_AUX_DISK_4
channel ORA_AUX_DISK_4: sid=157 devtype=DISK
datafile 5 not processed because file is offline
datafile 6 not processed because file is offline
contents of Memory Script:
set until scn 2404769;
set newname for datafile 1 to
"/database/dupli/data/system01.dbf";
set newname for datafile 2 to
"/database/dupli/data/undotbs01.dbf";
set newname for datafile 3 to
"/database/dupli/data/sysaux01.dbf";
set newname for datafile 4 to
"/database/dupli/data/users01.dbf";
restore
check readonly
clone database
skip tablespace TRY,
PROD ;
executing Memory Script
executing command: SET until clause
executing command: SET NEWNAME
executing command: SET NEWNAME
executing command: SET NEWNAME
executing command: SET NEWNAME
Starting restore at 27-JAN-11
using channel ORA_AUX_DISK_1
using channel ORA_AUX_DISK_2
using channel ORA_AUX_DISK_3
using channel ORA_AUX_DISK_4
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of Duplicate Db command at 01/27/2011 12:55:35
RMAN-03015: error occurred in stored script Memory Script
RMAN-06026: some targets not found - aborting restore
RMAN-06023: no backup or copy of datafile 4 found to restore
RMAN-06023: no backup or copy of datafile 3 found to restore
RMAN-06023: no backup or copy of datafile 2 found to restore
RMAN-06023: no backup or copy of datafile 1 found to restore
Although I am having the backups
RMAN> list backup;
List of Backup Sets
===================
BS Key Type LV Size Device Type Elapsed Time Completion Time
58 Full 6.86M DISK 00:00:01 27-JAN-11
BP Key: 57 Status: AVAILABLE Compressed: NO Tag: TAG20110127T105501
Piece Name: /database/sqlstar/flash/SQLSTAR/backupset/2011_01_27/o1_mf_ncnnf_TAG20110127T105501_6n20fh2b_.bkp
Control File Included: Ckp SCN: 2428375 Ckp time: 27-JAN-11
BS Key Type LV Size Device Type Elapsed Time Completion Time
59 Full 80.00K DISK 00:00:04 27-JAN-11
BP Key: 58 Status: AVAILABLE Compressed: NO Tag: TAG20110127T105501
Piece Name: /database/sqlstar/flash/SQLSTAR/backupset/2011_01_27/o1_mf_nnsnf_TAG20110127T105501_6n20fmbz_.bkp
SPFILE Included: Modification time: 27-JAN-11
BS Key Type LV Size Device Type Elapsed Time Completion Time
60 Full 370.27M DISK 00:01:41 27-JAN-11
BP Key: 59 Status: AVAILABLE Compressed: NO Tag: TAG20110127T105501
Piece Name: /database/sqlstar/flash/SQLSTAR/backupset/2011_01_27/o1_mf_nnndf_TAG20110127T105501_6n20fh6k_.bkp
List of Datafiles in backup set 60
File LV Type Ckp SCN Ckp Time Name
2 Full 2428375 27-JAN-11 /database/sqlstar/data/sqlstar/undotbs01.dbf
3 Full 2428375 27-JAN-11 /database/sqlstar/data/sqlstar/sysaux01.dbf
BS Key Type LV Size Device Type Elapsed Time Completion Time
61 Full 339.97M DISK 00:01:57 27-JAN-11
BP Key: 60 Status: AVAILABLE Compressed: NO Tag: TAG20110127T105501
Piece Name: /database/sqlstar/flash/SQLSTAR/backupset/2011_01_27/o1_mf_nnndf_TAG20110127T105501_6n20fkq2_.bkp
List of Datafiles in backup set 61
File LV Type Ckp SCN Ckp Time Name
1 Full 2428375 27-JAN-11 /database/sqlstar/data/sqlstar/system01.dbf
6 Full 2428375 27-JAN-11 /database/sqlstar/data/sqlstar/try01.dbf
BS Key Type LV Size Device Type Elapsed Time Completion Time
62 Full 652.93M DISK 00:02:15 27-JAN-11
BP Key: 61 Status: AVAILABLE Compressed: NO Tag: TAG20110127T105501
Piece Name: /database/sqlstar/flash/SQLSTAR/backupset/2011_01_27/o1_mf_nnndf_TAG20110127T105501_6n20fjkw_.bkp
List of Datafiles in backup set 62
File LV Type Ckp SCN Ckp Time Name
4 Full 2428375 27-JAN-11 /database/sqlstar/data/sqlstar/users01.dbf
5 Full 2428375 27-JAN-11 /database/sqlstar/data/sqlstar/prod01.db
Regards
AsifDear Experts
As per your suggestion I havle allocated multiple channels including the auxliary channel..*It has executed to a lot of extent but it has hung at last*.I am posting the commands and steps..
[oracle@infotech ~]$ rman target / auxiliary sys/admin@dupli
Recovery Manager: Release 10.2.0.1.0 - Production on Fri Jan 28 11:46:07 2011
Copyright (c) 1982, 2005, Oracle. All rights reserved.
connected to target database: SQLSTAR (DBID=1533334878)
connected to auxiliary database: DUPLI (not mounted)
RMAN> run{
2> allocate channel c1 type disk;
3> allocate channel c2 type disk;
4> ALLOCATE AUXILIARY CHANNEL aux1 DEVICE TYPE DISK;
5> ALLOCATE AUXILIARY CHANNEL aux2 DEVICE TYPE DISK;
6> duplicate target database to dupli;
7> }
using target database control file instead of recovery catalog
allocated channel: c1
channel c1: sid=140 devtype=DISK
allocated channel: c2
channel c2: sid=139 devtype=DISK
allocated channel: aux1
channel aux1: sid=155 devtype=DISK
allocated channel: aux2
channel aux2: sid=154 devtype=DISK
Starting Duplicate Db at 28-JAN-11
contents of Memory Script:
set until scn 2487653;
set newname for datafile 1 to
"/u01/dupli/data/system01.dbf";
set newname for datafile 2 to
"/u01/dupli/data/undotbs01.dbf";
set newname for datafile 3 to
"/u01/dupli/data/sysaux01.dbf";
set newname for datafile 4 to
"/u01/dupli/data/users01.dbf";
set newname for datafile 5 to
"/u01/dupli/data/prod01.dbf";
set newname for datafile 6 to
"/u01/dupli/data/try01.dbf";
restore
check readonly
clone database
executing Memory Script
executing command: SET until clause
executing command: SET NEWNAME
executing command: SET NEWNAME
executing command: SET NEWNAME
executing command: SET NEWNAME
executing command: SET NEWNAME
executing command: SET NEWNAME
Starting restore at 28-JAN-11
channel aux1: starting datafile backupset restore
channel aux1: specifying datafile(s) to restore from backup set
restoring datafile 00002 to /u01/dupli/data/undotbs01.dbf
restoring datafile 00003 to /u01/dupli/data/sysaux01.dbf
channel aux1: reading from backup piece /u01/flash/SQLSTAR/backupset/2011_01_28/o1_mf_nnndf_TAG20110128T114150_6n4qkhf6_.bkp
channel aux2: starting datafile backupset restore
channel aux2: specifying datafile(s) to restore from backup set
restoring datafile 00001 to /u01/dupli/data/system01.dbf
restoring datafile 00006 to /u01/dupli/data/try01.dbf
channel aux2: reading from backup piece /u01/flash/SQLSTAR/backupset/2011_01_28/o1_mf_nnndf_TAG20110128T114150_6n4qkb92_.bkp
channel aux1: restored backup piece 1
piece handle=/u01/flash/SQLSTAR/backupset/2011_01_28/o1_mf_nnndf_TAG20110128T114150_6n4qkhf6_.bkp tag=TAG20110128T114150
channel aux1: restore complete, elapsed time: 00:01:16
channel aux2: restored backup piece 1
piece handle=/u01/flash/SQLSTAR/backupset/2011_01_28/o1_mf_nnndf_TAG20110128T114150_6n4qkb92_.bkp tag=TAG20110128T114150
channel aux2: restore complete, elapsed time: 00:01:17
channel aux1: starting datafile backupset restore
channel aux1: specifying datafile(s) to restore from backup set
restoring datafile 00004 to /u01/dupli/data/users01.dbf
restoring datafile 00005 to /u01/dupli/data/prod01.dbf
channel aux1: reading from backup piece /u01/flash/SQLSTAR/backupset/2011_01_28/o1_mf_nnndf_TAG20110128T114150_6n4qk8lg_.bkp
channel aux1: restored backup piece 1
piece handle=/u01/flash/SQLSTAR/backupset/2011_01_28/o1_mf_nnndf_TAG20110128T114150_6n4qk8lg_.bkp tag=TAG20110128T114150
channel aux1: restore complete, elapsed time: 00:01:15
Finished restore at 28-JAN-11
sql statement: CREATE CONTROLFILE REUSE SET DATABASE "DUPLI" RESETLOGS ARCHIVELOG
MAXLOGFILES 16
MAXLOGMEMBERS 3
MAXDATAFILES 100
MAXINSTANCES 8
MAXLOGHISTORY 292
LOGFILE
GROUP 2 ( '/u01/dupli/log/redo02.log' ) SIZE 50 M REUSE,
GROUP 3 ( '/u01/dupli/log/redo03.log' ) SIZE 50 M REUSE,
GROUP 4 ( '/u01/dupli/log/redo05.log' ) SIZE 100 M REUSE
DATAFILE
'/u01/dupli/data/system01.dbf'
CHARACTER SET WE8ISO8859P1
contents of Memory Script:
switch clone datafile all;
executing Memory Script
datafile 2 switched to datafile copy
input datafile copy recid=1 stamp=741613900 filename=/u01/dupli/data/undotbs01.dbf
datafile 3 switched to datafile copy
input datafile copy recid=2 stamp=741613900 filename=/u01/dupli/data/sysaux01.dbf
datafile 4 switched to datafile copy
input datafile copy recid=3 stamp=741613900 filename=/u01/dupli/data/users01.dbf
datafile 5 switched to datafile copy
input datafile copy recid=4 stamp=741613900 filename=/u01/dupli/data/prod01.dbf
datafile 6 switched to datafile copy
input datafile copy recid=5 stamp=741613900 filename=/u01/dupli/data/try01.dbf
contents of Memory Script:
set until scn 2487653;
recover
clone database
delete archivelog
executing Memory Script
executing command: SET until clause
Starting recover at 28-JAN-11
starting media recovery
archive log thread 1 sequence 142 is already on disk as file /u01/flash/SQLSTAR/archivelog/2011_01_28/o1_mf_1_142_6n4qqom4_.arc
archive log filename=/u01/flash/SQLSTAR/archivelog/2011_01_28/o1_mf_1_142_6n4qqom4_.arc thread=1 sequence=142
media recovery complete, elapsed time: 00:00:04
Finished recover at 28-JAN-11
contents of Memory Script:
shutdown clone;
startup clone nomount ;
executing Memory Script -
RMAN duplicate database suddenly slow
Hi Everyone,
I posted at wrong forum last time, sorry about that.
I used RMAN to duplicate database to different box in the same local network area. Here are the scenario:
boxA: target database (PROD) -- 250G
database:Oracle 10g Enterprise Edition Release 10.2.0.3.0 - 64bit Production
OS:Windows Server 2003 Enterprise x64 Edition
boxB: cloned database
database:Oracle 10g Enterprise Edition Release 10.2.0.3.0 - 64bit Production
OS:Windows Server 2003 Enterprise x64 Edition
After prepared necessary steps,listener and tnsnames,etc, I run the following scripts:
C:\>rman target sys/[email protected] auxiliary sys/[email protected] catalog rman/rman
RMAN>RUN
SET NEWNAME FOR DATAFILE 1 TO 'D:\oracle\undb\system01.dbf';
.... (some set newname omitted here)
SET NEWNAME FOR DATAFILE 15 TO 'D:\oracle\undb\RMAN01.ORA';
SET NEWNAME FOR TEMPFILE 1 TO 'D:\oracle\undb\TEMP01.ORA';
# to manually allocate three auxiliary channels for disk issue
ALLOCATE AUXILIARY CHANNEL aux1 DEVICE TYPE DISK;
ALLOCATE AUXILIARY CHANNEL aux2 DEVICE TYPE DISK;
ALLOCATE AUXILIARY CHANNEL aux3 DEVICE TYPE DISK;
DUPLICATE TARGET DATABASE TO undb
LOGFILE
GROUP 1 ('D:\oracle\undb\redo01.log') SIZE 100M REUSE,
GROUP 2 ('D:\oracle\undb\redo02.log') SIZE 100M REUSE,
GROUP 3 ('D:\oracle\undb\redo03.log') SIZE 100M REUSE;
database duplicated successfully last week.
Monday, I created another database in boxA (testdb) and used the similiar scripts (just made necessary changed, database name,file names,etc), and the duplication also successful.
Yesterday, I tried to duplicate PROD, did the exactly same thing as Monday,
everything was very slow,
RMAN>report schema; took over 30 minutes,
RMAN>list backup;took another 30 minutes,
then I delete testdb in boxA, nothing better.
I have tried from boxA, also tried from boxB, things were similiar.
(when test from boxB, I input: rman target sys/[email protected] auxiliary sys/[email protected] catalog rman/[email protected] )
when I input:
RMAN> report schema;
and checked from Enterprise Manager,
SELECT RECID , STAMP , THREAD# , SEQUENCE# , FIRST_CHANGE# LOW_SCN , FIRST_TIME LOW_TIME , NEXT_CHANGE# NEXT_SCN ,
RESETLOGS_CHANGE# , RESETLOGS_TIME FROM V$LOG_HISTORY WHERE RECID BETWEEN :1 AND :1 AND RESETLOGS_TIME IS NOT NULL
AND STAMP >= :1 ORDER BY RECID
the query is running for a long time, my V$LOG_HISTORY has 18688 rows, select count(*) from V$LOG_HISTORY took less than 1 second.
I am wondering what is the reason?
Can anybody give me a clue?
Thank you very much.Thanks Alan,
Hardware spec:
duplicate database server CPU: 2x1995 Mhz ,RAM:4G, hard disk 500G
production server CPU: 2x2993 Mhz ,RAM:5G,hard disk 900G
the production server is better than the duplicate server. the production only run Oracle 10g server, the duplicate server is brand new and nothing is runing except Windows and Oracle software only.
I noticed that when in peek hour, RMAN is really slow, no matter which box I run the RMAN, when in non peek hour, it's reasonable.
Is there anything I can do on the RMAN side?
Thanks again
Maybe you are looking for
-
How to enforce correct "Build In" order of a series of images?
Hi, I've done this before, with only four bullet points and four images. But for some reason in this case, with 10 bullet points linked to 10 images, what happens is this: the first two images behave correctly, i.e. the second image duly flips and
-
ERROR IDoc2File "Cannot produce target element"
Hi, well i am sending an IDoc as i did some times before via XI to the client. Funny thing is that now it's the first time the MM is not able to handle empty fields from sender. I configured the target DT and the field 'co' from IDoc for occurrence w
-
My one to one activation code is not working, how can I get it to work
I am trying to activate my membership for one to one, however after many attempts, it states it is not valid. What should I do? Svetlana
-
Hi all, Does anyone have experience in creating a survey in BW? If yes, could you please explain how to do it? Thanks, Nathalie
-
Running javafx from java without jfx sdk installed
I need to run jfx application on client's computer(without jfx sdk installation and outside the browser) from a java code. I also need to path parameters from java to javafx and to get return value. What i did: 1) put a.html, a_browser.jnlp and a.jar