Restore the database on the two houses of Oracle

Hi all

Oracle 9iR2

OEL 5

I have our database of PROD rman backup, the SID is also named PROD.

I want to restore it to a different server, but I want two database restored the same SID on the same server.

For example, I create OracleHome1/u01/app/oracle and OracleHome2 another/u02/app/Oracle.

Then I'll bring backup rman for each House, create two identical databases. Is this possible?

Thank you very much

JC

No, 32-bit guest OS cannot use hardware virtualization assisted using a type 2 hypervisor. VirtualBox is an application and type 2 hypervisor. What you need is the Oracle VM x 86 Server, which is a type 1 hypervisor where you can run a 32-bit guest with the support of paravirtualized system.

The following will give you a good overview: paravirtualization (PV) - Xen

Tags: Database

Similar Questions

  • A lieneter for the two houses of oracle?

    Hello

    If I have two houses of Oracle on the same servers (say 10.2.0.4 and 10.2.0.5), do I have to set up two listeners (one for the databases of each home page) a listener (of the superior Oracle home version probably) Gold will be good enough? If a listener is enough, is there a special setup for these cases?

    Best regards


    Hello

    Yes, it is possible to create a listener to manage both houses of Oracle, see links.

    http://dbataj.blogspot.com/2008/02/managing-multiple-OracleHome-on-same.html

    http://www.dbasupport.com/forums/showthread.php?21095-one-listener-with-multiple-Oracle-homesrw

    Kind regards

  • I have 2 copies of open Firefox (two different windows with lots of tabs), if I reboot can I restore the two sessions?

    I have 2 copies of open Firefox (two different windows with lots of tabs), if I reboot can I restore the two sessions? I am familiar with clicking history / restoration of previous session, but do not want to reboot to let windows update to do it's thing unless I can restore the two sessions.

    guigs2 said

    If they run different profiles, then Yes.

    Thanks, but I use only 1 profile. However, I found the answer! If I restart/turn off / down pc WITHOUT closing a firefox session, he will come with the screen 'well, it's embarrassing"and list the TWO sessions to restore. The trick is not not to close before stopping! If you close them first, then you can only restore the session first (?).

  • Dell Dimension B110 system restore: the two were leaving

    I'm helping a friend who wants to restore its Dimension B110 provided the factory. The hard drive seems to come from the factory with three partitions:

    1. C: disc with Windows XP and all apps, My Documents, etc. The main partition.
    2. D: labeled as "Backup". There especially space empty, and restore the hidden files "ghost".
    3. The hidden partition that contains all the files to restore.

    My friend has more than 15 GB of photos, music, etc. on C:, and due to the harsh system, corruption, is unable to burn the files to CD Rom drives We have, however, managed to copy successfully all his documents from C: to D:

    My question is this: if restore us the computer to factory (ctrl + F11) conditions, will be the drive D: be wiped or will remain intact files that I placed there care?


  • Several instances of container, with PDB, located in the same House of Oracle?

    Hello

    I'm just doing labs OBE on a VM for now, until I get new hardware which runs to 12.1.0.2 database. The issue I'm having with a laboratory OBE, which demonstrates her unplug and plug from one container to another PDB has confused me. The laboratory reports the following set up:

    Prerequisites

    Before you begin this tutorial, you should:

      • Install the Oracle 12 c database.
      • Create two CDBs with two PDBs in the CBD first.
    1. The environment used in the development of this tutorial is:
      • ORACLE_HOME: /u01/app/oracle/product/12.1.0
      • TNS listener: 1521
      • Databases:
        • SID: cdb1
        • SID: cdb2
      • Pluggable databases (in cdb1):
        • PDB1
        • pdb2

    The problem I have is when I use DBCA or scripts to create CDB2, it does not create a new database from the container. I get an instance and a database called CDB2, but it is not a CBD. I getORA-65090: operation only allowed in a container database.

    In the DBCA Wizard, make sure that "install connectable database to" is checked, and I in the SPFILE ENABLE_PLUGGABLE_DATABASE = TRUE... The new instance is the name I gave him, without plug-in database installed and for CDB2:

    SQL > select name from v$ database;

    NAME

    ---------

    CDB2

    SQL > show con_id

    CON_ID

    ------------------------------

    0 (is expected to see a 1)

    SQL > show con_name

    CON_NAME

    ------------------------------

    cdb2 (is expected to see CBD$ ROOT)

    The link to the lab can be found here:

    Connect a disconnected Pluggable database

    Is it possible to have two databases containing the same ORACLE_HOME? What Miss me to install a second data base of the container?

    I chose not "tocreate a database of the container", but that I listed above, when he tries create the pdb file, it returns ORA-65090: operation allowed only in a database container.

    The OS is OEL 6.6 X86_64.

    You haven't said why you change the SPFILE - it will be created properly when you create a CBD.

    Remember: we cannot see your monitor or WHAT you do.

    You must post EACH NOT you do and EACH ENTRY you make or that we cannot try to reproduce the problem.

    Take a look at this article in the Oracle database in DBCA use to create a CBD and PDB at the same time. Notice how he SAYS what entries are made.

    ORACLE-BASE - shared: create and configure a database container (CDB) in Oracle Database Release 1 (12.1) 12 c

    Note also that the FIRST screen of the DBCA section will NOT lets you choose a House of the Oracle, but only the location for the database files.

  • Multiple instances of the APEX version share the same House of Oracle?

    Hello

    I'm working on the database oracle 11.2.0.2

    I have 2 instances DEV and PROD sharing the same oracle home.

    For the moment, the apex version is identical to 2 instances (4.2.1.00.08) and installed together with the embedded PL/SQL gateway.

    is there a potential problem for upgrade only version apex for the dev to 4.2.6 instance?

    concerning

    JM

    jmniard wrote:

    I'm working on the database oracle 11.2.0.2

    I have 2 instances DEV and PROD sharing the same oracle home.

    For the moment, the apex version is identical to 2 instances (4.2.1.00.08) and installed together with the embedded PL/SQL gateway.

    is there a potential problem for upgrade only version apex for the dev to 4.2.6 instance?

    An instance of the APEX using EPG exists entirely within the database once it is installed. External dependencies only would be on the scripts of utility provided with the installation media. Extract the installation files to the version files in a subfolder of the APEX of the ORACLE_HOME (apex/4.2.1, apex/4.2.6 etc.), to ensure you have access to the 4.2.1 and 4.2.6 install files so that should need you to execute a utility script (apxchpwd.sql for example) that you are running the correct for the involved database version.

  • Difference between patch levels between two houses of oracle

    Hello
    Is it possible that I can know the difference between the patches applied to the database a database B vs.
    One way is I can do an opatch and get list patches and compare them by writing a script.
    Is there another way to do this?

    Thank you
    MSK

    Hello

    There is no automated method to compare the patches applied to two different OH. You must do this manually after the release of opatch. Or if you have control of the grid, then it can help you to compare the level of patch for two different Oracle_home.

    Concerning

  • two houses of oracle 8 and 10

    Hello
    I have a windows Server 2003 server Oracle 10 g and Oracle 8.1.7.

    When we start listener 10g, it deos won't start listener for 8.1.7 database. 8.1.7 start listener I should go to 8.1.7 Oracle_HOME/bin.
    Is there a way to solve this problem in order to start the receiver for 8.1.7 with listener 10 g? How to include 8.1.7 Db 10g listener.ora SID_LIST_LISTENER?
    The same we can not use SQLPLUS from 10g to connect to 8.1.7 database. We should do it in 8.1.7ORACLE_HOME/bin. How can I change in order to connect from each directory?

    Thank you very much.

    Check through START PROGRAMS installed ORACLE products and find a Home Selector application. You should be able to use it to set the active home directory.

    For batch scripts use the SET Windows to set the ORACLE_HOME and ORACLE_SID command for the database that is appropriate for the task.

    You should be able to use the 10g listener to connect to an 8.1.7 DB. Add an entry for the 8.1.7 database for the SID_LIST

    (SID_LIST =
    (SID_DESC =
    (GLOBAL_DBNAME = TST1.world)
    (ORACLE_HOME = / ora9i5l/oracle)
    (SID_NAME = TST1)
    )
    (SID_DESC =
    (GLOBAL_DBNAME = TST2.world)
    (ORACLE_HOME = / ora817/oracle)<== different="">
    (SID_NAME = FS2)
    ...

    HTH - Mark D Powell.

  • Waiting for redo log file missing when restore main database using RMAN backup that was taken on the database physical standby

    Here's my question after tons of research and test without have the right solutions.

    Target:

    (1) I have a 12.1.0.2 database unique main enterprise 'testdb' as database instance running on the server "node1".

    (2) I created physical standby database "stbydb" on the server "node2".

    (3) DataGuard running on the mode of MaxAvailability (SYNC) with roll forward in real time 12 default c apply.

    (4) primary database has 3 groups of one-man redo. (/oraredo/testdb/redo01.log redo02.log redo03.log)

    (5) I've created 4 standby redo logfiles (/oraredo/testdb/stby01.log stby02.log stby03.log stby04.log)

    (6) I do RMAN backup (database and archivelog) on the site of relief only.

    (7) I want to use this backup for full restore of the database on the primary database.

    He is a DR test to simulate the scenario that has lost every primary & Eve total servers.

    Here is how to save, on the database pending:

    (1) performance 'alter database recover managed standby database Cancel' to ensure that compatible data files

    (2) RMAN > backup database;

    (3) RMAN > backup archivelog all;

    I got elements of backup and copied to primary db Server something like:

    /Home/Oracle/backupset/o1_mf_nnndf_TAG20151002T133329_c0xq099p_.BKP (data files)

    /Home/Oracle/backupset/o1_mf_ncsnf_TAG20151002T133329_c0xq0sgz_.BKP (spfile & controlfile)

    /Home/Oracle/backupset/o1_mf_annnn_TAG20151002T133357_c0xq15xf_.BKP (archivelogs)

    So here's how to restore, on the main site:

    I clean all the files (data files, controlfiles oder all gone).

    (1) restore spfile from pfile

    RMAN > startup nomount

    RMAN > restore spfile from pfile ' / home/oracle/pfile.txt' to ' / home/oracle/backupset/o1_mf_ncsnf_TAG20151002T133329_c0xq0sgz_.bkp';

    (2) modify pfile to convert to db primary content. pFile shows below

    *.audit_file_dest='/opt/Oracle/DB/admin/testdb/adump '

    * .audit_trail = "db".

    * full = '12.1.0.2.0'

    *.control_files='/oradata/testdb/control01.ctl','/orafra/testdb/control02.ctl'

    * .db_block_size = 8192

    * .db_domain = "

    *.db_file_name_convert='/testdb/','/testdb /'

    * .db_name = "testdb".

    * .db_recovery_file_dest ='/ orafra'

    * .db_recovery_file_dest_size = 10737418240

    * .db_unique_name = "testdb".

    *.diagnostic_dest='/opt/Oracle/DB '

    * .fal_server = "stbydb".

    * .log_archive_config = 'dg_config = (testdb, stbydb)'

    * .log_archive_dest_2 = "service = stbydb SYNC valid_for = (ONLINE_LOGFILE, PRIMARY_ROLE) db_unique_name = stbydb'"

    * .log_archive_dest_state_2 = 'ENABLE '.

    *.log_file_name_convert='/testdb/','/testdb /'

    * .memory_target = 1800 m

    * .open_cursors = 300

    * runoff = 300

    * .remote_login_passwordfile = "EXCLUSIVE."

    * .standby_file_management = "AUTO".

    * .undo_tablespace = "UNDOTBS1.

    (3) restart db with updated file pfile

    SQLPLUS > create spfile from pfile='/home/oracle/pfile.txt'

    SQLPLUS > the judgment

    SQLPLUS > startup nomount

    (4) restore controlfile

    RMAN > restore primary controlfile to ' / home/oracle/backupset/o1_mf_ncsnf_TAG20151002T133329_c0xq0sgz_.bkp';

    RMAN > change the editing of the database

    (5) all elements of backup catalog

    RMAN > catalog starts by ' / home/oracle/backupset / '.

    (6) restore and recover the database

    RMAN > restore database;

    RMAN > recover database until the SNA XXXXXX; (this YVERT is the maximum in archivelog backups that extends beyond the scn of the backup of the data file)

    (7) open resetlogs

    RMAN > alter database open resetlogs;

    Everything seems perfect, except one of the file log roll forward pending is not generated

    SQL > select * from v$ standby_log;

    ERROR:

    ORA-00308: cannot open archived log ' / oraredo/testdb/stby01.log'

    ORA-27037: unable to get file status

    Linux-x86_64 error: 2: no such file or directory

    Additional information: 3

    no selected line

    I intended to use the same backup to restore primary basic & helps record traffic and the downtime between them in the world of real output.

    So I have exactly the same steps (except STANDBY restore CONTROLFILE and not recover after database restore) to restore the database pending.

    And I got the same missing log file.

    The problem is:

    (1) complete alert.log filled with this error, not the concern here

    (2) now repeat it in real time apply won't work since the Party shall LGWR shows always "WAITING_FOR_LOG."

    (3) I can't delete and re-create this log file

    Then I tried several and found:

    The missing standby logfile was still 'ACTIVE' at present RMAN backup was made.

    For example, on db standby, under Group #4 (stby01.log) would be lost after the restoration.

    SQL > select GROUP #, SEQUENCE #, USE (s), the STATUS from v$ standby_log;

    GROUP # SEQUENCE # USED STATUS

    ---------- ---------- ---------- ----------

    4 19 ACTIVE 133632

    5 0 0 UNASSIGNED

    6 0 0 not ASSIGNED

    7 0 0 UNASSIGNED

    So until I take the backup, I tried on the primary database:

    SQL > alter system set log_archive_dest_state_2 = delay;

    This was the Group of standby_log side Eve #4 was released:

    SQL > select GROUP #, SEQUENCE #, USE (s), the STATUS from v$ standby_log;

    GROUP # SEQUENCE # USED STATUS

    ---------- ---------- ---------- ----------

    4 0 0 UNASSIGNED

    5 0 0 UNASSIGNED

    6 0 0 not ASSIGNED

    7 0 0 UNASSIGNED

    Then, the backup has been restored correctly without missing standby logfile.

    However, to change this primary database means break DataGuard protection when you perform the backup. It's not accept on the production environment.

    Finally, my real questions come:

    (1) what I do may not do on parameter change?

    (2) I know I can re-create the control file to redo before delete and then recreate after. Is there any simple/fast to avoid the standby logfile lost or recreate the lost one?

    I understand that there are a number of ways to circumvent this. Something to keep a copy of the log file waiting restoration progress and copy up one missing, etc, etc...

    And yes I always have done no real-time applies "to the aid of archived logfile" but is also not accept mode of protection of production.

    I just want proof that the design (which is displayed in a few oracle doc Doc ID 602299.1 is one of those) that backs up data backup works effectively and can be used to restore the two site. And it may be without spending more time to resume backups or put the load on the primary database to create the database before.

    Your idea is very much appreciated.

    Thank you!

    Hello

    1--> when I take via RMAN backup, RMAN does not redo log (ORL or SRL) file, so we cannot expect ORLs or SRL would be restored.

    2nd--> when we opened the ORL database should be deleted and created

    3rd--> Expecting, SRL should not be an issue.we should be able to do away with the fall.

    DR sys@cdb01 SQL > select THREAD #, SEQUENCE #, GROUP #, STATUS from v$ standby_log;

    THREAD # SEQUENCE # GROUP # STATUS

    ---------- ---------- ---------- ----------

    1 233 4 ACTIVE

    1 238 5 ACTIVE

    DR sys@cdb01 SQL > select * from v$ logfile;

    GROUP # STATUS TYPE MEMBER IS_ CON_ID

    ---------- ------- ------- ------------------------------ --- ----------

    3 /u03/cdb01/cdb01/redo03.log no. 0 online

    /U03/cdb01/cdb01/redo02.log no. 0 2 online

    1 /u03/cdb01/cdb01/redo01.log no. 0 online

    4 /u03/cdb01/cdb01/stdredo01.log WATCH No. 0

    /U03/cdb01/cdb01/stdredo02.log EVE 5 No. 0

    DR sys@cdb01 SQL > ! ls - ltr /u03/cdb01/cdb01/stdredo01.log

    method: cannot access the /u03/cdb01/cdb01/stdredo01.log: no such file or directory

    DR sys@cdb01 SQL >! ls - ltr /u03/cdb01/cdb01/stdredo02.log

    -rw - r-. 1 oracle oinstall 52429312 17 Oct 15:32 /u03/cdb01/cdb01/stdredo02.log

    DR sys@cdb01 SQL > alter database force claire logfile 4;

    change the database group claire logfile 4

    *

    ERROR on line 1:

    ORA-01156: recovery or current flashback may need access to files

    DR sys@cdb01 SQL > alter database recover managed standby database cancel;

    Database altered.

    DR sys@cdb01 SQL > change the database group claire logfile 4;

    Database altered.

    DR sys@cdb01 SQL > ! ls - ltr /u03/cdb01/cdb01/stdredo01.log

    -rw - r-. 1 oracle oinstall 52429312 17 Oct 15:33 /u03/cdb01/cdb01/stdredo01.log

    DR sys@cdb01 SQL >

    If you do, you can recreate the controlfile without waiting for redo log entry...

    If you still think it's something is not acceptable, you must have SR with support to analyze why he does not abandon SRL when controlfile_type is "underway".

    Thank you

  • How to break the two folders that are cross-linked?

    I tried to move C:\users\richard to E:\My Documents ' My Documents'.

    Some how the two directories have become reticulate.

    Make any change in directory caused the same change in the directories of the sentence.

    How to restore the two inventories back to normal?

    I tried to move the directory in E:\ back to C:\, but received a parsing error.

    TIA,

    Richard

    Wednesday, February 5, 2014, 17:20:47 + 0000, Richard332 wrote:

    I tried to move C:\users\richard to E:\My Documents ' My Documents'.

    Some how the two directories have become reticulate.

    Make any change in directory caused the same change in the directories of the sentence.

    How to restore the two inventories back to normal?

    I tried to move the directory in E:\ back to C:\, but received a parsing error.

    The directory c: is not really a directory; It is a library which is
    just a pointer to the real directory on E:, a bit like a shortcut.

    So if you get there via the library or the directory, you are in
    in the same place - E:\My Documents and any changes there are also
    See in the library.

  • Linking two houses to internet part 50?

    Hello

    My parents live about 25 feet from me.  Computer of my dad is a window in the living room and he gets a slow connection, but he gets a.  My mother has a laptop and granddaughter has an ipad and phone, which does not connect.  We pay back for Verizon data so they can access and I'm paying Comcast.

    What is the solution to connect the two houses to the cheapest way but the best possible.  I have not there is more load I am allocated more ip addresses I use.  Also how can I speed up the connections?  I know a little bit for network configurations, but please be nice with terminology although I don't know how if I don't know the jargon of research!

    Please can someone solve this problem... only a computer has window 8 the rest are 7.  Thank you in advance for your help!

    Hello

    My parents live about 25 feet from me.  Computer of my dad is a window in the living room and he gets a slow connection, but he gets a.  My mother has a laptop and granddaughter has an ipad and phone, which does not connect.  We pay back for Verizon data so they can access and I'm paying Comcast.

    What is the solution to connect the two houses to the cheapest way but the best possible.  I have not there is more load I am allocated more ip addresses I use.  Also how can I speed up the connections?  I know a little bit for network configurations, but please be nice with terminology although I don't know how if I don't know the jargon of research!

    Please can someone solve this problem... only a computer has window 8 the rest are 7.  Thank you in advance for your help!

    A good wireless router would cover more of this short distance.  If this isn't the case - would be a wireless extension.  And then the problem of IP address is a non-issue anyway, because you'd be on a NAT device (should be anyway) with more than 200 places available even on the cheapest routers.

  • Restore the database to 10.2.0.1 (should I restore old saved oraInventory)?

    Hello everyone;

    Hello!  Hello all;

    If the upgrade process fails, should I restore old oraInventory directory?

    Already I have saved $ORACLE_HOME, oraInventory and consistent copy of the data files, controlfiles and redo log files.


    I restored $ORACLE_HOME and consistent copy of the data files, controlfiles and redo log files.

    Once again, should I restore (old oraInventory saved) directory?


    Thanks in advance...



    There are two parts to your upgrade-

    1. install the 10.2.0.4 patch on top of the binary 10.2.0.1 - you must save $ORACLE_HOME and oraInventory directories before applying the patch - if the binary upgrade fails for any reason, you can restore the ORACLE_HOME and oraInventory to backups and re-apply the binary 10.2.0.4.

    2 If the above step is successful, then you must update the database using DBUA. Yet once, before you begin the upgrade, you back up the database. If there are problems during this part, you simply restore the database from backup and re-run the upgrade.

    You can certainly use two separate houses if you wish. In this case, the first step would be to clone the 10.2.0.1 existing HOUSES a new 10.2.0.1 see HOME - cloning an Oracle Home

    Once completed the clone, and then use the two steps above on the newly created HOUSE

    HTH
    Srini

  • Restore the Rman backup in a database to a different database

    I want to restore a machine (RMAN) backup to another machine with a different instance name. I want to keep the target database instance name.

    a machine has instance PROD, I take rman backup "PROD" A machine instance and to restore that backup to the machine B which has an instance 'UAT '. I want to restore the backup of "PROD" instance for instance 'UAT', the two are on a different node, please help me how can I achieve it.

    Why do you think there could be a conflict?

    In addition, the steps that I pointed out are rename restored PROD to UAT the last step.

    When you use RMAN to RESTORE and RECOVER a database, the DBID and DB_NAME should be the same as it was when the backup was performed. The Instance_Name (ORACLE_SID) may be different.
    The DB_NAME can be changed after the RECOVERY is complete.

    The DBNEWID Utility Oracle (program name 'nest' in $ORACLE_HOME/bin) should be used to change the DB_NAME of PROD to UAT on your UAT server, once the RESTORE is complete.

    Hemant K Collette

  • Satellite A660-k17: can I remove the two primary partitions used for restoration?

    Hello
    I have 3 questions :) #.

    1. I burned a copy dvd recovery media, on a laptop A660 k17. There are two partitions on the disk that I think are there for the recovery. The first is 1.46 GB and it's for the recovery and another partition hidden 8.29 GB... and I think that the first contains the Recovery Wizard and the whole environment in which we will get through the repair of the system and the hidden disk contains the actuall with windows data, drivers and so on. Can I remove these two? I ask mainly on the first, if it is not necessary for the system to boot or something after that I have to recover the laptop to the factory setting.

    2 and I also want to leave my partitions so that I don't have to partition the whole drive from C 600 GB again. I have a D drive created but there is this response to a topic already in the forum http://forums.computers.toshiba-europe.com/forums/thread.jspa?threadID=64754&tstart=90
    who says that when I leave the partitions I created myself, that the recovery will be not available. I have a copy on dvd, but only to make sure no kidding something upward.

    3. when I want a clean system without some software which are preloaded on the oem recovery disk... I have to use windows recovery? or it will be the same as the toshiba one?
    Thanks for the reply possible :)
    Beautiful day :)

    > Can I remove the two primary partitions used for restoration?
    First not, but you can remove the Toshiba recovery partition if you created the recovery DVDs. One day, if you want to install the recovery image once again you can use created the recovery disc.

  • How to tie the two serial numbers using test including the tie in the database.

    I have two separate committees, I need to link the serial number too.  One is being tested as a separate unit, then the two are tested together, I need to make sure that I connect them in the database.  Don't know how to do it, looking for any input I can get.  Using a labVIEW vi to request the entry of a Board, and then use information interface to USE testbed for UUT of the hand.

    I have juries, one of the boards, A onboard, was tested by a different sequence file, then A is connected to Board B, and then they are tested as a complete set.  Received a few suggestions on how to save the two serial numbers, but went with a popup message added types of step (modified record results), and then just have the user scann the second number in and it stands as one of the results of the step in the database.

Maybe you are looking for