Migrate to ASM

Hi all,
I am using Oracle 10gR2 on Solaris 10.
The size of my database is 13TB, I want to migrate to ASM.
Following is my understanding.
Stop Application using the DB
Take complete backup using RMAN.
Migrate to ASM.
Restore backup from RMAN.
Is it right?
Regards.....

Hi Tiger's Roar,
This is the right steps:
1 - Back up your database files as copies to the ASM disk group.
2 - Create a copy of the SPFILE in the ASM disk group. In this example, the SPFILE for the migrated database will be stored as +DISK/spfile.
3 - If this is standby database, stop managed recovery mode.
4 - At this point, if you want the option of easily returning the database to non-ASM storage later, make copies of your current control file and all online logs. This command backs up the current control file to a non-ASM location:
5 - Now create an init.ora specifying the location of the new SPFILE, and start the instance with it.
6 - The next step is to migrate the control file to ASM.
7 - Now specify the location of the flash recovery area by setting DB_RECOVERY_FILE_DEST and DB_RECOVERY_FILE_DEST_SIZE.
8 - Shut down and startup in NOMOUNT again, so that the changed parameters take effect.
9 - Switch database to copy;
10 -Recover database;
11 - The next step is to migrate your tempfiles to ASM. You must use a SET NEWNAME command for each tempfile to direct it to ASM, then a SWITCH to make the new names take effect.
12 - Disable logging for Flashback Database, and then re-enable it again to start creating flashback logs in the new ASM flash recovery area.
13 - The change tracking file cannot be migrated. You can only disable change tracking, then re-enable it, specifying an ASM disk location for the change tracking file.
14 - At this point, if the database is a primary database, then open the database.
More details refer to:
http://download.oracle.com/docs/cd/B19306_01/backup.102/b14191/rcmasm001.htm#i1016547
Cheers,
Francisco Munoz Alvarez

