Oracle database (11.2.0.4) partial cloning on the same solaris 5.10 Server

Requirement:

Recovery of copied on the same server the database object level. (don't want to use o the PITR RMAN automatic) I'll do import export manually. (I did this activity on the other server, but in the face of the question while on the same server)

to recover the corrupted mutiple tables that I want to create the clone database (with the instance name different and unique name of DB) backup affcted and SYSTEM, UNDO, SYSAUX tablespace

Steps followed.

HAND DB

DB_NAME = PROD

instance_name = prod

CLONE OF DB:

DB_NAME = PROD

instance_name = test

db_unique_name = test

1) created the inittest.ora file

*. COMPATIBLE = '11.2.0'

*. CONTROL_FILES ='/ App/ae9/dyn/ora_backup/test/control01. CTL'

*. DB_BLOCK_SIZE = 8192

*. DB_NAME = "PROD".

* .instance_name = test

* .db_unique_name = test

*. DIAGNOSTIC_DEST = "/ opt/oracle.

*. LOG_ARCHIVE_DEST_1 =' location = / app/AE9/dyn/ora_backup/test /'

*. LOG_ARCHIVE_FORMAT='IEQPEQ1X_%r_%t_%s.arc'

*. PGA_AGGREGATE_TARGET = 838860800

* .sga_target = 1258291200

*. UNDO_MANAGEMENT = 'AUTO '.

*. UNDO_RETENTION = 0

*. UNDO_TABLESPACE = 'UNDOTBS1.

(2) nomount DB

(3) created the backup controlfile binay on the main database

(4) connected to RMAN for clone database

RMAN > auxiliary connection.

connected to the auxiliary database: PROD (not mounted)

RMAN > restore clone controlfile to ' / app/AE9/dyn/ora_backup/test/ctlbackup.ctl';

(5) mounted to the clone database

RMAN > sql clone "change the basic clone Assembly."

SQL statement: alter the clone basic Assembly

(6) restored the DB clone with below command

RMAN > auxiliary connection.

connected to the auxiliary database: PROD (DBID = 775073000, is not open)

RMAN >

RMAN > Connect target /.

connected to target database: PROD (DBID = 775073000, is not open)

run

{

the value of newname for datafile 1 to ' / app/AE9/dyn/ora_backup/test/ac/system01.dbf';

the value of newname for datafile 2 to ' / app/AE9/dyn/ora_backup/test/ac/sysaux01.dbf';

the value of newname for datafile 3 to ' / app/AE9/dyn/ora_backup/test/ac/undotbs01.dbf';

the value of newname for datafile 39 to ' / app/AE9/dyn/ora_backup/test/ac/userss01.dbf';

the value of newname for tempfile 1 to ' / app/AE9/dyn/ora_backup/test/ac/temp01.dbf';

clone tempfile switch all;

restore the system of clone sysaux tablespace undotbs1, userss;

switch from clone datafile;

}

(7) but while the recovery bet the below error.

run

{

SQL clone ' alter database datafile 1 online;

SQL clone ' alter database datafile 3 online;

SQL clone ' alter database datafile 2 online "

SQL clone 'alter database datafile 39 online. "

recover the clone database system tablespace sysaux, undotbs1 userss;

}

From pick up to 30 December 15

using the control file of the target instead of recovery catalog database

allocated channel: ORA_AUX_SBT_TAPE_1

channel ORA_AUX_SBT_TAPE_1: SID = 801 device type = SBT_TAPE

channel ORA_AUX_SBT_TAPE_1: Veritas NetBackup for Oracle - version 7.5 (2012020801)

allocated channel: ORA_AUX_SBT_TAPE_2

channel ORA_AUX_SBT_TAPE_2: SID = 833 device type = SBT_TAPE

channel ORA_AUX_SBT_TAPE_2: Veritas NetBackup for Oracle - version 7.5 (2012020801)

allocated channel: ORA_AUX_DISK_1

channel ORA_AUX_DISK_1: SID = 865 type device = DISK

RMAN-00571: ===========================================================

RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.

RMAN-00571: ===========================================================

RMAN-03002: failure of the command recover at 30/12/2015 12:55:47

RMAN-06173: SET NEWNAME command has not been issued for datafile /app/AE9/dyn/ora_backup/test/ac/system01.dbf restore when auxiliary

RMAN >

Need help in the DB partially on the same server of cloning. If anyone can share the appropriate measures.

Thank you for the help

You can turn off the track changes of block from his krccacp_badfile - maybe it would allow you to complete a task

-Pounet

Tags: Database

