RMAN cloning problem
Hi gurus,I'm trying to clone the database on the same server in oracle 11 g 2 on oel 5.5.
When I ran
RMAN > duplicate target database to 'clone ';
It runs, but after that the execution cursor blinks like that alone. the script does not end.
This is the alert log database clone.
Commissioning:
Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production
With the options of partitioning, OLAP, Data Mining and Real Application Testing.
Using parameters in Server pfile /u01/app/oracle/product/11.2.0/db_1/dbs/initclone.ora-side
Parameters of the system with default values:
process = 150
memory_target = 256 M
control_files = "/ u01/app/oracle/clone/control01.ctl".
control_files = "/ u01/app/oracle/flash_recovery_area/clone/control02.ctl".
db_file_name_convert = ' / u01/app/oracle/orcl.
db_file_name_convert = ' / u01/app/oracle/clone.
log_file_name_convert = ' / u01/app/oracle/orcl.
log_file_name_convert = ' / u01/app/oracle/clone.
DB_BLOCK_SIZE = 8192
compatible = "11.2.0.0.0."
log_archive_format = '% t_%s_%r.dbf '.
db_recovery_file_dest = ' / u01/app/oracle/flash_recovery_area.
db_recovery_file_dest_size = 3852M
undo_tablespace = 'UNDOTBS1.
Remote_login_passwordfile = "EXCLUSIVE."
db_domain = «»
dispatchers = "(PROTOCOL=TCP) (SERVICE = cloneXDB)" "
audit_file_dest = ' / u01/app/oracle/admin/clone/adump.
AUDIT_TRAIL = 'DB '.
db_name = 'clone '.
open_cursors = 300
diagnostic_dest = ' / u01/app/oracle '.
Wed Dec 07 04:21:43 2011
PMON started with pid = 2, OS id = 6533
Wed Dec 07 04:21:43 2011
VKTM started with pid = 3, OS id = 6535 high priority
VKTM clocked at (10) precision of milliseconds with DBRM quantum (100) ms
Wed Dec 07 04:21:43 2011
GEN0 started with pid = 4, OS id = 6539
Wed Dec 07 04:21:43 2011
DIAG started with pid = 5, OS id = 6541
Wed Dec 07 04:21:43 2011
DBRM started with pid = 6, OS id = 6543
Wed Dec 07 04:21:43 2011
PSP0 started with pid = 7, OS id = 6545
Wed Dec 07 04:21:43 2011
DIA0 started with pid = 8, OS id = 6547
Wed Dec 07 04:21:43 2011
MA started with pid = 9, OS id = 6549
Wed Dec 07 04:21:43 2011
DBW0 started with pid = 10, OS id = 6551
Wed Dec 07 04:21:44 2011
LGWR started with pid = 11, OS id = 6553
Wed Dec 07 04:21:44 2011
CKPT started with pid = 12, OS id = 6555
Wed Dec 07 04:21:44 2011
SMON started with pid = 13, OS id = 6557
Wed Dec 07 04:21:44 2011
RECCE has started with pid = 14, OS id = 6559
Wed Dec 07 04:21:44 2011
MMON started with pid = 15, OS id = 6561
Wed Dec 07 04:21:44 2011
MMNL started with pid = 16, OS id = 6563
commissioning 1 dispatcher (s) for '(ADDRESS =(PARTIAL=YES) (PROTOCOL = TCP))' network address...
commissioning or shared server 1...
Environment ORACLE_BASE = / u01/app/oracle
Wed Dec 07 04:23:50 2011
Closure of proceedings (immediate)
Closure of proceedings: in addition to logons disabled
Stop background MMNL process
MMON background process stop
The high waters = 4 license
All dispatchers/dispatchers and shared servers stop
Wed Dec 07 04:28:54 2011
STOP: Active processes prevent the functioning of the stop
Can you please help me solve this problem...
Thank you very much...!
899329 wrote:
Thank you gurus, when I increased the large pool, she did it.Thank you very much
Cool!!! Please close the thread as answered. :)
Tags: Database
Similar Questions
-
Rman cloning (Segmentation fault) error
Hi all
Oracle version: 10.2.0.1
Operating system: linux
When we tried to make rman cloning by catalog, we get the following error here my clon database is on a server and my target and clon of database to Server B.
Please find the below error.
Please help me solve the problem.[oracle@test1161 ~]$ rman catalog rman/rman target sys/qfund@test Recovery Manager: Release 10.2.0.1.0 - Production on Sun Jan 23 22:24:05 2011 Copyright (c) 1982, 2005, Oracle. All rights reserved. connected to target database: TEST (DBID=2034916279) connected to recovery catalog database RMAN> connect auxiliary sys/poor123@poor connected to auxiliary database: POOR (not mounted) RMAN> duplicate target database to poor; Starting Duplicate Db at 23-JAN-11 starting full resync of recovery catalog full resync complete allocated channel: ORA_AUX_DISK_1 channel ORA_AUX_DISK_1: sid=155 devtype=DISK contents of Memory Script: { set until scn 22564684; set newname for datafile 1 to "/u02/poor/oradata/system01.dbf"; set newname for datafile 2 to "/u02/poor/oradata/undotbs01.dbf"; set newname for datafile 3 to "/u02/poor/oradata/sysaux01.dbf"; set newname for datafile 4 to "/u02/poor/oradata/users01.dbf"; set newname for datafile 5 to "/u02/poor/oradata/example01.dbf"; set newname for datafile 6 to "/u02/poor/oradata/poorna.dbf"; set newname for datafile 7 to "/u02/poor/oradata/bigtbs_01.dbf"; set newname for datafile 8 to "/u02/poor/oradata/lak_tbs01.dbf"; set newname for datafile 9 to "/u02/poor/oradata/vir2_01.dbf"; set newname for datafile 10 to "/u02/poor/oradata/lak_tbs2_01.dbf"; set newname for datafile 11 to "/u02/poor/oradata/vir_user01.dbf"; set newname for datafile 12 to "/u02/poor/oradata/vir_bigf01.dbf"; set newname for datafile 17 to "/u02/poor/oradata/hrscott.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 executing command: SET NEWNAME executing command: SET NEWNAME executing command: SET NEWNAME executing command: SET NEWNAME executing command: SET NEWNAME Starting restore at 23-JAN-11 using channel ORA_AUX_DISK_1 channel ORA_AUX_DISK_1: starting datafile backupset restore restoring datafile 00003 to /u02/poor/oradata/sysaux01.dbf restoring datafile 00004 to /u02/poor/oradata/users01.dbf restoring datafile 00005 to /u02/poor/oradata/example01.dbf restoring datafile 00006 to /u02/poor/oradata/poorna.dbf restoring datafile 00007 to /u02/poor/oradata/bigtbs_01.dbf restoring datafile 00008 to /u02/poor/oradata/lak_tbs01.dbf restoring datafile 00009 to /u02/poor/oradata/vir2_01.dbf restoring datafile 00010 to /u02/poor/oradata/lak_tbs2_01.dbf restoring datafile 00011 to /u02/poor/oradata/vir_user01.dbf restoring datafile 00012 to /u02/poor/oradata/vir_bigf01.dbf restoring datafile 00017 to /u02/poor/oradata/hrscott.dbf channel ORA_AUX_DISK_1: reading from backup piece /u01/app/oracle/product/10.2.0/db_1/dbs/1pm2tq5e_1_1 channel ORA_AUX_DISK_1: restored backup piece 1 piece handle=/u01/app/oracle/product/10.2.0/db_1/dbs/1pm2tq5e_1_1 tag=TAG20110124T124846 channel ORA_AUX_DISK_1: restore complete, elapsed time: 00:01:45 Finished restore at 23-JAN-11 sql statement: CREATE CONTROLFILE REUSE SET DATABASE "POOR" RESETLOGS ARCHIVELOG MAXLOGFILES 16 MAXLOGMEMBERS 3 MAXDATAFILES 100 MAXINSTANCES 8 MAXLOGHISTORY 292 LOGFILE GROUP 1 ( '/u02/poor/oradata/redo1a.log' ) SIZE 50 M REUSE, GROUP 2 ( '/u02/poor/oradata/redo2a.log', '/u02/poor/oradata/redo2b.log' ) SIZE 50 M REUSE, GROUP 3 ( '/u02/poor/oradata/redo3a.log', '/u02/poor/oradata/redo1b.log', '/u02/poor/oradata/redo3b.log' ) SIZE 50 M REUSE DATAFILE '/u02/poor/oradata/system01.dbf' CHARACTER SET WE8ISO8859P1 contents of Memory Script: { switch clone datafile all; } executing Memory Script released channel: ORA_AUX_DISK_1 datafile 2 switched to datafile copy input datafile copy recid=1 stamp=741272711 filename=/u02/poor/oradata/undotbs01.dbf datafile 3 switched to datafile copy input datafile copy recid=2 stamp=741272711 filename=/u02/poor/oradata/sysaux01.dbf datafile 4 switched to datafile copy input datafile copy recid=3 stamp=741272711 filename=/u02/poor/oradata/users01.dbf datafile 5 switched to datafile copy input datafile copy recid=4 stamp=741272711 filename=/u02/poor/oradata/example01.dbf datafile 6 switched to datafile copy input datafile copy recid=5 stamp=741272711 filename=/u02/poor/oradata/poorna.dbf datafile 7 switched to datafile copy input datafile copy recid=6 stamp=741272711 filename=/u02/poor/oradata/bigtbs_01.dbf datafile 8 switched to datafile copy input datafile copy recid=7 stamp=741272711 filename=/u02/poor/oradata/lak_tbs01.dbf datafile 9 switched to datafile copy input datafile copy recid=8 stamp=741272711 filename=/u02/poor/oradata/vir2_01.dbf datafile 10 switched to datafile copy input datafile copy recid=9 stamp=741272711 filename=/u02/poor/oradata/lak_tbs2_01.dbf datafile 11 switched to datafile copy input datafile copy recid=10 stamp=741272711 filename=/u02/poor/oradata/vir_user01.dbf datafile 12 switched to datafile copy input datafile copy recid=11 stamp=741272711 filename=/u02/poor/oradata/vir_bigf01.dbf datafile 17 switched to datafile copy input datafile copy recid=12 stamp=741272711 filename=/u02/poor/oradata/hrscott.dbf contents of Memory Script: { set until scn 22563972; recover clone database delete archivelog ; } executing Memory Script executing command: SET until clause Starting recover at 23-JAN-11 allocated channel: ORA_AUX_DISK_1 channel ORA_AUX_DISK_1: sid=158 devtype=DISK starting media recovery archive log thread 1 sequence 23 is already on disk as file /u02/archive/1_23_741021347.dbf archive log thread 1 sequence 24 is already on disk as file /u02/archive/1_24_741021347.dbf archive log thread 1 sequence 25 is already on disk as file /u02/archive/1_25_741021347.dbf archive log thread 1 sequence 26 is already on disk as file /u02/archive/1_26_741021347.dbf archive log thread 1 sequence 27 is already on disk as file /u02/archive/1_27_741021347.dbf archive log thread 1 sequence 28 is already on disk as file /u02/archive/1_28_741021347.dbf archive log thread 1 sequence 29 is already on disk as file /u02/archive/1_29_741021347.dbf archive log thread 1 sequence 30 is already on disk as file /u02/archive/1_30_741021347.dbf archive log thread 1 sequence 31 is already on disk as file /u02/archive/1_31_741021347.dbf archive log thread 1 sequence 32 is already on disk as file /u02/archive/1_32_741021347.dbf archive log thread 1 sequence 33 is already on disk as file /u02/archive/1_33_741021347.dbf archive log thread 1 sequence 34 is already on disk as file /u02/archive/1_34_741021347.dbf archive log thread 1 sequence 35 is already on disk as file /u02/archive/1_35_741021347.dbf archive log thread 1 sequence 36 is already on disk as file /u02/archive/1_36_741021347.dbf archive log thread 1 sequence 37 is already on disk as file /u02/archive/1_37_741021347.dbf archive log thread 1 sequence 38 is already on disk as file /u02/archive/1_38_741021347.dbf archive log filename=/u02/archive/1_23_741021347.dbf thread=1 sequence=23 archive log filename=/u02/archive/1_24_741021347.dbf thread=1 sequence=24 archive log filename=/u02/archive/1_25_741021347.dbf thread=1 sequence=25 archive log filename=/u02/archive/1_26_741021347.dbf thread=1 sequence=26 archive log filename=/u02/archive/1_27_741021347.dbf thread=1 sequence=27 archive log filename=/u02/archive/1_28_741021347.dbf thread=1 sequence=28 archive log filename=/u02/archive/1_29_741021347.dbf thread=1 sequence=29 archive log filename=/u02/archive/1_30_741021347.dbf thread=1 sequence=30 archive log filename=/u02/archive/1_31_741021347.dbf thread=1 sequence=31 archive log filename=/u02/archive/1_32_741021347.dbf thread=1 sequence=32 archive log filename=/u02/archive/1_33_741021347.dbf thread=1 sequence=33 archive log filename=/u02/archive/1_34_741021347.dbf thread=1 sequence=34 archive log filename=/u02/archive/1_35_741021347.dbf thread=1 sequence=35 archive log filename=/u02/archive/1_36_741021347.dbf thread=1 sequence=36 archive log filename=/u02/archive/1_37_741021347.dbf thread=1 sequence=37 archive log filename=/u02/archive/1_38_741021347.dbf thread=1 sequence=38 media recovery complete, elapsed time: 00:00:04 Finished recover at 23-JAN-11 contents of Memory Script: { shutdown clone; startup clone nomount ; } executing Memory Script database dismounted Oracle instance shut down connected to auxiliary database (not started) Oracle instance started Total System Global Area 524288000 bytes Fixed Size 1220384 bytes Variable Size 134217952 bytes Database Buffers 385875968 bytes Redo Buffers 2973696 bytes sql statement: CREATE CONTROLFILE REUSE SET DATABASE "POOR" RESETLOGS ARCHIVELOG MAXLOGFILES 16 MAXLOGMEMBERS 3 MAXDATAFILES 100 MAXINSTANCES 8 MAXLOGHISTORY 292 LOGFILE GROUP 1 ( '/u02/poor/oradata/redo1a.log' ) SIZE 50 M REUSE, GROUP 2 ( '/u02/poor/oradata/redo2a.log', '/u02/poor/oradata/redo2b.log' ) SIZE 50 M REUSE, GROUP 3 ( '/u02/poor/oradata/redo3a.log', '/u02/poor/oradata/redo1b.log', '/u02/poor/oradata/redo3b.log' ) SIZE 50 M REUSE DATAFILE '/u02/poor/oradata/system01.dbf' CHARACTER SET WE8ISO8859P1 contents of Memory Script: { set newname for tempfile 1 to "/u02/poor/oradata/temp.dbf"; switch clone tempfile all; catalog clone datafilecopy "/u02/poor/oradata/undotbs01.dbf"; catalog clone datafilecopy "/u02/poor/oradata/sysaux01.dbf"; catalog clone datafilecopy "/u02/poor/oradata/users01.dbf"; catalog clone datafilecopy "/u02/poor/oradata/example01.dbf"; catalog clone datafilecopy "/u02/poor/oradata/poorna.dbf"; catalog clone datafilecopy "/u02/poor/oradata/bigtbs_01.dbf"; catalog clone datafilecopy "/u02/poor/oradata/lak_tbs01.dbf"; catalog clone datafilecopy "/u02/poor/oradata/vir2_01.dbf"; catalog clone datafilecopy "/u02/poor/oradata/lak_tbs2_01.dbf"; catalog clone datafilecopy "/u02/poor/oradata/vir_user01.dbf"; catalog clone datafilecopy "/u02/poor/oradata/vir_bigf01.dbf"; catalog clone datafilecopy "/u02/poor/oradata/hrscott.dbf"; switch clone datafile all; } executing Memory Script executing command: SET NEWNAME renamed temporary file 1 to /u02/poor/oradata/temp.dbf in control file cataloged datafile copy datafile copy filename=/u02/poor/oradata/undotbs01.dbf recid=1 stamp=741272727 cataloged datafile copy datafile copy filename=/u02/poor/oradata/sysaux01.dbf recid=2 stamp=741272727 cataloged datafile copy datafile copy filename=/u02/poor/oradata/users01.dbf recid=3 stamp=741272728 cataloged datafile copy datafile copy filename=/u02/poor/oradata/example01.dbf recid=4 stamp=741272728 cataloged datafile copy datafile copy filename=/u02/poor/oradata/poorna.dbf recid=5 stamp=741272728 cataloged datafile copy datafile copy filename=/u02/poor/oradata/bigtbs_01.dbf recid=6 stamp=741272728 cataloged datafile copy datafile copy filename=/u02/poor/oradata/lak_tbs01.dbf recid=7 stamp=741272728 cataloged datafile copy datafile copy filename=/u02/poor/oradata/vir2_01.dbf recid=8 stamp=741272728 cataloged datafile copy datafile copy filename=/u02/poor/oradata/lak_tbs2_01.dbf recid=9 stamp=741272728 cataloged datafile copy datafile copy filename=/u02/poor/oradata/vir_user01.dbf recid=10 stamp=741272728 cataloged datafile copy datafile copy filename=/u02/poor/oradata/vir_bigf01.dbf recid=11 stamp=741272729 cataloged datafile copy datafile copy filename=/u02/poor/oradata/hrscott.dbf recid=12 stamp=741272729 datafile 2 switched to datafile copy input datafile copy recid=1 stamp=741272727 filename=/u02/poor/oradata/undotbs01.dbf datafile 3 switched to datafile copy input datafile copy recid=2 stamp=741272727 filename=/u02/poor/oradata/sysaux01.dbf datafile 4 switched to datafile copy input datafile copy recid=3 stamp=741272728 filename=/u02/poor/oradata/users01.dbf datafile 5 switched to datafile copy input datafile copy recid=4 stamp=741272728 filename=/u02/poor/oradata/example01.dbf datafile 6 switched to datafile copy input datafile copy recid=5 stamp=741272728 filename=/u02/poor/oradata/poorna.dbf datafile 7 switched to datafile copy input datafile copy recid=6 stamp=741272728 filename=/u02/poor/oradata/bigtbs_01.dbf datafile 8 switched to datafile copy input datafile copy recid=7 stamp=741272728 filename=/u02/poor/oradata/lak_tbs01.dbf datafile 9 switched to datafile copy input datafile copy recid=8 stamp=741272728 filename=/u02/poor/oradata/vir2_01.dbf datafile 10 switched to datafile copy input datafile copy recid=9 stamp=741272728 filename=/u02/poor/oradata/lak_tbs2_01.dbf datafile 11 switched to datafile copy input datafile copy recid=10 stamp=741272728 filename=/u02/poor/oradata/vir_user01.dbf datafile 12 switched to datafile copy input datafile copy recid=11 stamp=741272729 filename=/u02/poor/oradata/vir_bigf01.dbf datafile 17 switched to datafile copy input datafile copy recid=12 stamp=741272729 filename=/u02/poor/oradata/hrscott.dbf contents of Memory Script: { Alter clone database open resetlogs; } executing Memory Script *Segmentation fault*
Thank you and best regards,
Kahina Prasad.S
Published by: SIDDABATHUNI on January 24, 2011 13:28After there alert.log of the AUXILIARY instance
-
1. while making RMAN cloning failed to copy the control file (got deleted main control file) however created new control file how to restore the backup in the control file.
2. how to change the directories with RMAN all cloning
3. how to switch / switch
Please guide me on the things aboveHello;
If you make two copies for standby?
Here are my notes:
http://www.Visi.com/~mseberg/duprman2.html
For the control file I re-create the control file watch and move it.
On Primary DB, SQL>startup mount; SQL> alter database create standby controlfile as 'STANDBY.ctl'; SQL>ALTER DATABASE OPEN;
Then move STANDBY.ctl to the other server and rename it for as many copies as necessary.
The digital switchover
http://www.Visi.com/~mseberg/Data_Guard_switchover.html
Failover
http://www.Visi.com/~mseberg/Data_Guard_Failover_Test_using_SQL.PDF
Best regards
mseberg
-
RMAN cloning using the recovery catalog
Hi all
I do RMAN cloning using the recovery catalog.
I use oracle 10R2 on solaris, I have a PRIMARY primary database name. I create another database for the catalog name of recovery REC_DB. and the master database with REC_DB record and took the full backup. now I have a full backup of the PRIMARY database in the recovery catalog.
Now I want to clone the MAIN database using this backup (backup of the catalog).
I've done this before, without using the catalogue,
I know that the orders and the cloning procedure, I want to ask how to connect from the auxiliary.
RMAN target sys/password@source_DB_string auxiliary sys / password@clone_DB_string *.
here target means what? primary or catalog database. kindly help me on this.
Kind regards
Kumar>
>
I know that the orders and the cloning procedure, I want to ask how to connect from the auxiliary.
RMAN target sys/password@source_DB_string auxiliary sys / password@clone_DB_string *.
here target means what? primary or catalog database. kindly help me on this.
Looks like it is exactly what you were asking.
You need to connect to the TARGET, CATALOG & AUXILIARY of the rman prompt instance.
You then run your script/command clone, which you claim you already know how to do. -
Cloning - problems point source
I have problems with cloning with respect to the selection of a point source. I option-click on the area that I want to clone but when I use the brush to clone it works for part of the part of beginning of the brush but clone pixels, I did not choose. For example, I'm eliminating the reflections of a flat screen TV. I'll clone of the darkest section with no reflection but shortly after I brush the brush in the clone on the reflective parts of television will start painting in something the Tablet near the center of entertainment. If instead of brushing in what I would clone I am rather the equivalent of a mouse click, it works better, but is not as smooth and I find myself with obvious circles of the brush. I know that I can adjust the opacity, but I really want to know why I'm having this problem.
I expanded and reduced the size of the brush, when selecting the source point - always make sure that the source point includes only the area I want to clone. In my example above, I notice that if the distance between the black pixels of the screen and pixels colored tablet is 1 ", then the brush stroke when I clone the pixels used after on this same distance - about changes, give or take.
Does this mean that it is the only way that the brushes are working and that instead of being able to make a longer stroke I need to use several shorter strokes?
I'll clone of the darkest section with no reflection, but shortly after that I brush in the clone on the reflective parts of television the brush will begin painting in something the Tablet near the entertainment center
That's how it is supposed to work. You choose a point source to clone of brush and then, from a different point. The brush will cover a surface brushed with some form, and this area will be filled by a zone of the same shape, cloned from the neighborhood of the point source.
Then draw your strokes so short, that they will remain in the dark area. Clone several times, so you can use the short brush strokes, if the brush strokes are too pronounced, increase the flexibility of the clone tool.
-
Duplicate RMAN cloning using the database using the current database
Hi all
I am new bie, I want to clone my target database using the rman command 'DUPLICATE database OF ACTIVE DATABASE"new host.
steps on google, I searched, but I got confused, I doubt if you need to install oracle rdbms softare on new host or not? and also should I copy all files (redo, control, datafiles) to the new host? kind LY help and tell me the steps to clone the database using rman.your help will be appreciated.
Thank you.
Kind regards.
OS: RHEL 5.4
DB: 11.2.0.3
Hello
Have you not through document link to Gavin at least. It's very simple steps. If you wait until other measures, then won't them.
He had provided the demonstration, at least get in 'google' (you'll have so many links)
The Oracle Dba Italian Blogger: how to clone an Oracle 11 g 2 home
http://balaoracledba.com/2013/12/16/cloning-an-existing-Oracle11g-release-2-RDBMS-installation/
Note: If you feel always complex, better skip the task itself.
-Thank you
Pavan Kumar N
-
Hello experts,
I need your help. I ", using the oracle database" 10.2 When I want to connect to the database using rman
RMAN target sys/sys_passwd@TSH1
It shows
ORA-12154: TNS: could not resolve the connect identifier specified
When I try to connect using
RMAN target / its ok
Help, please
Marcella Rahman
Hello
Your problem is with the used connString IE TSH1
What happens when you do
tnsping TSH1?
Check details of TSH1 in the tnsnames.ora file and check that they are correct.
HTH
-
RMAN cloning of the CARS to the Non-RAC
Hi gurus,
I had cloned successfully my DB of RAC to Non-RAC via the RMAN. Below is the configuration
RAC
-2 nodes
-GR 11, 2 (Compatible 11.0.1.6 according to the needs of the Application)
-ASM (2 starts DATA and FRA)
-OS RHEL 6.3
Non - RAC
-node 1
-Stand alone11gR2 (Compatible 11.0.1.6 according to the needs of the Application)
-ASM (2 starts DATA and FRA)
-OS RHEL 6.3
My approach was to clone DB and then change SID with utility nest. My understanding is that utility nest will also replace file ASM paths of CRAMPRD to CRAMSIT, but that has not happened.
So question is when I'm checking my paths on CRAMSIT he still refelect CRAMPRD eg - + DATA1/CRAMPRD. Is it possible to rename this directory in ASM railways so that it should reflect my SID.
Kind regards
Nikhil Mehta.
No, NEST would change the paths of the DSO.
I assume that you have set the ORACLE_SID CRAMSIT on the server not CARS before the restoration.
What you should have done is to put DB_UNIQUE_NAME = "CRAMSIT" (even with DB_NAME = "CRAMPRD") on the server not CARS before the restoration. Oracle would have used the DB_UNIQUE_NAME to set the path of the ASM (note that when restoring, it would have shown ' restoration to + DATA1/CRAMPRD "but would have been catering to '+ DATA1/CRAMSIT').
You can now use Oracle Support Note
How to rename/move a data file in the same [564993.1 ID] ASM diskgroup
to rename the paths to the DSO.
Hemant K Collette
-
Hi all
I have two level 0 backup and five leve1 backup details 8 April 13 level 0 to 18:00, level 9 April 13 1 6 pm, level 10 April 13 1 6 pm, April 11, 13 leve1 18:00, 12 April 13 level 1 18:00
and next week April 15, 13 level 0 to 13:30, 15 April 13 level 1 at 18:00.
Archives of newspapers generated every day, 15 April 13 days archivelog times are morning 09:30, 10:45, 13:40, 15:30, 17:45.
My database has little problem on 15 April 13 at 18:10 I want to restore the database using 15 April 13 archivelog hour 17:45 for this
I first restore the backup of level 15 April 13 0
RMAN > bootable media.
> restore database;
> recover database until time April 15, 2013 05:45:12 ';
error is Rman-06555 data file 1 should be restored from a backup created before April 15, 13
Then I try to restore the second way
first restore backup of level 0 from 08-Apr-13 its level 1 backups, then the second restore 15 April 13 level 0 backup and try to files
recover database until time April 15, 2013 05:45:12 '
always the same error above
error is Rman-06555 data file 1 should be restored from a backup created before April 15, 13
But I can restore to 15 April 13 10:45 with the first level 0 backup. I couldn't restore to 15-Apr-13 17:45 why?
can I get back to 15-Apr-13 17:45?
Please help me
Thank you all
What is mkvrun { shutdown immediate; startup mount; set until time "to_date('15-04-2013 18:45:12','DD-MM-YYYY HH24:MI:SS')"; restore database; recover database; }
You can try the commands with the appropriate changes to meet your requirement and to validate the above results?
-
Using the question of RMAN cloning
DB version: 10 gr 2
Operating system: Solaris
We are thinking of cloning a database taking his full backup can
We run all these scripts (orders full backup and duplicate) for the night. After the auxiliary DB is in editing mode, there will be new archived logs generated in primary DB, which is the DB auxiliary not aware of. . Even if the archive logs are part of the using PLUS ARCHIVELOG backup script, we are talking about the archive logs generated after the auxiliary DB is mounted.rman target / auxillary sys/mypass@auxdb --- Done at Primary DB rman> duplicate target database to "smdprod" NOFILENAMECHECK; --- Done at Primary DB
Question1. How to apply these new archive logs in the auxiliary DB?
Question2. On which mode the auxiliary DB must be when we apply archive logs. Editing or open mode?N.Page wrote:
DB version: 10 gr 2
Operating system: Solaris
We are thinking of cloning a database taking his full backup canrman target / auxillary sys/mypass@auxdb --- Done at Primary DB rman> duplicate target database to "smdprod" NOFILENAMECHECK; --- Done at Primary DB
We run all these scripts (orders full backup and duplicate) for the night. After the auxiliary DB is in editing mode, there will be new archived logs generated in primary DB, which is the DB auxiliary not aware of. . Even if the archive logs are part of the using PLUS ARCHIVELOG backup script, we are talking about the archive logs generated after the auxiliary DB is mounted.
Question1. How to apply these new archive logs in the auxiliary DB?
Question2. On which mode the auxiliary DB must be when we apply archive logs. Editing or open mode?
To do this, create a standby database, complete his creation and apply to all the restoring archived log files that were generated during the creation on hold and perform a failover
Check my video tutorial on the creation of standby and Clone database with RMAN
http://kamranagayev.WordPress.com/2010/06/25/RMAN-video-tutorial-series-creating-duplicate-and-standby-database-using-RMAN/ -
My initial problem was in thread "my files in less than 2 different databases".
After fixing, now I made backup and tried to run the command duplicate and found this error.
Then,RMAN-00571: =========================================================== RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS =============== RMAN-00571: =========================================================== RMAN-03002: failure of Duplicate Db command at 02/18/2011 13:11:19 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 13 found to restore RMAN-06023: no backup or copy of datafile 12 found to restore RMAN-06023: no backup or copy of datafile 11 found to restore RMAN-06023: no backup or copy of datafile 10 found to restore RMAN-06023: no backup or copy of datafile 9 found to 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
Open another command prompt and changed it
It used to be uat_backup_ % U.configure channel device type disk format 'd:\clone\backup_files\conver_backup_%U';
Now,.
What shd - I do?backup database plus archivelog; . . . RMAN-00571: =========================================================== RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS =============== RMAN-00571: =========================================================== RMAN-03002: failure of backup plus archivelog command at 02/18/2011 13:21:15 ORA-19504: failed to create file "D:\CLONE\BACKUP_FILES\CONVER_BACKUP_3FM4VPE9_1_1" ORA-27044: unable to write the header block of file OSD-04008: WriteFile() failure, unable to write to file O/S-Error: (OS 112) There is not enough space on the disk.
Where I'm going wrong?
Help, please!
Thank you very much in advance.
NithKamran Agayev A. wrote:
Chinar wrote:
user645399 wrote:
Keita,I tried again and again that the backup files have been copied in to the but have not seen any difference. Is it possible to add in the statement which folder to the mean it shd?
Thank you.
Nith
Published by: user645399 on February 18, 2011 15:07
Where sis copy you backups?
Copy these backups to the host in the same folder on the source host and try againThey must be in the same place. Check my video tutorial for Duplication of the database:
http://kamranagayev.WordPress.com/2010/06/25/RMAN-video-tutorial-series-creating-duplicate-and-standby-database-using-RMAN/;-)
-
RMAN script problem...
Oracle Server - Enterprise Edition - Version: 10.2.0.3
Catalog RMAN: 10.2.0.4
I use the following script for the backup:
The problem is with backup archivelog to archivelog all until ' sysdate-1' remove all entries; .4> run 5> { 6> allocate channel dev1 type disk format 'Z:\Rbackup\DMP\db_t%t_s%s_p%p'; 7> allocate channel dev2 type disk format 'Z:\Rbackup\DMP\db_t%t_s%s_p%p'; 8> backup database FILESPERSET 20 ; 9> backup archivelog all archivelog until time 'sysdate-1' delete all input ; 10> release channel dev1 ; 11> release channel dev2 ; 12> }
This command gives error
ORA-19588: archived newspaper Recid stamp is no longer valid
even after doing the overlap.
Aim of Metalink ID: 1189883.1
which indicates clearly that the statement
backup archivelog to archivelog all until ' sysdate-1' remove all entries;
is hurt by the logic and the reason for the question.
And invite you to use
ARCHIVELOG backup until time ' sysdate-1' remove all entries;
or
delete any backup archivelog entry;
without a doubt, which do not serve the purpose.
The logic that needs to be implemented is
I need to backup all archivelogs and remove the archivelogs until sysdate-1...
How can I do this? Help, please...
Concerning
Renjith Maletbackup database FILESPERSET 20 ; backup archivelog all; delete noprompt archivelog all completed before 'sysdate-1';
seems OK. However, to make sure you can also change the last of them to
delete noprompt archivelog all completed before 'sysdate-1' backed up 1 times to disk;
which guarantees that an archivelog is removed only if it has been saved successfully (for example the day before).
Hemant K Collette
-
Cannot read file backupset with RMAN cloning
Hello
I'm performing cloning on windows for windows operation. On the target, I took via rman backup using the recovery catalog. I got fresh backup of database as well as any archivelogs and delete the obsolete using the rman recovery catalog repository.
When I connect to target, Recovery catalog and the auxiliary instance after that running some RMAN commands gives the error that it is impossible to read file backupset. What could be the reason for this. I write the list error part of RMAN please see and tell me what could be the reasons I took fresh backups and it seems that it is impossible to read this particular backup.
channel ORA_AUX_DISK_1: reading from the backup C:\ORACLEBASE\PRODUCT\10.2.0\F piece
LASH_RECOVERY_AREA\ORCL\BACKUPSET\2010_09_27\O1_MF_NNNDF_TAG20100927T125050_6B0M
6YLD_. BKP
ORA-19870: error reading backup total C:\ORACLEBASE\PRODUCT\10.2.0\FLASH_RECOVER
Y_AREA\ORCL\BACKUPSET\2010_09_27\O1_MF_NNNDF_TAG20100927T125050_6B0M6YLD_. BKP
ORA-19505: impossible to identify the file 'C:\ORACLEBASE\PRODUCT\10.2.0\FLASH_RECOVERY_ '.
AREA\ORCL\BACKUPSET\2010_09_27\O1_MF_NNNDF_TAG20100927T125050_6B0M6YLD_. BKP ".
ORA-27041: could not open the file
04002 - OSD: could not open the file
S/O-error: (OS 3) the system cannot find the path specified
switch to the previous backup
RMAN-00571: ===========================================================
RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.
RMAN-00571: ===========================================================
RMAN-03002: failure of Db in dual at 2010-09-27 13:17:22
RMAN-03015: an error has occurred in the script stored memory Script
RMAN-06026: some targets not found - abandonment of restoration
RMAN-06023: no backup or copy of datafile 6 to restore
RMAN-06023: no backup or copy of datafile 5 found to restore
RMAN-06023: no backup or copy of the file 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 >
Please help me in this matter.
Kind regards
AbgrallIf your RMAN backup exists on the target server path.
Target server: C:\Oracle\RMAN_BACKUP\
Put on the same location on the auxiliary server.
Auxiliary server: C:\Oracle\RMAN_BACKUP\
When cloning also connect with your catalog of recovery that you use the catalog of recovery for the server target.
Concerning
Asif KabirPublished by: asifkabirdba on 27 Sep, 2010 14:51
-
RMAN duplicate problem ORA-01547, different, different sid of the box
Hello!
We have used for a long time in DOUBLES for the daily backup/restore checking our PROD instance on another instance (sid different - different from the box). Our RMAN backup is on daily basis and full (not increment).
Backup starts every day at 02:00 and ends approximately 04:10. Naturally, we use the (CATDB) catalog database on the other server.
We use for version 7.2 archiving system Legato. All databases (10.2.0.2) are on Linux RH EE 4.5 64bits. Catalog db (CATDB) is on XE 2.0 (free version) on Linux RH EE 4.5 32-bit.
Statistics are based on the weekly level on CATDB and PROD (target) according to all books...
All eyes by the book...
For a long time, we have not had any more problems (duplicate sometimes failed, but we thought that no need to worry about 'some' problems). But recently we had more fruitless duplicates in a short period of time.
In the file is a log of these unsuccessful duplicates:
http://rapidshare.com/files/181623335/duplicate_problem.txt.html
All the time it looks like when recover part should be given, there is no log archived in backup file!
If I try immediately after restore archive only logs:RUN {
I get all archive logs required to manually restore the database (recover using backup controlfile before...).
allocate channel t1 type 'SBT_TAPE';
send 'NSR_ENV=(NSR_SERVER=zzz.hypohr,NSR_CLIENT=xxy)';
SET ARCHIVELOG DESTINATION TO '/u01/lun0/dolly/arch';
RESTORE ARCHIVELOG TIME BETWEEN "TO_DATE('2008-01-09 02:00:00','yyyy-mm-dd hh24:mi:ss')" AND "TO_DATE('2008-01-09 04:40:00','yyyy-mm-dd hh24:mi:ss')";
release channel t1;
}
I was validating backup and perfect look... (you sent the newspaper).
I was researching the problem and find out who is really some errors reported in our catalog database (Journal of the auxiliary looks OK as well target instance alerts).
In RMAN. ISR table I get records that had problems. Attached paper is based on the following sql:SELECT
http://rapidshare.com/files/181625271/RMAN_rsr_errors.txt.html
ROWID, R.RSR_KEY, R.DBINC_KEY, R.RSR_RECID,
R.RSR_STAMP, R.RSR_PKEY, R.RSR_L0KEY,
R.RSR_LEVEL, R.RSR_TYPE, R.RSR_OPER,
R.RSR_CMDID, R.RSR_STATUS, R.RSR_MBYTES,
R.RSR_START, R.RSR_END, R.RSR_IBYTES,
R.RSR_OBYTES, R.RSR_OPTIMIZED, R.RSR_OTYPE,
R.RSR_SRECID, R.RSR_SSTAMP, R.RSR_ODEVTYPE
FROM RMAN.RSR R
Where
RSR_OPER = 'RMAN'
AND RSR_STATUS like '%ERROR%'
I tried to reproduce by hand (restore files of data through RMAN restore RMAN archived logs, recover by sqlplus) works just like a charm!
Is there a way someone tell me where to start digging to find out why some duplicates completed with errors.
THXThe log shows duplicate process begins @ 10:19, newspapers from 04:02-10:02 "expected" so on the tape.
I think that the errors that appear in the newspaper had to be addressed. Something seems to start running at 04:50 & 09:20 and it produces errors?
-
RMAN cloning daily of the CARS to the NON-RAC
Hi all
How can I get a daily updating of Production - database of node 2 CARS to a single instance database. Ideally, I would use as RMAN backup to restore the database rather than duplicate using the current database.
Please can someone help me with the steps to achieve this?
Thank you very much
Details:
Database production 11.2.0.4 (node 2) RAC on ODA (Oracle Database Appliance) Oracle Linux 5.9
Backup RMAN in place on PROD - full backup weekly and daily incremental
I don't think that we have different steps to duplicate cars cars not
create pfile to auxiliary instance
Start the database in condition nomount
Have db_file_name_convert and log_file_name_convert
Run the command duplicate
RMAN target sys /
@TARGET auxiliary sys / @AUX DEBUG trace = rman.trc Also take a look at
https://blogs.Oracle.com/HA-architecture/entry/clone_rac_database_to_non
Maybe you are looking for
-
Toshiba Satellite Pro 4600; Cannot load Windows.
A friend recently gave me a refurbished from this laptop model that has been updated with Windows XP Pro and it worked for about a month before a windows system file has been altered. I got a new OS disk and I replaced the file and it worked fine for
-
What is this error message and suggestions on how to move beyond it as the upgrade is cancelled whenever I try to run the upgrade?
-
my windows updates will not install error d 000737
my windows updates will not install error d 000737
-
Delete messages to from a blackberry 8830 blackBerry Smartphones
Is there a way to delete a message in Microsoft Outlook and deleted it on the Blackberry?
-
The best WMA to MP3 file converter.
What is the best, safest wma to mp3 file conversion software? Watch for free download without infect my PC.