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/

Similar Messages

  • 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

  • How can i Migrate a database from DB2 to SQL Server 2008r2.

    Hi Gurus,
    Kindly help me letting me know the process for migrating the database from DB2 to SQL Server.
    1) Is there any way to migrate a database from DB2 to SqlServer. (My assumption is we can not migrate database, if wrong correct me gurus).
    2) Or we can only transfer data from that DB2 database to SQL Server (Using SSIS packages).
    Please help me knowing the process to migrate the data from DB2 server to MSSQL server. Even am reading the documents available in the web.
    Thanks in advance.. :)

    Microsoft provide a migration assistant for DB2 to SQL Server:
    http://www.microsoft.com/en-us/download/details.aspx?id=45296
    SQL Server Migration Assistant (SSMA) is a free supported tool from Microsoft that simplifies database migration process from DB2 to SQL Server and Azure SQL DB. SSMA automates all aspects of migration including migration assessment analysis, schema and
    SQL statement conversion and data migration. 
    Hope that helps

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

  • Create 10g Database with ASM on Windows Server 2003 x64

    I am running Windows 2003 Server Enterprise x64 on a Dell server and wish to install Oracle 10g 10.2 with ASM.
    First, I performed a software only install. Then, I created several raw partitions on each of two SATA2 disks, and created a disk group - DGROUP1 - using two partitions from each disk. So far so good.
    Next, I tried to use DBCA to create a general purpose database using ASM, and that is where the problem arose. I can use sqlplus to stop and start the ASM instance, but when I use DBCA to select ASM for storage I am asked for the SYS password for ASM. I enter it and get a message "Passwords cannot be verified because: Io exception: The network adapter could not establish the connection". If I ignore this I can go on to select my DGROUP1, but the installation ultimately fails due to "insufficient privileges".
    Can anyone please help?

    Hi Martin
    Thanks for the reply. I used ASMTOOLG to stamp the disks and then used DBCA and followed the description hereo create the disk group DGROUP1:
    http://www.databasejournal.com/features/oracle/article.php/3571371
    At one point, DBCA prompted me to run "localconfig add", which I did.
    If it is a missing password file that is the problem, is it possible to create one to put things right?
    Charles

  • Migrated the database to ASM storage .

    Hi friends,
    I have migrated the database from 10g(non-asm) to 11g ASM storage on solaris machine. I am facing database slowness after the database upgrade.I don't find any problem in the ADDM/AWR report.
    Could you please suggest me whether anything needs to check?
    Regards
    Rocky

    Can you run ADDM from the dbconsole?
    Also you can run sql tuning advisor.
    However, its worth checking your diskgroups.
    Can you post Mountpoints defined in /etc/vfstab ?

  • Restoring Database from tape to another server

    Hi
    What are the environment changes or other related changes that need to be made if we have to restore an oracle database to another server.
    Like, we have one Oracle database on linux server XYZ and it is backed up to Tape using RMAN. And we need to restore the same database to server ABC.Do we need to modify any environment variables and such so that restore is done ? Or does it work straight away in this different server too ?

    Hello,
    Please have a look into the document 372996.1 MOS.
    and the thread: http://www.dbasupport.com/forums/showthread.php?t=56236
    Good luck!

  • Duplicating a db to another host via rman

    I found a few documents on this topic, but didn't resolve my issue.
    I am trying to restore an RMAN backup to a different host
    (with same instance name, different path) from where the backup was taken.
    And while running it gives the following error:
    ORA-19505: failed to identify file "D:\ORACLE\BACKUP\TRACKER_20050920_FULL.S148P1"
    ORA-27041: unable to open file
    ORA-04002 unable to open file
    O/S-Error : (OS 21) device not ready
    Here D: drive is where I backup via rman ervery day.
    If any of you had come across this problem and had a solution to this, could you please share it with me.
    Thanks
    P.S. I'm able to connect to catalog, target and auxiliary.
    Charlie

    run on host B:
    step 1. create auxiliary instance and connect to auxiliary instance in nomount mode
            SQL> connect sys/syspw@aux as sysdba
            Connected to an idle instance.
            SQL>startup nomount pfile='C:\oracle\admin\tracker\scripts\initauxdb.ora'
    run on host A:
    step 2. RMAN> connect catalog rman/rmanpw@rman
            RMAN> connect target sys/syspw@target
            RMAN> connect auxiliary sys/syspw@aux
    step 3. RMAN> run
            RMAN> {
            RMAN>    ALLOCATE AUXILIARY CHANNEL aux1 DEVICE TYPE DISK;
            RMAN>    DUPLICATE TARGET DATABASE TO "auxdb"
            RMAN>    PFILE='D:\oracle\admin\tracker\scripts\initauxdb.ora';
            RMAN> }
            ORA-19505: failed to identify file "D:\ORACLE\BACKUP\TRACKER_20050920_FULL.S148P1"
            ORA-27041: unable to open file
            ORA-04002: unable to open file
            O/S-Error: (OS 21) device not readyAfter made whole backup of primary db to drive C on host A,
    and redo step 2 and step 3.
    The error messages as the same as step 3.
    There's my backup script:
    RMAN>run
    RMAN>{
    RMAN>  shutdown immediate;
    RMAN>  startup mount;
    RMAN>  ALLOCATE CHANNEL bck2disk1 DEVICE TYPE DISK;
    RMAN>  BACKUP DATABASE FORMAT 'C:\oracle\backup\%d_%T_Full.S%sP%p';
    RMAN>  sql "alter database open";
    RMAN>  Release Channel bck2disk1;
    RMAN>}Thanks a lot
    Charlie

  • Migration of Database from Oracle to SQL Server in Business Objects XI 3.1

    Hi,
    Currently, We are working on Business Objects XI 3.1 and Database is  Oracle 11g. And now we have the requirement to migrate from Oracle 11g to SQL Server 2008 R2.
    I would like to know what are the key points to be considered in business objects XI 3.1 when the database is migrated from oracle to SQL server.
    If anyone can share the Impact analysis document for Business Objects, it would be great.
    Thanks,
    Lavanyaa TP

    If you use business objects tools for such migration , the impact should be minimal.
    CMSDBCopy mechanism from CCM should work fine for this purpose.

  • How do I migrate iCal database from 10.5.8 server to Lion server?

    Hi,
    because we cannot migrate via Server Migration Assisteant, we have to do it step-by-step. Migration of Users, VPN and Wiki is clear for us.
    But i do not find a way to migrate the iCal Server Database from 10.5.8 to 10.7 manually. Any hints ?
    Frank

    Hi,
    because we cannot migrate via Server Migration Assisteant, we have to do it step-by-step. Migration of Users, VPN and Wiki is clear for us.
    But i do not find a way to migrate the iCal Server Database from 10.5.8 to 10.7 manually. Any hints ?
    Frank

  • How to migrate the whole SAP environment to another server.

    Hi!
    We have to discontinue a SAP Server as it is aging and on disk space. We are running SAP 4.7 SR1 1.00 in this server.
    <b>Now my question is; in the new Server how I will dump all SAP data of previous Server. </b>I am going to install SAP $.7 SR1 2.00 IDES in new Server on Windows 2003 and Oracle 9.2.
    Also, will the programs written for R/3 40 1.00 IDES will match or work in R/3 47 2.00 IDES ?
    With regards,
    Pratip Bhattacharyya
    <b></b>
    ([email protected])

    Hi! Mike,
    Thanks for your effort. But let me tell you the scenario in detail.
    We have a server dl2kdv01. In this Server SAP R/3 4.7 SR1 100 IDES (Kernel 620)is running. Due to hardware problem and disk space problem management has decided to move this SAP System to a  new Server dlwsdv10 where only Solution Manager is running. Ours’ is a Dev. env. SAP systems are running on Windows 2003  Server with Oracle 9.2 DB.
    Now as I cannot find R/3 4.7 SR1 200 IDES. So I have downloaded R/3 4.7 SR1 2.00 IDES (Kernel 640).
    Now my question is,
    1. If I install the downloaded version than how I will add the database of old SAP to the new one.
    Whether I have use transport client method or any other system. I need full step-by-step procedure.
    2. Whether all programs and adapters designed in the earlier version will fully compatible to the new SAP System.
    Hope, I have clearly describe my requirement.
    You can directly mail me also.
    With regards,
    pratip Bhattacharyya
    [email protected]

  • Reinstall Xserve OS X Server 10.4, minimal downtime

    Hi,
    Ever since a powercut 2 weeks ago now we have had constant minor problems with our xserve, mainly with the file sharing and a couple of kernal crash's.
    I am going to re-install the server but i want to keep the downtime to an absolute minimum. Our Xserve is a G4, is it possible to setup and install OS X Server 10.4 to an external firewire on an Imac G5 then copy across onto the Xserve when complete? Will this have any issues with being installed on a G5 processor then coppied onto a G4?
    Any Issues with setting up OS X Server on an Imac?
    Regards
    Tim Pearson
    Grafika Ltd

    I think I would be tempted to do it the other way around...
    Clone the existing system to the external, test it, and then run this whilst doing the new install onto the 'real' server. More downtime for the 'real' server but no later concerns about compatibilities.
    -david

  • Backing up ASM/FRA to disk via RMAN

    Our 9i RAC systems were built using Veritas SFRAC. Due to an archaic tape infrastructure, we had to stream our backups to disk, then allow a nightly O/S backup job come along and backup it up to tape. We were not allowed to directly stream any backups to tape.
    We are now in the process of building 10g RAC systems with Solaris 10, using ASM/Clusterware, and no 3rd party clustered file system.
    My question is: if we define a FRA in ASM and stream RMAN backups there, how can I backup this area to disk so that the nightly O/S job can put it to tape. Likewise, if I have to recover and go to tape to pull an older backup, how do I restore a backup to the FRA so I can perform a restore (if it can be done)?
    In other words, I still cannot directly stream to tape from the ASM FRA - I must first put it out to disk. Is this possible?
    Thanks,
    Jeff

    AFAIK, the FRA/ASM can only be backed up to the
    tape.This is correct. The FRA was created to be your on-disk backup location so that N days/copies of your backups stick around ( RMAN> CONFIGURE RETENTION POLICY TO [RECOVERY WINDOW x | REDUNDANCY x] ) to be readily available. So in RMAN's view, to backup the FRA to disk, again, would not make sense. So the only way to back it up is to a Tertiary device (tape) only.
    HTH,
    Layton

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

  • Coying Database to another server

    Dear All,
    I want trying to copy database to another server but i got error
    Login failed for user 'domainName\ComputerName$'
    I already use domain administrator to both of server and already create user login in both server.
    Both of the login is domain administrator and same user for the server. I use SQL Server Standard Edition 2008 R2.
    How can i fix this error?
    please help
    Best regards,
    Surbakti

    Hi Surbakti,
    According to your description, if you copy a local database to a remote SQL Server via the copy database wizard, we need to verify if the SQL Server Agent Service account does have sufficient access
    rights to the remote server. See:
    Use the Copy Database Wizard
    Usually, I suggest the better option is to perform the full backup of the database and then copy the backup file manually to remote computer. Once done, restore the database from this backup file on
    remote computer.
    There is detail about move databases between computers that are running SQL Server instance.
    http://support.microsoft.com/kb/314546/en-us
    Regards,
    Sofiya Li
    Sofiya Li
    TechNet Community Support

Maybe you are looking for

  • Issues after installing Hotfix Rollup 5 for SP3

    Hi, Last weekend we installed Hotfix Rollup Pack 5 for SP3 on our (single) Exchange 2010 Enterprise server. This was needed to fix the WebApp Light issue with IE11 and to fix the problem where users were unsable to delete mails sent from multifunctio

  • Can I change my email in my apple ID?

    I want to know if I can change my email in the apple ID settings. Will I lose my apps if I do? Does it take any specific steps?

  • Updating AUD$ consumes most of the time in AWR report.

    Hi All, It's really good to see, great people passing their help to folks like us and making our life easier. Going forward,I am investigating on of the performance issue and analyzing the AWR report. By looking AWR, I did find updating aud$ taking m

  • Question about "share screen" function

    When I am watching at another persons screen, is there a way to hover your mouse over the remote computers window without it effecting the pointer on the remote computer? Thank you

  • Running Photoshop Elements from different boot volumes

    I posted this question on the Adobe message board without success. Hopefully, someone here knows the answer. I have my MacBook internal drive partitioned into 2 volumes, each with a different OS. I wish to run Photoshop Elements 6 while booted into a