Migrate database to ASM

Hi,,
I have oracle 10gR2 on RHEL5.i want to migrate my DB to ASM instances.can any one provide me the step by step documentation.
Regards,
Mugunth

Hi,
check
http://www.oracledba.org/10g/asm/migrating_DB_to_ASM.html
http://www.google.co.in/url?sa=t&source=web&cd=3&ved=0CCAQFjAC&url=http%3A%2F%2Fwww.oracle.com%2Ftechnology%2Fdeploy%2Favailability%2Fpdf%2FTechnical_WP_ASM_Migration.pdf&ei=dmt7TMzXFYKlceuStIIG&usg=AFQjCNEbuMRtFh8V2q3noDRRVQXbOGcm2w&sig2=rE6pNcqYm9fYar1V_oQL0A

Similar Messages

  • Migrate existing database to ASM.

    Hello all,
    I am currently working on stand alone database and i want to migrate my existing database to ASM.
    i am trying it via RMAN and i did the following changes in my database :-
    SQL>alter system set control_files='+data' scope=spfile;
    System altered.
    SQL>alter system set db_create_file_dest='+data' scope=spfile;
    System altered.
    SQL>alter system set db_recovery_file_dest='+data' scope=spfile;
    System altered.
    here "data" is the disk group
    than i shutdown the db and started in no mount mode
    so i can start the migration via RMAN
    in rman i did the following things:-
    D:\>RMAN target=orcl
    Recovery Manager: Release 10.2.0.1.0 - Production on Fri Aug 28 01:13:02 2009
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    target database Password:
    connected to target database: orcl (not mounted)
    RMAN> restore controlfile from 'D:\oracle\product\10.2.0\oradata\orcl\CONTROL01.
    CTL';
    Starting restore at 28-AUG-09
    using target database control file instead of recovery catalog
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: sid=156 devtype=DISK
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of restore command at 08/28/2009 01:14:40
    ORA-19504: failed to create file "+DATA"
    ORA-17502: ksfdcre:4 Failed to create file +DATA
    ORA-15001: diskgroup "DATA" does not exist or is not mounted
    ORA-15077: could not locate ASM instance serving a required diskgroup
    ORA-19600: input file is control file (D:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\CO
    NTROL01.CTL)
    ORA-19601: output file is control file (+DATA)
    RMAN>
    according to me i guess i have not specified the disk group ="+data" properly or there is some other way to specify....
    please can any help me resolving this problem
    Thanks & Regards
    Pratik Lakhpatwala
    Jr Oracle DBA

    I am currently working on stand alone database and i want to migrate my existing database to ASM.
    i am trying it via RMAN and i did the following changes in my database :-
    SQL>alter system set control_files='+data' scope=spfile;
    System altered.It should be alter system set control_files='+data/control01.ctl' scope=spfile;
    See Metalink Doc ID 252219.1
    Rgds.

  • Migrating a database to ASM.

    Hi all,
    I have an environment for test purposes running 10.2.0.1.0 database on a Linux CentOS 4 box.
    Now what I´m trying to accomplish is migrate this database to ASM.
    Some adittional info:
    $ ps -ef | grep pmon
    oracle 4063 1 0 07:27 ? 00:00:00 ora_pmon_APPS102
    502 6659 1 0 07:34 ? 00:00:00 asm_pmon_+ASM
    $ lsnrctl status
    Services Summary...
    Service "+ASM" has 1 instance(s).
    Instance "+ASM", status BLOCKED, has 1 handler(s) for this service...
    Service "APPS102" has 1 instance(s).
    Instance "APPS102", status READY, has 1 handler(s) for this service...
    What I´m doing is to log into database through EM 10g console as sys user, then I go to the Administration page from where I can run the ASM migration wizard.
    Then, after inform my SYS password and my Host account/Password, I´m facing below error:
    Listener refused the connection with the following error: ORA-12528, TNS:listener: all appropriate instances are blocking new connections The Connection descriptor used by the client was: (description=(address=(host=VM_PEGASUS.localdomain)(protocol=tcp)(port=1521))(connect_data=(sid=+ASM)(server=dedicated)))
    I´ve already stopped and started the listener and restarted both instances. Did not work, same situation.
    Well, any help will be very appreciated.
    Thanks,
    Marcello M.

    Hi,
    Please see (How To Use Automatic Shared Memory Management (ASMM) In Oracle10g) Doc ID: Note:295626.1 on Oracle Metalink.
    The main goal of this document is to show you how to put in place the ASMM facility introduced with Oracle10g, how to configure it, and also some examples on how to monitor its activity.
    Adith

  • Migrate VLDB(30TB) NonRAC database to ASM

    My customer is running 10.2.0.5 database which is 30TB in size. Its HACMP/PowerHA with active/passive configuration.
    Customer would like to migrate this database to ASM. They dont take rman backups because of the size of the database and rely on bcv backup technology. Customer would like to know what is the best possible way of doing this migration with minimal downtime and risk.

    BCV uses copy on write technology and advanced mirroring techniques. A BCVs can be used to resync data or it can be detached from the active data storage and mounted separately for offline processing.
    If a complete restore of an object or previous device clone is sufficient then it can be a quick disaster recovery. However, certain implementations, like EMC Timefinder/Snapshot are not suitable for disaster recovery since they rely on the existence of the original data source.
    Anyway, I think BCV technology provides only a very limited way for Oracle database backup since it duplicates data errors and is not suitable for advanced rman database or tablespace restore and recovery. A 30 TB database can be time consuming for RMAN, which also depends on what kind of database it is and, for instance, how frequent a full backup is required, but it can be done.
    Regarding NAS, it is just an example to show that affordable storage solutions exist and that it does not have to be expensive EMC storage. I do not see why such a solution cannot meet very strict data center controls in terms of technical aspects.

  • 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/

  • Migration of Non-ASM DB to ASM

    Trying to Migrate data on ASM done all The steps
    But unable to copy redologs via RMAN done the following steps
    Shut immediate
    Startup nomount;
    RMAN> RESTORE CONTROLFILE FROM '/data/db/newdb/control01.ctl';
    RMAN> Alter database MOUNT;
    RMAN> BACKUP AS COPY DATABASE FORMAT '+SDC';
    RMAN> SWITCH DATABASE TO COPY;
    These command are successfully executed now the command is not executing
    alter database rename '/data/db/newdb/redo01.log' to '+NEW';
    ORA-02231: missing or invalid option to ALTER DATABASE
    Please suggest. . . .

    Hi
    1. set control_files='+ASM_Disk_group/control01.ctl'
    2. Startup nomount
    3. connect to target and restore the contolfile. Restore controlfile from ' '
    4. alter database mount
    5. backup as copy database format '+ASM_DSKGRP';
    6. switch database to copy;
    7. run {
    set newname for tempfile 1 to '+ASM_Disk_group';
    set newname for tempfile 2 to '+ASM_Disk_group';
    switch tempfile all;
    8. alter database open
    9. SELECT a.group#, b.member, a.status FROM v$log a, v$logfile b WHERE a.group#=b.group#;
    ALTER DATABASE ADD LOGFILE MEMBER '+ASM_Disk_group' TO GROUP 1;
    ALTER DATABASE ADD LOGFILE MEMBER '+ASM_Disk_group' TO GROUP 2;
    ALTER DATABASE DROP LOGFILE MEMBER '<old_fname_of_log_member_1>';
    ALTER SYSTEM SWITCH LOGFILE;
    ALTER DATABASE DROP LOGFILE MEMBER '<old_fname_of_log_member_2>';
    ALTER SYSTEM SWITCH LOGFILE;
    Anand

  • E Business suite 11i with Database in ASM  - Cloning

    Hi All,
    We are planning to migrate the E Business suite database to ASM and wanted to know the best cloning method to perform the cloning from Production to non production.
    Applciation - 11.5.10.2
    Database - 10.2.0.4 in ASM
    Since i dont see any specific notes in metalink on this, raised an SR with oracle and they told that oracle does not support this but we can use RMAN as few of the customers use RMAN to perform the clonine.
    Can you please advice on the best methode to perform this
    Our constraints :
    We have a constrain in performing the cloning through RMAN, for performing the duplicate database we need to have the sqlplus connection between prod and non prod. We will not be getting this setup due to security policy.
    I had referred the "Best Practices for Cloning ASM-managed Databases" white paper
    Thanks & Regards,
    Rakesh

    Hi Rakesh;
    please check:
    Clone with-Rman
    http://newappsdba.blogspot.com/2009/06/r12-cloning-from-rman-backup-using.html
    Clone R12 use RMAN backup???
    Re: rapid clone from RMAN backup
    How To Make A Copy Of An Open Database For Duplication To A Different Machine [ID 224274.1]
    Also check
    rac-EBS wiht asm
    Re: RAC for EBS R12
    Hope it helps
    Regard
    Helios

  • Standby database with ASM disks?

    Has anyone successfully created a standby database when the primary database and the standby database are using ASM disks? If the answer is yes, how did you copy the files(database backup, control files, etc.) from the asm on primary to asm on standby?
    Note: I am using 10gR2 on HP-UX but the copy part should be platform independent so however you did it should help me.

    Hi d_carmichael2001,
    I had done database migration from Non-asm to ASM for single instance by RMAN.
    and i think mostly steps are same for create standby database on ASM.
    Have a Look.......
    1.create a ASM instance manually on new server.
    2.Take a backup of Prod database and controlfile.
    **backup of controlfile for Standby should be taken as
    BACKUP CURRENT CONTROLFILE FOR STANDBY;
    Backup database cmd will be same as Backup database plus archivelog;
    3. create standby database by using following cmd and set necessary parameter before execute it
    Diskgroup for standby should be define in standby spfile's.
    **Standby database should be in nomount stange
    **connect as % rman TARGET / AUXILIARY SYS/sys_pwd@sbdb1
    Use
    DUPLICATE TARGET DATABASE FOR STANDBY ;
    This command will copy the datafiles, archived redo log files and standby control file in the backup set to the standby database's storage area.
    Thanks
    Kuljeet Pal Singh

  • Migrating database from windows to linux using dbca templates

    Hi every one,
    Is it possible to migrate Oracle10g database from Windows to Linux by using DBCA templates?????????????
    If yes please guide me, as i tried it and am getting error while creating database on linux using DBCA templates of Windows server.
    Warm regards,
    Veeresh.S
    (Oracle DBA)

    With DBCA you can create a new database, delete a database, create ASM, and manage templates.
    There's no option of migrating a database from one platform to the other. If you want to migrate your database from Windows to Linux you have 2 ways of doing it:
    1 using IMP/EXP Export you db on windows and Import it on Linux.
    2 Use across platform transportable tablespace if you db is already on 10g.
    Regards,
    Tony

  • Migration Filesystem to ASM

    Hi Guys,
    Someone have
    Tutorial step-by-step or video explaing How to migration FIlesytem to ASM?
    Tks,
    Lorran

    Hi,
    You can follow the below article steps to migrate the database from filesystem (Non-ASM) to ASM.
    Steps To Migrate/Move a Database From Non-ASM to ASM And Vice-Versa (Doc ID 252219.1)
    and also refer OTN document
    Performing Oracle ASM Data Migration with RMAN

  • Creating standby database from ASM production database in standard edition

    Hi,
    I am using oracle 10g release 2 standard edition. I recently created a database instance and wanted to create a standby database instance. After sorting out how to achieve this without managed standby and data guard I finally got it working and the shipped archive logs are applied and working well on the standby database.
    Now I am thinking of re-creating my production database and using ASM for storage managment. By doing this can a standby database still be created from a primary database using ASM? I want to be sure I can before I commit to using ASM for the production instance and manually creating a standby database from that instance.
    Note: I am using standard edition not enterprise edition.

    Hi
    For Oracle SE standby, you can visit www.anbultechnologies.co.uk , they have a brilliant product name DRMC which is Automatic disaster recovery solution with automatic failover in case primary goes down due to any reason.
    We are using this product for more than 2 years and it works like a dream using Oracle Standard Edition. We have depolyed more databases and Standby solution within the prices of 2 EE edition licenses.
    You can give ma try as well.
    website address is www.anbultechnologies.co.uk

  • Migrating Database from Oracle 8.0.5 for NT to Oracle 8.1.7 for Unix.

    Hello!
    Please help me in Migrating Database(Including Data,Stored
    Procdures, Views, Indexes,Forms, Triggers etc.) from Oracle 8.0.5 for NT to Oracle 8.1.7 for Unix.

    Check the installation option that you chose.
    Not all of the options will install a database.
    P.S.
    I have a similar problem on NT.
    Where I am able to access the database after the 8i Enterprise
    Install. I can not access the database from a Developer or
    Designer Installation. I am trying to run these tools locally.
    How do I configure NET8 to access the local 8i Database?
    Any ideas??
    Regards, Jim
    Emeka (guest) wrote:
    : I just installed the Oracle 8 Enterprise Edition for windows NT
    : and i can't find the Oracle database to support the tables.
    Also
    : the username and password of scott and tiger didn't work for
    the
    : SQL Plus.ERROR' ORA-12203: TNS: unable to connect to
    destination'
    : was the message when i try getting into SQL. Could someone
    please
    : tell me how to install the database and how to get the user
    name
    : and password for the SQL Plus.
    null

  • How to create second database at ASM in 4 node RAC system

    Hi Experts,
    we use 4 nodes RAC (11.0.1) with 10.2.0. 4 database in red hat5.0
    we want to add second database at ASM in RAC system based on manager decision.
    how do I add second database in ASM with exist database?
    Do I need to created new ASM insatnce?
    how to create two new diskgroup? is it under existing ASM instance or new ASM instance?
    how to reset ASM properity to support ( or new) ASM instance and two database?
    Do I need to configure AMS again after added more space into ASM?
    I could not find ducument that add seconf database into ASM in RAC system.
    I want add second database by dbca. any experience for add second database in ASM RAC ?
    Thanks for help!
    JIm

    Hi... I'm in the same situation.
    I need to add a new second database on a RAC installation based on already available ASM instance.
    I'm using 11gR2.
    I read your suggested documentation. Then I typed asmca and analyzed my asm configuration:
    As you can see I have a DISK GROUP NAME with several FREE space.
    !http://img522.yfrog.com/img522/8405/dbca20100203173248.jpg!
    If I select Volumes tab the following is my current configuration:
    !http://img682.yfrog.com/img682/562/dbca20100203173343.jpg!
    Selecting Create button, I can insert some values as you can see:
    !http://img403.yfrog.com/img403/9889/dbca20100203173403.jpg!
    First question:
    Is this the right way to create space for a new database ? Consider that running dbca.. no DISK GROUP NAME is available.
    Second question:
    When I created my first database on this DISK GROUP NAME no volumes were created. Why now I have to do it ? Is this necessary to really separate datafiles coming from different databases ?

  • Use of non-migratable database link not allowed in OSB

    Hi All,
    I have a procedure in which tables are invoked using Database links.
    Now I have created a business service which uses this procedure. However I am getting below error
    The invocation resulted in an error: Invoke JCA outbound service failed with application error, exception: com.bea.wli.sb.transports.jca.JCATransportException: oracle.tip.adapter.sa.api.JCABindingException: oracle.tip.adapter.sa.impl.fw.ext.org.collaxa.thirdparty.apache.wsif.WSIFException: servicebus:/WSDL/E2xInterface_V1/WSDL/GetEWOStatus [ GetEWOStatus_ptt::GetEWOStatus(InputParameters,OutputParameters) ] - WSIF JCA Execute of operation 'GetEWOStatus' failed due to: Stored procedure invocation error.
    Error while trying to prepare and execute the SP_GETEWOSTATUS API.
    An error occurred while preparing and executing the SP_GETEWOSTATUS API. Cause: java.sql.SQLException: ORA-00604: error occurred at recursive SQL level 1
    ORA-24777: use of non-migratable database link not allowed
    can we use dblink in procedure while accessing through business service. Please let me know.
    Thanks
    Chandana

    hello gurus . i have same problem on my stored procedure what is a non xa datasource. how can i create on my weblogic server

  • How do I know if my database is ASM

    I have Windows XP + 10g 10.2.0.1.0
    How do I know if my database is ASM?
    Thanks in advance.

    How do I know if my database is ASM?There is not such term "my database is ASM".But your database can be use ASM diskgroup.It means ASM instance was mounted some disk groups then your database files like control/data and online logs can be locate this diskgroups.For example if you query from SELECT NAME FROM V$DATAFILE then you can get as +DGR1/datafile/<datafile name>* there DGR1 is diskgroup and it mean is database use ASM instance.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

Maybe you are looking for