Database manual clone steps

Hi,
Can anyone list down steps for manual clone of database.
I need to clone my UAT RAC 2 node DB to DEV RAC 2 node DB.
Please let me know if below steps are correct:
1. Shutdown source database. Take fresh cold backup.
2. start the database. Shutdown target database(DEV) and replace control,datafile,redo from UAT to DEV.
3. On DEV DB:
startup nomount
Fire create control file command.
Once control file is created...
Alter Database open resetlogs.
Add TEMP1 and TEMP2 table spaces..
Shutdown immediate.
srvctl start database - d DEV
Please let me know if anything else need to be done for RAC

987978 wrote:
Hi,
Can anyone list down steps for manual clone of database.
I need to clone my UAT RAC 2 node DB to DEV RAC 2 node DB.
Please let me know if below steps are correct:
1. Shutdown source database. Take fresh cold backup.
2. start the database. Shutdown target database(DEV) and replace control,datafile,redo from UAT to DEV.
3. On DEV DB:
startup nomount
Fire create control file command.
Once control file is created...
Alter Database open resetlogs.
Add TEMP1 and TEMP2 table spaces..
Shutdown immediate.
srvctl start database - d DEV
Please let me know if anything else need to be done for RACIf/when DB starts without error, then you did it correctly.
Otherwise you have either error of commission or error of omission.

