database clone with RMAN
We use the Oracle 10 g R2 on Linux.
We have a database of development which is mode without archival value. Can clone us this database without stopping it with RMAN.
No, you can't take any form of online backup without in archivelog mode. BackupSets would be blurred as data files are backed up to the different SNA.
Tags: Database
Similar Questions
-
Issue all try to perform the active database duplication with RMAN
Hi all
I would like to duplicate the database CURRENTLY to DATABASEB and must be performed in the same server. I tried to bounce the instance listener & databaseb several times, but no luck.
Please help me solve this problem and why its happening.
Step 1: The instance of DATABASEB is phase Nomount
Step 2:
== > tnsping DATABASEB
AMT Ping utility for Linux: Version 11.2.0.2.0 - Production on 2012-SEP-11 07:36:54
Copyright (c) 1997, 2010, Oracle. All rights reserved.
Use settings files:
TNSNAMES adapter used to resolve the alias
Try to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = client) (PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = DATABASEB)(UR=A)))
OK (10 ms)
Step 3:
== > rman target sys/***@DATABASEA auxiliary sys/***@DATABASEB
Recovery Manager: release 11.2.0.2.0 - Production kills Sep 11 07:37:50 2012
Copyright (c) 1982, 2009, Oracle and/or its affiliates. All rights reserved.
connected to target database: CURRENTLY (DBID = 1723462779)
RMAN-00571: ===========================================================
RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.
RMAN-00571: ===========================================================
RMAN-00554: initialization of the package manager internal collection failed
RMAN-04006: auxiliary database error: ORA-12514: TNS:listener is not currently of service requested in connect descriptor
Thank youHello;
You need a static entry for this: (SID_LIST_LISTENER is the static entry)
Example of
DCLONE = (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = server.myhost.com)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = DCLONE.myhost.com) ) ) SID_LIST_LISTENER = (SID_LIST = (SID_DESC = (SID_NAME = PLSExtProc) (ORACLE_HOME = /u01/app/oracle/product/11.2.0.2) (PROGRAM = extproc) ) (SID_DESC = (global_dbname = STEST.myhost.com) (ORACLE_HOME = /u01/app/oracle/product/11.2.0.2) (sid_name = STEST) ) (SID_DESC = (global_dbname = DCLONE.myhost.com) (ORACLE_HOME = /u01/app/oracle/product/11.2.0.2) (sid_name = DCLONE) ) )
Make sure you stop and restart the receiver.
The needs of the auxiliary Instance be started NOMOUNT on a file INIT.
Given that its on the same server, you must DB_FILE_NAME_CONVERT and LOG_FILE_NAME_CONVERT in the INIT
I have always copy and rename the password too.
And the RMAN to connect as
Target of $ORACLE_HOME/bin/rman = sys /
auxiliary @source = sys / @clone connected to target database: SOURCE (DBID = 2236120765)
connected to the auxiliary database: CLONE (unassembled)DUPLICATE THE TARGET DATABASE TO THE ACTIVE DATABASE NOFILENAMECHECK IPMTEST;
H2. Another method
http://www.Visi.com/~mseberg/create_a_duplicate_database_on_the_same_host.html
Best regards
mseberg
-
HOW to clone the DATABASE with RMAN
Hello gurus,
I have a problem with RMAN, I'm trying to 'Cloning' an Oracle Instance with RMAN database and I have several errors, but I checkk all Forums and documentation
I have 2 servers in 10.2.1 in Solaris and other in 10.2.4 on Linux
And I'm running in my 1Mode of the server as follows:
RMAN
target connection.
connection Assistant sys/manager@TESTDB10_SITE2.world
run
{
allocate auxiliary channels ch1 type disk;
the value of newname for datafile 1 to ' / u02/oradata/EVTM/system/system01.dbf';
the value of newname for datafile 2 to ' / u02/oradata/EVTM/system/undotbs01.dbf';
the value of newname for datafile 3 to ' / u02/oradata/EVTM/system/sysaux01.dbf';
the value of newname for datafile 4 to ' / u01/oradata/EVTM/data/users01.dbf';
the value of newname for datafile 5 to ' / u01/oradata/EVTM/data/tbs_tpaper_data_01.dbf';
the value of newname for datafile 6 to ' / u03/oradata/EVTM/index/tbs_tpaper_idx.dbf';
the value of newname for datafile 8 to ' / u01/oradata/EVTM/data/users02.dbf';
the value of newname for datafile 7 to ' / u01/oradata/EVTM/data/perfstat_01.dbf';
the value of newname for datafile 9 to ' / u01/oradata/EVTM/data/tbs_evtm_quest01.dbf';
the value of newname for tempfile 1 to ' / u02/oradata/EVTM/system/temp01.dbf';
duplicate target database to EVTM PFILE = ' / u01/app/oracle/product/10.2/dbs/initEVTM.ora' nofilenamecheck
LOGFILE
Group 1 ('/ u01/oradata/EVTM/rdo/redo1m1.log',)
' / u01/oradata/EVTM/rdo/redo1m2.log',
U01/oradata/EVTM/RDO/redo1m3.log') SIZE the 51200 K,.
Group 2 ('/ u01/oradata/EVTM/rdo/redo2m1.log',)
' / u01/oradata/EVTM/rdo/redo2m2.log',
U01/oradata/EVTM/RDO/redo2m3.log') SIZE the 51200 K,.
Group 3 ('/ u01/oradata/EVTM/rdo/redo3m1.log',)
' / u01/oradata/EVTM/rdo/redo3m2.log',
U01/oradata/EVTM/RDO/redo3m3.log') SIZE the 51200 K;
}
and I get the error:
channel ch1: reading of the backup/backup/ORA_BACKUP_EVTM/EVTM_291020091029_full_3aksvk4q_1_1 element
ORA-19870: error reading backup total/backup/ORA_BACKUP_EVTM/EVTM_291020091029_full_3aksvk4q_1_1
ORA-19505: impossible to identify the file ' / backup/ORA_BACKUP_EVTM/EVTM_291020091029_full_3aksvk4q_1_1.
ORA-27037: unable to get file status
Linux-x86_64 error: 2: no such file or directory
Additional information: 3
switch to the previous backup
output channel: ch1
RMAN-00571: ===========================================================
RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.
RMAN-00571: ===========================================================
RMAN-03002: failure of Db in dual at 2009-10-29 16:08:29
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 file 9 found to restore
RMAN-06023: no backup or copy of datafile 8 found to restore
RMAN-06023: no backup or copy of 7 found to restore
Question?
Is it possible to duplicate/clone of Soalris in Linux? :-)))))Is it possible to duplicate/clone of Soalris in Linux? :-)))))
You can not use the command DUPLICATE between platforms (see duplicate restrictions in the documentation). It is possible to perform a cross-platform via RMAN transport. This process is also explained in the documentation.
Werner
You have an additional complication, patch levels are different. Perhaps datapump here is a better solution - depending on the size of the database.
And I hope that Solaris on x 86-64 (no SPARC), otherwise the next complication.
Edited by: oradba October 29, 2009 16:53
Edited by: oradba October 29, 2009 16:55
-
Refresh the production database to test the database with RMAN
Hi experts,
I want to refresh the production database to test the database with RMAN. You can help me please how to do this.
I saw a lot of blog on the internet but not got a satisfactory answer.
Reg,
Thomas verrma
Thomas
Follow these steps
1. on the server target
a. Add entry in oratab
b. create init.ora for target db copy of source
c. If you use catalog
connect to the RMAN catalog, you can use the double option to clone run below
one.
RMAN > Connect target sys /
@trgt RMAN > Connect Catalog rman /
@catalog b. check that the backup connects to the source and to collect information on the elements of backup that contains the backup controlfile
c. restore the controlfile
RMAN > set DBID = xxxxxxxx (DBID of the source db)
RMAN > run
{
allocate channels ch1 type parms 'SBT_TAPE' = 'ENV = (NB_ORA_CLIENT =
-
ORA-25408: can not read the appeal during a duplicate backup with rman catalog database safely
Hello
I did a database duplicate backup with rman catalog connection and got the ORA-25408: cannot read error call safely.
The catalog database is running in a Data Guard environment.
During the double process database failover occurred because of a server restart.
The restore of the data files was successful:
RMAN-08023: channel t1: restored the backup part 1
RMAN-08180: channel t1: restoration complete, duration: 00:01:15
RMAN-03091: finished the restoration at 27.08.2014 09:27:10
During execution of script memory:
RMAN-08161: content of the Script from memory:
{
switch from clone datafile;
}
RMAN-08162: execution of Script memory
I got this error:
RMAN-08162: execution of Script memory
RMAN-08031: output channel: t1
RMAN-00571: ===========================================================
RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.
RMAN-00571: ===========================================================
RMAN-03002: failure of Db in dual at 27/08/2014 09:27:10
RMAN-05501: abandonment of duplicate target database
RMAN-03015: an error has occurred in the script stored memory Script
RMAN-06004: ORACLE recovery catalog database error: ORA-25408: cannot read safely call
Dual boot time: 16:00
Failover time: 18:00
Error time: 09:00 the next day
DB version: 11.2.0.4.0, not the RAC environment, single instances
That's happened? My My db catalog rman session did not survive? Why the error happened at 09:00 (and not 17:00)? Why the session called the catalog rman during switching of the data files?
Can someone explain it to me?
Thank you!
Hello
The connection of the RMAN catalog remains inactive during the backup/restore process, once rman completes the task and try to activate the connection it gets error.
What is expected as you said the rebooted server. If this happens because of the expiration time, we went with the parameter net expire_time to maintain the connection.
Thank you
Bigot
-
Cloning of Oracle database with RMAN
Hello dear colleagues,
I intend to clone my PROD database to create a database of emergency with RMAN, the situation in the present case, it is that I want to use the same db_name so create spfile scp to the target server, run a level 0 backup dB, create the same file structure as well, but I'm confused because when I connect to RMAN to perform cloning as you can see...
RMAN> connect auxiliary / connected to auxiliary database: prod1 (not mounted) RMAN> connect target sys/passprod1@prod1_ORI connected to target database: PROD1 (DBID=somenumber)
RMAN> run { allocate auxiliary channel c1 device type disk; allocate channel c2 device type disk; duplicate target database to 'prod1'; }
-Is it possible that crushes my source PROD1 database
-C' is ok, if I run the clone with the database of the source open with few users working? Even he will operate a backup, this will obviously have a performance impact but also the integrity of the data? I'm not sure what other files of this procedure will be used in clonning.
-Should I enter into channel c2 backup full path to the source server?
I enjoy any help and thanks in advance.
Documentation:
http://docs.Oracle.com/CD/E11882_01/backup.112/e10642/rcmdupdb.htm#i1008564
Backup the basic replication does not require the same password (file)
If duplication to a host remote and demanding that the same file names and paths created, then integrate the NOFILENAMECHECK.
Hemant K Collette
-
Is it possible to create a database of the Clone with the same name of source db?
Is it possible to create a database of the Clone with the same name of source db with RMAN...
DB version is 11.2.0.2
&
Is it possible to clone a 11.2.0.2 database at 11.2.0.3 home location directly on a new server. If it starts in upgrade mode, it's ok...Hello;
Here's what I have:
Frequently asked Questions about the restoration or duplication between different Versions and platforms [ID 369644.1]
This thread:
Never done it myself, but I think that his
alter database open reselog upgrade;
I can predict all the details of this are understood to do a test on a system I can trash.
Best regards
mseberg
-
Duplication duplicate a database with RMAN, different host database different withou
Hello
I want to duplicate a database with RMAN, different host, a different database without RMAN Duplicate Technic.
I HOST1 with a database DB1 and
HOST2 with a DB2 database
I have a complete backup of the DB1 in host HOST2. How can I use this backup to clone the database?
Thank yousee the links: -.
http://kamranagayev.WordPress.com/2010/03/29/RMAN-video-tutorial-series-performing-disaster-recovery-with-RMAN/ (Video Tutorial)
http://oracleinstance.blogspot.com/2010/08/disaster-recovery-using-RMAN-demo.html
http://gavinsoorma.com/recovery-scenarios/ -
Cloning of a database from 3.5 to with RMAN
RDBMS version: 10gRel2
We have active 3.5 to database on solaris. We need to clone this DB to another machine. We can not stop the primary DB. Thus, the cold backup is out of the question.
We believe from a full backup of RMAN overnight. 05:00 early morning it will be done.
I reach Office only at 09:30. So, I need all the changes (logs archived) generated after 05:00 to apply on the DB newly created.
How you guys do this with RMAN, because backup control file in the full backup does not know about the Archives of logs generated after 05:00?Take the simple path: take a backup costs the controlfile (and all new ArchiveLogs) at 05:00 and copy the backup to the new server. Use this new backup controlfile.
Hemant K Collette
http://hemantoracledba.blogspot.com -
Oracle 12 c with RMAN database backup
Hi All-
I started back to the top of one of my PDB using utility RMAN following the instructions on the link below.
http://www.Oracle.com/WebFolder/technetwork/tutorials/OBE/DB/12C/R1/PDB/pdb_pitr/pdb_pitr.html
--Connect to Oracle RMAN. rman> Connect target / --Set the Oracle RMAN backup device type and backup file location. rman> configure channel device type disk format '/stage/db_backup_files/cdb1/%U'; --Turn on automatic backup of control files. rman> configure controlfile autobackup on; --Back up the database and archive logs. rman>backup database plus archivelog; rman> exit
Back to the top has been done successfully, but when I started with the recovery process he gave me error reporting collection.
Run {set until what SNA = 2263440; restore database connectable to pdb2; retrieve auxiliary destination of the pluggable database pdb2 = "/ stage/db_backup_files/cdb1 '; alter connectable database to pdb2 ;} open resetlogs}
This is the track to RMAN
Recovery Manager: release 12.1.0.2.0 - Production on sat 22 Aug 12:22:44 2015
Copyright (c) 1982, 2014, Oracle and/or its affiliates. All rights reserved.
RMAN > Connect target /.
connected to target database: RELIABLE (DBID = 1028507357)
RMAN > run {}
2 > ALTER DATABASE connectable to MultiPlay NARROW;
3 > set up what SNA = 14899894;
4 > restore database pluggable MultiPlay;
5 > restore database pluggable MultiPlay;
6 > alter database connectable to MultiPlay open resetlogs;
{7 >}
using the control file of the target instead of recovery catalog database
Statement processed
executing command: SET until clause
From restoration to 22 August 15
allocated channel: ORA_DISK_1
channel ORA_DISK_1: SID = 22 type of device = DISK
channel ORA_DISK_1: from the restore backup set data file
channel ORA_DISK_1: specifying datafile (s) to restore from backup set
channel ORA_DISK_1: restore datafile 00035 to E:\APP\ORADATA\RELIABLE\MULTIPLAY\SYSTEM01. DBF
channel ORA_DISK_1: restore datafile 00036 to E:\APP\ORADATA\RELIABLE\MULTIPLAY\SYSAUX01. DBF
channel ORA_DISK_1: restore datafile 00037 to E:\APP\ORADATA\RELIABLE\MULTIPLAY\MULTIPLAY_USERS01. DBF
channel ORA_DISK_1: backup E:\APP\RECOVERY_AREA\RELIABLE\40A433F530464F3BBF2E7C0B1553ECE8\BACKUPSET\2015_08_22\O1_MF_NNNDF_TAG20150 piece reading
822T115328_BXJ5C182_. BKP
channel ORA_DISK_1: piece handle = E:\APP\RECOVERY_AREA\RELIABLE\40A433F530464F3BBF2E7C0B1553ECE8\BACKUPSET\2015_08_22\O1_MF_NNNDF_TAG20150822T115328_BX
J5C182_. Tag BKP = TAG20150822T115328
channel ORA_DISK_1: restored the backup part 1
channel ORA_DISK_1: restore complete, duration: 00:01:05
Restoration finished in 22 August 15
From pick up to August 22, 15
using channel ORA_DISK_1
RMAN-05026: WARNING: following tablespaces set applies to the Point in time specified assuming
List of tablespaces should have UNDO segments
SYSTEM tablespace
Tablespace UNDOTBS1
Creation of automatic instance with SID = "zbnt."
RMAN-00571: ===========================================================
RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.
RMAN-00571: ===========================================================
RMAN-03002: failure of the command recover at 22/08/2015 12:24:56
ORA-19852: error creating services for the instance auxiliary zbnt (error 0)
ORA-27302: failure occurred:
ORA-27303: additional information: could not start the instance
Thank you
Siradji
Just a wild guess
You do not use this script in a command as Administrator window
Therefore, you won't be able to create any service.
I also have a question: your only troubleshooting activity consisted of hitting CTRL + C and CTRL-V, is not it?
It's so boring to most of the people here do not even TRY to solve their own problems.
-------------
Sybrand Bakker
Senior Oracle DBA
-
How to make a backup of the database with RMAN Oracle Single Instance
People,
Hello. I use the server of Oracle 11 GR 1 material with operating system Oracle Linux 5.10 database.
I understand how to back up the database instance in SQL Server with Windows. But do not really understand how to back up the database instance in Oracle on Linux.
I did it cold and hot backup for the database HRCS90 instance, but both receive the same error message.
Cold backup is below:SQL > startup
ORACLE instance started.Total System Global Area 538677248 bytes
Bytes of size 2146024 fixed
528482584 variable size bytes
4194304 buffers of data bytes
Redo buffers 3854336 bytes
Mounted database.
Open database.
SQL > shutdown immediate
The database is closed.
The database is dismounted.
ORACLE instance stops.
RMAN > backup database;From backup 25 November 13
using the control file of the target instead of recovery catalog database
RMAN-00571: ===========================================================
RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.
RMAN-00571: ===========================================================
RMAN-03002: failure of the backup command to the 25/11/2013 14:26:52
RMAN-06171: not connected to the target database
RMAN > backup HRCS90RMAN-00571: ===========================================================
RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.
RMAN-00571: ===========================================================
RMAN-00558: error occurred during parsing of order entry
RMAN-01009: syntax error: found 'distinctive sign': expected an of: ' archivelog, auxiliary, as, backup backupset, blocks, channel, check, copy, copies, controlfilecopy, cumulative, current, basic data, datafile, datafilecopy, device, diskratio, db_recovery_file_dest, db_file_name_convert, duration, filesperset, for, format, from, full, strength, file, incremental, keep, (, maxsetsize nochecksum, noexclude, nokeep, not, proxy, pool, re-use, recovery, section, skip). ', spfile, skip readonly, setsize, tablespace, tag to validate.
RMAN-01008: the identifier of the AfDB was: HRCS90
RMAN-01007: line 1 column 8 file: entry standard
RMAN > backup database HRCS90RMAN-00571: ===========================================================
RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.
RMAN-00571: ===========================================================
RMAN-00558: error occurred during parsing of order entry
RMAN-01009: syntax error: found 'distinctive sign': expected an of: ' archivelog, auxiliary, backupset channel, copy, controlfilecopy, backup, common, base data, data file, datafilecopy, remove, diskratio, db_recovery_file_dest, filesperset, format, force, file, include, keep, (, maxsetsize, noexclude, nokeep, not, pool, more reuse, recovery, section, skip, spfile, pass readonly, setsize, tablespace, tag, to).
RMAN-01008: the identifier of the AfDB was: HRCS90
RMAN-01007: line 1 column 17 file: entry standardWhile the instance of database HRCS90 is starting, I do hot backup by using the same commands and get the same error message with above cold backup.
My question is:
Can any folk tell me specific steps (order by order) to back up a single instance of the database in Oracle with RMAN?
Thank you.Yes, you can restore and recover the backup, but not at the moment. You will only be able to restore and recover at the time of your backup.
For example.
If you take backup (mount point with no mode of journal archive) at 06:00 and your grave database crashes at 21:00, you will be able to restore and recover until 06:00. You will find all the changes made to the database between 06:00 and 21:00.
If you want your database to recover until 9 PM or until a point in time, then you must put your database in log mode archive, and then save the archives.
-
Problem creating a Standby physical database with RMAN
Hi all
I am learning oracle dataguard and as part of the learning process of creation of database on hold.
Platform: V250-fire-Sun Sparc, Solaris 10
Version of database - Oracle 11R2
I create standby database on the same server, so the directory structure is different.
By following the instructions on the site of Oracle, I managed to create a functional physical standby database. But I'm not able to create a database with RMAN backup. Here are the steps that I follow-
1 configure all the required settings on the primary database as done in creating physical standby database manually, for example implementation force of logging, the creation of newspapers ensure etc..
2. settings edited on the primary database file as does everything in manual creation of physical database backup. Some of these changes are –
On the primary database:
*. FAL_CLIENT = "orcl11020" #Primary database unique name
*. FAL_SERVER = "stdby_11" #Standby database unique name
db_file_name_convert ='/ < dir >/oradata/stdby_11 ',' / < dir >/oradata/orcl11020 '
log_file_name_convert ='/ < dir >/oradata/stdby_11 ',' / < dir >/oradata/orcl11020 ',' / < dir > / oradata/stdby_11/redo_mem ',' / < dir > / oradata/orcl11020/redo_mem '
standby_file_management = auto
* .log_archive_config = 'DG_CONFIG = (orcl11020, stdby_11)'
* .log_archive_dest_1 = "LOCATION = / < dir > / flash_recovery_area/ORCL11020/archivelog"
VALID_FOR = (ALL_LOGFILES, ALL_ROLES) db_unique_name = orcl11020'
* .log_archive_dest_2 = "SERVICE = db_unique_name LGWR ASYNC = (ONLINE_LOGFILES, PRIMARY_ROLE) stdby_11 = stdby_11 VALID_FOR'"
*. LOG_ARCHIVE_DEST_STATE_1 = 'ENABLE '.
*. LOG_ARCHIVE_DEST_STATE_2 = 'ENABLE '.
*. LOG_ARCHIVE_FORMAT='%t_%s_%r.arc'
*. LOG_ARCHIVE_MAX_PROCESSES = 30
Copied same pfile standby database and set to date follows.
"* .control_files ='/ < dir > /oradata/stdby_11/stdby_11.ctl','/ < dir > / fra_stdby/stdby_11/stdby_11.ctl".
* .db_name = "orcl1102".
* .db_unique_name = "stdby_11".
*. FAL_CLIENT = "stdby_11."
*. FAL_SERVER = "orcl11020."
db_file_name_convert ='/ < dir >/oradata/orcl11020 ',' / < dir >/oradata/stdby_11 '
log_file_name_convert ='/ < dir >/oradata/orcl11020 ',' / < dir >/oradata/stdby_11 ',' / < dir > / oradata/orcl11020/redo_mem ',' / < dir > / oradata/stdby_11/redo_mem '
standby_file_management = auto
* .log_archive_dest_1 = "LOCATION = / < dir > / fra_stdby/STDBY_11/archivelog"
VALID_FOR = (ALL_LOGFILES, ALL_ROLES) db_unique_name = stdby_11'
* .log_archive_dest_2 = "SERVICE = orcl11020 LGWR ASYNC VALID_FOR = (ONLINE_LOGFILES, PRIMARY_ROLE)
db_unique_name = orcl11020'
3. Add the relevant information in tnsnames.ora and listener.ora files and restart the listener.
3 created the file password with the same credentials as database primary.
4.up - to-date RMAN backup primary database available.
5. create controlfile standby with rman
While the primary database s open (I tried with a primary database in montage mode as well).
$> rman/paswd@rman for catalog rman target /.
RMAN > BACKUP CURRENT CONTROLFILE TO SLEEP;
6. open a new terminal standby base and start in nomount mode using the settings created - file
$> ORACLE_SID = stdby_11
$> export ORACLE_SID
$> sqlplus / as sysdba
SQL > STARTUP NOMOUNT pfile =' < rental/initfilename.ora '
SQL > quit
$> rman AUXILIARY / target sys/passwd@orcl11020 catalog rman/passwd@rman
RMAN > duplicate TARGET DATABASE ENSURES DORECOVER;
RMAN ends without error but the archive logs is not eliminated. Looking at the newspaper, following caught my eye.
Logging of 1017 errors received on the eve
------------------------------------------------------------
Verify that the primary and standby use a password file
and remote_login_passwordfile shared or EXCLUSIVE.
and the SYS password is the same password files.
error ORA-16191
------------------------------------------------------------
FAL [client, ARC2]: error 16191 connection at orcl11020 for the extraction of the gap sequence
Errors in file /<>dir > / diag/rdbms/stdby_11/stdby_11/trace/stdby_11_arc2_24321.trc:
ORA-16191: customer main newspaper not connected waiting for shipment
Errors in file / < dir > / diag/rdbms/stdby_11/stdby_11/trace/stdby_11_arc2_24321.trc:
ORA-16191: customer main newspaper not connected waiting for shipment
Thus on primary and standby I confirmed
SQL > show parameter remote_login_passwordfile
VALUE OF TYPE NAME
------------------------------------ ----------- ------------
Remote_login_passwordfile string EXCLUSIVE
Make double sure that the password files are the same, I stop databases, delete the password and recreated with the same credentials.
Password files are called - orapworcl11020 and orapwstdby_11
Can someone guide me where thisngs wrong here please.How did you create your file of passwords on the rescue system?
I will consider your entire post and see what jumps.
* 3. Created the file password with the same credentials as primary database.*
You cannot create the password on the eve of 11.1 from file. You must COPY the password from the primary to the wait for passwords to match. What I do, is copy and rename.
E.g.
I copy orapwPRIMARY to the standby server and rename it orapwSTANDBY
(Your names varies)
It could start to work if you do this with a stop and restart of recovery on the day before. Newspapers make up probably just.
If you find this helpful please mark as well.
Best regards
mseberg
Published by: mseberg on July 7, 2011 07:16
A few things about the parameters (they can make no difference)
This
Log_archive_dest_1 =' LOCATION = /
/flash_recovery_area/ORCL11020/archivelog VALID_FOR = (ALL_LOGFILES, ALL_ROLES) db_unique_name = orcl11020' Would it be
Log_archive_dest_1 =' LOCATION = USE_DB_RECOVERY_FILE_DEST VALID_FOR = (ALL_LOGFILES, ALL_ROLES) db_unique_name = orcl11020'
Not sure that you need.
LOG_ARCHIVE_FORMAT='%t_%s_%r.arc'
-
Oracle 10g - Cross - Platform Database Portable (with or without RMAN?)
Hello guys,.
I am currently on a project of databases oracle migration from one platform to another platform (both platforms are on the same boutien):
-> For Linux 64-Bit of Windows 64-Bit
--> In HP - UX 64-Bit to 64-Bit AIX
All databases are on Oracle 10 g (10.2.0.4) and I tested two different ways:
(1) the 'official' way with RMAN CONVERT DATABASE
http://youngcow.NET/doc/Oracle10g/backup.102/b14191/dbxptrn002.htm#CHDEEEAG
(2) ' copy and paste '.
-Copy and paste the database files
-Create controlfile manually on the target platform (with the help of "backup controlfile to trace" source platform)
Both methods work well and the migrated databases test work fine.
Now, I wonder why there is a command "RMAN CONVERT DATABASE", if it is possible to copy and paste the data from the files and perform two steps manually later.
The "RMAN CONVERT DATABASE" takes time and you have to copy the output files RMAN for the target platform.
Is there a special reason why you need the "RMAN CONVERT DATA base"? The "RMAN CONVERT DATABASE" change things in the files of database internally?
Thanks and greetingsuser11981296 wrote:
...
So my question is if there is a special case in which you use the RMAN with 'RMAN CONVERT DATABASE' instead of just 'copy & paste' If you stay on the same "endianness"?Database convert RMAN is the only supported way to 'move the database' on platform. Data files have some platform specific headers, and the conversion of RMAN prepares these data files (in particular regarding storage space containing ROLLBACK, mostly the TBS SYSTEM segments and CANCEL).
The script also runs the script utlirp.sql in mode UPGRADE and utlrp.sql in NORMAL mode.
So, I would avoid using a simple copy of the data files, I already tried for the objective test (HP - UX-> AIX) and encountered a few errors ORA-600 which I did not with conversion of RMAN.Nicolas.
-
Database with RMAN duplicate; Please help me
Hi all
My Production database named PROD_1 of Oracle Database 10 g Enterprise Edition Release 10.2.0.1.0 on Linux server.
I want to duplicate my database of production to a production base of second one PROD_2 with the same database
and same version of system OS and two DB servers have the identifical directory structure.
I'm with RMAN to duplicate the database:
So I'm on PROD_2 Server I have:
-Shutdown my PROD_2 database
-J' I start with my PROD_2 database NOMOUNT
Then I connect to PROD_2 with the user sys:
+ [oracle@PROD_2 oradata] $ $ORACLE_HOME/bin/rman target sys +.
Recovery Manager: Release 10.2.0.1.0 - Production on Fri Aug 29 14:04:53 2008
Copyright (c) 1982, 2005, Oracle. All rights reserved.
target password database:
connected to target database: PROD_2 (unassembled)
RMAN > ALTER DATABASE MOUNT;
using the control file of the target instead of recovery catalog database
mounted database
RMAN > CONNECT SYS/joker@PROD_1.ww.egwn.lan AUXILIARY
connected to the auxiliary database: PROD_1 (DBID = 1431425681)
RMAN > RUN
+ 2 > {+
+ 3 > PROD_1 duplicate TARGET DATABASE; +
{+ 4 >} +.
From Db in double to 29 August 08+.
allocated channel: ORA_AUX_DISK_1+.
channel ORA_AUX_DISK_1: sid = 139 devtype = DISK+.
RMAN-00571: ===========================================================+
RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =+.
RMAN-00571: ===========================================================+
RMAN-03002: failure of the command duplicate Db at 2008-08-29 14:06:07+.
RMAN and 05500: the auxiliary database must be mounted not on the issue of a duplicate order+.
RMAN >
then, when PROD_1 is not mounted, I can't connect to PROD_1 of PROD_2 server, beacause the database is not open!
Could you help me please, I simply try to replicate my database PROD_1.
Thank you very much
Published by: OracleJavaLinux on August 29, 2008 14:23Hey,.
you simply set ORACLE_SID on you prod_2 (not 1). Otherwise, you're good.
Connect to prod_1 with rman target / catalog rman@prod_1.
HTH.
-
Updating of database without using RMAN duplicate
Hi all
I intend to update my test instance in a PIT using backups RMAN of PROD. I would like to know the process without being connected to the PROD database and without using RMAN dual.
Thank you.Imran khan says:
Please delete your concepts about the process of backup and restore RMAN... It is not possible to update your db test for prod db RMAN backup parts without using RMAN dual and without connecting to the PROD database...
I would be very surprised if you can get this answer to your pointless question...It is most details too throw an insult while making false statements on the displayed issue.
Maybe you are the one who does not know how to use rman.There is a way to clone (refresh) a database of development of a backup of the production without using the command DUPLICATE.
In summary, you must do this:
(1) with rman, restore the backup piece controlfile.
(2) startup mount
(3) with rman, restore the database.
(4) recover database using backup controlfile until Cancel.
(5) use the 'nest' utility to change the name of the database.Good luck!
: p
Maybe you are looking for
-
Hello I guess I am a heavy user of FF - use every day and many - for example a window closed last night who had 48 tablets in it. my Firefox profile is 2.79 GB. It does not appear to be a problem, but before I try refresh - I wonder if this is excess
-
Stakeholders with disabilities
My speakers do not work on board. Helmets work, but the speakers do not present as an option in the sounds configuration panel window. I think that I have can I have somehow deleted in the Panel thought I was turning off the coast, but now can't fin
-
Bluescreen system_service_exception asmtxhci.sys whenever I launch Skype
Had Skype for awhile with no problems. Updated my PC and now every time I start my computer Skype crashes with an error of system_service_exeption asmthxhci.sys. Tried uninsalling and relocation of the different versions of Skype with the same result
-
Yoga screen brightness/flicker
Love my 13 Yoga so far have had since October 26, when he was released. Like everyone else I had some problems with partitioning blah blah blah, got that taken care, but lately, I noticed that the brightness of my screen seems to flicker ALL the time
-
I just bought the printer Deskjet 1050 A J410a all-in-one and it doesn't scan. Printing and copying are fine, but it won't scan using the HP software or windows Diagnostics scan fails on WIA, Ive followed the instructions but not good. Passes TWAIN o