Creating RMAN Repository for 2 production databases
I have 2 production databases DB1& DB2 .
I want to create a recovery catalogue database which will be used for storing the RMAN repository of Database DB1 and DB2 .
What steps do i take to do the same.Can anyone guide me.
Yachendra
Hi :
Please refer the following URL:
It is good to create the catalog DB in a different Server other than the DB's.
Here is a good pointer.
http://download.oracle.com/docs/cd/B10501_01/server.920/a96565.pdf
Regards,
BMP
Similar Messages
-
Which Technology was selected then creating Master Repository for ODI?
Hi,
Which Technology was selected then creating Master Repository for ODI SQL Server 2003? Which technolgy must be selected?
First of all I created master repository for ODI on SQL Server 2003 via Microsoft SQL Server, it did not work.
I checked the Driver and URL as below
com.microsoft.sqlserver.jdbc.SQLServerDriver
jdbc:sqlserver://<servername>:<PortNumber>;selectMthod=cursor;databasename=<databasename>;integratedsecurity=false
there is a error as below
com.sunopsis.tools.core.exception.SnpsRuntimeException: com.sunopsis.tools.core.exception.SnpsRuntimeException: Unable to find the XML file corresponding to your technology.
at oracle.odi.sdk.repository.OdiRepositoryManager.createMasterRepository(OdiRepositoryManager.java)
at com.sunopsis.wizards.MasterRepositoryWizard.d(MasterRepositoryWizard.java)
at com.sunopsis.wizards.MasterRepositoryWizard.f(MasterRepositoryWizard.java)
at com.sunopsis.wizards.MasterRepositoryWizard.a(MasterRepositoryWizard.java)
at com.sunopsis.wizards.MasterRepositoryWizard.a(MasterRepositoryWizard.java)
at com.sunopsis.wizards.MasterRepositoryWizard$IvjEventHandler.actionPerformed(MasterRepositoryWizard.java)
at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
at java.awt.Component.processMouseEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
Caused by: com.sunopsis.tools.core.exception.SnpsRuntimeException: Unable to find the XML file corresponding to your technology.
at com.sunopsis.repository.manager.RepositoryManager.masterRepositoryCreation(RepositoryManager.java)
... 29 more
Caused by:
com.sunopsis.tools.core.exception.SnpsRuntimeException: Unable to find the XML file corresponding to your technology.
at com.sunopsis.repository.manager.RepositoryManager.masterRepositoryCreation(RepositoryManager.java)
at oracle.odi.sdk.repository.OdiRepositoryManager.createMasterRepository(OdiRepositoryManager.java)
at com.sunopsis.wizards.MasterRepositoryWizard.d(MasterRepositoryWizard.java)
at com.sunopsis.wizards.MasterRepositoryWizard.f(MasterRepositoryWizard.java)
at com.sunopsis.wizards.MasterRepositoryWizard.a(MasterRepositoryWizard.java)
at com.sunopsis.wizards.MasterRepositoryWizard.a(MasterRepositoryWizard.java)
at com.sunopsis.wizards.MasterRepositoryWizard$IvjEventHandler.actionPerformed(MasterRepositoryWizard.java)
at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
at java.awt.Component.processMouseEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
okan
Edited by: ankist on Jan 15, 2010 2:46 PMIt is highly recommended to use the JDBC Driver for SQL Server 2005, even if you are using SQL Server 2000. In ODI's pre-populated lists, it is not there - you will have to (1) get the driver yourself, downloadable from the Microsoft site. (get the driver v1.2, not the 2.0, and use a JRE v1.5, 1.5 or 1.6. The 2.0 driver from Microsoft requires the JRE 1.6)
(2) use the
Driver: com.microsoft.sqlserver.jdbc.SQLServerDriver
and the URL: jdbc:sqlserver://<myserver>:<myport, default 1433>;database=<mydb>;selectMethod=cursor
these are not automatic, you will need to type them in.
The database must be configured for connections from tcpip.
For more information see the blog: http://odiexperts.com/?tag=sql-server-2005 -
BAPI - Goods receipt and then create transfer order for a production order
Hello Everyone
We need to do goods receipt and then create transfer order for a production order (Material for WM scenario)
We are using BAPI 'BAPI_GOODSMVT_CREATE'
i_items-orderid = wa_afpo-aufnr .
i_items-order_itno = wa_afpo-posnr.
i_items-mvt_ind = 'F'.
i_items-stge_loc = wa_afpo-lgort.
i_items-stge_type = '901'. "wf_styp.
i_items-stge_bin = wf_sbin.
i_items-entry_qnt = wf_qty.
i_items-entry_uom = wa_afpo-meins.
i_items-entry_uom_iso = wa_afpo-meins.
i_items-batch = wa_zmobtag-charg.
i_items-move_type = '101'.
i_items-move_reas = wl_3131.
We are passing i_items (like line of goodsmvt_item) along with other parameters to BAPI and its creating material document and Transfer order automatically. Problem is the TO created is showing destination storage bin as default storage bin( from material master).
The field goodsmvt_item-stge_bin is just changing the Source bin details. There is no field for bin in the BAPI so that we can change the Destination storage bin as per our requirement.
My requirement : Creating material doc and then TO. Material should move to specified storage bin.
Please let me know any alternate way( No BDC) so that my requirement is achieved.
Regards
SwetabhHi ,
can u check these fields ,
STGE_TYPE_PC UBTYP CHAR 3 0 Storage type for transfer posting
STGE_BIN_PC UBPLA CHAR 10 0 Storage bin for transfer posting
Regards
Prabhu -
How to create the BOM for co product
Dear friends,
How to create the BOM for Co product and How the production will create and how the costing will capture for that.
Regards,
Sabhapathy RDear Umesh,
How Bom created for co product
By product
Header
xxx
101
mvt
mvt
qty
item
yyy
261
1
zzz
531
0.5-
By product
Same way how we create co product for BOM. pl explain with simple example.
Thanks ®ards,
Sabhapathy R -
Creating MDM repository for Material Master Data
Hello MDM Gurus,
I am new to SAP MDM. I want to create MDM repository for Material Master. What I unddertand is, I can create repository using Bussiness Content shiped with MDM software. I will copy *.a2a file to archive folder of MDM server and unarchive repository. I have following question for you.
1. HOw do I use export maps and import maps which I found in Busines contenst\Material folder?
2. How do I use MDM Lookup Tables which is xml document in Busines contenst\Material folder?
3. Why is the use of MDMGX_55520_Material.txt file which I found in Busines contenst\Material folder?
4. What is the use of *.xsd files and how can I use them?
Thanks,
BhupeshHi Bhupesh
1. HOw do I use export maps and import maps which I found in Busines contenst\Material folder?
save all the map files on your loacl machine. open import manager and select file-> Import, browse to the .map file and save the map with a meaningful name. now next time connect to the source file you want to import and OPEN the map saved.
2. How do I use MDM Lookup Tables which is xml document in Busines contenst\Material folder?
Businees content contains the standard ECC refernce tables like countries, regions etc which can be refreshed from ECC. for this you have to configure MDMGX, defining all the ports in MDM and in ECC the tables from which data has to be refreshed. refer to below threads for details.
Extract Data usnig MDMGX
How to Export Materials from ERP to MDM 7.1 via MDMGX?
3. Why is the use of MDMGX_55520_Material.txt file which I found in Busines contenst\Material folder?
This helps us in configuring the table extraction from ECC, refer to thread-> Extract Data usnig MDMGX
4. What is the use of *.xsd files and how can I use them?
Schema files are used for syndicating the records from MDM to source system. Say we want to syndicate material master from MDM to ECC and in ECC they will be posted via MATMAS05 IDoc. these schemas are the structure of IDoc which will contain the values which will be syndicated from MDM.
Let me know if you know some more details.
regards
Ravi -
How to create a Reservation for my production order
Hi,
I have a production order for that I need to purchase 2 materials. but my problem is when the material come there is no reservation for my production order. someone can take it for another production order. How can I do that the system create a reservation after the GR
ThankDear,
When you create and release production order, the reservation is created for that order. Now you should first activate the Avelability check in production order.
It is PP configuration
Then you need to activate dynamic aveailability check in goods issue in MM configuration.
Hence if the stock is reserved for your production order, then no one can issue and system will give error message.
please come back if required. -
How to create a repository for data archiving?
We have a content server installed 2 months ago.
We want to store the archived data either into the content server DB (even we know it's NOT
recommended) or better into the file system on the content server.
Could you help tell how to create the repository to hold the archived data in above 2 scenarios?
Thanks a lot!content server DB (even we know it's NOT recommended)
I have use Content Server with MaxDB in more than 1 ocation without any issues.
You need to set up the repositories in OAC0.
Read,
http://help.sap.com/saphelp_nw04s/helpdata/en/ed/cefa3882cd8229e10000000a11402f/frameset.htm
Regards
Juan -
How to create a silo for a product on a website with natural shadow?
I have 15 images that are shot on a white background and need to create a silo that has a transparent background but includes a natural shadow.
I'd also like to create an action for it.I don't know what you mean by "silo", but just in general...
Use transparency in your Photoshop design, use e.g., a Drop Shadow layer style, and save your image as a PNG-24 file, which supports 24 bit color and partial transparency. All the modern web browsers will render PNG files with transparency.
Look over this page as a quick and simple example:
http://Noel.ProDigitalSoftware.com/temp/TransparencyTest/TransparencyTest.html
-Noel -
SQL Developer create wrong SQL for creation of Database link
Hi,
I tried to create Database link to another machine through SQL Developer. and I got error message saying "Sql not properly ended" or similar.
I copy-paste the sql to sqlplus shell and I found that the problem came from password part of database link so the generated from SQL Plus is something like:
SQL> CREATE DATABASE LINK mytest CONNECT TO anotherDB IDENTIFIED BY 1234 USING 'OtherServiceName';
but it should be
SQL> CREATE DATABASE LINK mytest CONNECT TO anotherDB IDENTIFIED BY "1234" USING 'OtherServiceName';
so if I type in the password field
"1234" which is ****** /6 chars/ the database link was created correctly.
Could you check and fix this in next release of the SQL Developer?
Otherwise the Application is very good and far ahead from TORA :)Thanks, I didn't notice that for passwords. So it's most definately my problem that the SQL Developer . :)
Thank you for clarification!
Offtopic: I am searching for DB Comparison tool which could compare 2 schemas and return me the differences and the sync script. Do you know any /free if possible/? There is such thing in TOAD but I am on Linux and I prefer to use something else. :)
Thank you in advance -
DI 11.5.3 created inactive repository sessions on the database server
The cusotmer complaint that many inactive sessions have been created on their DI repository database. As a result, the database has to be bounced every 3 or 4 days to clean those sessions. They use DI 11.5.3 on HP-UX. The database is Oracle 10g. What would cause this issue? The improper close of the Desinger window? Or something wrong with the job design?
Thanks,
Larrywhat is the process or application to which these sessions belong, Designer is not the only application which will open repo connection. WebAdmin also open connection to repository, it actually opens multiple connection
I think you can get the application and process which have opened session to the database from v$sessions table -
Create server role for backups (BACKUP DATABASE and RESTORE HEADERONLY)
Hello-
I wish to create a server role that will allow any users assigned to it to be able to issue a BACKUP DATABASE and RESTORE HEADERONLY for any database on the server. I've been searching Google and MSDN but haven't had much luck. I can create the
user (CREATE SERVER ROLE backupuser;) but don't really know how to assign the permissions to it that I want. I wish to keep the permissions as narrow as possible for good practice; I could just assign the user to the sysadmin group but that shouldn't
be necessary.
If anyone can help, I would much appreciate it.Whenever you need to find out the required permissions for a command, the best way is to look up these commands in Books Online, and to the Permissions/Securities section. This is what I always do when people asks these questions, because I rarely knows
the answer by heart.
So, let's see what the topic for BACKUP has to say:
BACKUP DATABASE and BACKUP LOG permissions default to members of the
sysadmin fixed server role and the db_owner and db_backupoperator fixed
database roles
The permission section for RESTORE HEADERONLY says:
Beginning in SQL Server 2008, obtaining information about a backup set or
backup device requires CREATE DATABASE permission. For more information,
see GRANT Database Permissions (Transact-SQL).
So it seems that if you want a user that has server-level rights to back up databases, this must be sysadmin, which is a little disappointing. One possibility is to package the BACKUP command in a stored procedure, which you sign with a certificate. Then
you create a login from the certiticate, and add that login to sysadmin. BACKUP accepts parameters for many of its arguments, so you don't have to build dynamic SQL. Still it is not really a satisfactory solution, since this user will have to work with
BACKUP "commands" that will be procedure calls.
Erland Sommarskog, SQL Server MVP, [email protected] -
Creating external repository for standalone VM server install
Hi!,
I installed standalone VM on server with 2 250GB hards drives.
Need more space so now trying to add a 2GB external eSATA or USB drive.
Looking at the documentation I did not find anything for standalone servers.
Please help
Thanks in advanceuser12212913 wrote:
Looking at the documentation I did not find anything for standalone servers.It's exactly the same as if it were shared storage, so follow the same instructions. -
Best approach to creating a TOC for product catalog using data merge
What is the best approach for creating a TOC for a product catalog (over 1,000 items) using Data Merge?
The TOC would contain the product Categories.
So for example, Category A items could go from pages 1 - 3, and Category B items would start at pg 4, but if new items were added to Category A, then Category B may start from pg 6.
From the Data Source, there are 5 Data Fields I've chosen to be displayed. If this were a regular digital print document, I could use the Paragraph Style method for creating a TOC, but if I make any one of the Data Fields a certain Paragraph Style and use that for the TOC, it'll populate the TOC with that Data Field for all the items.
Any suggestions?Peter Spier wrote:
TOC is not interactive in the ID file, though it can be in a PDF that you export (there's a checkbox to create PDF bookmarks). You might want to think about using Cross-references (rather than hyperlinks, I think) to build the TOC. You have to do it manually, but once done it should maintain itself, whereas a TOC is built automatically, but must be regenerated after you edit the doc.
One caveat witih TOCs created from cross-references: Although changing the text of an x-ref source paragraph (for example from "Patatas and tamatas" to "Tomatoes and Potatoes,"and/or when the source paragraph flows to the next or previous page) update automatically or when invoking "Update cross-references," MOVING a cross-reference source paragraph to a location before or after another source paragraph, does not change their sequence in the pseudo-TOC. You'll need to manually move the reference in the pseudo-TOC to the correct position in the sequence of cross-refs. So, put the task of checking the order of x-refs in the pseudo-TOC on your before hand-off check list.
HTH
Regards,
Peter
Peter Gold
KnowHow ProServices -
Newbie dba -----Repository for Enterprise Manager
i just took over this database,
I am trying to login to Oracle Enterprise Manager Respository, i have found out that there is a sysman user on the database.
i try to run the emca.bat file in the BIN folder, but the file is not there.
i don't know how to run Oracle Enterprise Manager Respository or create the repository for the enterprise manager without the emca.bat fileSQL> select * from v$version;
BANNER
Oracle9i Enterprise Edition Release 9.2.0.7.0 - Production
PL/SQL Release 9.2.0.7.0 - Production
CORE 9.2.0.7.0 Production
TNS for 32-bit Windows: Version 9.2.0.7.0 - Production
NLSRTL Version 9.2.0.7.0 - Production
on windows 2003 -
Backup/Restore for my demo database
Howdy all. I am running Oracle 10g Standard Edition on Windows 2K Server. I have the following situation ...
I would like to make a standard demo database for my company. This database would be put on several machines and used by sales people to demo our software to possible customers. I need to be able to restore this database on a machine with Oracle 10g installed and then run our software on it.
I can make the database and run our software on it just fine on my machine. I am, however running into problems when trying to learn how Oracle and RMAN work with backups and restoring those backups. I am coming from the MSSQL2K environment where backup/restore is fairly simple and straightforward.
Will somebody please give me a basic idea of what I need to do in order to take the database on my machine and back it up and then restore it on another machine. I don't want to have the restore depend on a given file/directory structure. Our software depends on two tablespaces in the Oracle database. So, if it is easier to somehow backup the two tablespaces and restore them than it is to backup the entire database and restore it - then that is great. I will do it that way.
I am basically looking for the simplest approach for restoring this demo database wherever I want to quickly. Any help would be greatly appreciated.
wallyJeffrey, here's what I use to do this, I have a production database that on occassion I need to make a copy of to perform some testing on, so I just use this to create an "auxiliary" database using the RMAN backups from the production database. I thought in 10g there was a database clone function, I'll have to look that up and get back to you, anyway, here's the instructions I use.
Target Database = RMAN Target (Source database to be copied.)
Auxiliary Database = RMAN Auxiliary (Duplicated database end result)
1. Copy the target databaseâs init.ora file to the auxiliary databaseâs location.
2. Modify disk locations for control files, archive logs and dump dests in init.ora if required
3. Create locations for data files, dump dests, control files and log files
4. Copy RMAN backup files and archive logs to same location on auxiliary DB server as they are on target DB server
5. Create Oracle Service using ORADIM utility
6. Start instance in nomount
7. Create listener.ora entry on auxiliary server
8. Create tnsnames.ora entry on target server
9. Connect to rman catalog, target and auxiliary from the target server:
RMAN> connect catalog rman/<password>@<catalog db>
RMAN> connect target sys/<password>@<target db>
RMAN> connect auxiliary sys/<password>@<auxiliary db>
10. Run the following (modify the sequence count and datafile renames as required.)
run{
allocate auxiliary channel d1 type disk;
set newname for datafile 1 to 'e:\ORACLE\ORADATA\MTSD\SYSTEM01.DBF';
set newname for datafile 2 to 'e:\ORACLE\ORADATA\MTSD\RBS01.DBF';
set newname for datafile 3 to 'e:\ORACLE\ORADATA\MTSD\USERS01.DBF';
set newname for datafile 4 to 'e:\ORACLE\ORADATA\MTSD\TEMP01.DBF';
set newname for datafile 5 to 'e:\ORACLE\ORADATA\MTSD\TOOLS01.DBF';
set newname for datafile 6 to 'e:\ORACLE\ORADATA\MTSD\INDX01.DBF';
set newname for datafile 7 to 'e:\ORACLE\ORADATA\MTSD\SMDBDATA.DBF';
set newname for datafile 8 to 'e:\ORACLE\ORADATA\MTSD\SMDBIDX.DBF';
set newname for datafile 9 to 'e:\ORACLE\ORADATA\MTSD\SMDBTEMP.DBF';
set newname for datafile 10 to 'e:\ORACLE\ORADATA\MTSD\AUDITDATA.ORA';
set newname for datafile 11 to 'e:\ORACLE\ORADATA\MTSD\AUDITAR.ORA';
duplicate target database to mtsd
logfile
'e:\oracle\oradata\mtsd\redo01.log' size 10M,
'e:\oracle\oradata\mtsd\redo02.log' size 10M,
'e:\oracle\oradata\mtsd\redo03.log' size 10M,
'e:\oracle\oradata\mtsd\redo04.log' size 10M;}
Maybe you are looking for
-
XML Publisher does not attached pdf file java.lang.StackOverflowError
Hi there I have Bursting program which email the pdf report, some times when I have all of data the report does not attached and send to the user, I get following messages in log file. XML Publisher 5.6 Build 45 Oracle 11.5.10.2 Set Bursting paramete
-
3.Tax Report - Splitted by Profit Center
Hi Colleagues, My customer has following problem. They have a vendor and customer invoice posted to more profit centers, but in the tax report the firts Profit centers wehre the document is posted is only visable? Do they need to activate a New GL (d
-
Display all G/L account codes
Hi All, I would like to display all offset account codes of a certain transaction of a G/L account code. In G/L report, I only have one offset account code. I use this query but failed: SELECT T0.[RefDate], T0.[DueDate], T0.[BaseRef], T0.[TransId], T
-
How to convert a file from 59.97 to 23.97 with Compressor?
Or another program that might work. Thanks
-
Error when using my netflix account trying to use help
going on to netflix is fine....cannot use help or account info nothing but the movies