COLD BACKUP DATABASE CLONING with +ASM

Hi,
I need some help to clone the database using Cold backup with +ASM. Can somebody help me on this
Here is the steps we did on Source Database.
1. Copied all the $ORACLE_HOME from Source to TARGET.
2. Created pfile from spfile.
3. Created backup control file on the Source.
Questions:
=======
1. Source has 3 diskgroups, do we need to create new 3 disk groups on the TARGET ?
2. If we needed 3 new disk groups on TARGET, how can we move all the data from SOURCE diskgroup to TARGET disk group, Do we need to use RMAN?
Please let me know what else need to do to bring up the TARGET database.
Thanks
Dheeru.

Hi,
1. Source has 3 diskgroups, do we need to create new 3 disk groups on the TARGET ?Not necessarily.
2. If we needed 3 new disk groups on TARGET, how can we move all the data from SOURCE diskgroup to TARGET disk group, Do we need to use RMAN? Yes, use RMAN to clone/duplicate the database.
Rapid Clone Documentation Resources, Release 11i and 12 [ID 799735.1]
Cloning ASM database using RMAN Duplicate
http://oracleandme.blogspot.com/2007/08/cloning-e-biz-using-rman-duplicate.html
Thanks,
Hussein

Similar Messages

  • Oracle Apps 11i Cloning with +ASM 10g Database

    Hi,
    Can somebody help Apps cloning on the issue facing. Please provide in detailed process Apps Cloning with +ASM.
    Trying to Clone 11i Apps environment(11.5.10.2) and Db 10.2.0.4. The database is on +ASM.
    1. Copied all the application files from SOURCE to TARGET ( source and target are different servers)
    2. Database restored from source and the TARGET database is up and running( Database servers TARGET and SOURCE are 2 different servers.
    3. As per doc id 230672.1 , preclone was successful in apps and db servers.
    ISSUE:
    =====
    As per doc id 230672.1 , if we run adcfgclone on database server that messedup the database which is running already on the TARGET server, because adcfgclone recreate control files and all which is already intact for us in +ASM.
    Question:
    ======
    1. do we still need to do anything on the TARGER database server? if need to run , please provide the detailed steps
    2. Do we need to run adcfgclone on apps server? please provide the detailed steps.
    Thank You,
    Dheeru.

    Yes, restored and the database is up and running.
    Then i ran adcfgclone dbtier on database which messedup whole database. Deleted all the file in ASM disk groups and try to restore the database threw RMAN.
    Got new error, Please see below.
    In the first run previously i got same error but fixed by creating control_files='+LASR','+FLASH' in pfile, again it's giving same error.
    Also pasting PFILE.
    Any idea on this.
    Recovery Manager: Release 10.2.0.4.0 - Production on Wed Jan 5 17:15:12 2011
    Copyright (c) 1982, 2007, Oracle. All rights reserved.
    connected to target database: LASRT (DBID=1482364021)
    connected to auxiliary database: LASRX (not mounted)
    RMAN>
    RMAN> 2> 3> 4> 5> 6> 7> 8> 9>
    executing command: SET until clause
    using target database control file instead of recovery catalog
    allocated channel: aux1
    channel aux1: sid=872 devtype=DISK
    allocated channel: aux2
    channel aux2: sid=871 devtype=DISK
    Starting Duplicate Db at 05-JAN-11
    contents of Memory Script:
    set until scn 11188183994442;
    set newname for clone datafile 1 to new;
    set newname for clone datafile 2 to new;
    set newname for clone datafile 3 to new;
    set newname for clone datafile 4 to new;
    set newname for clone datafile 5 to new;
    set newname for clone datafile 6 to new;
    set newname for clone datafile 7 to new;
    set newname for clone datafile 25 to new;
    set newname for clone datafile 26 to new;
    set newname for clone datafile 38 to new;
    set newname for clone datafile 43 to new;
    set newname for clone datafile 44 to new;
    set newname for clone datafile 45 to new;
    set newname for clone datafile 46 to new;
    set newname for clone datafile 47 to new;
    set newname for clone datafile 48 to new;
    set newname for clone datafile 49 to new;
    set newname for clone datafile 50 to new;
    set newname for clone datafile 51 to new;
    set newname for clone datafile 52 to new;
    set newname for clone datafile 53 to new;
    set newname for clone datafile 54 to new;
    set newname for clone datafile 55 to new;
    set newname for clone datafile 56 to new;
    set newname for clone datafile 57 to new;
    set newname for clone datafile 58 to new;
    set newname for clone datafile 59 to new;
    set newname for clone datafile 60 to new;
    set newname for clone datafile 61 to new;
    set newname for clone datafile 62 to new;
    set newname for clone datafile 63 to new;
    set newname for clone datafile 64 to new;
    set newname for clone datafile 65 to new;
    set newname for clone datafile 66 to new;
    set newname for clone datafile 67 to new;
    set newname for clone datafile 68 to new;
    set newname for clone datafile 69 to new;
    set newname for clone datafile 70 to new;
    set newname for clone datafile 71 to new;
    set newname for clone datafile 72 to new;
    restore
    check readonly
    clone database
    executing Memory Script
    executing command: SET until clause
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    Starting restore at 05-JAN-11
    channel aux2: starting datafile backupset restore
    channel aux2: specifying datafile(s) to restore from backup set
    restoring datafile 00003 to +LASR
    restoring datafile 00004 to +LASR
    restoring datafile 00006 to +LASR
    restoring datafile 00007 to +LASR
    restoring datafile 00025 to +LASR
    restoring datafile 00045 to +LASR
    restoring datafile 00046 to +LASR
    restoring datafile 00049 to +LASR
    restoring datafile 00051 to +LASR
    restoring datafile 00053 to +LASR
    restoring datafile 00054 to +LASR
    restoring datafile 00058 to +LASR
    restoring datafile 00060 to +LASR
    restoring datafile 00062 to +LASR
    restoring datafile 00064 to +LASR
    restoring datafile 00066 to +LASR
    restoring datafile 00068 to +LASR
    restoring datafile 00070 to +LASR
    restoring datafile 00071 to +LASR
    restoring datafile 00072 to +LASR
    channel aux2: reading from backup piece /ora_export/lasrx/15m16kuo_1_1
    channel aux1: starting datafile backupset restore
    channel aux1: specifying datafile(s) to restore from backup set
    restoring datafile 00001 to +LASR
    restoring datafile 00002 to +LASR
    restoring datafile 00005 to +LASR
    restoring datafile 00026 to +LASR
    restoring datafile 00038 to +LASR
    restoring datafile 00043 to +LASR
    restoring datafile 00044 to +LASR
    restoring datafile 00047 to +LASR
    restoring datafile 00048 to +LASR
    restoring datafile 00050 to +LASR
    restoring datafile 00052 to +LASR
    restoring datafile 00055 to +LASR
    restoring datafile 00056 to +LASR
    restoring datafile 00057 to +LASR
    restoring datafile 00059 to +LASR
    restoring datafile 00061 to +LASR
    restoring datafile 00063 to +LASR
    restoring datafile 00065 to +LASR
    restoring datafile 00067 to +LASR
    restoring datafile 00069 to +LASR
    channel aux1: reading from backup piece /ora_export/lasrx/16m16kuo_1_1
    channel aux1: restored backup piece 1
    piece handle=/ora_export/lasrx/16m16kuo_1_1 tag=TAG20110103T144231
    channel aux1: restore complete, elapsed time: 00:18:55
    channel aux2: restored backup piece 1
    piece handle=/ora_export/lasrx/15m16kuo_1_1 tag=TAG20110103T144231
    channel aux2: restore complete, elapsed time: 00:21:20
    Finished restore at 05-JAN-11
    sql statement: CREATE CONTROLFILE REUSE SET DATABASE "LASRX" RESETLOGS ARCHIVELOG
    MAXLOGFILES 16
    MAXLOGMEMBERS 2
    MAXDATAFILES 72
    MAXINSTANCES 1
    MAXLOGHISTORY 7303
    LOGFILE
    GROUP 1 SIZE 20 M ,
    GROUP 2 SIZE 20 M ,
    GROUP 3 SIZE 20 M
    DATAFILE
    '+LASR/lasrx/datafile/system.331.739646133'
    CHARACTER SET WE8ISO8859P1
    released channel: aux1
    released channel: aux2
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of Duplicate Db command at 01/05/2011 17:36:50
    RMAN-06136: ORACLE error from auxiliary database: ORA-01503: CREATE CONTROLFILE failed
    ORA-01276: Cannot add file +LASR/lasrx/controlfile/current.332.739640887.  File has an Oracle Managed Files file name.
    =======================================================================
    PFILE
    ====
    *.aq_tm_processes=2
    *.audit_file_dest='/10g/app/oracle/admin/lasrx/adump'
    *.background_dump_dest='/10g/app/oracle/admin/lasrx/bdump'
    *.compatible='10.2.0'
    *.core_dump_dest='/10g/app/oracle/admin/lasrx/cdump'
    *.control_files='+LASR','+FLASH'
    *.db_block_size=8192
    *.db_cache_size=318767104
    *.db_create_file_dest='+LASR'
    *.db_domain=''
    *.db_file_multiblock_read_count=8
    *.db_files=500
    *.db_name='LASRX'
    *.db_recovery_file_dest='+FLASH'
    *.db_recovery_file_dest_size=5120M
    *.dml_locks=5000
    *.job_queue_processes=0
    *.local_listener='(ADDRESS=(PROTOCOL=TCP)(HOST=hct431oractd002.mfia.state.mi.us)(PORT=1524))'
    *.log_archive_dest_1='LOCATION=+FLASH/LASRX'
    *.log_archive_format='%t_%s_%r.arc'
    *.log_buffer=30551040
    *.log_checkpoint_interval=100000
    *.log_checkpoint_timeout=72000
    *.log_checkpoints_to_alert=TRUE
    *.max_dump_file_size='20480'
    *.nls_comp='binary'
    *.nls_date_format='DD-MON-RR'
    *.nls_language='american'
    *.nls_length_semantics='BYTE'
    *.nls_numeric_characters='.,'
    *.nls_sort='binary'
    *.nls_territory='america'
    *.O7_DICTIONARY_ACCESSIBILITY=FALSE
    *.open_cursors=500
    *.open_links=20
    *.parallel_max_servers=12
    *.parallel_min_servers=0
    *.pga_aggregate_target=681574400
    *.processes=800
    *.query_rewrite_enabled='TRUE'
    *.remote_login_passwordfile='EXCLUSIVE'
    *.resource_manager_plan=''
    *.session_cached_cursors=100
    =============================

  • Can cold backup be taken for ASM managed oracle 10g databases

    Can cold backup be taken for ASM managed oracle 10g databases
    Pls help

    do we still need to take cold backupYou need to take backup. Hot or cold depends on how your DB is running (archivelog or not).
    Will we have file permisions for copyng Use RMAN and don't worry about that.

  • R12 Database Cloning with error AC-00423 / RC-50014

    Hi Friends.
    We have an R12.1.3 Application with 11gR2 database on a Sun Sparc solaris 10 machine.
    From production cold backups, we are trying to clone a new test instance. The cloning is failing while configuring Oracle Home in DB Tier.
    in the logs it shows:
    instantiate file:
    source : /devnew/dbexec/fintestdb/11.2.0/appsutil/template/adcrdb.sh
    dest : /devnew/dbexec/fintestdb/11.2.0/appsutil/install/FINTEST_riysverp-004/adcrdb.sh
    backup : /devnew/dbexec/fintestdb/11.2.0/appsutil/install/FINTEST_riysverp-004/adcrdb.sh to /devnew/dbexec/fintestdb/11.2.0/appsutil/out/FINTEST_riysverp-004/01041024/adcrdb.sh
    setting permissions: 700
    setting ownership: devnewd:devnew
    AC-00423: Template file: /devnew/dbexec/fintestdb/11.2.0/appsutil/template/adcrdb.sh missing from file system.
    Raised by oracle.apps.ad.autoconfig.InstantiateProcess
    [AutoConfig Error Report]
    The following report lists errors AutoConfig encountered during each
    phase of its execution. Errors are grouped by directory and phase.
    The report format is:
    <filename> <phase> <return code where appropriate>
    [INSTANTIATE PHASE]
    AutoConfig could not successfully instantiate the following files:
    Directory: /devnew/dbexec/fintestdb/11.2.0/appsutil/install/FINTEST_riysverp-004
    adcrdb.sh INSTE8
    AutoConfig is exiting with status 1
    RC-50014: Fatal: Execution of AutoConfig was failed
    Raised by oracle.apps.ad.clone.ApplyDatabase
    StackTrace:
    java.lang.Exception: RC-50014: Fatal: Execution of AutoConfig was failed
    at oracle.apps.ad.clone.ApplyDatabase.checkAutoConfigErr(ApplyDatabase.java:3192)
    at oracle.apps.ad.clone.ApplyDatabase.runAutoConfig(ApplyDatabase.java:2985)
    at oracle.apps.ad.clone.ApplyDatabase.doConf(ApplyDatabase.java:522)
    at oracle.apps.ad.clone.ApplyDatabase.doApply(ApplyDatabase.java:473)
    at oracle.apps.ad.clone.ApplyDatabase.<init>(ApplyDatabase.java:366)
    at oracle.apps.ad.clone.ApplyDBTier.<init>(ApplyDBTier.java:110)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
    at oracle.apps.ad.clone.util.CloneProcessor.run(CloneProcessor.java:67)
    at java.lang.Thread.run(Thread.java:595)
    As you can see in the log messages, it complains that the “adcrdb.sh” file is missing from the system.
    As per note 549872.1 this error could be resolved by copying the missing “adcrdb.sh” file from the source environment. However, we tried it and it’s not working for us. The copied file gets deleted somewhere during the cloning process and it again fails complaining that the “adcrdb.sh” file is missing
    Please help us in resolving this as its a bit urgent.
    Thanks.

    muneer.ngha.ksa wrote:
    bash-3.00$ ls -ll /devnew/dbexec/fintestdb/11.2.0/appsutil/template/adcrdb.sh
    -rw-r--r-- 1 devnewd devnew 4015 Jan 4 13:06 /devnew/dbexec/fintestdb/11.2.0/appsutil/template/adcrdb.sh
    AC-00423: Template file: /devnew/dbexec/fintestdb/11.2.0/appsutil/template/adcrdb.sh missing from file system.Can you find any contents in this script? Please go to $ORACLE_HOME/appsutil directory and search for the adcrdb.sh script, copy it to the above directory and try again (or extract it from adcrdb.zip).
    On Release 12 adcfgclone is failing with AC-00423, RC-50014 adcrdb.sh missing from file system [ID 549872.1]
    Troubleshooting RapidClone issues with Oracle Applications R12 [ID 603104.1]
    Thanks,
    Hussein

  • Benefits of Partitioning a Database running with ASM

    Hi All,
    I am trying to understand the additional benefits of performing partitioning of table space on a database which is running with ASM.
    Further I wish to understand the approach followed by other teams for partitioning tables and the benfits they reaped out of using ILM.
    Regards,
    Vinod Dudeja

    I would make sure you set all the Kernel parameters correctly in the install guide.
    So ASM is already running and you are creating the DB or you are trying to create an ASM instance?
    Also found this on Metalink:
    Applies to:
    Oracle Server - Enterprise Edition - Version: 9.2.0.4
    SUSE \ UnitedLinux x86-64
    Red Hat Enterprise Linux Advanced Server x86-64 (AMD Opetron Architecture)
    Linux x86-64
    Symptoms
    When trying to increase the SGA to approach half available RAM with an Oracle 64bit version on a Linux 64bit operating system, even though shmmax is set to match half the amount of RAM, you get the following error when trying to start the instance:
    SQL> startup nomount
    ORA-27102: out of memory
    Linux-x86_64 Error: 28: No space left on device
    Changes
    shmall is set to default at 2097152
    Cause
    shmall is number of pages of shared memory to be made available system-wide.
    Solution
    Set shmall equal to shmmax divided by the page size.
    FYI: The page size can be seen using the following command:
    $ getconf PAGE_SIZE
    Errors
    ORA-27102 out of memory

  • Test cold backup database in archive mode

    Hello,
    We doing every week a cold backup from Oracle database, us database is in archive mode.
    We would like to test us cold backup in other server but the drive where we have to copy
    the datafiles and logs and rollback are different on this server.
    In the production server the oracle_home and the oracle_sid:
    ORACLE_HOME=E:\oracle\product\10.2.0\db_1
    ORACLE_SID=ENCY
    and on the other server to test the backup are:
    ORACLE_HOME=I:\oracle\product\10.2.0\db_2
    ORACLE_SID=ENCY
    Can somebody help me saying please the steps that I have to follow to restore the database in other server
    to test if the last cold backup is fine?
    My understand is copy the files(datafiles, log files, control files, pfile,...) in the new server, when everything is copied into new server,
    I have to:
    Modify the parameter CONTROL_FILES in the pfile
    Mount the database and rename the datafiles and redolog files
    Thanks.

    user641364 wrote:
    Hello,
    We doing every week a cold backup from Oracle database, us database is in archive mode.
    We would like to test us cold backup in other server but the drive where we have to copy
    the datafiles and logs and rollback are different on this server.
    In the production server the oracle_home and the oracle_sid:
    ORACLE_HOME=E:\oracle\product\10.2.0\db_1
    ORACLE_SID=ENCY
    and on the other server to test the backup are:
    ORACLE_HOME=I:\oracle\product\10.2.0\db_2
    ORACLE_SID=ENCYThe only difference between servers is different ORACLE_HOME path?
    All other directories are the same?
    >
    Can somebody help me saying please the steps that I have to follow to restore the database in other server
    to test if the last cold backup is fine?
    My understand is copy the files(datafiles, log files, control files, pfile,...) in the new server, when everything is copied into new server,
    I have to:
    Modify the parameter CONTROL_FILES in the pfile
    Mount the database and rename the datafiles and redolog filesYou shoud modify and rename only in case if path to datafiles, redologs, controlfiles, dump, archive log directories is different on test server.
    If that will be the same, then no need to rename.
    If it is different, then modify pfile in order to meet correct one paths.

  • Database installation with ASM

    Hello,
    I just install a new RAC server with 2 nodes.
    Linux RedHat4 /oracle 10gR2.
    I have a disk RAID5 : /dev/sdc--->/dev/raw/raw1
    RAID5 : /dev/sdc--->/dev/raw/raw2
    RAID1 : /dev/sdd--->/dev/raw/raw3
    When I create my database I need to put my datafiles in RAID5 and my redologs in RAID1.
    How I can do this with ASM? I have to create 3 disk groups (+DATA,+FRA and +REDOLOG)?                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

    You dedicate disks to an ASM diskgroup in the CREATE DISKGROUP statement. If you have 2 disks (one RAID5, one RAID1) you can have only 2 diskgroups. The first one points to RAID5 (datafiles), the second one to RAID1 (redologs). Later on you have to put datafiles into group1 and redologs into group2.
    This document is a good description, how to deal with ASM:
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14231/storeman.htm#i1007979
    Werner

  • Database creation with ASM using dbca

    hi all,
    i found the steps to create the database using ASM diskgroup.
    but i received errors when configuring the FRA(flash recovery area), DBF(normal), +ARCH(archival dest),
    i tried atleast 2 to 3 times from scratch but found the same error....................
    ORA: 19624
    ORA: 19870
    here are the steps can somebody correct these steps..................
    Create Virtual Disks from VM Ware software when server is down.
    Choose Edit Virtual Machine Settings.
    Click on Add button
    Press Next and Highlight Hard Disk, then click Next
    Check ‘Create a New Virtual Disk’
    Choose SCSI as type
    Select Size as 2 GB
    Name the virtual disk as ‘ASMDBF1.vmdk’
    Create additional disks as:
    ASMDBF1.vmdk for DBF files
    ASMDBF2.vmdk Failover group
    ASMFRA.vmdk Flash Back Recovery Area
    ASMREDO.vmdk Redo Log Area
    ASMARCH.vmdk Archived Logs
    •     Start up the server OraWorld1
    •     Go to Disk Management and you will be prompted with a screen which should display all five disks with a check mark. Accept defaults and Click next.
    •     On second script all five will be unchecked, click Next
    •     Press Finish to complete and you should see all 5 disks as Type Basic Unallocated. For each of the disk perform:
    1.     Right click, New Partition, Extended Partition and Finish
    2.     Right click, New Logical drive, Do not assign drive letter nor partition it.
    3.     From command prompt type Diskpart and enter Automount enable.
    4.     From command prompt, configure basic CRS services as
    5.     C:\oracle\product\10.2.0\db_1>localconfig add
    6.     C:\oracle\product\10.2.0\db_1>localconfig add
    7.     Step 1: creating new OCR repository
    8.     Successfully accumulated necessary OCR keys.
    9.     Creating OCR keys for user 'administrator', privgrp ''..
    10.     Operation successful.
    11.     Step 2: creating new CSS service
    12.     successfully created local CSS service
    13.     successfully added CSS to home
    •     Launch DBCA and choose Configure Storage Management.
    •     Select Create New group, choose stamp disks which will show you all of your five disks. Configure ASM links to all these disks as:
    1.     ORCLDISKASMDBF1 \Device\Harddisk1\Partition1
    2.     ORCLDISKASMDBF2 \Device\Harddisk2\Partition1
    3.     ORCLDISKASMFRA \Device\Harddisk3\Partition1
    4.     ORCLDISKASMREDO \Device\Harddisk4\Partition1
    5.     ORCLDISKASMARCH \Device\Harddisk5\Partition1
    Now make Change Disk Discovery Path as Null and you should see all disks.
    Now create Disk groups as :
    ARCH \\.\ORCLDISKASMARCH External 1GB
    REDO \\.\ORCLDISKASMREDO External 1GB
    FRA \\.\ORCLDISKASMFRA External 2GB
    DBF (MAIN GROUP WITH 2 SUB-GROUPS) Must create as Normal Redundancy
    DBFP \\.\ORCLDISKASMDBF1 External 2GB
    DBFS \\.\ORCLDISKASMDBF2 External 2GB
    You now have a running ASM instance on the server.
    •     Checking ASM instance
    You can always use DBCA to check settings of ASM.
    Alternatively, go to command prompt:
    Set ORACLE_SID=+ASM
    Sqlplus /nolog
    Connect sys/password as sysdba
    Show sga (80MB)
    Total System Global Area 83886080 bytes
    Fixed Size 1247420 bytes
    Variable Size 57472836 bytes
    ASM Cache 25165824 bytes
    SQL>desc You can then check C:\oracle\product\10.2.0\db_1\database for these files. You can also view v$parameter for all possible values for ASM instance.
    +asm.asm_diskgroups='DATA1','ARCH','REDO','FRA','DBF'#Manual Mount
    *.asm_diskgroups='DATA1','ARCH','REDO','FRA','DBF'
    *.asm_diskstring=''
    *.background_dump_dest='C:\oracle\product\10.2.0\admin\+ASM\bdump'
    *.core_dump_dest='C:\oracle\product\10.2.0\admin\+ASM\cdump'
    *.instance_type='asm'
    *.large_pool_size=12M
    *.remote_login_passwordfile='SHARED'
    *.user_dump_dest='C:\oracle\product\10.2.0\admin\+ASM\udump'
    You can change some of the values like large pool and even db cache size. You can also manually create the disk group as:
    Create diskgroup DBF NORMAL redundancy
    Failgroup flgrp1 disk ‘\\.\ORCLDISKDATA0’, ‘\\.\ORCLDISKDATA1’
    Failgroup flgrp2 disk ‘\\.\ORCLDISKDATA2’, ‘\\.\ORCLDISKDATA3’;
    Check Candidate disks:
    select group_number, disk_number, mount_status, header_status, state, path from v$asm_disk;
    Other useful queries:
    Select group_number, name, total_mb, free_mb, state, type
    From v$asm_diskgroup;
    Select group_number, disk_number, mount_status, header_status, state, path, failgroup
    From v$asm_disk;
    You can use sql commands to perform most of the ASM tasks, however EM console can also be used here
    Oracle Database Installation
    •     Launch DBCA
    •     Choose Create Database and select OLTP type
    •     Name it as ORCL2, choose ASM as file system, select all disk groups to be used.
    •     Use oracle managed files as:+DBF press Next
    *•     Specify Flash Recovery Area as +FRA*
    *•     Enable archiving at +ARCH*
    *•     Choose Auto SGA as 55% of memory*
    *•     Leave else default and complete DB creation.*
    *•     Launch NetConfig and define Listener with default settings.* here i received the errors,.................
    Database ORCL2 is created with the following attributes:
    NAME: ORCL2
    SPFILE: +ARCH/ORCL2/spfileORCL2.ora
    URL: http://oraworld1:1158/em

    Strange, those messages are RMAN backup errors -- are you trying to backup the database?
    Or...if you selected "create starter database" it may be that dbca is not finding the backup files from the "demo" database.
    :p

  • Database cloning using ASM disks

    Hi,
    I have 2 node RAC DB running on linux using ASM. This is E-business suite application. Disks are EMC now. Want to clone another environment using HP and Netapp disks. Can someone direct me to a link or document showing the cloning of DB using ASM.
    Thanks
    Anitha

    CONVERT* parameters not supported with OMF
    check documentation to confirm
    "The DB_FILE_NAME_CONVERT initialization parameter cannot be used to control generation of new names for files at the duplicate instance which are Oracle Managed Files (OMF) at the target instance."
    "Do not set the LOG_FILE_NAME_CONVERT initialization parameter"

  • Restore Oracle DB Backup on RAC with ASM on Standalone server

    Dear Experts,
    We have our Production Enviornment on Linux as OS and Oracle DB on RAC and ASM. We are taking the backup through DB13 of Production system.
    We want to rectify whether the above backup is restorable or not. For this, we want to restore the backup on Single Standalone system without RAC and ASM.
    My questions is 1) Is it possible to restore database from RAC and ASM to normal Standalone server ?
                             2) If possible, can anyone let me know the challenges we could face during the same procedure.
    Looking forward for suggestions.
    Regards,
    KK

    Hi Ketul,
    I suppose restoration can be done to standalone system using brtools.
    Refer steps in
    SAP note 1627541 - BR*Tools support for Oracle ASM and Exadata/ODA
                        905359 - Using BR*Tools for Oracle RAC databases
    Hope this helps.
    Regards,
    Deepak Kori

  • 11gR2 Database Installation with ASM - NOT RAC

    Hi ,
    Im littel bet confused about the "Grid Infrastructure" in 11gR2.
    In oracle 10gR2 i had to install oracle software twice.
    1. one for the rdbms instance and the second software on for the ASM instance.
    2. Then from the asm home i run dbca and choose "configure automatic storage management" and continue with the installation.
    3. Finally i run dbca from the rdbms home and attached the dabs to the asm.
    11gR2 intreduce the "Grid Infrastructure" also asm with for non-rac installation .
    I would like to know if i still need to install twice the oracle software (once for the asm home and second for the rdbms home) and
    only then continue with the "Grid Infrastructure" , or the : "Grid Infrastructure" already contain the asm software , for the asm home
    Thanks

    Is that true that you have to install a separate set of binaries for ASM and one for the RDBMS. I don't think it is in either 10g or 11gr1.
    I do know that in 11gr2 you only need one home for the ASM_HOME and CRS_HOME which saves one installation.
    John
    www.jhdba.wordpress.com
    Edited by: user11221636 on Dec 3, 2009 9:46 PM

  • Database creation with ASM: Out of Memory Error.

    Greetings,
    So I'm running DBCA, choose my ASM configuration, the first thing that sticks out to me is that the password I enter fails, but it still allows me to choose the ASM container. Go forward, choose my options, hit finish, and right out of the gate in the "Creating and Starting Oracle Instance" phase, I get an:
    ORA-27102: out of memory
    There are no other instances on this RHEL 4 installation. There's 32GB of Memory. Any ideas??
    Thanks!

    I would make sure you set all the Kernel parameters correctly in the install guide.
    So ASM is already running and you are creating the DB or you are trying to create an ASM instance?
    Also found this on Metalink:
    Applies to:
    Oracle Server - Enterprise Edition - Version: 9.2.0.4
    SUSE \ UnitedLinux x86-64
    Red Hat Enterprise Linux Advanced Server x86-64 (AMD Opetron Architecture)
    Linux x86-64
    Symptoms
    When trying to increase the SGA to approach half available RAM with an Oracle 64bit version on a Linux 64bit operating system, even though shmmax is set to match half the amount of RAM, you get the following error when trying to start the instance:
    SQL> startup nomount
    ORA-27102: out of memory
    Linux-x86_64 Error: 28: No space left on device
    Changes
    shmall is set to default at 2097152
    Cause
    shmall is number of pages of shared memory to be made available system-wide.
    Solution
    Set shmall equal to shmmax divided by the page size.
    FYI: The page size can be seen using the following command:
    $ getconf PAGE_SIZE
    Errors
    ORA-27102 out of memory

  • Database give ORA-600 error after cold backup

    HI,
    I have oracle 10g install on linux system. i take cold backup of my database using
    sql> shutdown immediate
    and then copy all files to any other location.
    but when i start my database it gives me error like
    Errors in file /opt/oracle/fina/bdump/fina_smon_4422.trc:
    ORA-00607: Internal error occurred while making a change to a data block
    ORA-00600: internal error code, arguments: [4193], [136], [139], [], [], [], [], []
    Fri Dec  4 15:23:18 2009
    Errors in file /opt/oracle/fina/bdump/fina_smon_4422.trc:
    ORA-00600: internal error code, arguments: [4193], [67], [70], [], [], [], [], []
    Fri Dec  4 15:23:19 2009
    Doing block recovery for file 2 block 1702
    Block recovery from logseq 13, block 3531 to scn 758385
    Fri Dec  4 15:23:19 2009
    Recovery of Online Redo Log: Thread 1 Group 1 Seq 13 Reading mem 0
      Mem# 0 errs 0: /opt/oracle/fina/dbs/redo01.log
    Block recovery completed at rba 13.3532.16, scn 0.758386
    Doing block recovery for file 2 block 153
    Block recovery from logseq 13, block 3531 to scn 758436
    Fri Dec  4 15:23:19 2009
    Recovery of Online Redo Log: Thread 1 Group 1 Seq 13 Reading mem 0
      Mem# 0 errs 0: /opt/oracle/fina/dbs/redo01.log
    Block recovery completed at rba 13.3612.16, scn 0.758437
    Fri Dec  4 15:23:19 2009
    Errors in file /opt/oracle/fina/bdump/fina_smon_4422.trc:
    ORA-00607: Internal error occurred while making a change to a data block
    ORA-00600: internal error code, arguments: [4193], [67], [70], [], [], [], [], []
    Fri Dec  4 15:23:29 2009
    Errors in file /opt/oracle/fina/bdump/fina_smon_4422.trc:
    ORA-00600: internal error code, arguments: [4193], [136], [139], [], [], [], [], []
    Fri Dec  4 15:23:29 2009
    Errors in file /opt/oracle/fina/bdump/fina_pmon_4410.trc:
    ORA-00474: SMON process terminated with error
    Fri Dec  4 15:23:29 2009
    PMON: terminating instance due to error 474
    Instance terminated by PMON, pid = 4410i have seen this happen sometime after cold backup database give errors. is taking cold backup of database is not safe.
    Please suggest.

    Umesh,
    Since it is case of Ora 600, for which only last solution is oracle support, but i would like to mention that your are getting ORA-00600: internal error code, arguments: [4193].... So, this 4193 is cause to read following links too:
    http://www.orafaq.com/forum/t/47048/2/ and. see Metalink note 153788.1 and 39282.1.
    Regards
    Girish Sharma

  • Database cloning in 10g RAC

    hi any body help me,
    How to clone using rman in Oracle 10g R2 RAC environment.

    step by step documentation for cloning RAC database.
    refer:
    RAC Database cloning with HOT Backup
    http://www.dba-oracle.com/t_rac_cloning_hot_backup.htm.
    hope, this helps you.

  • Recover a cold backup in another BD.

    Somebody can help me, i have a doubt, Can I Restore the datafiles from a cold backup (DataBase A) in a Database B?

    If you executed the command "alter database backup controlfile to trace" the trace will generated in the "udump" directory. From there you can edit file. REMEMBER- Give the original copy of the backup file (do not move the files). Do a copy.
    Here's a sample if you want recreate the SID name. Noted you have to modify the location if the paths are difference.
    STARTUP NOMOUNT
    CREATE CONTROLFILE REUSE DATABASE "TESTDB" RESETLOGS ARCHIVELOG
    MAXLOGFILES 16
    MAXLOGMEMBERS 5
    MAXDATAFILES 100
    MAXINSTANCES 8
    MAXLOGHISTORY 1168
    LOGFILE
    GROUP 1 '/data/oracle/TESTDB/redo01a.log' SIZE 100M,
    GROUP 2 '/data/oracle/TESTDB/redo02a.log' SIZE 100M,
    GROUP 3 '/data/oracle/TESTDB/redo03a.log' SIZE 100M
    -- STANDBY LOGFILE
    DATAFILE
    '/data/oracle/TESTDB/system01.dbf',
    '/data/oracle/TESTDB/undotbs01.dbf',
    '/data/oracle/TESTDB/sysaux01.dbf',
    '/data/oracle/TESTDB/users01.dbf'
    CHARACTER SET WE8ISO8859P1
    If you want to change the SID the use the command
    CREATE CONTROLFILE SET DATABASE "NEWTEST" RESETLOGS ARCHIVELOG

Maybe you are looking for