Similar Questions

  • Cloning with the same AIX operating system

    Hi hussein.

    I'm confused about cloning with the same OS but different versions.
    for example:
    I can clone EBS R12 on RHEL4.5 to RHEL.4.6? and likewise I can clone EBS 11i on AIX 5.2 to AIX 5.3?


    Thank you very much

    Hello

    Cloning of a newer version of the operating system is supported by quick Clone (provided that the source and target operating systems are compatible to the binary format).

    Note: 216664,1 - FAQ: cloning Oracle Applications Release 11i - 13. # Can I clone of a version of an operating system to another?

    Kind regards
    Hussein

  • Is there a way we can configure the oracle database to accept connections from particular type. For example, we may limit Server Oracle don't not to accept applications for connection to the JDBC thin driver?

    I have an oracle server which is our recovery server disaster. When I switch my application of the primary site to secondary site, we have a window of downtime during which it must implement the secondary site. When setting up the application on the secondary site, I am getting below error please take note that primary and secondary are always synchronized. The application uses the thin driver JDBC to connect to the database.

    java.sql.SQLException: ORA-01017: invalid username/password; logon denied


    However when I use the same user name and password to connect to the SQLPLUS it connects successfully. When I use the sqldeveloper or any other jdbc connection, it fails with the above error.


    Can someone please advice what may be the setting on the oracle server that limits connections jdbc or any setting related to jdbc on the oracle client


    Concerning


    Pierrel

    Post edited by: user11093423

    For others this has been resolved with

    This is the setting in sqlnet.ora

    SQLNET. ALLOWED_LOGON_VERSION = 12

    later, commenting on the above setting and restart the listener. It worked.

    Thanks for all the answers

  • oraInst.loc setting up the environment cloned on the same OS.

    Hello

    Currently, the physical server contains Linux x 86-64 OS, and there is one instance with R12.1.3.
    But I intend to clone the existing instance to the point of different editing on the same server.
    Then the question comes oraInst.loc.

    Currently, oraInst.loc is created in / etc /, owned by root with the following content.
    - - - - -
    inventory_loc = / oracle/oraInventory
    - - - - -

    Then, oraInventory is created in / oracle /, belonging to oracle1, where oracle1 is the owner of the existing instance.
    The cloned instance will be the property of oracle2.

    In this case, there is no configuration to provide for oraInventory by cloning?
    How it works in this case?

    Hello

    Please see
    Global and Local inventory explained [360079.1 ID]

    Let me give you a brief idea about it.

    Currently, oraInst.loc is created in / etc /, owned by root with the following content.

    If it is owned by root, ig he has 777 permissions, then new owner of db, said owner appl (oraclone, applclone) may also write in inventory.xml file.

    To confirm the thism before cloning, you can run

    chmod-r a + rw/etc/oraInventory

    Then, oraInventory is created under /oracle/, owned by oracle1, where oracle1 is the owner of the existing instance.
    The cloned instance will be owned by oracle2.
    

    IF the does'nt chmod above works, then change the owner of /oracleoraInventory to oracle2 ship... Now, this will create problems.

    Thank you

  • Different output for the same query in SQL Server and Oracle

    I have two tables table1 and table2

    -table1 has two columns c1 int and varchar c2. There are no constraints added in it. It contains data as shown below

    C1 c2
    -------------------
    d 6
    5 d
    102 g
    6%
    f 103
    5.
    501 j
    1 g
    601 n
    2 m

    -table2 has only a single column c1 int. There is no added in constraints. It contains data as shown below

    C1
    ----
    6
    1
    4
    3
    2

    now when I run below, given the query in sql server and oracle it gives me different results

    Select *.
    FROM table1
    table2 on table2.c1 = table1.c1 inner join (SELECT ROW_NUMBER() (any ORDER by ASC c1) AS c1 from table2)

    output of SQL server
    ------------------------
    C1 c2 c1
    --------------------------------
    1 g 1
    2 m 2
    3 h 3
    4 g 4
    5 d 5


    release of Oracle
    ----------------------
    C1 C2 C1
    ---------------------------------
    5 d 5
    4 g 4
    3 h 3
    1 g 1
    2 m 2


    If you notice the first column in the two outputs. It is sorted in sql server and no oracle.

    Why he behaves differently in oracle? Is there a way I can fix this problem in oracle?

    Thank you
    Jigs

    It is NOT a behavior "differently" in Oracle; you did not specify just an order that you expect of your results, so you'll get output in what order the fantasies of the database showing (ie. no guaranteed order). It is an artifact of the way the database chooses to collect the data and databases (or same sets of data within the same database) can and will most likely behave differently.

    Same SQL Server will not be guaranteed to always get your data in an orderly manner if you exclude the order by clause, even if you think that there always display the data in an orderly manner.

    Your solution is to add an order by clause, in the TWO databases, to force the order of the data output.

  • Can I save a RMAN database using 2 devices (tape drives 2) at the same time by setting OB_DEVICE?

    Hi all

    Can we backup RMAN database using 2 drives at the same time by setting OB_DEVICE?

    In case of increase the performance of backup on 2 tape drives?

    I know that the possibility to use OB_DEVICE_1 and OB_DEVICE_2 to specify the number of copy of backups in duplex.

    But what I want is to run backup on disk 2 of databases for a single copy!

    Your response is much more appreciate.

    Thank you and best regards,

    Kathya

    Hello

    Just spend two-channel SBT is implicitly:

    CONFIGURE DEVICE TYPE 'SBT_TAPE' PARALLELISM 2 BACKUP TYPE TO BACKUPSET;
    

    or explicitly block execution:

    RUN
    {
      ALLOCATE CHANNEL c1 DEVICE TYPE sbt;
      ALLOCATE CHANNEL c2 DEVICE TYPE sbt;
      BACKUP DATABASE PLUS ARCHIVELOG;
    }
    

    Kind regards

    Mitja

  • Where should you install Oracle database and grid Infrastructure in order to comply with OFA?

    I downloaded two files compressed to the Oracle database installation, and both zipped install files for the grid Infrastructure.  The book I'm following for installation is said to use a directory of the database and a directory for the grid Infrastructure, but it does not explain where they should be located in OFA.  Probably they should both close up somewhere in the same Base of Oracle (since all Oracle related on a single file system should go in the same basis, according to my understanding), but it is not clear where they need to be installed over the other.  For example, the grid Infrastructure is a separate product that gets its own Oracle Home?  Anyone can shed some light on this process?

    Also, does it matter where the zipped files are uncompressed?  For example, use one of these files after the installation process, or OFA only cares location after installation?

    887504 wrote:

    I downloaded two files compressed to the Oracle database installation, and both zipped install files for the grid Infrastructure.  The book I'm following for installation is said to use a directory of the database and a directory for the grid Infrastructure, but it does not explain where they should be located in OFA.  Probably they should both close up somewhere in the same Base of Oracle (since all Oracle related on a single file system should go in the same basis, according to my understanding), but it is not clear where they need to be installed over the other.  For example, the grid Infrastructure is a separate product that gets its own Oracle Home?  Anyone can shed some light on this process?

    Also, does it matter where the zipped files are uncompressed?  For example, use one of these files after the installation process, or OFA only cares location after installation?

    Yes, they go in separate oracle_home.  This should be explained in the respective Setup Guide.  This will be a CAR or a standalone ASM?  I have

    It does not matter where you unzip the installation files.  They are only used for the installation.

  • can I use "Oracle Database 12 c: performance management and Tuning" training for the certification "Oracle Database 11g: Performance Tuning 1Z0-054 '"»

    I took "Oracle Database 12 c: new performance management and Tuning" the oracle University training. Now I would like to get certified on "Oracle Database 11g: Performance Tuning 1Z0-054 ' exam. Is this possible?

    I guess you ask if you can use the course 12 c as long as the condition of course for the review of 11g.  Over 12 c is not listed as one of the options for the 11 g certification and course requirements are normally specific version - at least with DBA certifications.  If you are already an Oracle OCP DBA, of course, there is no requirement of course for the review of performance tuning.  From what I know the training requirements for other certifications, I do not that you will be able to use it. However, Brandye will provide a definitive answer to whether the course 12 c would be acceptable for 11g certification.

    That said, I'm with John - 12 c review is about a community of 85 to 90% in the review of the 11g and is currently about 20% of the price while it is in beta.  What is the point of trying to cross the releases?

  • Record great shape data in the Oracle database

    Hi all

    I have a question as to how we store a large xml for example more than 10000 bytes in the oracle database. I tried to use varchar, but the length is limited to only 4000 bytes. Could someone let me know how to achieve this.

    Basically what I'm doing is in adobe livecycle workflow I will get the user entered data in the form as formData (xml) variable and I want to keep the same for any future reference. I need to use the same data to fill the form again in the future.

    Thanks in advance.

    Shekhar,

    I had handy MySQL, so I did it using that and attached here is a sample. For Oracle, this is mission for you as well as recovery.

    -Wasil

  • PDF files in the Oracle database

    First all the Hi and thanks to all the gurus of this forum to provide non-stop services to solve problems at the global level.

    I'm using Oracle Database 11 g - R1 with Oracle Application Express 4.1.

    My clients (end-users) can visit to download PDFs in the database via a built-in Oracle Application Express application.

    All of a sudden ".dmp" size increased rapidly from 360 MB to 2.7 GB and everything that happened due to downloading of PDF files.

    I want to know it's alarming for the Oracle database? Because I'm in doubt, users have a lot of files to download, Services of Oracle database that will / Performance will be disturbed by the increase in the size of the database or Oracle database server could be crushed?


    Please confirm. Thanks in advance.

    Looks: Mohammed Uzair Awan

    Performance may be affected.
    Backup time would increase.
    Backup space (disk / tape) would increase the requirements.

    There should not be a 'crash' of the database
    As you run 11 GR 1 material, I assume that you do not run the Express edition.

    Hemant K Collette

  • 1Z0-117: Oracle Certified Expert, Oracle Database 11 g Release 2 SQL Tuning

    Hello

    I failed the exam 1Z0-047 Oracle database SQL Expert"x 3 and will pass the exam in January 2012. I'm sure I'll spend this time :-) to 95%

    Now my question: what's next 1Z0-047? I only know how to leave 1Z0-047. I am SQL scripts to my work, but no DBA work and not of PL/SQL. So I guess that the "Oracle Certified Expert, Oracle Database 11 g Release 2 SQL Tuning" would be the next logical step?

    Is 'Oracle Certified Expert, Oracle Database 11g Release 2 SQL Tuning' too complicated for me (only have knowledge of the exam 1Z0-047). Because I don't have experience with the topics listed in the objectives, for the most part never heard talk about.

    What study guide?

    So I guess that the "Oracle Certified Expert, Oracle Database 11 g Release 2 SQL Tuning" would be the next logical step?

    I agree with you.

    The Oracle 11 g Release 2 database: review SQL Tuning is still in beta at least until November 24, 2012. Beta versions have been known to be extended. Even if this isn't the case, the examination of the production is not available before mid-January 2013 about. I had one experience with a beta. I hated and will never be another. There is little reason to do so, and most importantly (reduced cost) is not important to me because my company reimburses the cost of my essay, so I don't really care about the savings. They take several times longer to complete and I was a mess at the time that I finished that I did with a headache roaring through a large part of the review.

    That said - answering your question:

    1Z0-047 is a really complicated test. The questions and answers are designed to mislead. There is a reason for that. SQL, by its very nature, is a fairly simple language. Part of its appeal, is that it is easy to understand and write. If the people who wrote the essay was not gone to their best to make the deliberately convoluted SQL code, then it would not have required skills 'experts' to pass. It is much more difficult to read and diagnose poorly written SQL as well written SQL.

    I also took the test Application Express Expert: 1Z0-450. The questions that it were not written in a deliberately confusing manner. However, they had need intimate knowledge of the interface of the Apex. Because it was possible to write questions 'hard' without having to make them deliberately more obscure, the questions were simpler. I did not review SQL Tuning (as I said... no more betas for me), but I suspect that it will be similar to 1Z0-450 has enough information "at the level of experts" to write questions on that test will not attempt to write "hard" questions

    Is 'Oracle Certified Expert, Oracle Database 11g Release 2 SQL Tuning' too complicated for me.
    Because I don't have experience with the topics listed in the objectives, for the most part never heard talk about.

    Not sure what is in the test. This is excellent news. Student for the test will teach you a lot of new things about writing and tuning SQL. In my posts, a concept is repeated again and again. The value of certification is not make a piece of paper to stick in a workbook. The value comes to what new skills you gain in is about to pass the test. If you do not know the information and that you are not studying for the test, Yes, you will not pass. If you prepare for the test until you do understand the objectives, then you should be able to pass the test.

    What study guide?

    None does not yet exist. There is no doubt that I will write a review study guide. It won't be until some time after the test is in production. I do not publish guides for which I hold the certification. Do not wait for good. You can use the same exact source, I will use in his creation - the Oracle documentation. I guarantee you that all topics on the unique OE page and every single question that is under review are answered somewhere in the documentation.

  • Download Oracle Database 10g (10.2.0.4.0) for Server 2008 R2

    Hi all.

    I am a beginner, I need to know:
    Where can I download Oracle Database 10 g Release 2 (10.2.0.4.0) for Microsoft Windows Server 2008 R2 x 64, as oracle download page is more downloadable.

    THX.

    >
    Where can I download Oracle Database 10 g Release 2 (10.2.0.4.0) for Microsoft Windows Server 2008 R2 x 64, as oracle download page is more downloadable.
    >
    You must contact Oracle support and provide your credentials of accounts of MOS. They will send you a link that can be used to download the product.

  • How to uninstall Oracle Database 11 g release 2?

    Hello
    I want to uninstall Oracle Database 11 g release 2.

    Im running the deinstall.bat that is located on:
    C:\app\MachineName\product\11.2.0\dbhome_2\deinstall

    then in the command window, I get this message:
    Specify all headphones single instance that must be configured out [LISTENING]:

    What should I enter here?
    What is an auditor?

    Thank you...

    Generally, the default value (BACKSPACE) is correct.

    The listener is the network feature which helps you connect. He listens to new connection attempts.

    I like to think it's a traffic COP that allows a connection, but has nothing to do with later.

    The listener is a named process that is running on the Oracle server, waiting for requests from the client to connect to the Instance.

    The listener does not normally handle connections once the original request was made. The listen listen on a default port is 1521.

    Best regards

    mseberg

  • Task Oracle database using stored procedure adapter connection

    Hello
    I found the bottom of things in console design guide:
    For Installations of Oracle Identity Manager using the Oracle database, copy it
    file ojdbc14.jar is of the OIM_HOME/xellerate/ext/directory of the
    OIM_DC_HOME/xlclient/ext directory.

    This must be done before to create a task of adapter of stored procedure with the target system being the oracle database. So this means that no connector is necessary and the ojdbc14.jar is itself establishes the link taking the resource data... Please answer my question. If I'm wrong guide me in the same.

    This is urgent.

    Help, please

    Thank you
    SK

    Hello

    ojdbc14.jar is contains the necessary drivers to talk to the database and retrieve information from the DB schema.
    It reads information from the resource connectivity and will fetch from the database stored procs.

    As Olga said, you don't need to write a connector for this.

    http://download.Oracle.com/docs/CD/E10391_01/doc.910/e10366/creadp.htm#BHAHJAAB

    Let me know if you have any questions

    Thank you
    Suren

    Published by: Suren.Singh on August 26, 2010 02:08

  • HELP-Oracle Database 11 g Instalation interrupted

    I have a problem with the instalation of Oracle database 11g. I am completely new to the Oracle database. During the installation of Oracle database 11 g for Windows (32 bit), I got the following messages. My OS is Vista 32 bit.

    Output generated by the configuration wizard 'Oracle Net Configuration Assistant:
    Command = C:\Windows\system32\cmd/c call /orahome D:\app\danilo & jaca\product\11.1.0\db_1 /orahnam OraDb11g_home1 ${ORACLE_HOME}/bin/netca.bat, /instype typical /inscomp client, oraclenet, Java virtual machine, server, ano /insprtcl tcp, nmp /cfg local /authadp NO_VALUE /nodeinfo NO_VALUE /responseFile D:\app\danilo & jaca\product\11.1.0\db_1\network\install\netca_typ.rsp}

    Setup Wizard 'Oracle Net Configuration Assistant' failed
    -----------------------------------------------------------------------------
    The script 'D:\app\danilo & jaca\product\11.1.0\db_1\cfgtoollogs\configToolFailedCommands' contains all commands that failed, was omitted or were cancelled. This file can be used to run these wizards of configuration outside of YES. Note that you may need to update this script with passwords (as applicable) before executing the same. - outputs generated configuration wizard 'Oracle Net Configuration Assistant:
    Command = C:\Windows\system32\cmd/c call /orahome D:\app\danilo & jaca\product\11.1.0\db_1 /orahnam OraDb11g_home1 ${ORACLE_HOME}/bin/netca.bat, /instype typical /inscomp client, oraclenet, Java virtual machine, server, ano /insprtcl tcp, nmp /cfg local /authadp NO_VALUE /nodeinfo NO_VALUE /responseFile D:\app\danilo & jaca\product\11.1.0\db_1\network\install\netca_typ.rsp}

    Setup Wizard 'Oracle Net Configuration Assistant' failed
    -----------------------------------------------------------------------------
    The script 'D:\app\danilo & jaca\product\11.1.0\db_1\cfgtoollogs\configToolFailedCommands' contains all commands that failed, was omitted or were cancelled. This file can be used to run these wizards of configuration outside of YES. Note that you may need to update this script with passwords (as applicable) before executing the same. -.

    Also, I have a message that the Oracle Database Configuration assistant is underway.
    I would appreciate if you can help me with this.
    Thank you in advance.
    Kind regards.

    OK - pl see the requirements of the 11.1.0.7 install manual - http://download.oracle.com/docs/cd/B28359_01/install.111/b32301/toc.htm#BGBEEBAD

    HTH
    Srini

Maybe you are looking for