IM + ASM + DBMS DB cloning

Hello.

I have 1-node RAC deployed 11.2.0.3 on OL5.11 with test DB in ASM (3 x OCR_VOTE discs, discs of DATA 2 x, 2 x discs of FRA).

The goal is to create new cluster using the current cluster as a master and cross DB ASM cloning disks.

Regarding http://docs.oracle.com/cd/E11882_01/rac.112/e41959/clonecluster.htm#CWADD92122 and "HOW to CLONE a 11.2.0.3 HOME AND CLUSTERWARE GRID INFRASTRUCTURE (DOC ID 1413846.1) ' it is necessary to: »»

  1. prepare the node
  2. deploy the GI
  3. Run clon.pl
  4. Running config.sh

Steps 1 and 2 in my case have been replaced by:

  1. creating a master node in what concerns the docs (remove the cluster configuration and other files vs deleting on direct copy).
  2. cloning of disks and the virtual machine
  3. change the names and IP addresses

I managed to "running config.sh. But config.sh I am running:

[FATAL] [INS-40401] Setup has detected an Oracle Clusterware House on the system configuration.

Any ideas? Comments?

Thanks in advance for your valuable time.

Problem solved.

Environment:

  • VirtualBox.
  • 5.11 Linux
  • 1-node cluster with ASM (11.2.0.3)
  • DBMS (11.2.0.3) installed
  • 1 RAC created DB.

ASM disks:

  • shareable x 3 ocrvote
  • given shareable x 2
  • shareable 2 x fra

1. create the pfile to DB file.

2. stop all CARS services, disable the crs.

3. delete the files regarding official documents.

4. clean the files of the OS: logs, tmp, etc..

5 detach GI home

6 detach the DB home

We now have the master node.

1 clone the virtual machine (or disks).

We now have the first node to the new cluster.

1. prepare the conversion table: IPs, names.

2. sign in IP addresses, names in DNS

3. start cloned host.

4. change IP, OS names.

5 remove and create ssh, establish the equivalence for the users of the grid and oracle ssh.

6 redefine the responsibilities of ASM disks.

7 run clone.pl as a user of GI.

8. as root, run the root.sh script.

9 unlock GI.

10 move or delete ocr.loc.

11 start config.sh.

12. check the configuration of the cluster.

13 control the ASM.

14. change the name to scan again.

15 resolving multicast (if necessary)

GI is ready.

To prepare the RAC DBMS.

1. run clone.pl.

2. run the root.sh script.

3 change the DB record.

4 Add the instance.

5 edit tnsnames.ora with the new name of scan.

6 change created pfile initially with the new name of scan.

7. start the DB file pfile.

8. change remote_listener. Create the spfile.

9 start DB.

10. If necessary, it is possible to change the names of groups of DB name, DBID, disks.

We again invite you cluster and new CARS DB.

Tags: Database

