How to use backups RMAN to restore a RAC database to single instance on another host?

How to use backups Rman to restore a RAC database to single instance on another host?

I tried to copy these inline for you:

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




Backups RMAN disk HowTo restore database RAC to single Instance on another node (Doc ID 415579.1)

Down

Tags: Database

Similar Questions

  • Another issue duplicate RMAN - RAC database to single instance

    Hello

    I have a problem with RMAN duplicate procedure and hoped that someone can help you.

    I would like to create a duplicate of our data base RAC production on a separate and autonomous, database on another site server. This duplicate will be used to execute queries to another business unit that I don't want to have access to our database of intensive production.

    My procedure goes like this:

    1. create a (not ASM) disk based backup data files and recovery logs archived:

    'run {} '.
    allocate channel d1 type disk;
    backup format ' / u02/stage/df_t%t_s%s_p%p' database more entered archivelog delete;
    output channel d1;
    }"

    2 tar and scp those files to the same location on the standalone database server.

    3. in the meantime, work that's happened on the basis of data production and other archived redo logs have been generated. I don't really care about these papers for the purposes of the duplicate however, I just want to replicate to the point of the last backup. I have to do this, run the following SQL to determine the sequence number should I be duplicating up to:

    "Select max(sequence#) thread # v $ archived_log, whereas the deleted = 'YES' group by thread #;"

    4 duplicate the production to the stand-alone database database (SQL Net work orders).

    'run {} '.
    until the sequence (the value returned by the SQL statement above);
    duplicate target database xxx;
    }"

    However, my problem because I don't know how to handle the fact that he has two sons. I understand that each thread relates to one of the CARS, I don't know which one to specify the copy. We have a service of data that the client application connects through, and that the service runs on any of the bodies. I should just care about newspapers in the instance where the service is running?

    AM I even approach that this is the right way?

    I look forward to any help that people may be able to offer.

    Kind regards

    Phil

    1 9746 569095777 28 OCTOBER 09 569150229 28 OCTOBER 09
    1 9747 569150229 28 OCTOBER 09 569187892 28 OCTOBER 09
    1 9748 569187892 28 OCTOBER 09 569231956 28 OCTOBER 09
    1 9749 569231956 28 OCTOBER 09 569259816 28 OCTOBER 09
    2 7931 569095774 28 OCTOBER 09 569187902 28 OCTOBER 09
    2 7932 569187902 28 OCTOBER 09 569259814 28 OCTOBER 09

    You must use the VALUE until and specify the sequence with the next lowest change, or RMAN will search for the next log in this thread.

    for example, if you specify until the thread in the sequence 9750 1; RMAN will search journal 7933 on thread2 to catch the 1 wire SNA 569259816.
    Specify the set as a thread in 7933 2 sequence; and two copies must go ok!

    Published by: MrShh on October 29, 2009 14:35

  • How do I know if the RAC database or single instance?

    Hello

    How can you find only if the database is the only database instance or RAC? is there any table, view or setting in the settings file that you cannot know CARS?

    any sugestion will be appreciable


    Thanks and greetings
    VD
    11:41:57 SQL> show parameter cluster
    
    NAME                                 TYPE        VALUE
    ------------------------------------ ----------- ---------------------------
    cluster_database                     boolean     FALSE
    cluster_database_instances           integer     1
    cluster_interconnects                string
    

    http://www.MCS.csueastbay.edu/support/Oracle/doc/10.2/server.102/b14237/initparams023.htm

  • Restoration of RMAN of the CARS to single Instance on another node with dif NAME DB

    Hi all

    We intend to make RMAN RESTORE on the test server, taking the RMAN backup to disk of the production server.

    Production server configuration:
    ---------------------------------------------

    NAME: genprod
    CARS: 2 node RAC.
    OPERATING SYSTEM: IBM AIX 6.1
    DATABASE VERSION: 10.2.0.4


    Test server configuration:
    ---------------------------------------

    NAME: miguat
    CARS: 2 node RAC.
    OPERATING SYSTEM: IBM AIX 6.1
    DATABASE VERSION: 11.2.0.3

    How do RESTORE RMAN of the CARS to single Instance on another node with NAME DB different...

    My production database name was "GENPROD"... my test server database has been 'MIGUAT '.

    When I do the restoration, I get the following error:


    RMAN-00571: ===========================================================
    RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.
    RMAN-00571: ===========================================================
    RMAN-03002: failure of the restore command at 06/08/2012 13:22:11
    RMAN-06026: some targets not found - abandonment of restoration
    RMAN-06023: no backup or copy of the file 4 found to restore
    RMAN-06023: no backup or copy of datafile 3 found to restore
    RMAN-06023: no backup or copy of datafile 2 found to restore
    RMAN-06023: no backup or copy of datafile 1 found to restore


    Please help me with this...


    Kind regards
    VAMSi...

    Hello

    You can take a look at http://taliphakanozturken.wordpress.com/2012/07/20/how-to-restore-10g-rman-backup-to-11g/

    You will need to change the name of db only after the database was opened after the upgrade and other steps.

    Anand

  • Pavilion dm4-3090se: how to use the SSD after restoration of the system of Windows backup disks?

    Hello

    After a lot of work, I finally could restore my OS using Windows backup disks that I created a few years back. (The OS has been corrupted when the power has been accidentally deleted from the system and the battery was dead)

    Restoring backup widows put everything on 444 GB C drive.  Nothing I put on the SSD drive d:-20 GB and there is nothing in the tools of HP E: drive - 4 GB

    How can I make use of the SSD drive to help speed up the system?  I see the system starts and runs more slowly now.  I'm ready to blow the current operating system and re-run the Windows backup utility.  But I need to know how to use the SSD during the restoration.

    Any help is appreciated.

    Thank you

    Bob

    Hey @llebrez,

    Welcome to the Forums of HP Support! This is a great place to find solutions and help our community!

    I understand that you have some information about using the SSD in your HP Pavilion dm4 Beats Edition Entertainment Notebook. I'd be happy to help you with that.

    The SSD in your laptop is used for a technology called Intel Smart Response. Intel Smart Response uses the SSD as a type of Cache smart to help load the items faster. The reason why that is not used currently is because the restoration of the system is not designed to use the SSD for intelligent caching and is not able to establish that on its own.

    If you want to configure Intelligent caching on your laptop, you can follow this guide provided by overclock.net: how: implement the Intel Smart Response Technology (SSD caching)

    I hope this helps. If you have more questions that I'm able to answer for you, please do not hesitate to ask.

    Please hold me.

    By pressing the Thumbs Up button below, you can always say thank you!

    See you soon.

  • How to use the OEM grid control to find databases, not in archivelog mode?

    Hello

    We have currently 130 databases, say, if I want to come off as any database currently NOT in archivelog mode, is there a quick way to find out?

    using the OEM grid control

    or

    a similar trick,

    but really do not need to manually check each database.

    Thank you very much!

    This query works in 12 c - please run as SYSMAN.
    It is based on undocumented assumptions well + (AND key_value = "NOARCHIVELOG") +.

      SELECT *
      FROM SYSMAN.MGMT$GROUP_DERIVED_MEMBERSHIPS O ,
        SYSMAN.MGMT$TARGET T ,
        sysman.MGMT$AVAILABILITY_CURRENT st
      WHERE
      o.member_target_type     IN ('oracle_database', 'rac_database')
      AND ( t.target_type           ='rac_database'
      OR (t.target_type             ='oracle_database'
      AND t.type_qualifier3        != 'RACINST'))
      AND o. member_target_guid     = t.target_guid
      AND t.target_guid             = st.target_guid
      AND st.availability_status    = 'Target Up'
      AND ( EXISTS
        (SELECT *
        FROM sysman.mgmt$metric_current i
        WHERE I.TARGET_GUID = O.MEMBER_TARGET_GUID
        AND metric_name     = 'archFull'
        AND Metric_Column   = 'archTotal'
        AND metric_label    = 'Archive Area'
        AND column_label    = 'Total Archive Area (KB)'
        AND key_value       = 'NOARCHIVELOG'
        ));
    

    Another way to achieve the goal is to push the extended parameters (SELECT LOG_MODE FROM V$ DATABASE) on each DB and monitor the values they return to the repository. This is an example for a (slightly) different problem - http://iiotzov.wordpress.com/2012/08/08/how-to-use-the-new-oem-12c-metric-extensions-to-enforce-enterprise-wide-custom-policies.

    OEM repository has many other uses grand-http://iiotzov.files.wordpress.com/2012/05/oem-repository-a-second-look.doc, http://iiotzov.files.wordpress.com/2011/08/iotzov_oem_repository.pdf

    Lordane Iotzov
    http://iiotzov.WordPress.com/

  • How to use refcursor type returned from the remote database in the local database

    Can anyone say is how they use the refcursor use type returned from remote database in the local database using dblinks.

    See MOS ID 750126.1 doc ORA-24338 when trying to return a Refcursor over a database link.

  • Steps to restore a RAC database


    Hi all

    Can someone provide the steps to restore a 4 database RAC node to another node 4 CARS?

    Database version: 11.2.0.2

    OPERATING SYSTEM: AIX 6.1

    If you are in the same version of the OS, there is not much difference between a CAR and a NON-Rac environment when restoring, you can check MOS notes RMAN Duplicate Database of RAC ASM with RAC ASM (Doc ID 461479.1)

  • How to plan backup rman

    I'm a little confused about incremental backup, I use the following command for the daily backup.

    RUN

    {

    GET COPY OF DATABASE WITH TAG "incr_backup".

    INCREMENTAL BACKUP LEVEL 1 for BACK OF COPY WITH TAG "incr_backup".

    DATABASE;

    }

    It is good to run the level 0 backup by the following command after each week or over drive is sufficient.

    DATABASE INCREMENTAL LEVEL 0 BACKUP;

    Oracle 11g 2

    Windows server 2008.

    If I take Level0 backup first

    DATABASE INCREMENTAL LEVEL 0 BACKUP;

    then level 1 backup is very low, which means level1 beginning after Level0

    DATABASE INCREMENTAL BACKUP OF LEVEL 1;

    But if I take the backup with Level0 and after this backup with the following script, then level1 is very large which means that it has taken to safeguard the beginning.

    RUN

    {

    GET COPY OF DATABASE WITH TAG "incr_backup".

    INCREMENTAL BACKUP LEVEL 1 for BACK OF COPY WITH TAG "incr_backup".

    DATABASE;

    }

    -should I use level 0 such tag used in above script.

  • How to use the command to move the machine to a data store in another data store in WTT(Windows Test Technology) Atlas (2.7)?

    I searched doc help WTT Atlas, just found this: "the MoveMachine command allows users to move client computers between the basins of the machine. This command assumes that the user has permissions of correction to carry out operations and generates an error if this is not the case. "

    Note: this command just explain machine displacement between the watersheds of the machine instead of the data store.

    This issue is beyond the scope of this site (for consumers) and to be sure, you get the best (and fastest) reply, we have to ask either on Technet (for IT Pro) or MSDN (for developers)
    *
  • How to use installation of Oracle MCS with MAF database offline

    Hi all

    I want to integrate my mobile application with the installation of database offline for service mobile cloud and its policies, to store my data if my app doesn't have any internet connection, but whenever my mobile app gets the internet connection my data stored in the cache / offline automatically gets synchronized to the mobile cloud service.

    Can someone give me the MAF MCS utility class to achieve it or any which sample or any video will be really appreciated.

    Thank you.

    Hi, diattou, another alternative is to operate the accelerator of persistence A-team (AMPA) - latest version here: http://www.ateam-oracle.com/a-team-mobile-persistence-accelerator-release-12-1-3-2-now-available/.  You can consume any product Remaining in the MCS and let A-team Accelerator persistence generate all Classes Java necessary for you.

    MAF 2.3 and 2.4 (coming in first part of 2016) will integrate these read offline connection and written in a declarative way.  In the meantime, however, AMPA is a good way as well.

    Thank you

    Joe Huang

  • Can we use 2 proceedings of Essbase with Shared Services of single instance

    Hello

    We have Essbase installed on 2 different servers and shared on the third server services. Can I use the same SSP for the 2 instances of Essbase?

    Thanks in advance
    PM

    Yes, multiple instances of essbase can be entered against one of shared services.

    See you soon

    John
    http://John-Goodwin.blogspot.com/

  • 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

  • RAC's RMAN backup restore single-instance ASM

    Hello

    We use oracle 11 g 2 on AIX 6.1,

    We need restore the backup RMAN of CARS to the single ASM instance.

    IM new CARS & ASM, what will change

    What are the steps involved in it.


    Thank you

    Hello

    See this doc MOS * backups RMAN disk HowTo restore database RAC to single Instance on another node [415579.1 ID] *.

    On the Single-Instance ASM, you must specify the name of diskgroup for «control_files, db_create_file_dest» settings

    Handle: user10745179
    E-mail: [email protected]
    Status level: Rookie (5)
    Join date: February 24, 2009
    Messages total: 168
    Total Questions: 74 (52 pending)
    Name dhaine
    Location Mumbai

    If you feel that your questions have been answered, then please consider the son of fence by providing appropriate points. Please clean the forum!

    Kind regards
    Shivananda

  • Backup RMAN related tables

    Hi all
    is it possible to make tables using BACKUP RMAN backup... If possible could give u me detailed step in this regard...

    Kind regards
    DSP

    i Just Wanna knowledge is possible to take table backup using RMANbackup-level

    That's what mentioned in my first post my dear. It is not possible.

    Just go, if you have any path of the 'table' in a position to find, then you can try... There is no path for tables/indexes. Hope you understood

    Published by: CKPT June 7, 2011 09:35

Maybe you are looking for