Similar Messages

  • Steps to Create Database manually.

    Dear All,
    I need steps to create database manually.
    How to create password file & database.
    Aqeel Nawaz

    Hi,
    yingkuan, given the offical link for you, which is good in understanding things.
    If you want little bit different easy to understand.
    Refer : http://www.gotidea.net/Database/10gcreatedb.html
    http://dba.fyicenter.com/article/Manually_Creating_an_Oracle_Database_on_Windows.html
    - Pavan Kumar N

  • I am not able to create database manually.unexpected error incountered why?

    I am not able to create database manually.unexpected error incountered why?
    Same step is worked in another system
    SQL> startup nomount
    ORACLE instance started.
    Total System Global Area 97589952 bytes
    Fixed Size 453312 bytes
    Variable Size 46137344 bytes
    Database Buffers 50331648 bytes
    Redo Buffers 667648 bytes
    SQL> ed
    Wrote file afiedt.buf
    1 CREATE DATABASE icici
    2 LOGFILE GROUP 1 ('F:\oracle\oradata\icici\logfile\redo01.log') SIZE 10M,
    3 GROUP 2 ('F:\oracle\oradata\icici\logfile\redo02.log') SIZE 10M,
    4 GROUP 3 ('F:\oracle\oradata\icici\logfile\redo03.log') SIZE 10M
    5 MAXLOGFILES 5
    6 MAXLOGMEMBERS 5
    7 MAXLOGHISTORY 1
    8 MAXDATAFILES 10
    9 MAXINSTANCES 1
    10 CHARACTER SET US7ASCII
    11 NATIONAL CHARACTER SET AL16UTF16
    12 DATAFILE 'F:\oracle\oradata\icici\datafile\system01.dbf' SIZE 100M REUSE
    EXTENT MANAGEMENT LOCAL
    13 DEFAULT TEMPORARY TABLESPACE tempts1 TEMPFILE 'F:\oracle\oradata\icici\d
    atafile\temp01.dbf' SIZE 100M REUSE
    14 UNDO TABLESPACE undotbs DATAFILE 'F:\oracle\oradata\icici\datafile\undot
    bs01.dbf'SIZE 100M REUSE
    15* AUTOEXTEND ON NEXT 5120K MAXSIZE 300M
    SQL> /
    CREATE DATABASE icici
    ERROR at line 1:
    ORA-01092: ORACLE instance terminated. Disconnection forced
    SQL>

    Check the alert log. Paste the end of the file over here.
    Yoann.

  • Creating the database manually

    Hi,
    I have installed oracle database 10g in OEL5
    Now i need to create the database manually.
    How to create it,pls provide me some help

    Asif and Pavan are bad guys na? One has given doc link and another is saying for search in google.... Oaf now you have to read the dos/google and then create database command.... Really its very hard and time consuming task to learn oracle right? Can'nt they give you a direct copy paste steps, so that you may learn create database without going into docs?
    @Pavan and Asif,
    Just kidding with OP.... :)

  • Post Clone Steps Apex

    Hi All,
    I am totally new to Apex.. so i will be totally asking ridiculous questions hopefully not!!!
    I had to do a full clone for the ebs & db.. so did it and then found oops apex is part of it ..
    I did search for folder called apex_listener .. nothing came back ...mmm did a search for apex.war nothing again ..
    My system: linux 64 bit .. rac environment
    2 nodes for EBS Application with version 12.1.3
    and 2 nodes for database with version 11.2.0.2
    My total ASSUMPTION that i will find the apex config file within apps server .. failed miserably ..
    What are the usual post clone steps for apex or is a reinstall preferred? Kindly shed some light ..
    Edited by: SusanJK on May 5, 2013 6:46 PM

    also the user login as apexresprd resides on application .. so i assumed that the listener should be running from the database in order for the application server to communicate with the db server for Apex..... Sorry if i made a foool outta myself!!!There's often a confusion with database listener and APEX Listener... Of course, you can run APEX Listener on the same machine as your database, but in contrast to the database listener it's more an application server component than a database component. Similar to APEX Listener, which is deployed to a JEE container [app server] or uses an embedded JEE container, mod_plsql was "added" to Oracle HTTP Server to make it front your APEX instance in your database. To do that, they both connect to the database using the database listener using JDBC (APEX Listener) or OCI (mod_plsql).
    OHS1 | OHS | 10697 | Alive
    i believe the above says the apex is alive but i cant access it via the url so not sure what i have to do ..I'm not sure about this. This means your Oracle HTTP Server (OHS) is up. It doesn't mean it has been configured properly to make APEX available. This is done in the dads.conf for mod_plsql you've already mentioned.
    What's the actual error message you receive when you call the URL for your APEX instance?
    -Udo

  • Create database manually.unexpected error incountered

    I am not able to create database manually.unexpected error incountered why?
    Same step is worked in another system
    SQL> startup nomount
    ORACLE instance started.
    Total System Global Area 97589952 bytes
    Fixed Size 453312 bytes
    Variable Size 46137344 bytes
    Database Buffers 50331648 bytes
    Redo Buffers 667648 bytes
    SQL> create dtabase;
    create dtabase
    ERROR at line 1:
    ORA-00901: invalid CREATE command
    SQL> ed
    Wrote file afiedt.buf
    1 CREATE DATABASE icici
    2 LOGFILE GROUP 1 ('F:\oracle\oradata\icici\logfile\redo01.log') SIZE 10M,
    3 GROUP 2 ('F:\oracle\oradata\icici\logfile\redo02.log') SIZE 10M,
    4 GROUP 3 ('F:\oracle\oradata\icici\logfile\redo03.log') SIZE 10M
    5 MAXLOGFILES 5
    6 MAXLOGMEMBERS 5
    7 MAXLOGHISTORY 1
    8 MAXDATAFILES 10
    9 MAXINSTANCES 1
    10 CHARACTER SET US7ASCII
    11 NATIONAL CHARACTER SET AL16UTF16
    12 DATAFILE 'F:\oracle\oradata\icici\datafile\system01.dbf' SIZE 100M REUSE
    EXTENT MANAGEMENT LOCAL
    13 DEFAULT TEMPORARY TABLESPACE tempts1 TEMPFILE 'F:\oracle\oradata\icici\d
    atafile\temp01.dbf' SIZE 100M REUSE
    14 UNDO TABLESPACE undotbs DATAFILE 'F:\oracle\oradata\icici\datafile\undot
    bs01.dbf'SIZE 100M REUSE
    15* AUTOEXTEND ON NEXT 5120K MAXSIZE 300M
    SQL> /
    CREATE DATABASE icici
    ERROR at line 1:
    ORA-01092: ORACLE instance terminated. Disconnection forced
    SQL>

    I'll lay odds that the problem is that you've asked this database to use an UNDO tablespace called UNDOTBS, but that in your spfile (or init.ora) you've specified UNDO_TABLESPACE=UNDOTBS01 (or something similar).
    If the parameter file specifies an undo tablespace which doesn't exist, the instance blows up.
    The advice to read the alert log would be useful at this point, because the mismatch of undo tablespace names is always recorded properly there (which always makes me annoyed that the original error message can't be a bit more precise!)

  • Now to delete a RAC database manually

    Hi,
    Could someone provide the neccessary steps to drop a rac database manually?
    I ran dbca to delete the database. It hanged after delete the datafiles. I run dbca again and still shows the database as disabled but is not able to remove it.
    Thanks
    Gustavo

    So no version number, no details, you just went in and tried something and it didn't work and you want us to help you.
    Hmmmmm. <g>
    Lets go back to basics.
    What version number (3+ decimal places)
    What operating system?
    What storage solution? ASM? OCFS? NFS?
    Did you drop the clusterware?
    Oracle rarely works well when at first you just guess and then ask for help. <g>
    Give us enough details to be able to help you.

  • Why I have to start my database manually (10g)

    I always have to start my database manually why it is so.........the error is
    ORA-28547: connection to server failed, probable Oracle Net admin error (DBD ERROR: OCISessionBegin)
    Can any one help.
    Thanks

    Oh no, please ... not "The Documentation" <g>hehehe, sorry. I can't help it.
    Instead of we are trying to guess what he might have
    done wrong or what's missing.
    It might be easier for him to follow the steps listed
    in document, and tell us at which step he has problem.This is getting serious ...
    "The Documentation" AND "Steps"
    /Hans
    (To OP - please do not take this personally. It's just that each 800 posts that might have been solved by reading the manuals causes some of us get into this weird sense of humour.)

  • POST CLONNING STEPS

    Dear Experienced, I have done precloning and I need to guide about the post clonning steps to prepare test server with latest data.
    1) My test server is running with old data and I want to clear first instance on this server , How can I complete clear my instance
    2) Kindly tell me post clonning steps so that I may prepare test server with fresh data.
    3) I want to prepare test server with backup of application with the old preclone and
    database with new cloned. Is it possible, However I have done preclone step of database and application also but I will use old application and I have copied it on test server.
    O.S version: SUN SOLOARIS 10
    DATABASE VERSION: 10.0.2
    EBS: 12.5.10
    Thanks

    1) My test server is running with old data and I want to clear first instance on this server , How can I complete clear my instanceYou will have to stop all the services on the target instance, and delete all the files (application/database) then copy the new files from the source instance.
    2) Kindly tell me post clonning steps so that I may prepare test server with fresh data.All the steps can be found in these docs.
    Rapid Clone Documentation Resources For Release 11i and 12 [ID 799735.1]
    Cloning Oracle Applications Release 11i with Rapid Clone [ID 230672.1]
    Cloning Oracle Applications Release 12 with Rapid Clone [ID 406982.1]
    3) I want to prepare test server with backup of application with the old preclone and
    database with new cloned. Is it possible, However I have done preclone step of database and application also but I will use old application and I have copied it on test server.It is possible provided you have not done any changes at the application tier node since the last time you ran preclone (i.e. applied patches, added or modified custom files, ..etc). However, I would always recommend you run preclone on both tiers and copy the files.
    O.S version: SUN SOLOARIS 10
    DATABASE VERSION: 10.0.2
    EBS: 12.5.10Do you mean 11.5.10?
    Thanks,
    Hussein

  • Error while creating database manually

    hi guru's i am getting error while creating database manually
    my sql is SQL>create database lily
      logfile   group 1 ('C:\oracle\product\10.2.0\oradata\lily\redo1.log') size 10M,
                group 2 ('C:\oracle\product\10.2.0\oradata\lily\redo2.log') size 10M,
                group 3 ('C:\oracle\product\10.2.0\oradata\lily\redo3.log') size 10M
      character set          WE8ISO8859P1
      national character set utf8
      datafile 'C:\oracle\product\10.2.0\oradata\lily\system.dbf'
                size 50M
                autoextend on
                next 10M maxsize unlimited
                extent management local
      sysaux datafile 'C:\oracle\product\10.2.0\oradata\lily\sysaux.dbf'
                size 10M
                autoextend on
                next 10M
                maxsize unlimited
      undo tablespace undo
                datafile 'C:\oracle\product\10.2.0\oradata\lily\undo.dbf'
                size 10M
      default temporary tablespace temp
                tempfile 'C:\oracle\product\10.2.0\oradata\lily\temp.dbf'
                size 10M;and i am getting following error
    create database lily
    ERROR at line 1:
    ORA-01501: CREATE DATABASE failed
    ORA-00200: control file could not be created
    ORA-00202: control file: 'C:\ORACLE\PRODUCT\10.2.0\ORADATA\LILY\CONTROL01.CTL'
    ORA-27038: created file already exists
    OSD-04010: <create> option specified, file already exists
    code}
    Edited by: CHETAN YADAV on Jul 19, 2011 6:55 PM                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

    create database lily
      logfile   group 1 ('C:\oracle\product\10.2.0\oradata\lily\redo1.log') size 10M,
              group 2 ('C:\oracle\product\10.2.0\oradata\lily\redo2.log') size 10M,
                group 3 ('C:\oracle\product\10.2.0\oradata\lily\redo3.log') size 10M
      datafile 'C:\oracle\product\10.2.0\oradata\lily\system.dbf'  size 150M
    sysaux datafile 'C:\oracle\product\10.2.0\oradata\lily\sysaux.dbf' 150 M
      undo tablespace undo  datafile 'C:\oracle\product\10.2.0\oradata\lily\undo.dbf'  size 10M
    default temporary tablespace temp tempfile 'C:\oracle\product\10.2.0\oradata\lily\temp.dbf' size 10M;
    remove the SQL> from the a.sql script also change the system datafile size to minimum of 100mb size
    ALSO check/change the undotablespace name with your init parameter file it should match as it is in the init parameter file
    Edited by: rajeysh on Jul 19, 2011 6:59 PM

  • Problem in creating database manually

    Hello ,
    I am trying to make database manually and i am successfully created it,but when i am trying to run catalog.sql and catproc.sql my database get dismount automatcally.i also tried to upgrade it via search results on problem but i found this below error when i am typing startup.
    help me.
    ORA-24324: service handle not initialized
    ORA-01041: internal error. hostdef extension doesn't exist

    970884 wrote:
    Hello ,
    I am trying to make database manually and i am successfully created it,but when i am trying to run catalog.sql and catproc.sql my database get dismount automatcally.i also tried to upgrade it via search results on problem but i found this below error when i am typing startup.
    help me.
    ORA-24324: service handle not initialized
    ORA-01041: internal error. hostdef extension doesn't existAre you running Windows? Is your db service up and running? Also, before you attempt to start teh db, issue +set oracle_sid=<your_db_name>
    Aman....

  • Error: SNAP_ADT does not exist in the database - manual check required

    Hello Friends,
    We are  performing an upgrade+migration to HDB using the DMO option(Oracle to HANA).
    We are getting below error in the phase MAIN_SHDCRE/SUBMOD_SHDDBCLONE/DBCLONE!
    Also find the output of SE11 & SE14 attached.
    SE14->
    Please help us with the manual check.
    Regards
    Sury

    Hi Sury,
    In regards to the error below:
    1EETGCLN Error: SNAP_ADT does not exist in the database -> manual check
    required
    1EETGCLN SNAP_ADT
    1EETGCLN Table does not exist
    Could you please try to activate the following tables via SE11?
    -  SNAP_ADT
    Once they are activated, Could you please repeat the phase and update the result?
    Thanks and Regards,
    James Wong
    Follow us:
    SAP System Upgrade & Update Troubleshooting Wiki Space.
    SAP Product Support Twitter  ( Hashtag: #NWUPGRADE)

  • Can I create a non-Unicode database manually via create database segment

    Hi
    As unicode encode use more bytes than 2-bytes encode (for instance, ZHS16GBK), and XE has the limit with 4GB totally. So, can I create a non-Unicode (for instance, ZHS16GBK) database manually via create database segment? or I just could use unicode?
    Thanks.
    Samuel

    Could you load or paste this scripts? Well, the script is (obviously) a shell script, useless on Windows, unless you have some emulator (CygWin, MKS toolkit or similar). The following is the Sql part :
    sqlplus /nolog <<END
    spool xe_createdb.log
    connect sys/oracle as sysdba
    startup nomount pfile=$filedir/init$ORACLE_SID.ora
    whenever sqlerror exit;
    create database
      maxinstances 1
      maxloghistory 2
      maxlogfiles 16
      maxlogmembers 2
      maxdatafiles 30
    datafile '$filedir/system.dbf'
      size 200M reuse autoextend on next 10M maxsize 600M
      extent management local
    sysaux datafile '$filedir/sysaux.dbf'
      size 10M reuse autoextend on next  10M
    default temporary tablespace temp tempfile '$filedir/temp.dbf'
      size 20M reuse autoextend on next  10M maxsize 500M
    undo tablespace undo datafile '$filedir/undots1.dbf'
      size 50M reuse autoextend on next  5M maxsize 500M
    --character set al32utf8
    character set $dbcharset
    national character set al16utf16
    set time_zone='00:00'
    controlfile reuse
    logfile '$filedir/log1.dbf' size 50m reuse
           , '$filedir/log2.dbf' size 50m reuse
           , '$filedir/log3.dbf' size 50m reuse
    user system identified by oracle
    user sys identified by oracle
    -- create the tablespace for users data
    create tablespace users
      datafile '$filedir/users.dbf'
      size 100M reuse autoextend on next 10M maxsize 5G
      extent management local
    -- install data dictionary views:
    @?/rdbms/admin/catalog.sql
    -- run catblock
    @?/rdbms/admin/catblock
    -- run catproc
    @?/rdbms/admin/catproc
    -- run catoctk
    @?/rdbms/admin/catoctk
    -- run pupbld
    connect system/oracle
    @?/sqlplus/admin/pupbld
    @?/sqlplus/admin/help/hlpbld.sql helpus.sql;
    -- run plustrace
    connect sys/oracle as sysdba
    @?/sqlplus/admin/plustrce
    -- Install context
    @?/ctx/admin/catctx oracle SYSAUX TEMP NOLOCK;
    connect CTXSYS/oracle
    @?/ctx/admin/defaults/dr0defin.sql "AMERICAN"
    -- Install XDB
    connect sys/oracle as sysdba
    @?/rdbms/admin/catqm.sql oracle SYSAUX TEMP;
    connect SYS/oracle as SYSDBA
    @?/rdbms/admin/catxdbj.sql;
    connect SYS/oracle as SYSDBA
    @?/rdbms/admin/catxdbdbca.sql 0 8080;
    connect SYS/oracle as SYSDBA
    begin dbms_xdb.setListenerLocalAccess( l_access => TRUE ); end;
    -- Install Spatial Locator
    connect sys/oracle as sysdba
    create user MDSYS identified by MDSYS account lock;
    @?/md/admin/catmdloc.sql
    create spfile='$filedir/spfile.ora' from pfile
    alter user anonymous account unlock
    disconnect
    -- recompile invalid objects
    connect sys/oracle as sysdba
    begin dbms_workload_repository.modify_snapshot_settings(interval => 0); end;
    begin dbms_scheduler.disable('AUTO_SPACE_ADVISOR_JOB', true); end;
    spool off
    exit
    ENDWords prefixed with $ are OS variables, you have to substitute them with your values.

  • Creating standby or logical standby database manually?

    Hi,
    I have to create 4 logical standby databases on a Linux Red Hat 64-bits server.
    The primary databases reside on another Linux Red Hat 64-bits server.
    The oracle database version is 10.2.0.3.
    The question is as follows:
    Should I create the logical standby databases manually or should I do it with the Oracle EM Grid Control?
    I have read that the creation of standby databases with the Grid Control is very straightforward, but I really want to read of some of your experiences.
    I have read that there are some problems in Grid Control with the test of Failover and Switchover.
    Please advice.

    Hi,
    It all depends.
    I assume you don't backup your database to tape using RMAN.
    Do you backup your database to disk using RMAN?
    You would need to set up NFS links from your standby server to the primary server.
    For this purpose, in 9i, I made sure my disk backup ended up in <directory>/backup/<nodename>, so I could easily set up a NFS link.
    If you do it manually, you need to have made a full database RMAN backup first.
    Probably Grid Control is taking care of this for you.
    I have done it once using database control in 10g. It is really simple, and you just have to click a few buttons and sit back.
    Doing it manually is slightly more work: you need to make sure parameters are correct and you need to write a (generic) script of less than 10 lines.
    You probably do have more control over it, though RMAN's duplicate database command is robust and can be restarted easily.
    I can't answer your last remark.
    Hth
    Sybrand Bakker
    Senior Oracle DBA

  • Need ECC 6.0 EHP 5 Fresh installation Manually prepared Step by step Guide

    Hi Expert,
    I am new for Installations of SAP systems presently am working in support project. I am going to install ECC 6.0 EHP 5 with
    Linux/oracle  fresh installation on 12/01/2012.
    Can any one help me to do the installation.
    If you have manually prepared Step by step document please mail me
    my mail id is :sprasad.k7@gmail
    THANKS IN ADVANCE.
    Regards,
    Sivaprasad.
    Edited by: kurapati siva on Jan 7, 2012 10:09 PM

    Srikishan D wrote:
    Hi,
    >
    > Check out the steps mentioned in the official SAP Document:
    >
    > http://service.sap.com/instguides -> SAP Business Suite Apps -> SAP ERP 6.0 -> SAP EhP EhP5
    > Installation guide for your OS/DB
    > First Steps for EhP5 for SAP ERP 6.0
    > How to Install EhP5 for ERP 6.0
    >
    > - An EhP5 Ready installation only installs a system at Netweaver 7.0 EhP2 and ERP Components at 600 level.
    > - You need a Solution Manager 7.01 at Stack 26 to generate a stack.xml for EhP5 Installation.
    > - Check which technical usage types you need to install as part of Eh5.
    >
    EHP5 installation comes with Central application component i.e. SAP_APPL and EA-APPL on 605 version. Its different from EHP4 installation where all ERP components comes on 600 release.
    Thanks
    Sunny

Maybe you are looking for