Similar Messages

  • Database Migration To ASM

    Hi i am using oracle 10.2 in windows 2003 server in test environment
    when i tried to migrate the database from os file system to ASM
    it give me the following error
    Error
    Examine and correct the following error(s), then retry the operation.
    Remote Operation Error - ERROR: Wrong password for user
    though i have provided the correct details
    thanks & regard

    hi !
    i tried it
    but still same problem.
    Error
    Migrate Database To ASM: ASM Instance
    Database Migrate Host asm
    Logged In As SYS
    An ASM instance should exist on host asm and be managed as an Enterprise Manager target. If the ASM instance already exists, add it as an Enterprise Manager target by providing connection information and clicking the Continue button. Otherwise, please use DBCA to create an ASM instance on this host before adding it as an Enterprise Manager target.
    Add ASM Instance As An EM Target
    * Target Name :+ASM_asm
    * Oracle Home :C:\oracle\product\10.2.0\db_1
    * SYS Username :sys
    * SYS Password :migrate
    * Role :SYSDBA
    * Port :1521
    * SID :+ASM
    Host Credentials
    Enter the credentials of the user who owns the database Oracle server installation.
    * Username :administrator
    * Password :pipl?123
    Save as Preferred Credential
    real error is
    Examine and correct the following error(s), then retry the operation.
    Remote Operation Error - ERROR: Wrong password for user
    thanks & Regard

  • Migrating Non ASM, Non RMAN to New Server with ASM and RMAN - Possible?

    We currently have a database ( Oracle 10g R1 ) on a Sun Solaris server that is NOT using ASM or RMAN. The database is about 300GB. We are getting a new server and we want to install Oracle 10g R2 with ASM and RMAN and migrate the database.
    I have seen the documentation on migrating non ASM to an ASM server but the methods all use RMAN. Is it possible to migrate to an ASM database without using RMAN? Would datapump import/export work if I created a new database on the new server with all the same tablespaces? Or, do I have to bite the bullet, install RMAN on the old server and do the backup?
    Thanks.

    If you're not using RMAN that doesn't mean you can't use it to perform a single backup, rman is contained in every oracle RDBMS installation version 10G or higher.
    this is only a sample of how to do it
    RMAN> CONFIGURE CHANNEL DEVICE TYPE DISK FORMAT '<file_system_path>/%U.DBF';
    --first we allocate the channel default channel.
    RMAN>RUN
    ALLOCATE CHANNEL DEFAULTCHANNEL TYPE DISK;
    SHUTDOWN IMMEDIATE;
    STARTUP MOUNT;
    BACKUP DATABASE;
    SHUTDOWN
    }then once you have it, you can do what you want.
    It should also be possible to manually restore the database from the original datafiles but it's better to follow the solution involving RMAN.
    Bye Alessandro

  • RAC Migration non ASM to ASM

    Hi
    I have to perform a migration project
    of a 4node RAC cluster to new hardware,
    this RAc cluster has a 2 node DR
    The new hardware will have the same os as
    the current one .The catch is that the database is
    currently using a unix file system and it has to be
    migrated to ASM. Can some1 please guide me with best
    possible way to achieve this....any links or documentations
    appreciated....If any1 has more questions on this please let me know
    Thankyou

    Check metalink note 252219.1
    or
    http://www.oracle.com/technology/deploy/availability/pdf/MAA_WP_10gASMMigration.pdf

  • Migrating to ASM

    Hi.
    I tried migrate to ASM.
    I used migrate assistant in EM.
    To migrate database files, a working directory is required to store recovery files.
    When I choose directory and click "next", I have this error:
    "Working Directory Location - 153 MB temporary free space under location D:\oracle\product\10.2.0\db_1\database is required to hold all online logs for operation recovery purpose in case of failure."
    On disk, when directory is chosen, there is 60 GB of free space.
    What's wrong?
    Thanx.
    Petr

    The disk space might be an issue. Do you have a tape device on the Linux box? Do you have enough disk space on the Solaris box for a 2nd copy of the DB?
    You may need to do this in several steps.
    1. RMAN CONVERT DATABASE
    2. Finish conversion on Linux to File System
    3. RMAN backup to tape of File System based linux db
    4. Create ASM in place vacated by File System
    5. Restore backup into ASM
    I didn't find it documented, but you may be able to shortcut the step 1 above directly to tape (assuming the tape device works on both platforms). Then it would be step 1, (2&5).

  • Rconfig fails for migrate single ASM instance to Oracle RAC 11.2.0.3

    We completed the following steps thus far to migrate single instance with ASM 11.2.0.3 on Oracle Linux to RAC:
    1. Install RAC CRS 11.2.0.3 in GRID_HOME
    2. Install RAC database 11.2.0.3 software in new ORACLE_HOME
    3. Added ASM diskgroups to two node ASM instances
    4. run rconfig from target RAC ORACLE_HOME
    It fails on:
    [RACConvertStep.execute:193] STEP Result=Oracle home is not a cluster database home. Make sure that oracle binary is linked with RAC option and the Oracle home entry in Oracle inventory is updated with cluster node list.
    From rconfig:
    $ rconfig convert.xml
    <?xml version="1.0" ?>
    <RConfig version="1.1" >
    <ConvertToRAC>
    <Convert>
    <Response>
    <Result code="1" >
    Operation Failed
    </Result>
    <ErrorDetails>
    Oracle home is not a cluster database home. Make sure that oracle binary is linked with RAC option and the Oracle home entry in Oracle inventory is updated with cluster node list.
    </ErrorDetails>
    </Response>
    </Convert>
    </ConvertToRAC></RConfig>
    5. the orainventory inventory xml file has:
    6. We have this:
    Source database
    ORACLE_BASE=/oracle
    ORACLE_HOME=/oracle/db/112
    3- target database configuration
    ORACLE_BASE=/oracle/db
    ORACLE_HOME=/oracle/db/11.2.0.3
    4- RAC GRID_HOME
    ORACLE_BASE=/oracle
    GRID_HOME=/oracle/11.2.0/grid
    Has anyone seen this issue before with migrating with rconfig and if so, how did you resolve it?

    good to know. thanks for updating the thread with what was wrong, this will help the community if someone faces this issue.

  • Script redo migration to asm win2003 10.2.0

    I am trying this script for online log migartion to ASM(found on the internet)
    my databse name is orcl, asm instance is +ASM using 10.2.0 on win 2003
    also i already done the previous steps correctly when i am firing this sql script its show me error:
    can somebody tell me where i am wrong.
    SQL> @C:\a.sql;
    39 /
    declare
    ERROR at line 1:
    ORA-00349: failure obtaining block size for '+TESTDB_DATA1'
    ORA-06512: at line 26
    here is the script:
    set serveroutput on
    declare
    cursor rlc is
    select group# grp, thread# thr, bytes/1024 bytes_k, 'NO' srl
    from v$log
    union
    select group# grp, thread# thr, bytes/1024 bytes_k, 'YES' srl
    from v$standby_log
    order by 1;
    stmt varchar2(2048);
    swtstmt varchar2(1024) := 'alter system switch logfile';
    ckpstmt varchar2(1024) := 'alter system checkpoint global';
    begin
    for rlcRec in rlc loop
    if (rlcRec.srl = 'YES') then
    stmt := 'alter database add standby logfile thread ' ||
    rlcRec.thr || ' ''+TEST'' size ' ||
    rlcRec.bytes_k || 'K';
    execute immediate stmt;
    stmt := 'alter database drop standby logfile group ' || rlcRec.grp;
    execute immediate stmt;
    else
    stmt := 'alter database add logfile thread ' ||
    rlcRec.thr || ' ''+TEST'' size ' ||
    rlcRec.bytes_k || 'K';
    execute immediate stmt;
    begin
    stmt := 'alter database drop logfile group ' || rlcRec.grp;
    dbms_output.put_line(stmt);
    execute immediate stmt;
    exception
    when others then
    execute immediate swtstmt;
    execute immediate ckpstmt;
    execute immediate stmt;
    end; end if;
    end loop;
    end;

    I can't debug your script, but I can tell you that it is much easier to "migrate" your logfiles to ASM.
    You point your DB_CREATE_FILE_DEST parameter to the database area diskgroup (if not already set)
    You point your DB_RECOVERY_FILE_DEST parameter to the recovery area (if not already set)
    You look at the old logfiles and remember their number
    Then you say
    alter database add logfile;
    as many times as you want to have new loggroups to be on ASM
    Then you drop all the old loggroups.
    That is done interactively (in about 5 minutes), though.
    But you could script that with a .sql script also quiet easily, instead of "breaking your fingers" with PL/SQL, couldn't you? :-)
    Kind regards
    Uwe
    http://uhesse.wordpress.com

  • Database Migration using ASM

    Hello All,
    We are using oracle database 10g on AIX. We are using asm for storage on a shared location.
    Now we want to move our database from old servers to new servers.
    I want to know if we could use the same asm based datafiles for new database to avoide database data migration. Can we switch our database from one server to another and use the same datafiles??? or we have to migrate our database by RMAN or expdp etc???

    we want to move 9 Tb database from tru64 and filesystem to solaris and asm on 10.2.0.3, we will be testing RMAN with CONVERT;
    http://download.oracle.com/docs/cd/B19306_01/backup.102/b14191/dbxptrn.htm#sthref1379
    and physical dataguard options.
    so do you have any experience with the source and the target OS different case, like source as Tru64 and destination as Solaris;
    SQL> SELECT a.platform_name, a.endian_format
      2    FROM v$transportable_platform a
      3   WHERE a.platform_id IN (2, 5)
      4  ;
    PLATFORM_NAME                                                                    ENDIAN_FORMAT
    Solaris[tm] OE (64-bit)                                                          Big
    HP Tru64 UNIX                                                                    Littleor is there any similar step by step reference like Howard's article for same OS case?
    Thank you, best regards.

  • Database upgrade, platform migration with ASM

    Hi All
    I have using R12.1.2 with 10.2.0.4 database on HP-PA RISK 64 bit Operating system . I want to upgrade database to 11g r2 with ASM and want to migrate OS to RHEL5 , 64 bit. Kindly suggest me the sequence how we can proceed?
    Thanks
    Krishna

    Hi Krishna;
    I have using R12.1.2 with 10.2.0.4 database on HP-PA RISK 64 bit Operating system . I want to upgrade database to 11g r2 with ASM and want to migrate OS to RHEL5 , 64 bit. Kindly suggest me the sequence how we can proceed?For your issue I suggest just follow below steps:
    1. Upgrade your db from 10.2 to 11.2 on HP
    2. Migrate your 11.2 from HP to linux
    3. Convert your system to ASM
    Please see below notes:
    1. For convert ASM:
    Convert datafile to asm:
    Re: convert to ASM
    How to move a datafile from a file system to ASM [ID 390274.1]
    How to Convert 10g Single-Instance database to 10g RAC using Manual Conversion procedure [ID 747457.1]
    How To Create ASM Diskgroups using NFS/NAS Files? [ID 731775.1]
    How to copy a datafile from ASM to a file system not using RMAN [ID 428893.1]
    http://download.oracle.com/docs/cd/B19306_01/backup.102/b14191/dbxptrn.htm
    convert to ASM
    Re: convert to ASM
    Also check below gooling:
    http://www.google.com.tr/search?hl=tr&q=convert+datafile+to+asm&meta=&aq=f&aqi=&aql=&oq=&gs_rfai=
    RAC for EBS 12.1.1 with DB 11.1.0.7
    2. For 11g upgrade:
    Interoperability Notes Oracle EBS 11i with Oracle Database 11gR2 (11.2.0.2) [ID 881505.1]
    3. For RHEL5:
    DB migration from AIX to Linux
    Export/Import Process for Oracle E-Business Suite Release 12 using 10gR2 [ID 454616.1]
    General Notes For E-Business Suite Release 12 [ID 986673.1]

  • How to migrate RAC/ASM 10g to a new SAN on Unix

    Hi everybody,
    I have an Oracle RAC 10g using ASM on Solaris Sparc 10.
    And I need to change my SAN storage for a better.
    Somebody can tell me the steps to follow or a Metalink note?
    Thanks & regards...

    Hi
    With ASM your life is simple.. Just add the new disks from new storage to ASM and drop old disks and throttle the reblance operations..
    ALTER DISKGROUP <DG> Add disk <from new storage>
    ALTER DISKGROUP <DG) drop disk <old disks>
    ALTER DISKGROUP <DG> REBALANCE POWER 11;
    You can query the V$ASM_OPERATIONS to monitor the rebalance progress. Once all the disks are dropped, you can unplug the old storage from the system.
    Similarly, you can use ocrconfig -replace ocr/ocrmirror to migrate the OCR (Online)
    Votedisks, you need to bring the cluster down (due to a bug in 10g, online if you are 11)..
    # crsctl query css votedisk
    # crsctl add css votedisk <new vote disk> /crsctl delete css votedisk <old vote disk>

  • Migration to ASM

    Hi,
    I wonder if there is a possibility / a document about migrating an existing 10g database from file system to ASM.
    Thanks for help
    Laurent Schneider

    Please check the following document.
    http://download-west.oracle.com/docs/html/B10811_01/ch2.htm#sthref806

  • Migrating ASM disk from singlepath to multipath

    Hi,
    I need to migrate the single path for the SAN disks to a multipath access mode.
    Here is my environment :
    Oracle DB : 11gR2 Enterprise version (2 Node RAC)
    OS : Oracle Enterprise Linux 5
    DB file system : ASM disks with ASMLib
    disk used : SAN disk
    Multipath software : EMC Powerpath
    single path names are : /dev/sdb, /dev/sdc, .. etc.
    Multipath Name would be : /dev/emcpowera, /dev/emcpowerb etc.
    From different metalink document and google, I came up with the following steps for migrating the ASM disks from singlepath to multipath :
    (** Perform the below steps on both the nodes)
    1.     Open ASMLIB configuration file: /etc/sysconfig/oracleasm (Backup this file at this point)
    3.     Edit the variable ORACLEASM_SCANORDER to provide the prefix path of the multipath disk.
    For example:
    The multipath disk name would be /dev/emcpowera, /dev/emcpowerb etc. (Since we are using emc powerpath), set the ORACLEASM_SCANORDER variable as follows:
    ORACLEASM_SCANORDER="emcpower"
    4.     Edit the variable ORACLEASM_SCANEXCLUDE to exclude the single disks (/dev/sd*) from scan process.
    ORACLEASM_SCANEXCLUDE=”sd”
    5.     Reboot both the nodes.
    Are the above steps fine? Any addition/ modification needed ? Please advise.
    Raised an SR for this, but did not get a direct answer.
    Also. Do I need to set the ASM_DISKSTRING parameter to any specific value for my ASM instance? It is currently set to NULL.
    Thanks.

    Hi,
    no actually that's all there is to it.
    Since you use ASMLIB, the disks will be presented the same to ASM. So there is no need to change the DISCOVERY_STRING.
    Only thing I personally would do (for testing purposes) is the following:
    1.) Check before migrating that all disks are there (oracleasm listdisks), then
    2.) Disable the automatic startup of the crs stack (crsctl disable crs), that you can test everything (including reboot) without having the clustarstack start automatically.
    3.) If after the reboot the oracleasm listdisks sees all disks you are fine
    4.) Enable crs again (crsctl enable crs) and start the clusterstack (crsctl start crs).
    Regards
    Sebastian

  • Migrate datafiles from Veritas Filesystem (SFRAC) to ASM

    Hello,
    I'm gathering details how to migrate datafiles from Veritas Filesystem(SFRAC) to ASM. Please feed in your suggestions. The show stopper is DB SIZE which is 56 TB and addition of 1 TB each month.
    ENV Details
    OS : Solsris 10
    RDBMS : 9.2.0.8 (to be upgraded to 11.2.0)
    STORAGE : Propsed to use ASM, but need datafiles migration strategy.
    DB SIZE = 56 TB
    Kind Regards,
    Kam

    Hi,
    First of all you need to upgrade the database to 11.2
    After ...
    It is often used the strategy RMAN Online Backup with Image Copies to migrate to ASM
    Check this out... This a litte example
    You can move pieces (i.e Tablespaces, Controlfile, etc..) database as you want.
    http://uhesse.wordpress.com/2010/12/01/database-migration-to-asm-with-short-downtime/
    Regards,
    Levi Pereira

  • Filesystem to asm migration

    I am running 10.2.0.3 on Oracle linux "OEL4" with ext3 filesystem.
    I just receive a brand new server and i want to move my actual database into it.
    I want to run my 10.2.0.3 database on asm 11g into my new server.
    Once asm testing is over, il migrate my 10.2.0.3 to 11g database.
    I saw documentation on migrating filesystem to asm, but it seems that the example given is where a database with the filesystem resides on the same machine.
    Is there documentation somewhere on how to migrate my database into asm, but not on the same machine?
    Or do you know the steps i need to perform to do this?

    What makes it complex is the following:
    1- Lack of space on my new server to run both filesystem and migrate to asm.
    2- 32 bits to 64 bits migration.
    3-The database is 1.1T in size, a little to much for an export/import
    Here is what I am going to do. I will try that today.
    I have 3 servers.
    Server A: I have my actual database on OEL4 32 bits with oracle 10g on filesystem
    Server B: I will install OEL5 64 bits running 10g filesystem
    Server C: I will install OEL5 64 bits running 10g database with ASM
    Steps:
    1) Restore a rman backup of my database on server B
    2) migrate the database on server B to 64 bits
    3) NFS mount server B from Server C
    Mount the database
    Perform a Rman backup with location = ASM
    Switch database to copy;

  • Migrate entire database to ASM on another server via RMAN minimal downtime

    Hi
    I was looking for a procedure to migrate non ASM production databases to ASM via RMAN on a separate server with minimal downtime (backup as copy/switch database to copy technique). We have TDPO for tape backup and I normally rman clone test databases between servers but this involves too much downtime for production. The procedure in the ASM Admin Guide (Chapter 8) assumes the databases are on the same server.
    Thanks
    Tom Cullen

    tcullen wrote:
    Hi
    I was looking for a procedure to migrate non ASM production databases to ASM via RMAN on a separate server with minimal downtime (backup as copy/switch database to copy technique). We have TDPO for tape backup and I normally rman clone test databases between servers but this involves too much downtime for production. The procedure in the ASM Admin Guide (Chapter 8) assumes the databases are on the same server.
    Thanks
    Tom CullenDear Tom. Why you think you'll have downtime in the production database? The database will be running while the clone will be processing. Check the following link:
    http://download.oracle.com/docs/cd/B19306_01/backup.102/b14191/rcmdupdb.htm#BGBDCDGJ
    RMAN DUPLICATE DATABASE From ASM to ASM: Example
    Kamran Agayev A.
    Oracle ACE
    My Oracle Video Tutorials - http://kamranagayev.wordpress.com/oracle-video-tutorials/

