Issue all try to perform the active database duplication with RMAN

Hi all

I would like to duplicate the database CURRENTLY to DATABASEB and must be performed in the same server. I tried to bounce the instance listener & databaseb several times, but no luck.

Please help me solve this problem and why its happening.


Step 1: The instance of DATABASEB is phase Nomount

Step 2:


== > tnsping DATABASEB

AMT Ping utility for Linux: Version 11.2.0.2.0 - Production on 2012-SEP-11 07:36:54

Copyright (c) 1997, 2010, Oracle. All rights reserved.

Use settings files:


TNSNAMES adapter used to resolve the alias
Try to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = client) (PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = DATABASEB)(UR=A)))
OK (10 ms)


Step 3:

== > rman target sys/***@DATABASEA auxiliary sys/***@DATABASEB

Recovery Manager: release 11.2.0.2.0 - Production kills Sep 11 07:37:50 2012

Copyright (c) 1982, 2009, Oracle and/or its affiliates. All rights reserved.

connected to target database: CURRENTLY (DBID = 1723462779)
RMAN-00571: ===========================================================
RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.
RMAN-00571: ===========================================================
RMAN-00554: initialization of the package manager internal collection failed
RMAN-04006: auxiliary database error: ORA-12514: TNS:listener is not currently of service requested in connect descriptor


Thank you

Hello;

You need a static entry for this: (SID_LIST_LISTENER is the static entry)

Example of

DCLONE =
  (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = server.myhost.com)(PORT = 1521))
    (CONNECT_DATA =
      (SERVER = DEDICATED)
      (SERVICE_NAME = DCLONE.myhost.com)
    )
  )

SID_LIST_LISTENER =
   (SID_LIST =
       (SID_DESC =
       (SID_NAME = PLSExtProc)
       (ORACLE_HOME = /u01/app/oracle/product/11.2.0.2)
       (PROGRAM = extproc)
     )
       (SID_DESC =
       (global_dbname = STEST.myhost.com)
       (ORACLE_HOME = /u01/app/oracle/product/11.2.0.2)
       (sid_name = STEST)
   )
  (SID_DESC =
       (global_dbname = DCLONE.myhost.com)
       (ORACLE_HOME = /u01/app/oracle/product/11.2.0.2)
       (sid_name = DCLONE)
   )
)

Make sure you stop and restart the receiver.

The needs of the auxiliary Instance be started NOMOUNT on a file INIT.

Given that its on the same server, you must DB_FILE_NAME_CONVERT and LOG_FILE_NAME_CONVERT in the INIT

I have always copy and rename the password too.

And the RMAN to connect as

Target of $ORACLE_HOME/bin/rman = sys /auxiliary @source = sys /@clone

connected to target database: SOURCE (DBID = 2236120765)
connected to the auxiliary database: CLONE (unassembled)

DUPLICATE THE TARGET DATABASE TO THE ACTIVE DATABASE NOFILENAMECHECK IPMTEST;

H2. Another method

http://www.Visi.com/~mseberg/create_a_duplicate_database_on_the_same_host.html

Best regards

mseberg

Tags: Database

Similar Questions

  • If the active database duplication function requires license?

    Hello!
    Could someone tell me if this feature requires license? It is part of the General database or it is included in a pack which must be purchased separately?

    Thank you!

    I don't think so. Yes, it is available in 11g, I guess. I'm still in 10g R2

    Published by: jazz81 on January 24, 2011 13:29

  • I just bought an iphone 6 s second part and I got home put my SIM in there turn it on you try to start the activation process and he says that the phone is lock icloud, I tried calling get him etc. but he gave me the wrong information help please 91026128

    I just bought an iphone 6 s second part and I got home put my SIM in there turn it on you try to start the activation process and he says that the phone is lock icloud, I tried calling get him etc. but he gave me the wrong information and I called apple, they said that its nothing they can do without evidence of perchise im broke I spent all my money on the phone, does anyone know any software free or something me please txt to 9102612856

    @Santonio99

    You probably bought an iPhone stolen 6. Mine was stolen in Barcelona in Spain on June 10 by a pick-pocket. Fortunately, there is absolutely nothing you can do to make an iPhone locked to the activation of the work.  You have a paper weight.

  • RMAN duplicate for standby the active database and the missing data files

    We have a car of 2 node ASM 11 GR 2 and 11.1 of database and a standby with ASM also. Our database is relatively low (300 GB)

    and in one recent event the day before was such a departure from the primary that we decided to "repopulate" the data using duplicate RMAN.

    I deleted the data files of the previous day and followed the Oracle documentation to duplicate a database. In the waiting

    I created a static listener and a pfile containing only the essential information (db_unique_name). I started the day before with nomount using the 'empty' pfile.

    I run RMAN, connected to the target and ancillary catalogues and run this command:

    run {
    allocate channel prmy1 type disk;
    allocate channel prmy2 type disk;
    allocate channel prmy3 type disk;
    allocate channel prmy4 type disk;
    allocate channel prmy5 type disk;
    allocate auxiliary channel stby1 type disk;
    duplicate target database for standby from active database nofilenamecheck;
    }
    

    RMAN duplication completed without errors, so I started the rescue database and got

    an error saying that datafile XXX is missing. I checked XXX datafile at the primary level

    and it is in a DISCONNECTED state. In the standby database the same data file is in the online state.

    So I think the problem is that during the duplication, RMAN (as documentation States) does not work

    Copy the files of data in offline mode, but the standby control file seem to think that these data files

    are online and should be present.

    Can someone please help me solve this problem? From my understanding, I could just copy the missing persons

    data files (there are many however) and in the standby go offline, but I don't think it's

    the right solution, edit this file for control of the standby? I would add another option

    in the RMAN script?

    Take the data file in offline mode on the site of the previous day.

    I don't think that two COPIES try to manage separately offline files.

    Hemant K Collette

  • How can add other service_name in the active database

    1. Create other service_name in the active database
    2. connect new service_name in the active database

    Hello

    Please play step by step:

    (1) sqlplus "/ as sysdba";

    exec DBMS_SERVICE. CREATE_SERVICE ('A', 'A');

    • Name of network-A
    • A - service name

    (2) exec DBMS_SERVICE. START_SERVICE ('A');

    (3) status lsnrctl listener

    for example (tnasnames Clinet)

    A_1 =

    (DESCRIPTION =

    (ADDRESS = (PROTOCOL = TCP)(HOST = xxxxxxx) (PORT = 1521))

    (CONNECT_DATA =

    (SERVER = DEDICATED)

    (SERVICE_NAME = A)

    )

    )

    SQL > alter system set service_name = a scope = both;

    SQL > alter the registry system;

    Thank you

  • After several years, all of a sudden my Photoshop CS wants to reactivate, otherwise the product is worthless.  All right, I got the activation code, but nowhere to put it!  Help!

    After several years, all of a sudden my Photoshop CS wants to reactivate, otherwise the product is worthless.  All right, I got the activation code, but nowhere to put it!  Help!

    I guess you run Photoshop CS2 or more?

  • If I buy a new hard drive, I use the activation number provided with my computer to re - install Windows XP?

    activation and replacement hard drive

    Greetings from St. John's Newfoundland. My wife has given car for my birthday washer and I wiped the ENTIRE hard drive, including the operating system. (XP). I have recovery CD but the computer will not read and install XP. I want to know it is if I buy a new hard drive, can I use the activation number provided with my computer to re - install Windows XP?

    Hello

    Yes, you can use the activation code for re - install Windows XP.

    Note: If you have exceeded the number of times to activate the product, then you would not be able to activate, you may need to contact the manufacturer to perform a factory restore.

  • Two questions relating to the archive redo logs with RMAN backup

    DB version: 11g

    I am new to RMAN.

    My database is in ARCHIVELOG mode. I intend to make a weekly backup for my db (02:00 every Monday). There will be all the incremental backups between these windows(Monday-to-Monday) of backup that I have would function for retrieving archived redo logs.


    Question1.
    I want to save the archived logs every day (for example at 23:00). How can I configure that?

    These are the configuration setting, that I intend to implement. I don't know how to set up the archive log backup
    configure default device type to disk;
    configure retention policy to redundancy;
    configure device type disk parallelism 1;
    configure channel 1 device type disk clear;
    configure channel 2 device type disk clear;
    configure channel 1 device type disk format '/u05/rman1/datafiles/rmnabackup1_%U';
    configure channel 2 device type disk format '/u05/rman2/datafiles/rmnabackup2_%U';
    configure controlfile autobackup on;
    configure controlfile autobackup format for device type disk to '/u05/rman1/control_files/rmnabackup1_%U';
    Question2.
    After that a new full backup is taken at 02:00 on Mondays, the archived redo logs accumulated since the last 7 days become unnecessary. How can I automate the removal of the archive redo logs with RMAN?

    Archive the log delete them all input command will take the destination of the log archiving log backup archive and delete this destination.

    In the log archive destination he has archived log in the sequence 1 to 100 then will he take the backup and delete any of the destination (Monday 23:00).

    In the log archive destination he has archived sequence journal 101 to 150 then will he take the backup and remove those in the destination (Tuesday 23:00).

    In the log archive destination he has archived log in the sequence from 151 to 180 so will he take the backup and delete any of the destination (Wednesday 10:00).

    It will continue like that.

    Concerning
    Asif Kabir

    -If you help brand the response as correct/useful.

  • Digitally sign all Signature fields in the Active Document

    I have a script that will sign a unique digital signature with the name of the field field.

    I need to see the script so that it will sign in fields many/any signature in the active document without having to put the name of the field in the script, as domain names vary with each document.

    Can someone advise please how do I change the script to sign all the fields in the active document, regardless of the domain name?

    function myOtherTrustedFunction()
    {
    app.beginPriv ();
    Get and connection to the Security Manager

    var oSigHdlr = security.getHandler ("Adobe.PPKLite");
    oSigHdlr.login ("123", "/ c/Documents and Settings/name/Application Data/Adobe/Acrobat/10.0/Security/FirstNameLastName.pfx");

    Signature properties configuration

    chk var = this.getField ("Checked");
    If (chk! = null) {}

    Apply the Signature and store it in the original file

    bRtn var = chk.signatureSign ({oSig:oSigHdlr, bUI:false, oInfo: {password: "123"}});
    }

    app.endPriv ();
    }

    Any help will be most appreciated.

    How about this:

    var myEngine = security.getHandler("Adobe.PPKLite");
    myEngine.login("123", "/c/Documents and Settings/name/Application Data/Adobe/Acrobat/10.0/Security/FirstNameLastName.pfx");
    
    for (var i = 0; i < numFields; i++) {
    
        // Get the current field object
        var f = getField(getNthFieldName(i));
    
        // If it's a signature field and not already signed, sign it
        if (f.type === "signature" && !f.value) {
    
            // Sign the field
            f.signatureSign(myEngine, {password: "123"});
    
        }
    }
    
  • database clone with RMAN

    We use the Oracle 10 g R2 on Linux.

    We have a database of development which is mode without archival value. Can clone us this database without stopping it with RMAN.

    No, you can't take any form of online backup without in archivelog mode. BackupSets would be blurred as data files are backed up to the different SNA.

  • Hi, trying to fix my eyedropper in AE CS5. Whenever I click it crashes. Also when I try and perform the updates keep an error saying I need to reinstall but I ain't a disc

    Help, please!

    El Capitan 2.2 Mac i7 16 gb 1600 mhz Intel HD 3000 512MB

    CS 5 Master

    After Effects: Eyedropper tool causes the program crash.

    All programs do not update error: Adobe After Effects CS5 has been moved or deleted incorrectly. Please start or reinstall the application to update the location and try again. To remove the product from the system, uninstall the product using the alias in "/ Applications/Utilities/Adobe installers.

    Help, please

    using the vacuum after you uninstall and reinstall is often necessary

    -https://helpx.adobe.com/creative-suite/kb/cs5-cleaner-tool-installation-problems.html

    Download & install instructions https://forums.adobe.com/thread/2003339 can help

    -includes a link to access a page to download the Adobe programs if you do not have a disk or drive

    -you will need to enter your original serial number during the installation for non-Cloud programs

    - or kglad links in response to #1 here can help https://forums.adobe.com/thread/2081216

    Also go to https://forums.adobe.com/community/creative_cloud/creative_cloud_faq

    - and also read https://forums.adobe.com/thread/1146459

    CS6 and previous programs have not been tested and will not be updated to run on Mac El Capitan

    -which means you are trying to use CS6 and earlier at YOUR risk of having problems

    This information is a MUST to install old programs on Mac El Capitan

    -You can't get the same error message, but here are some links that CAN help with old programs

    Install CS5 on Mac 10.11 https://forums.adobe.com/thread/2003455 can help (also for others than CS5)

    -also a TEMPORARY security change https://forums.adobe.com/thread/2039319

    -http://mac-how-to.wonderhowto.com/how-to/open-third-party-apps-from-unidentified-developer s-mac-os-x-0158095 /

    -the guardian https://support.apple.com/en-au/HT202491

  • RoboHelp Server stores all its data in the backend database?

    RoboHelp Server stores all data in the database and only code and templates on the web server?

    Yes. What database depends on the way in which the context of RoboHelp Server has been configured. You can have a MS Jet database (not designed for an environment of production, a DB SQL Server or Oracle DB, see OS/database combination suggested RoboHelp Server "Technical Communication Suite for more details. ')

  • Try to change the active patrician size

    Hello..

    I tried to create a partition today following the instructions written on the microsoft Web site. I HAV only c drive in my drive hard nd it showed 240GB... I pressed the volume button and it showed that I can reduce 90 GB... then I pressed the shrinkage, but it does not create an unallocated space. so I can't create a partition... rather my drive c lost 90 GB of space and 150 GB showing now... what should I do to return than 90 GB?
    I even tried MiniTool Partition Wizard Home Edition... still do not see it.
    Help, please!

    Hello

    Read this:
  • Get the "Failure" error when you try to perform the V2V with Converter Standalone 5.5.3 conversion

    I'm trying to migrate virtual machines to an older VMWare environment, using a host of ESXi 5.5 (build 1331820), using the stand-alone utility to converter vcenter (version 5.5.3), to a new ESXi 5.5 U2 (build 2068190). The new environment has a server vCenter 5.5 on it and the new ESXi server 5.5U2 has been registered with it.

    Data store sizes are exactly the same on the old and new servers ESXi, just using without separate (the new environment is supposed to be a 100% clean restart for this environment).

    However, when I try to migrate a computer virtual (version 8) of the old environment to the new environment and convert it into hardware 10 version, I get an error of 'Failure' of the stand-alone converter.

    The only line I can find in the error log before the entry of 'failure' is:

    2015 04-14 T 15: 36:01.267 - 07:00 [info 08268 'wizardController"] FillPage()

    2015 04-14 T 15: 36:11.637 - 07:00 [00400 error 'wizardController'] Impossible to submit work: vmodl.fault.SystemError

    2015 04-14 T 15: 36:11.637 - 07:00 [10620 error 'ConversionState'] Submit job failed: a general error occurred: failure

    2015 04-14 T 15: 36:11.637 - 07:00 [10620 error 'ConverterWizardWindow'] next / finish failed: a general error occurred: failure

    2015 04-14 T 15: 36:18.559 - 07:00 [verbose 09980 ' HttpConnectionPool-000008' '] [RemoveConnection] connection removed. CNX: < SSL (< io_obj p:0x0390ff28, h-1, < TCP "0.0.0.0:0" >, < TCP '192.168.0.10:443' > >) >; pooling: 0

    I am confused as to what I should look at, regarding the migration and convering VM from my old environment to the new environment.

    So the problem was with the vCenter Server (appliance version Linux, which is a bit disconcerning) not being is not in the State 'ready' to allow the migration.

    I restarted the vCenter server and everything started working as expected, immediately.

  • 1211 error when you try to perform the factory restore.

    Original title: I need to.

    My computer is running very slowly, I want to go back to its factory settings so I would have as its new brand, but when I go to install it I get an error 1211 or something like that. I need help with this. C:\$win_nt$.~LS\I386\system32\ntdll.dll.

    The factory restore process is created and supported by the manufacturer of the computer, not Microsoft.  So you should check with the manufacturer of your computer to know what mean error codes and how to solve them.

Maybe you are looking for