A 2 DB instance recovery catalog
HelloI have a up and race catalog rman (catdb) recovery with a recorded case (orcl) in it. How to add another instance (devdb) in my recovery catalog (catdb)?
Thank you
You can register a number n of database in the recovery catalog database.
connect to the database of the registry database and recovery catalog;
for example:
Catalog RMAN rman/rman@catalog_database_name target = sys/password@target_db_name =
RMAN > register database;
To connect to the catalogue of recovery and the query database;
SQL > select * from db;
for example:
Connect on the demo1 recovery catalog database and as a catalog of recovery user sai;
SQL> conn sai/sai;
Connected.
SQL> select * from db;
DB_KEY DB_ID CURR_DBINC_KEY
---------- ---------- --------------
1 3710360247 2
141 2484479252 14
check out the link:
http://oracleinstance.blogspot.com/2009/12/how-to-create-register-add-unregister.html
Published by: rajeysh on August 16, 2010 10:16
Tags: Database
Similar Questions
-
RMAN-20001: target not found in the recovery catalog database
I'm practicing the loss of all control files. I have backups of catalog rman configured for controlfile autobackup. So far, I did this.
RMAN > startup nomount;
Oracle instance started
Total System Global Area 209715200 bytes
Bytes of size 1272864 fixed
155190240 variable size bytes
Buffers 50331648 database bytes
Redo buffers 2920448 bytes
RMAN > restore controlfile autobackup.
From restoration to SEPT. 08.-10
allocated channel: ORA_DISK_1
channel ORA_DISK_1: sid = 156 devtype = DISK
field of recovery destination: / u02/flash_recovery
name of database (or unique name of database) used for research: TEST
channel ORA_DISK_1: autobackup found in the recovery area
channel ORA_DISK_1: autobackup found: /u02/flash_recovery/TEST/autobackup/2009_12_09/o1_mf_s_705171034_5l0kgv4o_.bkp
channel ORA_DISK_1: restore full automatic backup of control file
output filename=/u02/control_files/TEST/control02.ctl
output filename=/u03/oradata/TEST/control03.ctl
Restoration finished in 08-SEVEN.-10
RMAN > change the editing of the database;
mounted database
output channel: ORA_DISK_1
RMAN-00571: ===========================================================
RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.
RMAN-00571: ===========================================================
RMAN-03002: failure to modify the order db at 08/09/2010 14:54:50
RMAN-06004: error ORACLE recovery catalog database: RMAN-20001: target not found in the recovery catalog database
I guess it has something to do with the DBID but... I don't have and I do not know how to find.Hello
Try this
RMAN > Connect target /.
RMAN > Connect catalog rman/rman@test
RMAN > startup nomount;
RMAN > list backup of controlfile; -
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. -
RMAN-06004: ORACLE recovery catalog database error: ORA-03113: end - of -
Hello
I experience backup scripts. because once done, she will move to pod pre box.
Database runs in mode archvelog
I have lgged in the dbserver himself.
the shell scripts is:
#! / usr/bin/sh
source. / game - env # this file will have ID password for catalogue and the target sources
echo executing command: database Backup
ECHO
RMAN TARGET $dbuser / $dbpwd$ rmandb CATALOG $rmanuser/$rmanpwd@$rmandb < < eof
Run {}
stop immediately;
start-up;
}
expressions of folklore
output
When I run, I get the following error
connected to target database: HERMESQA (DBID = 3819666523)
connected to the recovery catalog database
RMAN > 2 > 3 > 4 > 5 >
database closed
dismounted database
Instance Oracle to close
connected to the database target (not started)
Oracle instance started
mounted database
RMAN-00571: ===========================================================
RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.
RMAN-00571: ===========================================================
RMAN-03002: failure of the boot command at 11/06/2009 11:27:54
RMAN-06004: the recovery catalog database ORACLE error: ORA-03113: end of file on communication channel
could you suggest where I have error.
Thank you
Benjamin GopalDo not back up the database using the same catalog of recovery recovery catalog of accommodation. You could just try it back up without a recovery catalog and to ensure that this database has an automatic backup of controlfile, for example.
-
Controlfile using recovery catalog update
Hello
I use OEL 5.4 with 11.2.03 like db and tried to play with a scenario where I lose all the controlfile but I controlfile stuff in the trace file. Here are the steps at a high level that I made:
one) took a backup when you are connected to the recovery catalog.
(b) using the sql, run 'alter database backup controlfile to trace. "
(c) shutdown abort;
(d) controlfile re-created using NORESETLOG option mentioned in the trace file. (trace file has been generated through step (b))
(e) connected back the PB with the recovery catalog and I see THAT RMAN shows any backup taken in step (a).
(f) now connected target dB without recovery catalog rman and I do not see the backup. How can I sync the file to control recovery catalog content?
I know
RMAN > catalog resync;
but that can be synchronized controlfile content for catalog instead of in front I... e resync controlfile;
Just looking for a simple syntax, I hope that there is one rather than make "catalog begins with 'blah blah'... I tried looking in docs, could not find. I have to do something wrong...
-Learner
This information loss is a serious risk when you run CREATE CONTROLFILE. It is better to RESTORE CONTROLFILE.
You know already the command CATALOGUE START WITH (but that only works with backup to disk).
By Note # 1082901.1 configuration information are copied from the catalog to the controlfile. But there is no information on the copy of information about backups (backuppieces) and the archivelogs.
Hemant K Collette
-
Record number of databases in a recovery catalog
Hello
How can register for multiple databases targets unrelated in a unique recovery catalog.
Suppose I have DEV and TEST databases with different dbid and you wish to register in a single commune RC.
Kindly advice.
Thank you
REDA
We do this on a regular basis in our shop.
We will have the DEV and TEST on SERVERA, databases while the catalog RMAN (RMANCAT) is located on server b.
The entries in tnsnames.ora on ServerB:
RMANCAT =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP) (HOST = SERVERB)(PORT = 1541))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = rmancat)
)
)
LISTENER_RMANCAT =
(ADDRESS = (PROTOCOL = TCP) (HOST = SERVERB)(PORT = 1541))
----------------------------------------------------------------------------------
The entries in tnsnames.ora on SERVERA:
LISTENER_DEV =
(ADDRESS = (PROTOCOL = TCP) (HOST = SERVERA)(PORT = 1551))
DEV =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP) (HOST = SERVERA)(PORT = 1551))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = dev.servera.something.com)
)
)
LISTENER_TEST =
(ADDRESS = (PROTOCOL = TCP) (HOST = SERVERA)(PORT = 1551))
TEST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP) (HOST = SERVERA)(PORT = 1551))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = test.servera.something.com)
)
)
RMANCAT_SERVERB =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP) (HOST = SERVERB)(PORT = 1541))
)
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = RMANCAT. SERVERB. SOMETHING.COM)
)
)
-------------------------------------------------------------------
Establish a connection between DEV & RMANCAT - RMAN catalog RMAN is controlled by a user called rmanusr, and each database also has a user called rmanusr.
RMAN target rmanusr /
> @dev catalogue rmanusr / > @RMANCAT_SERVERB After have connected you, you should be able to see the information of DBID, to check that you have the right of database:
Recovery Manager: release 11.2.0.3.0 - Production on Thu Nov 6 11:44:01, 2014
Copyright (c) 1982, 2011, Oracle and/or its affiliates. All rights reserved.
connected to target database: DEV (DBID = 123456789)
connected to the recovery catalog database
You should then be able to issue the SAVE command the DATABASE
---------------------------------------------------------------------------------------------------------------------------
Then, establish a separate connection between TEST & RMANCAT:
RMAN target rmanusr /
> rmanusr catalogue @test / > @RMANCAT_SERVERB Recovery Manager: release 11.2.0.3.0 - Production on Thu Nov 6 11:44:01, 2014
Copyright (c) 1982, 2011, Oracle and/or its affiliates. All rights reserved.
connected to target database: TEST (DBID = 987654321)
connected to the recovery catalog database
You can now enter a second order SAVE the DATABASE
---------------------------------------------
When you are connected to one of the connections of RMAN you implemented and after you have recorded the two databases, run:
RMAN > list incarnation;
from full resynchronization of the recovery catalog
full complete Resync
List of Incarnations of the database
DB key Inc key STATE ID DB name DB reset reset time SNA
------- ------- -------- ---------------- --- ---------- ----------
123456 2345678 DEV CURRENT 123456789 1 2014-11-06
654321 8765432 TEST CURRENT 987654321 1 2014 - 11 - 06
-
Using the Scheduler to run the rman script directly stored in the recovery catalog
Hi everyone, I usually automate my backups rman, using either cron or dbms_scheduler to call my stored in a sh file NIX rman scripts. Everything works fine but anyone know how / if it is possible to call a stored in the recovery catalog rman script. Let's say I have create a script in the catalog:
RMAN > create script showall
Comment "just one example of demonstration."
{
VIEW ALL;
}
Can I use dbms_scheduler to call this script directly? If Yes, how and if not then how can we plan for this or a stored script stored in the rman catalog catalog. Been looking all over the place, but everything seems to indicate leaving Oracle to call .sh or .bat file.
Kind regards
Dave
Well, let us know the result.
The link you supplied refers to 12 c Scheduler improvements it seems, it may not be applicable to lower versions of Oracle.
-
Can us refresh database using the recovery catalog?
Hi all, I need update the dev of database using the prod database backup, we have TSM server and database of separate catalog for storing backups. No, my doubt is, we can update database dev using catalog, which has the backup of all info the prod
In my previous organization, we used to copy the backup of the prod dev we restore and recover it in dev db. But in this organization, we have a TSM server that stores all backups of prod and dev.
Please tell me we can update dev db using info catalogue simply and without copying backups of prod? If possible how?
Thank you
Harish
user8596912 wrote:
Yes I know that the content of the rman script.
But we have not, so how can we be expected to comment on?
My question is that the connection to the rman is good or bad?
It would depend on the content of the script you do not think that we need to see.
In the end, you can determine whether this is good or bad by testing.
Because the rman is not connected directly to the target db prod.
Have you read the link I gave you?
I would limit for you: a database mirroring
The docs in detail how to duplicate a database
1 - active database
2 - from a backup WITH a connection target (the database prod)
3. from a backup WITHOUT a connection target (the database prod) but WITH a recovery catalog connection
4 - from a backup WITHOUT connection AND connection catalog recovery target (the database prod)
BTW, why you score your own messages as 'useful' to your own problem?
-
Hi all;
Lem I have a probwhen you configure the recovery catalog.
SERVER 01: 192.168.1.105 DB - NAME (db1)
SERVER 02: 192.168.1.106 DB - NAME (db2)
DB1 the TNS alias name is : DBONE -> 192.168.1.105
db2 the TNS alias name is : DBTWO -> 192.168.1.106
I tried to cash catalog of recovery in db2 to db1. but I encountered some problems.
Already, I have configured listener, tns entered into two servers.
The OS level - in db2 database) (192.168.1.106 server) here's the problem ...
rman catalog username $ / password@tns_aliasname.
I want to know, TNS ALIAS name should be what server what show above the command?
Thanks in advance...
Run rman in your data base (d1) target server (105). The tns for the catalog alias is dbtwo.
Connect to 192.168.1.105 'oracle' (or the owner of oracle)
value your ORACLE_SID db1
RMAN target / catalog rmn_rc/rmn_rc@dbtwo
Hemant K Collette
-
How to monitor all RMAN operations using single script in the recovery catalog?
I use the rman recovery catalog, all databases are stored on the catalog database, is there any script to monitor all the databases that are registered in the recovery catalog.
I have the script that displays only the last time success of the work of recovery catalog
SELECT name, Inc., Journal, ctl
Of
RMAN.rc_database d,
(select db_id, to_char (max (START_TIME),' MM/DD / YYYY:HH24:MI:SS') full)
of s rman.rc_backup_set
where s.backup_type in (')
and controlfile_included = 'NONE '.
Db_id group) f.
(select db_id, to_char (max (START_TIME),' MM/DD / YYYY:HH24:MI:SS') Inc.)
of s rman.rc_backup_set
where s.backup_type ('i')
Db_id group) i.
(select db_id, Journal of to_char (max (START_TIME),' MM/DD / YYYY:HH24:MI:SS'))
of s rman.rc_backup_set
where s.backup_type ('l')
l band db_id),
(select db_key, ctl to_char (max (completion_TIME),' MM/DD / YYYY:HH24:MI:SS'))
of s rman.rc_backup_controlfile
Db_key group) c
where f.db_id (+) = d.dbid
and i.db_id (+) = d.dbid
and l.db_id (+) = d.dbid
and c.db_key (+) = d.db_key
order by 1;
Published by: 987633 on February 12, 2013 09:03Real!
Difficult to shoot everything I want in a single query.
select db_name, start_time, end_time, status, time_taken_display, output_bytes_display, output_device_type, session_key, session_recid, session_stamp from rc_rman_backup_job_details where end_time > sysdate -1
Best regards
mseberg
-
hide the password recovery catalog in script
Hi all
I wanted to know what are all the options, the community uses when it comes to hide the recovery catalog owner password? of course, when you save another DB in our environment, we use a recovery catalog and connect using the user/password@recovery_catalog in our script. so if anyone has access to read our script can find the password of the recovery catalog owner. I wanted to see what is the dose of rest of the dose of community to hide the recovery catalog password?What is the version of db, which we are discussing here? If its 11g, you can create the virtual catalog owners on the top of the catalog and allows to manage your db. Other than that, you can store the password in the wallet on the client side and use it without Hardcoding it.
http://www.Oracle-base.com/articles/10G/secure-external-password-store-10gR2.phpAman...
-
The backup of Duplication without a target and recovery catalog connection-oriented
Hello
We need restore a database - it's now my idea of using replication backup without a target and recovery catalog connection-oriented (I don't want to disturb the source database and we do not use a recovery catalog).
Backups are stored on tapes (by Omniback from HP).
The syntax should be like this:
duplicated to dup_db database
until ' to_date (May 2, 2012 02:00, ' ' the HH24: MI: SS DD/MM/YYYY).
SPFile
location of backup '?
nofilenamecheck;
We must use the backup from May 2, 2012 - so it's my understanding that we need to use the clause "until" to_date (May 2, 2012 02:00, ' ' JJ/MM/AAAA HH24:MI:SS) "."
But because the backup is located on the Strip I do not know the value of "backup location. I thought that the name of Omniback backup could be used, but that has not worked.
Now my questions are:
-is it possible to restore a database as shown with the option-double?
- and does the job "until" in this case?
Any help will be appreciated.
Rgds
JHHello
Unfortunately, you forgot to say which version of the database, it has a double option without a recovery catalog and without connection to the main DB was introduced with 11.2 (if 11.2.0.2).
And as you can see here:
http://docs.Oracle.com/CD/E11882_01/backup.112/e10642/rcmdupdb.htm
you need a backup of disk based to use it.
"A location of disk backup that contains all backups or copies for reproduction must be available for the destination host".
Concerning
Sebastian -
How to find databases registered in the recovery catalog.
I want to know how many registered in the recovery catalog databases
How can I find it?
Thank you!Dan wrote:
I want to know how many registered in the recovery catalog databasesHow can I find it?
Thank you!
Use the 'RC_DATABASE' in the catalog database
-
RMAN-04004: recovery catalog database error: ORA-12170: TNS: connect the ti
Hello:
Last night ' RMAN backup error: ' RMAN-04004: recovery catalog database error: ORA-12170: TNS: Connect timeout.
I can sqlplus to the target database and the catalog database. The listener is in place. What is the problem? What should I check?
Thanks in advance for your help.in the oratest/orapass@rmandb1 CATALOG,.
rmandb1 is the name of the service. normally the name of the service and the name of db are kept same.
check rmandb1 tnsping where you try to run ' RMAN TARGET / CATALOG oratest/orapass@rmandb1 "command.
as optput will get the ip address of the server on which db is resident, no port, Protocol
as
---------
[Oracle@RAC3 ~] $ tnsping orcl
AMT Ping utility for Linux: Version 10.2.0.5.0 - Production on December 23, 2011 21:12:20
Copyright (c) 1997, 2010, Oracle. All rights reserved.
Use settings files:
/opt/app/Oracle/product/DB/10.2.1/network/admin/SQLNET.oraTNSNAMES adapter used to resolve the alias
Try to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = rac3.rajesh.com) (PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = orcl)))
OK (10 ms)
-------------------------------Here the HOST = rac3.rajesh.com is the present db Server
Published by: Rajesh.Rathod on December 23, 2011 07:43
-
How instance recovery and restart the database after SHUTDOWN ABORT?
How instance recovery and restart the database after the database is closed by using the command "SHUTDOWN ABORT"?Recovery if instance Oracle background SMON instance failure process using or stop quitting or database starting strength. After shutdown abort you just restart the startup database, oracle will take care for instance recovery you need'nt to intervene for example recovery.
Maybe you are looking for
-
Hello Did someone had a problem with the Netflix app after that last TVOS updated? I'm running a 4th gen Apple TV A1625 on TVOS 9.2.2 (32 GB) (13Y825). So basically since this last update, Netflix has been blocked after a few seconds after opening. S
-
I have a macbook pro and I have the iso image and I can't burn the image there is no image to burn on dvd So what can I do to solve this problem
-
combining the subtables in a single array
I am currently using labview 8. And calibration purposes, I needed to break down a sub-table individual table so that each of them could be calibrated individually. From there on, I want to recombine the subtables in a table so that I can datalog. Ho
-
I'm not able to use some programs because they say that I'm not logged as an administrator
I am trying to run sonar on my coumputer. It won't let me run the program because it says I'm not logged as an administrator and I am logged on as administrator. I had this happen with other programs I've tried to run also. can someone help me please
-
Question on the Distributor AW at the IPCC 7.0
Hi all I have a question about the AW. When I restart the service AW, but I has not restarted the router of appeal and recorder service, I want to know if the recorder data will be synchronized in the AW DB when AW service is OK. All effort will be a