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

Similar Messages

  • How to migrate data from oracle 9i database to new machine 11gr2 RAC ASM

    Hi Expert
    I need your expertise to advise me what is the best method to move data from oracle 9i database to new machine running oracle 11r2 RAC database with ASM.
    Currently my production server running on HPUX ORACLE 9I database with normal file system. My new server is running SUN SOLARIS SPACR 64 bit ORACLE 11gr2 RAC with ASM. What is best method to move data over so it will be consistent. Any guide can refer.
    Regard
    William

    Hi William,
    See the note in metalink Migration of Oracle Database Instances Across OS Platforms [ID 733205.1] to saw the Endian Format of your OS. If is the same you can use the RMAN to convert the database to another OS, if not the only option is using export/import (Transportable Tablespaces).
    To upgrade from 9i to 11g, see the note 837570.1 - Complete Checklist for Manual Upgrades to 11gR2.
    To migrate your FS to ASM the only way is using RMAN, so see the note - How to move a datafile from a file system to ASM [ID 390274.1].
    Hope this help you.
    Best Regards,
    Ruben Morais

  • RMAN copy datafiles from filesystem to ASM

    DB version: 10.2.0.4
    I need to copy 650G of datafiles from filesystems to ASM. Could someone let me know how to use RMAN parallelism for this?.
    I'm using the command as below.
    backup as copy datafile '/tmp/datafile1.dbf' format '+DATA';
    backup as copy datafile '/tmp/datafile2.dbf' format '+DATA';

    I also tried the below. But, it's also running long. Each 32G datafile is taking almost 3 hours to copy into ASM.
    run {
       allocate channel ch1 type disk;
       allocate channel ch2 type disk;
       allocate channel ch3 type disk;
       allocate channel ch4 type disk;
       allocate channel ch5 type disk;
       allocate channel ch6 type disk;
       allocate channel ch7 type disk;
       allocate channel ch8 type disk;
    copy
    datafile ' 1.dbf'to '+DATA',
    datafile ' 2.dbf'to '+DATA',
    datafile ' 3.dbf'to '+DATA',
    datafile ' 4.dbf'to '+DATA',
    datafile ' 5.dbf'to '+DATA',
    ....}

  • Move datafile from asm datafile database to non asm database

    Hi Nice morning all DBA Guys, I want move datafile from asm database datafile to non asm configurated database. Hoe to move this?
    Datafiles like this
    +DATA/saico/datafile/users.259.631612183
    +DATA/saico/datafile/DBA.XXX.XXXXXXXXX
    Regards
    S.Azar

    The all files movement of asm to non-asm and vice-versa is given in document id 252219.1 on metalink. Please look at the same. In nut shell you have to do the following:
    1. Start your database with ASM.
    2. Create pfile from spfile.
    3. Edit pfile to reflect controlfile name in file system location.
    4. SQL> Startup nomount.
    5. Use RMAN to copy the control file from ASM to NON-ASM.
    RMAN> RESTORE CONTROLFILE FROM '<filename_of_old_control_file>';
    6. SQL> alter database mount;
    7. Use RMAN to copy the database from ASM to NON-ASM.
    RMAN> BACKUP AS COPY DATABASE format '/u01/oradata/nonasmdb/datafile/%U';
    8. From RMAN
    RMAN> SWITCH DATABASE TO COPY;
    Regards.

  • Migrating report from 6i to 11g

    I am migrating reports from 6i to 11g.
    I am calling report from form. All the reports works fine.
    But in this report I have to pass parameter at runtime and report should save in pdf format at a given location.
    forms & report version : 11.1.2
    Database : 11g
    Operating system : windows 7 professional.
    Below is the code i am running.
    declare
    pl_name VARCHAR2(30) := 'tempdata';
    pl_id ParamList;
    x VARCHAR2(150);
    y NUMBER;
    repid REPORT_OBJECT;
    v_rep VARCHAR2(100);
    rep_status VARCHAR2(20);
    BEGIN
    repid := FIND_REPORT_OBJECT('MALWADKARCONSUMPTIONSTMTDBR1');
    pl_id := Create_Parameter_List(pl_name);
    Add_Parameter(pl_id,'background',TEXT_PARAMETER,'Yes');
    Add_Parameter(pl_id,'PARAMFORM',TEXT_PARAMETER,'NO');
    Add_Parameter(pl_id,'DESTYPE',TEXT_PARAMETER, 'FILE') ;
    Add_Parameter(pl_id,'DESFORMAT',TEXT_PARAMETER, 'PDF') ;
    Add_Parameter(pl_id,'VCOMPANY',TEXT_PARAMETER,:block50.COMPANYNAME);
    Add_Parameter(pl_id,'VLYCOMPANY',TEXT_PARAMETER,:block50.COMPANYNAME);
    Add_Parameter(pl_id,'FROMDATE',TEXT_PARAMETER,VFROMDATE); -- VFROMDATE calculated from query
    Add_Parameter(pl_id,'TODATE',TEXT_PARAMETER,:BLOCK50.DOCDATE);
    Add_Parameter(pl_id,'VACNAME',TEXT_PARAMETER,VACNAME); -- VACNAME calculated from query
    Add_Parameter(pl_id,'DESNAME',TEXT_PARAMETER, 'D:\dbr\'||vACNAME||' '||:BLOCK50.DOCDATE||'.PDF') ;
    SET_REPORT_OBJECT_PROPERTY(repid,REPORT_COMM_MODE,SYNCHRONOUS);
    SET_REPORT_OBJECT_PROPERTY(repid,REPORT_EXECUTION_MODE,RUNTIME);
    set_report_object_property(repid,report_filename,'D:\dbr\'||vACNAME||' '||:BLOCK50.DOCDATE||'.PDF' );
    SET_REPORT_OBJECT_PROPERTY(repid,REPORT_DESTYPE,FILE);
    SET_REPORT_OBJECT_PROPERTY(repid,REPORT_DESFORMAT,'PDF');
    SET_REPORT_OBJECT_PROPERTY(repid,REPORT_SERVER,'rep_adminserver_paresh-pc_asinst_1');
    y := LENGTH ('rep_adminserver_paresh-pc_asinst_1') + 2;
    x := RUN_REPORT_OBJECT (repid, pl_id);
    WEB.SHOW_DOCUMENT('http://PARESH-PC:7001/reports/rwservlet/getjobid'||SUBSTR(x, y)||'?server=rep_adminserver_paresh-pc_asinst_1&userid=scott/TIGER@ORCL');
    Destroy_parameter_list('tempdata');
    END;
    Above code doesn't show any error but report is not generated in the provided location.
    Is modification to be done in the above code?
    Please suggest.
    Thanks in advance.
    Edited by: parapr on Oct 2, 2012 1:30 AM

    Hi,
    as stated before if the desname value is pointing to the client filesystem it wont create the output there because Reports Server is not running on the client, it is running on the server as this is the way it is.
    If you want to save output to the client you need to use the options mentioned before.
    For testing purposes only change your code as follows.
    e.g
    Add_Parameter(pl_id,'DESNAME',TEXT_PARAMETER, 'c:\'||vACNAME||' '||:BLOCK50.DOCDATE||'.PDF') ;
    As you can see I changed the original folder name to C:\ .. (I hope your reports serve is running on a Windows machine if not then changed to /tmp). Run your form and check c:\ or /tmp and see if you see the report output there. If so,
    than your code is fine the only problem is what I have already stated.
    Regards, Roberto

  • Planning to move my datafile from windows server 2003 to windows XP

    planning to move my datafiles from windows server 2003 to windows XP
    database 10g
    Is it possible to follow below the steps for above migration
    =====================================-
    This is my steps( migrated from windows Xp to windows XP)
    Moving oracle Datafile from one server A to B (instance not running) (cold backup)
    In server a (cold backup of datafile)
    SQL> alter database backup controlfile to trace
    Go to udump check the trace file copy these lines
    CREATE CONTROLFILE REUSE DATABASE "O10G1" NORESETLOGS NOARCHIVELOG
    MAXLOGFILES 16
    MAXLOGMEMBERS 3
    MAXDATAFILES 100
    MAXINSTANCES 8
    MAXLOGHISTORY 454
    LOGFILE
    GROUP 1 'E:\ORACLE2\PRODUCT\10.1.0\ORADATA\O10G1\REDO01.LOG' SIZE 10M,
    GROUP 2 'E:\ORACLE2\PRODUCT\10.1.0\ORADATA\O10G1\REDO02.LOG' SIZE 10M,
    GROUP 3 'E:\ORACLE2\PRODUCT\10.1.0\ORADATA\O10G1\REDO03.LOG' SIZE 10M
    -- STANDBY LOGFILE
    DATAFILE
    'E:\ORACLE2\PRODUCT\10.1.0\ORADATA\O10G1\SYSTEM01.DBF',
    'E:\ORACLE2\PRODUCT\10.1.0\ORADATA\O10G1\UNDOTBS01.DBF',
    'E:\ORACLE2\PRODUCT\10.1.0\ORADATA\O10G1\SYSAUX01.DBF',
    'E:\ORACLE2\PRODUCT\10.1.0\ORADATA\O10G1\USERS01.DBF'
    CHARACTER SET WE8MSWIN1252
    Change the new database name “jee” and REUSE replaced by SET and NORESTLOGS replaced by RESTLOGS above lines.
    Save as C1.sql
    Stop the oracle instance service in source ( server A)
    Copy all the datafile and redlog file put into server B( any folder)
    Copy the init.ora file from source and edit
    Change the db_name and location of the controlfile
    SERVER B
    Create the oracle instance using ORADIM
    Start the service
    C:\ set oracle_sid=instance name
    C:\>set oracle_sid=jeeno1
    C:\>sqlplus /nolog
    SQL*Plus: Release 10.1.0.2.0 - Production on Tue Apr
    11 06:44:28 2006
    Copyright (c) 1982, 2004, Oracle. All rights reserved.
    SQL> connect / as sysdba;
    Connected to an idle instance.
    SQL> startup nomount
    pfile='C:\oracle\product\10.1.0\admin\jeeno\pfile\jeenoinit.ora'
    ORACLE instance started.
    Total System Global Area 171966464 bytes
    Fixed Size 787988 bytes
    Variable Size 145750508 bytes
    Database Buffers 25165824 bytes
    Redo Buffers 262144 bytes
    SQL> CREATE CONTROLFILE set DATABASE "jeeno1"
    RESETLOGS NOARCHIVELOG
    2 MAXLOGFILES 16
    3 MAXLOGMEMBERS 3
    4 MAXDATAFILES 100
    5 MAXINSTANCES 8
    6 MAXLOGHISTORY 454
    7 LOGFILE
    8 GROUP 1
    'C:\ORACLE\PRODUCT\10.1.0\ORADATA\jeeno\REDO01.LOG'
    SIZE 10M,
    9 GROUP 2
    'C:\ORACLE\PRODUCT\10.1.0\ORADATA\jeeno\REDO02.LOG'
    SIZE 10M,
    10 GROUP 3
    'C:\ORACLE\PRODUCT\10.1.0\ORADATA\jeeno\REDO03.LOG'
    SIZE 10M
    11 -- STANDBY LOGFILE
    12 DATAFILE
    13
    'C:\ORACLE\PRODUCT\10.1.0\ORADATA\jeeno\SYSTEM01.DBF',
    14
    'C:\ORACLE\PRODUCT\10.1.0\ORADATA\jeeno\UNDOTBS01.DBF',
    15
    'C:\ORACLE\PRODUCT\10.1.0\ORADATA\jeeno\SYSAUX01.DBF',
    16
    'C:\ORACLE\PRODUCT\10.1.0\ORADATA\jeeno\USERS01.DBF'
    17 CHARACTER SET WE8MSWIN1252
    18 ;
    Control file created.
    SQL> alter database open resetlogs;
    Database altered

    one more thing u can also rename ur database by using nid utility ,So u have no need to recreate the controlfile for changing the name of ur database.just restore all files from primary to new server ,create new service by oradim ,start the instance and then use NID utility.
    Thanks
    Kuljeet

  • How to migrate DB from single node 10gR2 to RAC 11gR2 on diff platform?

    How to migrate DB from single node 10gR2 to RAC 11gR2 on different platform with possible minimum downtime? We have a situation of upgrade/migrate oracle 10gR2 single instance DB to 2-node RAC 11gR. The source OS is Solaris 10 on SPARC and the target OS is Linux (the target servers could be changed to Solaris 11 x86 if needed). What is the best solution on that?
    Thanks,

    Technically, can do the following for upgrading and migration?
    1. Create 11gR2 oracle home on the same server and upgrade the database from 10gR2 to 11gR2 by running conversion (2 hour down time?)
    2. Set up Heterogeneous Primary and Physical Standbys by RMAN. The standby is the RAC with ASM. No need down time. (from Solaris Space to Linux - this may be a problem)
    3. At the cutoff time, activate the standby DB from the RAC ASM.
    If feasible, do we have some detail guild line for each step?

  • Restore single datafile from source database to target database.

    Here's my issue:
    Database Release : 11.2.0.3 across both the source and targets. (ARCHIVELOG mode)
    O/S: RHEL 5 (Tikanga)
    Database Storage: Using ASM on a stand-alone server (NOT RAC)
    Using Oracle GG to replicate changes on the Source to the Targets.
    My scenario:
    We utilize sequences to keep the primary key in tact and these are replicated utilizing GG. All of my schema tables are located in one tablespace and datafile and all of my indexes are in seperate tablespace (nothing is being partitioned).
    In the event of media failure on the Target or my target schema being completely out of whack, is there a method where I can copy the datafile/tablespace from my source (which is intact) to my target?
    I know there are possibilites of
    1) restore/recover the tablespace to a SCN or timestamp in the past and then I could use GoldenGate to run the transactions in (but this could take time depending on how far back I need to recover the tablespace and how many transactions have processed with GG) (This is not fool-proof).
    2) Could use DataPump to move the data from the Source schema to the Target schema (but the sequences are usually out of order if they haven't fired on the source, get that 'sequence is defined for this session message'). I've tried this scenario.
    3) I could alter the sequences to get them to proper number using the start and increment by feature (again this could take time depending on how many sequences are out of order).
    I would think you could
    1) back up the datafile/tablespace on the source,
    2)then copy the datafile to the target.
    3) startup mount;
    4) Newname the new file copied from the source (this is ASM)
    5) Restore the datafile/tablespace
    6) Recover the datafile/tablespace
    7) alter database open;
    Question 1: Do I need to also copy the backup piece from the source when I execute the backup tablespace on the source as indicated in my step 1?
    Question 2: Do I need to include "plus archivelog" when I execute the backup tablespace on the source as indicated in my step 1?
    Question 3: Do I need to execute an 'alter system switch logfile' on the Target when the recover in step 6 is completed?
    My scenario sounds like a Cold Backup but running with Archivelog mode, so the source could be online while the database is running.
    Just looking for alternate methods of recovery.
    Thanks,
    Jason

    Let me take another stab at sticking a fork into this myth about separating tables and indexes.
    Let's assume you have a production Oracle database environment with multiple users making multiple requests and the exact same time. This assumption mirrors reality everywhere except in a classroom where a student is running a simple demo.
    Let's further assume that the system looks anything like a real Oracle database system where the operating system has caching, the SAN has caching, and the blocks you are trying to read are split between memory and disk.
    Now you want to do some simple piece of work and assume there is an index on the ename column...
    SELECT * FROM emp WHERE ename = 'KING';The myth is that Oracle is going to, in parallel, read the index and read the table segments better, faster, whatever, if they are in separate physical files mapped by separate logical tablespaces somehow to separate physical spindles.
    Apply some synapses to this myth and it falls apart.
    You issue your SQL statement and Oracle does what? It looks for those index blocks where? In memory. If it finds them it never goes to disk. If it does not it goes to disk.
    While all this is happening the hundreds or thousands of other users on the database are also making requests. Oracle is not going to stop doing work while it tries to find your index blocks.
    Now it finds the index block and decides to use the ROWID value to read the block containing the row with KING's data. Did it freeze the system? Did it lock out everyone else while it did this? Of course not. It puts your read request into the queue and, again, first checks memory to see if it needs to go to disk.
    Where in here is there anything that indicates an advantage to having separate physical files?
    And even if there was some theoretical reason why separate files might be better ... are they separate in the SAN's cache? No. Are they definitely located on separate stripes or separate physical disks? Of course not.
    Oracle uses logical mappings (tables and tablespaces) and SANS use logical mappings so you, the DBA or developer, have no clue as to where anything physically is located.
    PS: Ouija Boards don't work either.

  • How to migrate projects from CS3 to CS4? (Version Cue)

    First of all, I tried to follow the steps here by 'Markus_Jasker' http://forums.adobe.com/thread/313661?tstart=30.
    We are primarily a windows shop, with a small group of Mac artists. We have an Xserve with Version Cue 3.
    All the artists use CS3. One of the artists upgraded to CS4. The user primarily cares about his InDesign files.
    We were unsure whether the CS3 people could see the Version Cue 4 server on the Xserve, so we grabbed an extra
    G5 lying around (Mac OS X Version 10.4.11) and installed Version Cue 4 on it.
    Even though I turned off both VC Servers, and copied the 'com.adobe.versioncue.migration_3.1.2' folder from Version Cue 4
    to Version Cue 3 and restarted both servers, I still get the message "unable to connect to Version Cue CS3 Server etc etc."
    The Xserve is on 10.5.1.x and the G5 is 10.5.2.x with a 255.255.252.0 mask.
    I am primarily a windows admin, so I need some help!
    HappyTech

    Hi,
    It has been a while since I have had access to sun one studio 5. If I remember correctly, it was based on Netbeans 3.5.1. It turns out the Sun Java Studio Enterprise 7 release was based on Netbeans 3.6. Both of these Netbeans versions used mounted filesystems rather than the new project system. There is a migration guide from JSE 7 to JSE 8 available:
    http://developers.sun.com/prodtech/javatools/jsenterprise/reference/techart/jse8/intro_migration_jse8.html
    I think this migration guide will apply to your situation as well.
    Let me know if this helps.
    Thanks,
    George

  • How to migrate projects from sun one studio 5

    hi,
    can anybody tell me how to migrate existing projects from sun one studio 5 to sun java studio 8 projects?
    regards
    guenther

    Hi,
    It has been a while since I have had access to sun one studio 5. If I remember correctly, it was based on Netbeans 3.5.1. It turns out the Sun Java Studio Enterprise 7 release was based on Netbeans 3.6. Both of these Netbeans versions used mounted filesystems rather than the new project system. There is a migration guide from JSE 7 to JSE 8 available:
    http://developers.sun.com/prodtech/javatools/jsenterprise/reference/techart/jse8/intro_migration_jse8.html
    I think this migration guide will apply to your situation as well.
    Let me know if this helps.
    Thanks,
    George

  • Delete file from the filesystem?

    Hello,
    I have an easy question. But I don´t find the right oracle packages.
    I want to delete a file from the filesystem. How can I do this?
    Thanks for your help!

    Paul,
    If connecting to the Web server on East-Coast USA is not optimal for you, or if you aren't using Oracle 10g Release 2, try this URL instead:
    http://www.oracle.com/technology/documentation/index.html
    You need to look for the PL/SQL Packages and Types Reference document, the section detailing the UTL_FILE package.
    Good Luck,
    Avi.
    Message was edited by:
    Avi Abrami

  • How can I migrate everything from one account to another on same computer?

    How can I migrate everything from one account to another on same computer?

    Transferring files from one User Account to another

  • After migrating data from Time Machine, some of my photos are not showing up in iPhoto. I get a 'dashed rectangle." When I click on it I get ' ! in a Triangle" When I click on that, I actually can see the photo. I want to see my photos

    After migrating data from Time Machine, some of my photos are not showing up in iPhoto LIbrary view. I get a 'dashed rectangle." When I click on it I get ' ! in a Triangle" When I click on that, I actually can see the photo. I want to see all  my photos in 'Library' view, and I can't figure out how these photos seem to be arbitrarily hidden. Help, please.

    Try these for the first attempt:
    First be sure to have a backup copy of the library if you already don't have one.
    OT

  • Error while migrating reports from one instance to another(no torch seen)

    Hi,
    I am facing this problem when I am trying to migrate reports from UAT to Production. After migration when I try to run the report from Discoverer plus, I cannot see the torch symbol which is general if we have any parameters for that report. So, I again migrate the same .eex file and now I see the torch.
    Can any one throw some thoughts why is this happening, why I cannot see the torch symbol in the first time itself?
    Thanks,
    Srini.

    Hi Srini
    The list of values is not being associated with the item the first time around. The order in which the items are selected is important so for example if lists of values were imported first without the items upon which they depend they will be ignored. Running the import a second time will cause the LOVs to recognize their associated item and thus the association will be made.
    Generally I do two exports. I will export my folders and workbooks first and then export my item classes.
    Hope this helps explain what you are seeing.
    Best wishes
    Michael

  • Deleting files from the filesystem

    How can you delete a file from the filesystem in Java? Is it possible?
    Thanks

    File file = new File("c:\\test\\abc.txt");
    file.delete();

Maybe you are looking for