Maybe you are looking for

  • Error msg: "there was a problem sending the command to the program" when using a FireFox shortcut

    This happens only when I use a shortcut to invoke Firefox. I am running Windows 7 professional. The Firefox window opens after the error message occurs, so I would classify this as an annoyance. Several help postings mention removing "ddeexec" from F

  • Multiple object creation in a loop

    I want to create lots of objects in a loop, but I cannot figure out how to substitute an array into the code. So, I was hoping to use Rectangle rect[i] instead of Rectangle rectOne, where i is my counter. Assuming this is a reasonable method, where c

  • Preparation of cost center wise report

    hello experts, I want to know the tcode for cost center wise expenses reports. i have tried the ksb1 but it is working only for one cost center at a time. i want to prepare the cost center expenses report for all cost center in company in following f

  • Can the Flash Player do frame accurate seeking when using the HDS protocol?

    Hi all, ... and thanks in advance for taking the time to respond. I've been playing with different media serving protocols, and I have a couple of questions. 1. Can the Flash Player do frame accurate seeking when media is served via the HDS protocol?

  • Type input and command key functions don't work

    I have regularly been experiencing problems with the type cursor not moving and not inputing type while using the keyboard. Also while this occurs command key shortcuts and the force quit dialog box won't appear on the screen after pressing the comma