Easy cloning of database on identical configured machines

Hello world

I had two machines in AIX; a system of production and the other for purposes of testting. The two machines are configured in the same way. Same folder features, databases sid etc. Only host names differ. I would like to know the best way to clone the production to the development instance instance.

I had a look at the typical for cloning databases as tutorials:

http://www.orafaq.com/wiki/Clone_database_from_one_machine_to_another

simple clone/copy of oracle database

But I don't want to create a new instance each time. I would be very grateful if you could provide me with the steps, I really have to take in my configuration.

Kind regards!

> I thought that maybe a simple solution could be the copy all files associated with the database dev instance.

DB stopped, then OS you can copy all the files from the source on the system database target (assuming that the same directory structure) & then start the DB cloned.

The database files don't know or care that they now reside on another server system.

Tags: Database

Similar Questions

  • Cloning of database with ASM to ASM

    Hi people,

    I have 11.2.0.3.0 of oracle on windows 2008 server R2 64 bit with ASM machine and I have another machine with the same configuration without oracle. Now, I want to clone my database in a new machine with the DSO... I've done cloning of ASM ASM to ASM, ASM no but first, so do not know how to...
    Can someone tell me what is the procedure to clone ASM ASM database in remote machine... be very good so will get prerequisites also for this whole process...

    Thank you and best regards,
    John of Vikash

    Hello

    You must install (single instance or Cluster) ASM instance grid Infrastructure and you need to add the duplicate database service.
    And you can use the command DUPLICATE on RMAN.

    Read more: http://www.oracle.com/technetwork/database/features/availability/asm-cloning-128795.pdf
    and http://jhdba.wordpress.com/2009/04/02/cloning-a-database-asm-to-asm/

    Concerning
    Mr. Mahir Quluzade
    www.Mahir-quluzade.com

  • Constraints/General to keep PROD and databases on the same Machine TEST

    Hello

    Version: 12.1.1
    Database is 11.1.0.7
    2 node architecture (DB on a single Machine, applications on the same Machine)

    Client wants to keep PROD and databases on the same Machine TEST. Could you please let me know the issues and constraints that we can encounter this configuration in the future. While I can force the client to a machine more TEST.

    Thanks in advance...

    Hello

    My Client told me that I can provide more resources (CPU, memory, and disk), then why can't keep us as what he asks?

    There are other technical problems, that we can meet?

    I think the above should be enough :)

    Other proceedings continued would be impossible (as you said, because of human error, and in case the server restart is required). Even if they provide more resources it would be a conflict over shared resources (for example, what happens if a process on the test instance consuming all CPU/memory resources?).

    So, in futuere, we can improve the database to the new version and some environment variables in the registry may have affected it?

    Each instance will have its own entries in the registry and this shouldn't be a problem.

    Thank you
    Hussein

  • This database is not configured, metric Collection error

    IT shows OEM in the production database

    STATUS, Collection metrics error

    This database is not configured

    Situation pending since February 26, 2015 02:50:34 IST

    Oracle distilled

    you follow that it is advantageous for you

  • Having problems with SQL Developer connection to the database on a LINUX machine

    Having problems with SQL Developer connection to the database on a LINUX machine
    Hello
    I am trying to connect my machine to windows 7 Home premium to an oracle database 11 g on RedHat 5 machine using SQL Developer. I got this error on SQL Developer
    Status: Failed - Test has failed: the network adapter could not establish the connection


    on Linux
    LSNRCTL> status
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1)))
    STATUS of the LISTENER
    ------------------------
    Alias                     LISTENER
    Version                   TNSLSNR for Linux: Version 10.2.0.1.0 - Production
    Start Date                03-APR-2013 16:13:13
    Uptime                    7 days 22 hr. 16 min. 41 sec
    Trace Level               off
    Security                  ON: Local OS Authentication
    SNMP                      OFF
    Listener Parameter File   /u01/app/oracle/product/11.2.0/db_1/network/admin/listener.ora
    Listener Log File         /u01/app/oracle/product/11.2.0/db_1/network/log/listener.log
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC1)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=172.X.X.X)(PORT=1521)))
    Services Summary...
    Service "PLSExtProc" has 1 instance(s).
    Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
    Service "orc11g" has 1 instance(s).
    Instance "orc11g", status READY, has 1 handler(s) for this service...
    Service "orc11gXDB" has 1 instance(s).
    Instance "orc11g", status READY, has 1 handler(s) for this service...
    Service "orc11g_XPT" has 1 instance(s).
    Instance "orc11g", status READY, has 1 handler(s) for this service...
    The command completed successfully
    LSNRCTL>
    and TNSPING
    tnsping 172.x.x.x
    
    TNS Ping Utility for Linux: Version 10.2.0.1.0 - Production on 11-APR-2013 14:32:17
    
    Copyright (c) 1997, 2005, Oracle.  All rights reserved.
    
    Used parameter files:
    /u01/app/oracle/product/11.2.0/db_1/network/admin/sqlnet.ora
    
    Used EZCONNECT adapter to resolve the alias
    Attempting to contact (DESCRIPTION=(CONNECT_DATA=(SERVICE_NAME=172.x.x.x))(ADDRESS=(PROTOCOL=TCP)(HOST=172.x.x.x)(PORT=1521)))
    OK (0 msec)
    [oracle@ltebilling ~]$
    Tnsnames.ora on Linux,
    ORC11G =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 172.x.x.x)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = orc11g)
    )
    )
    Listner on Linux,
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = /u01/app/oracle/product/11.2.0/db_1)
    (PROGRAM = extproc)
    )
    )
    
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
    (ADDRESS = (PROTOCOL = TCP)(HOST = 172.x.x.x)(PORT = 1521))
    )
    )
    hosts/ect/Linux,
    # Do not remove the following line, or various programs
    # that require network functionality will fail.
    127.0.0.1               localhost.localdomain localhost
    172.x.x.x             LTEBilling
    and there is no problem to ping linux from windows

    Published by: user11309581 on April 11, 2013 15:16

    user11309581 wrote:
    as I have already desciped earlier, I can't connect to the server throw Linux my Windows SQL Server, with error message below.
    tatus: failed - Test has failed: the network adapter could not establish the connection

    It's too generic to mean anything. The application is hidden the real error message. You got when you did the tnsping and obtained "TNS-12535: TNS:operation has expired. Now THAT's an error.

    This indicates a problem firewall and routing. You said earlier you could ping the server, but now we see tnsping fails. Two different protocols of usage, so that both the successful ping turns out a valid physical path, it guarantees not that all traffic will pass. What happens with

    c:\ telnet 172.x.x.x 1521
    
  • What is the exact difference between cloning the database and updating of the database?

    Hello

    Can someone like me precisely the difference between cloning the database and updating of the database?

    I have some conflicts in these topics.

    Thank you
    Rajesh

    Discounting is what he says, "Refresh". You have a main site which would always have the data inserted into it. There is another site that would stay somewhere else. This site needs to be updated with the main site. It must be the export of primary, push the site high school and done!

    HTH
    Aman...

  • trace the IP / user login database with wrong password machine

    Hi all
    I would like to find information of machine or IP address of the user who is trying to connect to the database with incorrect password.

    I'm on 11g. Please can I know whether it is possible to obtain this information and if yes then how to configure.

    Thank you.

    1 enable auditing of database with pararameter AUDIT_TRAIL

    SQL> show parameter audit_trail;
    
    NAME                                 TYPE        VALUE
    ------------------------------------ ----------- ------------------------------
    audit_trail                          string      DB_EXTENDED
    

    2 enable auditing of the session

    SQL> audit session;
    
    Audit succeeded.
    

    3. check the DBA_AUDIT_TRAIL view:

    SQL> select os_username, userhost, username, action_name, timestamp, returncode
      2  from dba_audit_trail
      3  where returncode=1017;
    
    OS_USERNAME
    --------------------------------------------------------------------------------
    USERHOST
    --------------------------------------------------------------------------------
    USERNAME                       ACTION_NAME                  TIMESTAMP RETURNCODE
    ------------------------------ ---------------------------- --------- ----------
    pierre
    WORKGROUP\PC-de-pierre
    HR                             LOGON                        22-FEB-11       1017
    

    1017 means Oracle ORA-1017 error:

    oerr ora 1017
    01017, 00000, "invalid username/password; logon denied"
    // *Cause:
    // *Action:
    

    OS_USERNAME is the name of the user account that is trying to connect to Oracle BONES
    USERHOST is the name of the computer where the executable tried to connect.

    Edited by: P. Forstmann on 22 Feb. 2011 13:39

    Edited by: P. Forstmann on 22 Feb. 2011 13:41

  • Restore XE Oracle Database 10g on another machine

    Hello

    I have an Oracle XE server on a Windows XP computer, and I want to copy it to a Windows 7 computer.
    On XP, I did a backup through the database "backup" of the GUI. The Oracle backup created 3 new folders under C:\ORACLEXE\APP\ORACLE\FLASH_RECOVERY_AREA\XE\
    ARCHIVELOG
    AUTOBACKUP
    BACKUPSET

    I installed XE on the Windows 7 machine and it seems to work.
    Then I had to face the 3 files to backup on a USB and put them in the folder structure on the new Windows 7 machine. I ran the restoration from the GUI as administrator. Restore failed, and I can't understand why. I don't know what are the sequence numbers.

    Now I can't get into Apex or Apex_Admin

    Thanks for taking a peek at this.

    The contents of the OXE_RESTORE file is as follows:
    Recovery Manager: Release 10.2.0.1.0 - Production on Sat Jan 8 18:33:11 2011

    Copyright (c) 1982, 2005, Oracle. All rights reserved.

    Windows NT Version V6.1
    CPU: 8 - type 586, 4 physical cores
    Process affinity: 0x00000000
    Memory (success/Total): Ph: 6031 M / 8183 M, Ph + FCP: 13737 M / 16364 M, GOES: 1973M / 2047 M
    From debugging disabled

    connected to target database: xe (unassembled)

    RMAN > set the echo;
    2 > restore (spfile to autobackup db_recovery_file_dest = 'C:\oraclexe\app\oracle\flash_recovery_area\');
    3 > strength of startup nomount;
    4 > restore (automatic backup controlfile);
    5 > change the editing of the database;
    6 > configure controlfile autobackup.
    7 > restore database;
    8 >
    echo on

    From restoration to January 8, 11
    using the control file of the target instead of recovery catalog database
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: sid = 37 devtype = DISK

    destination field of recovery: C:\oraclexe\app\oracle\flash_recovery_area\
    name of database (or unique name of database) used for research: XE
    channel ORA_DISK_1: autobackup found in the recovery area
    channel ORA_DISK_1: autobackup found: C:\ORACLEXE\APP\ORACLE\FLASH_RECOVERY_AREA\XE\AUTOBACKUP\2011_01_07\O1_MF_S_739828107_6LHF2W3X_. BKP
    channel ORA_DISK_1: restore SPFILE full automatic backup
    Finished restore at 8 January 11

    Oracle instance started

    Total System Global Area 805306368 bytes

    Bytes of size 1289996 fixed
    239075572 variable size bytes
    562036736 of database buffers bytes
    Redo buffers 2904064 bytes

    From restoration to January 8, 11
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: sid = 36 devtype = DISK

    destination field of recovery: C:\oraclexe\app\oracle\flash_recovery_area
    name of database (or unique name of database) used for research: XE
    channel ORA_DISK_1: autobackup found in the recovery area
    channel ORA_DISK_1: autobackup found: C:\ORACLEXE\APP\ORACLE\FLASH_RECOVERY_AREA\XE\AUTOBACKUP\2011_01_07\O1_MF_S_739828107_6LHF2W3X_. BKP
    channel ORA_DISK_1: restore full automatic backup of control file
    name of the output file = C:\ORACLEXE\ORADATA\XE\CONTROL. DBF
    Finished restore at 8 January 11

    mounted database
    output channel: ORA_DISK_1

    RMAN old configuration settings:
    CONFIGURE CONTROLFILE AUTOBACKUP ON;
    new RMAN configuration settings:
    CONFIGURE CONTROLFILE AUTOBACKUP
    new RMAN configuration settings are stored successfully

    From restoration to January 8, 11
    From implicit overlapping Backup 8 January 11
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: sid = 35 devtype = DISK
    Cut objects 1
    Backup of implicit overlap ended in January 8, 11

    Starting copy of implicit cross-8 Jan 11
    using channel ORA_DISK_1
    Copy of implicit overlap finished-8 Jan 11

    the search for all files in the recovery area
    cataloging files...
    cataloging done

    List of cataloged files
    =======================
    File name: C:\ORACLEXE\APP\ORACLE\FLASH_RECOVERY_AREA\XE\ARCHIVELOG\2011_01_07\O1_MF_1_375_6LHF31CQ_. ARC
    File name: C:\ORACLEXE\APP\ORACLE\FLASH_RECOVERY_AREA\XE\ARCHIVELOG\2011_01_07\O1_MF_1_376_6LHF3DCQ_. ARC
    File name: C:\ORACLEXE\APP\ORACLE\FLASH_RECOVERY_AREA\XE\AUTOBACKUP\2011_01_07\O1_MF_S_739828107_6LHF2W3X_. BKP

    using channel ORA_DISK_1

    channel ORA_DISK_1: from datafile backupset restoration
    channel ORA_DISK_1: specifying datafile (s) to restore from backup set
    restoring datafile 00001 to C:\ORACLEXE\ORADATA\XE\SYSTEM. DBF
    restoring datafile 00002 to C:\ORACLEXE\ORADATA\XE\UNDO. DBF
    restoring datafile 00003 to C:\ORACLEXE\ORADATA\XE\SYSAUX. DBF
    restoring datafile 00004 to C:\ORACLEXE\ORADATA\XE\USERS. DBF
    restoring datafile 00005 to C:\ORACLEXE\ORADATA\XE\APEX_1244616068553754.DBF
    channel ORA_DISK_1: backup C:\ORACLEXE\APP\ORACLE\FLASH_RECOVERY_AREA\XE\BACKUPSET\2011_01_07\O1_MF_NNNDF_TAG20110107T194642_6LHDZM3X_ piece reading. AK3
    channel ORA_DISK_1: restored the backup part 1
    piece handle = C:\ORACLEXE\APP\ORACLE\FLASH_RECOVERY_AREA\XE\BACKUPSET\2011_01_07\O1_MF_NNNDF_TAG20110107T194642_6LHDZM3X_. Tag BKP = TAG20110107T194642
    channel ORA_DISK_1: restore complete, duration: 00:00:56
    Finished restore at 8 January 11

    Complete recovery manager.

    Recovery Manager: Release 10.2.0.1.0 - Production on Sat Jan 8 18:34:37 2011

    Copyright (c) 1982, 2005, Oracle. All rights reserved.

    Windows NT Version V6.1
    CPU: 8 - type 586, 4 physical cores
    Process affinity: 0x00000000
    Memory (success/Total): Ph: 6021 M / 8183 M, Ph + FCP: 13238 M / 16364 M, GOES: 1973M / 2047 M
    From debugging disabled

    connected to target database: XE (DBID = 2604800077, is not open)

    RMAN > set the echo;
    2 > restore database;
    3 > alter database open resetlogs;
    4 >
    echo on

    From back-8 Jan 11
    using the control file of the target instead of recovery catalog database
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: sid = 38 devtype = DISK

    starting media recovery

    Archive journal 1 sequence 375 thread is already on the disk that the file C:\ORACLEXE\APP\ORACLE\FLASH_RECOVERY_AREA\XE\ARCHIVELOG\2011_01_07\O1_MF_1_375_6LHF31CQ_. ARC
    archive log thread 1 sequence 376 is already on the disk that the file C:\ORACLEXE\APP\ORACLE\FLASH_RECOVERY_AREA\XE\ARCHIVELOG\2011_01_07\O1_MF_1_376_6LHF3DCQ_. ARC
    archive log filename = C:\ORACLEXE\APP\ORACLE\FLASH_RECOVERY_AREA\XE\ARCHIVELOG\2011_01_07\O1_MF_1_375_6LHF31CQ_. Wire ARC = 1 sequence = 375
    archive log filename = C:\ORACLEXE\APP\ORACLE\FLASH_RECOVERY_AREA\XE\ARCHIVELOG\2011_01_07\O1_MF_1_376_6LHF3DCQ_. Wire ARC = 1 sequence = 376
    Cannot find the log archiving
    archive log thread = 1 sequence = 377
    RMAN-00571: ===========================================================
    RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.
    RMAN-00571: ===========================================================
    RMAN-03002: failure of the command recover at 08/01/2011 18:34:47
    RMAN-20000: abnormal termination of job step
    RMAN-06054: recovery of media asking unknown journal: thread 1 seq 377 lowscn 11715842

    Complete recovery manager.

    Published by: PhilMan2 on January 8, 2011 19:24

    If you have made a full recovery, with online redo logs (copied on in cool mode).
    Good.

    Hemant K Collette

  • Problems with cloning a database using copies of the image

    I use Oracle 10.2.0.4 on a 64-bit RHEL 4 Linux configuration.

    The problem that I am trying to solve is to copy the database to production on a local machine for development and quality assurance. I tried to include as much detail as possible.

    The environment:

    I have a production system that replicates physical expectations.
    We take incremental backups on the database of relief, which are applied to copies of the image, every night. We use a recovery catalog.
    Archive logs and a backup control files are stored in the same directory as the copies of the image.

    The process:

    We copied all files in this directory of backup on the local computer.
    At this point, I tried several methods to recover the database:

    1 clone:
    -J' copied the initialization file of the main machine to the local computer. I modified the creation of paths and memory settings.
    -J' did a trace of the control file and copied to the local computer.
    -After making the necessary adjustments to creative writing, I created the new control file
    -J' I then issued:
    recover database using backup controlfile until cancel;
    -After receiving the following:
    ORA-00279: change 313748229 generated at 09/14/2008 00:30:55 needed for thread 1
    ORA-00289: suggestion :
    /u02/app/oracle/flash_recovery_area/SWD1ORACLE1/archivelog/2008_09_18/o1_mf_1_22304_%u_.arc
    ORA-00280: change 313748229 for thread 1 is in sequence #22304
    Specify log: {=suggested | filename | AUTO | CANCEL} 
    -I then entered CANCEL
    -A my next message: {codeORA-01547: WARNING: RECOVER succeeded but OPEN RESETLOGS would get below error}
    ORA-01194: file 4 recovery needs more match
    ORA-01110: data file 4:
    ' / u02/app/oracle/oradata/datatrak/ora_df664390338_s1145_s1.
    ORA-01112: media recovery not started {code}
    -Out of pure hope and prayer, I have published:
    alter database open resetlogs;
    -Made me the following error:
    ERROR at line 1:
    ORA-01194: file 4 needs more recovery to be consistent
    ORA-01110: data file 4:
    '/u02/app/oracle/oradata/datatrak/ora_df664390338_s1145_s1'
    Then, I moved to the possibility 2: RMAN

    2 RMAN restore:
    -J' first tried
    run { allocate channel ch1 device type disk; restore database; }
    -He gave me the following:
    allocated channel: ch1
    channel ch1: sid=1643 devtype=DISK
    Starting restore at 18-SEP-08
    released channel: ch1
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of restore command at 09/18/2008 13:24:27
    RMAN-06026: some targets not found - aborting restore
    RMAN-06023: no backup or copy of datafile 7 found to restore
    RMAN-06023: no backup or copy of datafile 6 found to restore
    RMAN-06023: no backup or copy of datafile 5 found to restore
    RMAN-06023: no backup or copy of datafile 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
    - Then I started cross-checking files:
    -datafile 1:
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: sid=1643 devtype=DISK
    -datafile 2 on:
    using channel ORA_DISK_1
    -J' I then issued:
    list incarnation of database;
    -Which gave me:
    List of Database Incarnations
    DB Key  Inc Key DB Name  DB ID            STATUS  Reset SCN  Reset Time
    ------- ------- -------- ---------------- --- ---------- ----------
    1       1       DATATRAK 3742967129       CURRENT 18136361   26-NOV-07
    -J' tried these two
    restore datafile 1;
    restore datafile '/u02/app/oracle/oradata/datatrak/ora_df664390339_s1151_s 1'
    which gave me the same results:
    Starting restore at 18-SEP-08
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: sid=1643 devtype=DISK
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of restore command at 09/18/2008 13:49:08
    RMAN-06026: some targets not found - aborting restore
    RMAN-06023: no backup or copy of datafile 1 found to restore
    -J' then went back at the beginning and tried to restore the controlfile instead of using the newly created controlfile
    -J' wrote:
    restore controlfile from '/u02/app/oracle/oradata/datatrak/cf_D-DATATRAK_i d-3742967129_i6jqcmaq';
    -Which gave me:
    Starting restore at 18-SEP-08
    using channel ORA_DISK_1
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of restore command at 09/18/2008 14:02:26
    RMAN-06172: no autobackup found or specified handle is not a valid copy or piece
    -After learning that we use autobackup to save our controlfile, now, I am faced with the proverbial wall.

    Excerpt from data pump and duplicate RMAN are possibilities, but we really want to do those.

    Any help on this issue would be greatly appreciated.

    For completeness, the initialization
    aq_tm_processes = 0
    audit_file_dest = /u02/app/oracle/product/10.2.0/db_1/admin/datatrak/adump
    background_dump_dest = /u02/app/oracle/product/10.2.0/db_1/admin/datatrak/bdump
    core_dump_dest = /u02/app/oracle/product/10.2.0/db_1/admin/datatrak/cdump
    db_file_multiblock_read_count = 16
    db_unique_name = SWD1ORACLE1
    disk_asynch_io = TRUE
    dispatchers = '(PROTOCOL=TCP) (SERVICE=datatrakXDB)'
    event = '10235 trace name context forever, level 2'
    filesystemio_options = ASYNCH
    job_queue_processes = 10
    nls_length_semantics = BYTE
    plsql_code_type = INTERPRETED
    plsql_native_library_dir = /u01/app/oracle/ncomplibs/
    plsql_native_library_subdir_count = 150
    recyclebin = OFF
    resource_manager_plan = ''
    service_names = SWD1ORACLE1
    session_cached_cursors = 400
    session_max_open_files = 20
    sga_max_size = 4000M
    smtp_out_server = swd1oracle1
    standby_file_management = AUTO
    streams_pool_size = 50M
    undo_retention = 900
    user_dump_dest = /u02/app/oracle/product/10.2.0/db_1/admin/datatrak/udump
    compatible = 10.2.0.1.0
    control_files = ('/u02/app/oracle/product/10.2.0/db_1/dbs/cf_D-DATATRAK_id-3742967129_i6jqcmaq')
    db_block_size = 8192
    db_create_file_dest = '/u02/app/oracle/oradata/datatrak'
    db_domain = ''
    db_name = datatrak
    db_recovery_file_dest = '/u02/app/oracle/flash_recovery_area'
    db_recovery_file_dest_size = 150G
    log_archive_dest_1 = 'LOCATION=USE_DB_RECOVERY_FILE_DEST VALID_FOR=(ALL_LOGFILES,ALL_ROLES) DB_UNIQUE_NAME=DATATRAK'
    log_archive_dest_state_1 = ENABLE
    open_cursors = 6000
    pga_aggregate_target = 250M
    processes = 1500
    remote_login_passwordfile = EXCLUSIVE
    sessions = 1655
    sga_target = 4000M
    undo_management = AUTO
    undo_tablespace = UNDOTBS1
    And the creation of control file:
    CREATE CONTROLFILE REUSE DATABASE "DATATRAK" RESETLOGS NOARCHIVELOG MAXLOGFILES 16 MAXLOGMEMBERS 3 MAXDATAFILES 100 MAXINSTANCES 8 MAXLOGHISTORY 2336 LOGFILE GROUP 1 ( '/u02/app/oracle/oradata/datatrak/redo01.log' ) SIZE 50M, GROUP 2 ( '/u02/app/oracle/oradata/datatrak/redo02.log' ) SIZE 50M DATAFILE '/u02/app/oracle/oradata/datatrak/ora_df664390339_s1151_s1', '/u02/app/oracle/oradata/datatrak/ora_df664390338_s1149_s1', '/u02/app/oracle/oradata/datatrak/ora_df664390339_s1150_s1', '/u02/app/oracle/oradata/datatrak/ora_df664390338_s1145_s1', '/u02/app/oracle/oradata/datatrak/ora_df664390338_s1146_s1', '/u02/app/oracle/oradata/datatrak/ora_df664390338_s1147_s1', '/u02/app/oracle/oradata/datatrak/ora_df664390338_s1148_s1' CHARACTER SET WE8ISO8859P1;
    Sincerely,
    Derek

    Hello

    Now try:

    recover database using backup controlfile until cancel and when the message asking an archive appears, enter the good patch and name and press on enter, repeat it until the last archive you have, then enter Cancel.

    See you soon,.

    Francisco Munoz Alvarez
    http://www.oraclenz.com

  • To connect two different database instance, what configuration in web cleint is necessary?


    Hi all

    We had two P6 database instance as a DEV and PROD

    We want to configure the web client so that the user can select either DEV or PROD according to the requirement by the same URL.

    Can you please tell me what I need to do in the web to work with two DB instance client?

    Normally, changes are reflected without bouncing the middle tier (weblogic Server). If t is not then rebound / restart the server managed by admin / when P6 application is deployed.

    Kind regards

    Sachin Gupta

  • Re: cloning R12 database with no CARS on ASM filesystem

    Hello

    I'm creating a clone (cloning fast) of an Oracle EBS system.

    As our database (non-RAC) is on ASM, I am looking for a note describing the cloning of a database on the ASM.

    Kind regards.

    I'm looking for a note describing the cloning of a database on the ASM.

    through documents below, hope this helps.

    230672.1: cloning Oracle Applications Release 11i with rapid Clone
    216664.1: FAQ: cloning Oracle Applications Release 11i
    406982.1: cloning of the Oracle Applications V12 with rapid Clone
    559518.1: cloning of Oracle Applications V12 with rapid Clone CARS enabled systems
    783188.1: certified Oracle RAC Oracle E-Business Suite cloning scenarios
    394448.1: getting started with the application Management Pack for Oracle E-Business Suite

    If above does not help you, then send me email.we have same type of environment (not cars but uses ASM), send me your email, I will pass on the processes of cloning.

  • Cloning of database to a higher version

    I'm trying to clone a database by using a backup to cold. The backups were taken after a stop of the database and all files of data, control files, files, spfile redo, password file has been copied to the target server.

    However, there is one caveat - the target server runs 10.2.0.4 while the source (original cold backup) database is 10.1.0.3 running. Also source OS RHEL 3, target is CentOS (i.e. RHEL) 5.5.

    If I restore the database then everything works perfectly. I simply issue a 'start upgrade', run the catupgrd.sql and utlrp.sql scripts and the database opens without error.

    However, when I try to clone the database to an different name I get a "ORA-01194: file # recovery needs more match" followed "ORA-01110: data file #"/u02/ < datafile_name >".» These errors appear when opening the database. The method I use to change the name of the database is to recreate control files using the trace file of the source (alter database backup controlfile to trace) database. I then use RESETLOGS when opening the database.

    Isn't this possible? Of course, I could rename the database after restoring it but wanted to try this method as well.

    Hi feersum,.
    I think I came across a similar issue when I was trying to do the same thing you are. The problem with mine was that my database was in archivelog mode and I save the archivelogs hourly so that during the process of cloning rman could not find archive who needs to make full recovery of the database. I then stopped the log backups archive, then restarted the cloning and it worked. of course, you will need to upgrade the database once the cloning is complete. I hope this helps.

  • Presentation of the existing database to a new machine

    I posted the question in the forum of DB and received no usable response, so I'll try this forum.
    I'm on Windows 2008 R2 x 64 platform.
    I installed a cluster of 11 GR 2 two starts for the OCR and voting disks and one for data.
    The data disks are replicated on external drives in the cluster.
    On a different node, is not part of the cluster I have installed the software from the grid.
    I seconded the diskgroup data nodes and attached the replicated to the new node.
    I installed the DB software (software option only).
    Now, I want to recognize and exploit the existing DB DB software.
    I can't find a way to do it.
    Any help is appreciated.
    Kind regards
    Fred

    Hello

    I seconded the diskgroup data nodes and attached the replicated to the new node.
    I installed the DB software (software option only).

    Configure the TNSNAMES file. ORA and SQLNET. ORA of two nodes.

    Now, I want to recognize and exploit the existing DB DB software.

    1. create directory audit_trail on each_node for example

    audit_file_dest          = %ORACLE_BASE%\admin\%ORACLE_UNIQUE_NAME%\adump)
    

    2 copy or re-create a file initfile and password on each node inside (% ORACLE_HOME%\database\) for example

    cat  initorcl2.ora
    SPFILE='+DATA/orcl/spfileorcl.ora'
    ...
    To create password file use utility %ORACLE_HOME%\bin\orapwd.exe
    filename must be  orapwd<$ORACLE_SID>
    

    3. add entries on TNSNAMES. ORA and SQLNET. Database ORA

    4 create Windows service for the Instance database with the ORADIM utility on each node:

    C:\> %ORACLE_HOME%/bin/ORADIM.exe -NEW -SID ORCL1 -INTPWD  -STARTMODE AUTO -PFILE %ORACLE_HOME%\DATABASE\INIT.ORA
    

    5. create the database configuration in the clusterware, through orders srvctl

    for example

    srvctl add database -d ORCL -o  c:\app\oracle\product\11.2\dbhome_1 -p +DATA/orcl/spfileorcl.ora -a  +DG_DATA -s open
    srvctl add instance -d ORCL -i ORCL1 -n hostname1
    srvctl add instance -d ORCL -i ORCL2 -n hostname2
    

    Kind regards
    Levi Pereira

    Published by: Levi Pereira on March 23, 2011 10:46 # changed with the appropriate procedure for the windows environment.

  • Cloning a database...

    Please let me know if I understand correctly some elements regarding the cloning of DB:

    (1) using recovery logs in the cloning process is optional if the source has been closed with immediate/normal shutdown. If the database has been closed by using 'cancel the stop' (not good!) the recovery logs should be used.

    (2) if the redo logs are used, the CONTROL FILE is created with NORESETLOGS, otherwise RESETLOGS is used.

    (3) if we want that the database in ARCHIVELOG mode the CONTROL FILE is created with ARCHIVELOG NOARCHIVELOG is used, the other.

    (4) for the creation of control files, REUSE mean this file control is in place and will be used; so in fact will be changed / updated. If REUSE is not used it means that the control file has not been copied and it will be created.

    (5) the word is optional, but is used more when the clone will have a different NAME from the comics.

    (6) if the controlfile is created with NORESETLOGS, the database may have recovery media, but not required. If RESETLOGS serves media recovery is not possible.

    (7) "alter database open resetlogs ' is used every time a clone (because the control file has been recreated / had major changes).

    Thank you.

    (6) if the controlfile is created with NORESETLOGS, the database may have recovery media, but not required. If RESETLOGS serves media recovery is not possible.

    # The database needs of recovery if the SCN file is incompatible - it is not the RESETLOGS or NORESETLOGS parameters. If you create the controlfile with RESETLOGS, then you can recover the transactions of the primary, but you will need to use 'OPEN RESETLOGS' to open. After OPEN RESETLOGS, you can retrieve transactions from the primary (because the DBID sequences and newspapers are reset).

    (7) "alter database open resetlogs ' is used every time a clone (because the control file has been recreated / had major changes).

    # When you clone you usually to alter database using SET name and use RESETLOGS. In this case, you will need to use open resetlogs. If you do not change the name of the database, then you don't need to use the RESETLOGS or OPEN RESETLOGS option.

  • RMAN-05517: cloning a database question

    Hello

    I use oracle 10.2.0 on windows xp and try database using the RMAN duplicate on the same system of cloning. my original database is orcl and I'm cloning to clone (database name).

    and got the error
    RMAN> run
    2> {
    3> allocate auxiliary channel aux1 device type disk;
    4>
    5>        SET NEWNAME FOR DATAFILE 1 TO 'D:\ORACLE\ORADATA\clone\SYSTEM01.DBF';
    6>        SET NEWNAME FOR DATAFILE 2 TO 'D:\ORACLE\ORADATA\clone\UNDOTBS01.DBF';
    7>      SET NEWNAME FOR DATAFILE 3 TO 'D:\ORACLE\PRODUCT\10.2.0\ORADATA\clone\SYSAUX01.DBF';
    8>      SET NEWNAME FOR DATAFILE 4 TO 'D:\ORACLE\PRODUCT\10.2.0\ORADATA\clone\USERS01.DBF';
    9>
    10> duplicate target database to 'clone';
    11> }
    
    allocated channel: aux1
    channel aux1: sid=156 devtype=DISK
    
    executing command: SET NEWNAME
    
    executing command: SET NEWNAME
    
    executing command: SET NEWNAME
    
    executing command: SET NEWNAME
    
    Starting Duplicate Db at 03-JUL-09
    released channel: aux1
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of Duplicate Db command at 07/03/2009 16:49:29
    RMAN-05501: aborting duplication of target database
    RMAN-05517: temporary file D:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\TEMP01.DBF conflicts with file used by target database
    I know it's my original file, but I don't know SET NEWNAME DATAFILE 4 TO ' D:\ORACLE\PRODUCT\10.2.0\ORADATA\clone\USERS01. DBF'; as the order for temporary files.

    I'm trying as
    RMAN> run
    2> {
    3> allocate auxiliary channel aux1 device type disk;
    4>
    5>        SET NEWNAME FOR DATAFILE 1 TO 'D:\ORACLE\ORADATA\clone\SYSTEM01.DBF';
    6>        SET NEWNAME FOR DATAFILE 2 TO 'D:\ORACLE\ORADATA\clone\UNDOTBS01.DBF';
    7>      SET NEWNAME FOR DATAFILE 3 TO 'D:\ORACLE\PRODUCT\10.2.0\ORADATA\clone\SYSAUX01.DBF';
    8>      SET NEWNAME FOR DATAFILE 4 TO 'D:\ORACLE\PRODUCT\10.2.0\ORADATA\clone\USERS01.DBF';
    9>      SET NEWNAME FOR DATAFILE  'D:\oracle\product\10.2.0\oradata\orcl\TEMP01.DBF' TO 'D:\ORACLE\PRODUCT\10.2.0\ORADATA\clone\TEMP01.DBF';
    10> duplicate target database to 'clone';
    11> }
    
    allocated channel: aux1
    channel aux1: sid=156 devtype=DISK
    
    executing command: SET NEWNAME
    
    executing command: SET NEWNAME
    
    executing command: SET NEWNAME
    
    executing command: SET NEWNAME
    
    executing command: SET NEWNAME
    released channel: aux1
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of set command at 07/03/2009 16:35:13
    RMAN-20201: datafile not found in the recovery catalog
    RMAN-06010: error while looking up datafile: D:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\TEMP01.DBF
    but no use. I can't find anything on google on this subject.

    Thank you
    Umesh

    You can use the value of NEWNAME for TEMPFILE...

    Concerning

Maybe you are looking for

  • iPad smart keyboard does not change the language after updating iOS 10

    Smart keyboard on the iPad (in English) does not change after updating to iOS 10, put in language. He's stuck in English. Pressing on the globe (change language button) displays the language menu, but after selecting the language, the keyboard is sti

  • Toshiba e-Studio 232 sharing with Vista

    Hi, new to the forum, but it is a great resource. My problem is the e-Studio 232 Toshibe printer/copier/fax. Basically the problem must connect the scanner (SCAN) printer vista shared folder. XP is not a problem, but on the same network vista clients

  • (Supposed) USB power problem

    I have two USB ports on my MacBook Pro 2012.  The front one works perfectly well.  Aft, we recently started to react as follows: (1) with an iPhone: not recognized at all. (2) with a drive USB-powered external hard: it loads, but disappears from my o

  • Pavilion p6000: memory

    My window 7 is not booting, I run the hardware test and it shows the test memory failed and generated error 'BIOME1 '. What it means? and what is the solution. Help, please.

  • After taking my computer to a repair shop told me that I have to validate my copy of Windows XP, but when I try it fails.

    I took my desktop computer to repair. Since its entry back we wonder to validate but will not accept my validation key which is valid and legal microsilly. original title: will not be validated after repair.