Similar Questions

  • How to rename ASM starts after cloning disks of origin on the same server. ASMlib is used

    RHE Linux 6

    The single-instance grid installed Oracle (Oracle Restart) 11.2.0.4

    Oracle RDBMS 11.2.0.4 installed

    A 11.2.0.4 single-instance database running

    Our ASM GAVE, REDO, FRA mounted diskgroup

    We need to do a snapshot of storage for the creation of a copy of the current start ASM DATA, REDO, FRA on THE SAME server. Then we rename it cloned starts using the renamedg command.

    We did this several times if ASMlib is not used. For example, the command used when ASMlib is not used is:

    renamedg = newdgname = verbose = FRA2 FRA dgname true phase = the two asm_diskstring = "/ dev/oracle/fra *'"

    With ASMlib in use, I'm not sure the steps to follow

    First of all I'm not sure what should be provided to the asm_diskstring for the renamedg command parameter. I provide an asm_diskstring that identifies the path pointing to records belonging to the diskgroup cloned (I don't want to rename the original diskgroup). But ASM instance using ASMlib is the asm_diskstring parameter is in ' ORCL: *'.

    Second, I guess that after the rename diskgroup than asmlib returns an error because she would double discs.

    Could you please tell?

    Thanks in advance

    Massi

    Hello

    As you clone OS level, you have same ASMlib label.

    ASMlib mount always unique ASMLib label only.

    + You must identify these newly cloned device.

    + Rename these ASMLib force-renamedisk label after 1 Mb disk backup using dd read on a node.

    + Then run scandisks on other nodes.

    + Validate newly approved device is mounted or not on all nodes.

    $ ls - ltr/oracleasm/dev/discs / *.

    + Run command with asm_diskstring of/dev/discs/oracleasm renamedg / *.

    Kind regards

    Loriette

  • RMAN active cloning: how to include SPFILE on ASM

    OS Version HP - UX B.11.31 U ia64
    Oracle DB Version 11.2.0.3.0
    Oracle Database 11 g Enterprise Edition Release 11.2.0.3.0 - 64 bit Production
    Storage: ASM starts
    -------------------------------------------------------------------------------------------------------------------------------------------

    RMAN active cloning of databases, how to include the SPFILE to clone on the ASM storage?

    Hello;

    See the example here:

    http://docs.Oracle.com/CD/E11882_01/backup.112/e10642/rcmdupad.htm

    Under "example 25 - 4 reproduction of a file system to ASM (active).

    or

    Example 25-5 duplication of ASM to ASM (active)

    Best regards

    mseberg

    Published by: mseberg on May 15, 2013 10:34

  • 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

  • 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 Oracle ASM disks

    Hello

    We will virtualize a server physical Linux having an Oracle ASM database.  The physical server will remain intact and the new will be virtual under test.  How to meet the LUNS / volumes on which the DSO has database of data?  I guess we can clone them via SAN, but do not know what's next on the virtual server.

    Thank you very much.

    Since you are using ASM, the SPFILE is also the ASM.  You will need to clone the operating system disks, trees and ASM software and introduce them to the VM Oravcle.  This will give you admin/diag directories as well as password files.  The TNS files and the listener must exist as well.

    On the oracle VM, start the listener.  Then start ASM.  You need perhaps to remove localconfig and localconfig add tips to clear clusterware and reset the ASM.  When you start ASM, if the ASM mount is the same, the asm_diskstring shall not be changed.  He should see the clone disks ASM and climb very well, otherwise change the asm_diskstring to indicate where are the disks ASM, ASM bounce and they are expected to rise.

    Once the DSO is started and starts up, you should be able to start the database without any problems.

  • ASM-cloning on platforms

    Hello

    We are on 10.2.0.4 and allows us to manage ASM storage
    Now clone us usually HPUX-> Hp UX by copying groups of disks in the disk of destination groups, modify the ASM parameter to scan starts again and set up the target database.
    Now, we clone a big database on Linux.
    If I followed the same process that is just to copy the disks and tries to appear on linux, it'll work?
    ASM is independent of the underlying operating system?

    Thank you

    894365 wrote:
    Hello

    We are on 10.2.0.4 and allows us to manage ASM storage
    Now clone us usually HPUX-> Hp UX by copying groups of disks in the disk of destination groups, change parameter ASM to scan starts again and set up the target database.
    Now, we clone a big database on Linux.
    If I followed the same process that is just to copy the disks and tries to appear on linux, it'll work?
    ASM is independent of the underlying operating system?

    Hello
    It is not on ASM, no matter what file system you use you must carry (convert) an entire a database or tablespace defined on another platform.
    It's the same when you copy files data of normal files in HP - UX, Linux... the data file is copied without a problem, but you will not be able to use because the Oracle Dictionary/binaires is not designed for this platform.

    Always when you change platform, you must run cross-platform data transport.
    http://download.Oracle.com/docs/CD/E11882_01/backup.112/e10642/rcmxplat.htm

    If you want to understand why, I suggest that search you in google on "endianness".
    Need to convert data files Oracle with endian format identical or different to different platform.
    If I'm not mistaken, HP - UX is big endian and Linux is Litte Endian.
    That is to say you must use the transportable tablespace, because the portable database is supported only in the same endian format, because the SYSTEM TABLESPACE cannot be converted using different endian format.

    See this example:
    http://levipereira.WordPress.com/2011/01/04/Oracle-database-cross-platform-migration-to-AIX/

    Hope this helps,
    Levi Pereira

    Published by: Levi Pereira on November 3, 2011 15:31

  • Need advice, AIX 7 to Exadata Linux ASM - major DBMS systems migration

    We use databases 11.2.0.3 and 11.2.04 on AIX 7.1 using AIX file systems.   We have some databases of 2 TB and others much more small.  Production of about 50 and 200 databases off-production.   We are migrating to Exadata 4 with Linux.   What is your opinion on the migration method that should be used.   We can take some time from power failure to do so.

    Hello

    There is a possible way;

    (1) unidirectional replication Golden Gate

    (2) import and export-

    (3) cross-platform Transportable Tablespace - http://docs.oracle.com/cd/E11882_01/backup.112/e10642/rcmxplat.htm#BRADV05432

    (4) copy of data - DEC

    HTH,

    Pradeep

  • ORA-01031: insufficient privileges after the cloning of RAC

    Hello.

    I have 2 CARS with 2 DBs nodes and 1 OEBS with option of CARS. 5.11 for Linux. IM 11.2.0.3.9. DB 11.2.0.3.9.

    Data disks when presented by iSCSI.  Data, OCR, voting are in ASM on a diskgroup.

    For testing purposes this RAC has been cloned, including lun data.

    After that successful cloning IG has been tested and verified. Everything is ok.

    DB homes have been reconfigured successfully. Unfortunately tries to connect to sqlplus / as sysdba a ccure of error:

    ERROR:

    ORA-01031: insufficient privileges

    Any suggestions will be much appreciate.

    Thank you in advance.

    Finally, it works.

    export NEWHOSTNAME=node1
    export G01=OSDBA_GROUP=dba
    export G02=OSOPER_GROUP=oper
    export G03=OSASM_GROUP=
    
    eval "perl ${ORACLE_HOME}/clone/bin/clone.pl -silent ORACLE_BASE=$ORACLE_BASE ORACLE_HOME=$ORACLE_HOME ORACLE_HOME_NAME=OraDb11g_home1 INVENTORY_LOCATION=/u01/app/oraInventory -O'\"CLUSTER_NODES={$NEWHOSTNAME}\"' -O'\"LOCAL_NODE=$NEWHOSTNAME\"' $G01 $G02 $G03"
    

    In this case, config.c contains appropriate Van Overstraeten:

    #define SS_DBA_GRP "dba"
    #define SS_OPER_GRP "oper"
    #define SS_ASM_GRP ""
    
  • restore from default location in ASM spfile

    Hi all

    Database: 11g

    EBS: 12.1.3

    Operating systems: Solaris Sparc 64-bit

    Description of the problem:

    Cloning of the Source A instance instance target B, and both are in ASM instances. RMAN backup pending source ended, that has the spfile configured in the default location in ASM for example, see below

    ASMCMD [+ ASMDG003/TEST1 > ls - lt]

    Name of type Redund time scratched Sys

    TEMPFILE Y.

    Y ONLINELOG.

    DATAFILE Y.

    Y CONTROLFILE.

    N spfiletest1.ora = > +ASMDG003/TEST1/PARAMETERFILE/SPFILE.747.856347

    In addition, there is no SPFILE in $ORACLE_HOME/dbs to the TEST1 source instance. INITTEST1.ora file has the following entry:

    Cat INITTEST1.ora

    SPFile='+ASMDG003/test1/spfileTEST1.ora'

    Question: In the instance target to be cloned from RMAN backup FRO instance source TEST1, the performance of ' restore automatic backup spfile "rental."

    The spfile will be restored in $ORACLE_HOME/dbs in the instance target TEST2?

    If you would be grateful if someone could share their resolution.

    Thank you

    user10088255

    Solved your problem?

    If we answer your question, please mark replied to your thread.

    Best regards & thanks

    Mr. Mahir Quluzade

  • How can I move back the rman convert a file from the file system to the ASM?

    I have no idea on the pluging - in files of data which were landed as follows:

    SQL > alter tablespace P_CDDH_DSPGD_V1_2011 read-only;

    SQL > alter tablespace P_IDX_CDDH_DSPGD_V1_2011 read-only;

    SQL > exec dbms_tts.transport_set_check('P_CDDH_DSPGD_V1_2011,P_IDX_CDDH_DSPGD_V1_2011',true);

    SQL > select * from transport_set_violations;

    UNIX > expdp dumpfile ttsfy1.dmp directory = trans_dir transport_tablespaces = P_CDDH_DSPGD_V1_2011, P_IDX_CDDH_DSPGD_V1_2011 = tossadm@pmscdhf1

    RMAN > convert the tablespace P_CDDH_DSPGD_V1_2011, P_IDX_CDDH_DSPGD_V1_2011 format = ' / appl/oem/backup/temp/%I_%s_%t_extbspace.dbf';

    Conversion from the source at October 3, 13

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

    allocated channel: ORA_DISK_1

    channel ORA_DISK_1: SID = instance = 116 pmscdhf11 = DISK device type

    channel ORA_DISK_1: from data file conversion

    Enter a number of file datafile = name = + PMSCDHF1/p_cddh_dspgd_v1_2011_01.dbf 00079

    convert datafile=/appl/oem/backup/temp/3536350174_2820_827849001_extbspace.dbf

    channel ORA_DISK_1: datafile conversion complete, duration: 00:02:15

    channel ORA_DISK_1: from data file conversion

    Enter a number of file datafile = 00080 name = + PMSCDHF1/p_idx_cddh_dspgd_v1_2011_02.dbf

    convert datafile=/appl/oem/backup/temp/3536350174_2821_827849136_extbspace.dbf

    channel ORA_DISK_1: datafile conversion complete, duration: 00:01:45

    Finished conversion to the source to 3 October 13

    From control file Autobackup 3 October 13

    total, handle = / DBMS/oracle/r1110/db_01/dbs/c-3536350174-20131003-02 comment = NONE

    Control file Autobackup ended on 3 October 13

    SQL > drop tablespace P_CDDH_DSPGD_V1_2011 including the content;

    SQL > drop tablespace P_IDX_CDDH_DSPGD_V1_2011 including the content;

    Subsequently, how can I move the backup files to ' / appl/oem/backup/temp/3536350174_2820_827849001_extbspace.dbf ', ' / appl/oem/backup/temp/3536350174_2821_827849136_extbspace.dbf ' back to the Group ASM + PMSCDHF1?

    Or dbms_file_transfer

  • CAR-to-car cloning of EBS on the same host

    I'm running a car-to-car cloning of EBS on the same host... trying to run the below command, I get the errors below

    Perl adclone.pl component java=/db/app/oracle/product/11.2.0/db_2/jdk/jre = dbTier mode = stage=/db/app/oracle/product/11.2.0/db_2/appsutil/clone/ = dbctxtg=/db/app/oracle/product/11.2.0/db_2/appsutil/dev21_ifmisdbdev01.xml rmanstage = CUSTOM method / fra/STAGE/data/internship/rmantgtloc = + srcdbname FRA = dev2 pwd = apps showProgressode

    Logfile located at /db/app/oracle/product/11.2.0/db_2/appsutil/log/dev21_ifmisdbdev01/ApplyDBTier_09121455.log

    / 50% complete type system database Source key ("single" or "car").

    The system is identified as active CARS!

    Restoring the head node of RAC database on the new system via RMAN target...

    THIS PROCESS TAKES A LONG TIME TO COMPLETE AND DEPENDS ON THE SIZE OF THE SOURCE SYSTEM DB

    Enter the first phase to RMAN restore

    -50% finished

    Not able to run the first phase to RMAN restore!

    ERROR when executing apply...

    -bash-4: $1 tail-f /db/app/oracle/product/11.2.0/db_2/appsutil/out/dev21_ifmisdbdev01/restore-rac1.log

    ORA-19504: could not create the file "+ FRA/dev2/controlfile_dev2.ctl".

    ORA-17502: ksfdcre:3 cannot create the +FRA/dev2/controlfile_dev2.ctl file

    ORA-15001: diskgroup "FRA" does not exist or is not mounted

    ORA-15055: unable to connect to the ASM instance

    ORA-15055: unable to connect to the ASM instance

    ORA-27300: OS dependent operating system: open failed with status: 13

    ORA-27301: OS Error Message: permission denied

    ORA-27302: an error occurred at: sskgmsmr_7

    Complete recovery manager.

    operating system permissions

  • RMAN cloning of the CARS to the Non-RAC

    Hi gurus,

    I had cloned successfully my DB of RAC to Non-RAC via the RMAN. Below is the configuration

    RAC

    -2 nodes

    -GR 11, 2 (Compatible 11.0.1.6 according to the needs of the Application)

    -ASM (2 starts DATA and FRA)

    -OS RHEL 6.3

    Non - RAC

    -node 1

    -Stand alone11gR2 (Compatible 11.0.1.6 according to the needs of the Application)

    -ASM (2 starts DATA and FRA)

    -OS RHEL 6.3

    My approach was to clone DB and then change SID with utility nest. My understanding is that utility nest will also replace file ASM paths of CRAMPRD to CRAMSIT, but that has not happened.

    So question is when I'm checking my paths on CRAMSIT he still refelect CRAMPRD eg - + DATA1/CRAMPRD. Is it possible to rename this directory in ASM railways so that it should reflect my SID.

    Kind regards

    Nikhil Mehta.

    No, NEST would change the paths of the DSO.

    I assume that you have set the ORACLE_SID CRAMSIT on the server not CARS before the restoration.

    What you should have done is to put DB_UNIQUE_NAME = "CRAMSIT" (even with DB_NAME = "CRAMPRD") on the server not CARS before the restoration.  Oracle would have used the DB_UNIQUE_NAME to set the path of the ASM (note that when restoring, it would have shown ' restoration to + DATA1/CRAMPRD "but would have been catering to '+ DATA1/CRAMSIT').

    You can now use Oracle Support Note

    How to rename/move a data file in the same [564993.1 ID] ASM diskgroup

    to rename the paths to the DSO.

    Hemant K Collette

  • RMAN Active cloning succeeded, but spfile turned out to be missing

    Environment:

    OS Version: HP - UX B.11.31 U ia64

    Oracle DB Version: 11.2.0.3.0
    Oracle Database 11 g Enterprise Edition Release 11.2.0.3.0 - 64 bit Production

    The files of the databases on: + managed ASM starts

    RMAN Active cloning command below is used to clone the database from one 'A' host to another host 'B '.
     duplicate target database to testDB from active database nofilenamecheck ; 
    Cloning completed successfully. But when I checked on the existence of spfile the missing found spfile.
    SQL> show parameter spfile
    
    NAME                                 TYPE        VALUE
    spfile                               string      /app/oracle/product/11.2.0.3/db/dbs/spfiletestDB.ora
    What could be the cause of the missing spfile?

    I have been informed below as a workaround.

    1. create the spfile and pfile memory and bounce the db for this problem.
    2 RMAN Active clone script specified with the clause pfile.
    For example.
     duplicate target database to testDB  from active database file=/app/oracle/product/11.2.0.3/db/dbs/inittestDB.ora;  
    Would appreciate the counsel on this.

    Published by: Sivaprasad S January 31, 2013 17:13

    Hello;

    What could be the cause of the missing spfile?

    This:

    duplicate target database to testDB from active database nofilenamecheck
    

    Instead:

    duplicate target database to testDB from active database spfile nofilenamecheck
    

    See:

    http://docs.Oracle.com/CD/B28359_01/backup.111/b28270/rcmdupdb.htm

    Example 23-3

    Remember to close some of your old questions

    Best regards

    mseberg

  • Current database cloning using RMAN

    Hello

    I have my database (11.2.0.3.0) of test running on Windows server 2008 R2 64-bit. My name is TESTDB database and its operation in log mode archive with ASM. I want to clone the same database using RMAN... I checked the many documents and have searched in google also, but did not find the right document. I am very new to the database of ACTIVE RMAM feature.

    Here I have the different file name with the structures of different directories also...

    my doubt is:

    * 1. How to copy a database running in log mode Archive with the DSO to the remote computer with the same name of DB via RMAN? *
    * 2. How to copy a database works in log mode Archive with ASM in a remote machine with the different DB name like CLONEDB via RMAN? *

    Please suggest me how to proceed?

    Thank you and best regards,
    Vikash jain (junior DBA)

    Salvation;

    Clone already documented processes, also similar issue mentioned here several times. Please overwiev:

    clone database
    Re: how the database cloning
    Database duplication

    See also:
    How to make a copy of a database that is open to the Duplication of another Machine [ID 224274.1]

    PS: Please don't forget to change the status thread answer whether it is possible when believe you your thread replied, he pretend to wasting time in other forums users while they are looking outstanding which is not answered, thank you for understanding

    Respect of
    HELIOS

Maybe you are looking for

  • New tab is not Firefox

    When I open a new tab, it only takes me to Firefox/Yahoo home page. Instead, I get a page with "VAF" and a search box. How can I fix it? I tried going to and reset Firefox as my homepage, but it is not an option to set for my tabs.

  • M 201n: HP LaserJet M 201n - cold Reset

    Hello I need to cold reset my Laserjet M 201n. I do not have access to the configs more. It says menu disabled for all settings on the LCD screen. Help, please.

  • Install XP Pro (32 bit) with 8 GB of RAM

    I have a new machine and I put Windows 7 Home Premium 64 bit on it. But I have a few old programs that may not work in Windows 7, so I intend to install XP Pro x 86 on a separate drive (two clean installs), dual boot. I know that Win 7 Pro and Ultima

  • Recent photos not at the top of the photo folder more

    When I use to save images on the web, that they would go to the top of the My Pictures folder. I see them now and choose to move to other folders or not. I did something now it is all mixed in. Ive clicked on the bar to select details display in the

  • Problem with the ASUS Xonar DGX

    So, first of all my problem is my sound is playing is no longer sound, and this started when I turned off my ASUS Xonar DGX Audio Device in Device Manager and reactivated it. I did this because whenever a game would break it would play a buzz and bef