Move only datafile from windows to linux

Hi all,
I have rdbms 8.1.7 with its datafiles on windows.
I want to keep rdbms on windows platform and move datafiles (dbfiles, controlfiles, redlogs, ecc...) on a linux cluster platform with nfs for communication with windows machine.
Is it possibile?
Is it enough move datafiles and then make ALTER DATABASE RENAME FILE 'C:\...' TO '/app/...' or I have to do else?
Thanks in advance
Best regards
Alessandro

Hi,
yes, that is fine but follow the steps;-
SQL> shutdown immediate
at System level or OS Level
SQL> mv /old path/datafile.dbf /newlocations/datafile.dbf
SQL> startup mount
SQL> alter database rename file '/old path/datafile.dbf ' to '/newlocations/datafile.dbf'
SQL> alter database open;
SQL> exit
I had never tested such thing. check whether oracle user had network accesss correctly or not. otherwise you may stuck at while accessig the datafile.
- Pavan Kumar N

Similar Messages

  • 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 move oracle 9i from windows to linux

    i have 200GB database running on windows 2003 server and oracle 9i release 2 database. but now i want to move to linux with same database release. please guide me what to do?

    Hi
    on windows database you just export your full database with following command.
    exp userid=scott/tiger@db_name file=d:\backup\exp01.dmp,d:\backup\exp02.db, ......., d:\backup\exp0n.dmp filesize=1024m full=yes log=d:\backup\export_log.log
    you can export your database by sys or system or user who has exp_full_database role
    like
    grant exp_full_database to scott;
    after successfully installation of oracle on linux you create all the users at linux database which are non default users in your windows database.
    grant all necessay privileges to these users
    grant unlimited tablesapce quota on newly created users at linux database.
    after checking all disk space on linux your start import process at linux server. with following command
    imp userid=scott/tiger@db_name file=/home/oracle/exp01.dmp,/home/oracle/exp02.db, .......,/home/oracle/exp0n.dmp full=yes ignore=yes
    log=/home/oracle/import_log.log
    ignore=yes parameter will overwrite those tables and rows which are already present in the new database( linux database).
    you can import your database by sys or system or user who has imp_full_database role
    like
    grant imp_full_database to scott;
    after successfully import process you will comile all your indexes constraints, jobs, store procedure because during import process these object become invalid.
    you dont worry about linux all oracle command which are run on windows all these commands run on linux.
    but oracle installation on linux is different as compare to windows.
    following url will guide you for the oracle 9i installation on redhat linux.
    http://ivan.kartik.sk/oracle/install_ora9_elinux.html#st1
    hope it will guide you
    Best Regard
    Abdul Hameed Malik
    Islamabad Pakistan.
    [email protected]
    cell number +92 333 5587 318
    Edited by: user9251659 on Mar 9, 2010 3:31 AM

  • 10gR2 to 11gR2 from Windows to Linux with 6TB Database.

    Hi,
    I need to do migration from 10gR2 to 11.2.0.2.0 and from Windows to Linux for 6TB database Size. As both Endian format same, I did the migration using RMAN Convert database on UAT but for same 10gR2 version.(Both Source on Target Oracle Version was 10.2.01.0). Now I have to migrate from 10gR2 to 11.2.0.2.0. So it's 2 way process.
    is it possible to club these 2 way migration process ???
    Are following steps right or any modification is required ??
    1) Install 11.2.0.2.0 on Linux OS
    2) Open Source Database (Windows) in Read Only. Generate TRANSPORT.SQL, CONVERTSCRIPT.RMAN & Pfile.
    3) Copy Source datafiles in temporary location on Target OS. Also copy above files.
    4) Create dummy controlfile.
    5) Startup nomount with Changed pfile
    6) Mount database with Dummy Controlfile.
    7) Run CONVERTSCRIPT.RMAN to convert actual datafiles from Windows Platform to Linux Platform.
    8) Shutdown the instance and delele Dummy Controlfiles.
    9) Edit TRANSPORT.SQL and do Appropriate Changes like redolog files, datafiles path...
    Now my question is, can I add ?/rdbms/admin/catupgrd.sql in TRANSPORT.SQL script after Startup upgarade command so that Complete Upgradation to 11.2.0.2.0 would be done.
    10) Then run TRANSPORT.SQL on Target System (11.2.0.2.0)
    Tell me if more inputs are required from my side...
    Regards,
    Manish

    This forum deals with migrations from foreign databases to Oracle.
    You might better post your request in this forum:
    General Database Discussions

  • Migration 10g to 11gR2 from Windows to Linux with 6TB DB Size in one step

    Hi,
    I need to do migration from 10gR2 to 11.2.0.2.0 and from Windows to Linux for 6TB database Size. As both Endian format same, I did the migration using RMAN Convert database on UAT but for same 10gR2 version.(Both Source on Target Oracle Version was 10.2.01.0). Now I have to migrate from 10gR2 to 11.2.0.2.0. So it's 2 way process.
    is it possible to club these 2 way migration process ???
    Are following steps right or any modification is required ??
    1) Install 11.2.0.2.0 on Linux OS
    2) Open Source Database (Windows) in Read Only. Generate TRANSPORT.SQL, CONVERTSCRIPT.RMAN & Pfile.
    3) Copy Source datafiles in temporary location on Target OS. Also copy above files.
    4) Create dummy controlfile.
    5) Startup nomount with Changed pfile
    6) Mount database with Dummy Controlfile.
    7) Run CONVERTSCRIPT.RMAN to convert actual datafiles from Windows Platform to Linux Platform.
    8) Shutdown the instance and delele Dummy Controlfiles.
    9) Edit TRANSPORT.SQL and do Appropriate Changes like redolog files, datafiles path...
    Now my question is, can I add ?/rdbms/admin/catupgrd.sql in TRANSPORT.SQL script after Startup upgarade command so that Complete Upgradation to 11.2.0.2.0 would be done.
    10) Then run TRANSPORT.SQL on Target System (11.2.0.2.0)
    Tell me if more inputs are required from my side...
    Regards,
    Manish

    The directory structure is different...that's why you need to create the tablespaces in Linux. e.g. export dump says create tablespace in D:\..., there is no such thing in Linux. You can just export it, install software, create the db, tablespaces in Linux and import into the 10g in Linux.

  • Migrate Oracle 11g database from Windows To Linux using RMAN hot / cold  backup ?

    Hi Friends,
    Is it possible to Migrate Oracle 11g database from Windows To Linux using RMAN hot / cold  backup ? ( as i would like to perform Point In Time recovery)
    (or) The only way is to use RMAN convert as mentioned here  - Transporting Data Across Platforms
    (or) Is there any other method (except exp/imp and data pump)
    Regards,
    DB

    HI
    his post describes the procedure required to migrate a database from Windows to Linux using the RMAN Convert Database command.
    Both Windows and Linux platforms have the same endian format, which makes possible to transfer the whole database, making the migration process very straightforward and simple.
    To migrate between platforms that have a different endian format, Cross Platform Transportable Tablespaces (XTTS) needs to be used instead.
    List of Steps Needed to Complete the Migration
    The migration process is simple, but as it has several steps it is convenient to be familiar with them before running it.
    1. Check platform compatibility between source and target OS
    2. Start the database in read only mode
    3. Check database readiness for transport from Windows to Linux using DBMS_TDB.CHECK_DB
    4. Check if there are any external objects
    5. Execute the Rman Convert database command
    6. Copy converted datafiles, generated Transport Script and Parameter File to Linux
    7. Edit the init.ora for the new database
    8. Edit the Transport Script and Parameter File changing the windows paths to Linux Paths
    9. Execute the Transport Script
    10.Change the Database ID
    11.Check database integrity
    Thank you

  • HOW TO - move a datafile from one disk to another ?

    How can we move a datafile which is part of the big tablespace to another disk.
    We have added new Disk to our server - OS windows 2000 / Oracle 9i - 9.2.0.5
    We want to move a datafile from D drive to F drive.
    Shutdown of the database is possible.
    Thanks
    SS

    I want to do the same thing but i have a BW database (SAP) and i want to move the datafile form one mount poitn to another due to space constraint, but i want to use BR*TOOLS utility to do this, so can anyone help me out on this on how to do this, what are the precaution need to be undertaken.
    Jafar

  • Date Formating Issue (moved from Windows to LINUX)

    Although the move shouldn't have been an issue, moved an OBIEE installation from Windows to LINUX (Windows is still up) and now have date problems with any drill down into the metrics (SC).
    State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 46046] Datetime value 01-NOV-2007 does not match the specified format. (HY000)
    SQL Issued: SELECT Dates."Year Number" saw_0, Dates."Month Number" saw_1, "Cycle Counting"."Green Goal" saw_2, "Cycle Counting"."Red Min" saw_3, "Cycle Counting"."Cum Accuracy %" saw_4 FROM "DRS Supply Chain" WHERE Dates."Start Date" IN (SELECT saw_0 FROM (SELECT cast(Dates."Start Date" as timestamp) saw_0 FROM "DRS Supply Chain" WHERE cast(Dates."Start Date" as timestamp) >= VALUEOF("6 Month Ago")) nqw_1 ) ORDER BY saw_0, saw_1
    Any Ideas?
    Thanks
    Scott

    SCOTT, I suggest checking step-by-step.
    a) check the value of the variable
    b) check the value of cast(Dates."Start Date" as timestamp)
    c) Check the results by substituting those 2 with someone else (regular integers)....
    GL

  • Utl_file gives error when coping file from windows to linux

    Red Hat Enterprise Linux Server release 5.7 (Tikanga)
    Oracle 11.1
    Hi there,
    I can't copy a file with utl_file.fcopy after copying file with samba from winodws to linux. Only after I open the file on linux and save it, can I copy it :
    1.) Copy file from windows (drag and drop)
    2.)
    SQL> exec utl_file.fcopy('XXMS_DATA_IMPORTS', 'Project_62.csv','XXMS_DATA_IMPORTS', 'xxms_pa_tasks_master.csv');
    BEGIN utl_file.fcopy('XXMS_DATA_IMPORTS', 'Project_62.csv','XXMS_DATA_IMPORTS', 'xxms_pa_tasks_master.csv'); END;
    ERROR at line 1:
    ORA-29284: file read error
    ORA-06512: at "SYS.UTL_FILE", line 270
    ORA-06512: at "SYS.UTL_FILE", line 1243
    ORA-06512: at line 1
    3.)su to root
    4.)open file and save it with vi, without changing anything
    5.)
    SQL> exec utl_file.fcopy('XXMS_DATA_IMPORTS', 'Project_62.csv','XXMS_DATA_IMPORTS', 'xxms_pa_tasks_master.csv');
    PL/SQL procedure successfully completed.
    How can I copy from windows to linux with samba, so this doesn't happen?
    Please help

    After the file is initially created in Linux:
    What are the owner and group for the directory in which the file resides?
    What are the directory permissions?
    What are the owner and group for the file?
    What are the file permissions?
    What is the OS name of the oracle user?
    After root vi's and resaves the file:
    What are the owner and group for the file?
    What are the file permissions?

  • Migrating Repositroy from Windows to Linux

    Hi,
    How to migrating the repository from windows Server to Linux in OBIEE. Is there any process ?
    Thanks !

    Hi,
    See the below link is helpful for you,
    http://siebel.ittoolbox.com/groups/technical-functional/siebel-analytics-l/migrating-oracle-bi-siebel-rpd-file-from-windows-to-linux-2146407
    Thanks,
    Balaa...

  • Printing after Migration from Windows to Linux

    We have just migrated 11.5.2 from Windows to Linux. I am not sure how to setup printers. In windows we simply had a UNC pointing to our Windows Printer Server and the Printers Queue. This was in the Printer Column and the Type was HPLJ4SI in the Type column under Install > Printer > Register....like this:
    \\MYCOPRT03\PTS2245
    Not sure what to put in linux. Currently we are getting this error:
    Executing request completion options...
    ------------- 1) PRINT   -------------
    Printing output file.
    Request ID : 7457024
    Number of copies : 1
    Printer : \\MYCOPRT03\PTS2245
    /bin/sh: print: command not found
    APP-FND-00500: AFPPRN received a return code of failure from routine FDUPRN. Program exited with status 127
    Cause: AFPPRN received a return code of failure from the OSD routine FDUPRN. Program exited with status 127.
    Action: Review your concurrent request log file for more detailed information.

    Chris,
    It appears that these links are not savable.You need to refer to the docs in those threads for the steps you have to follow to setup a printer on Linux/Unix.
    How to Setup Printer for Oracle Applications 10.7 - 11.5.x Quick Reference [ID 123140.1]
    How to Test an Initialization String Outside of Oracle Applications [ID 106186.1]
    How to setup Printer Arguments Within Oracle Applications [ID 73804.1]
    Oracle Applications Character Printing [ID 112172.1]
    lp: The printer or class was not found.
    APP-FND-00500: AFPPRN received a return code of failure from routine FDUPRN. Program exited with status 1As applmgr, source the application env file and issue "which lp" and make sure it is accessible by the OS user. If the command is available, then it is something with your printer definition -- Issue "system-config-printer" from the command prompt to launch the Printer Configuration Tool and configure your printer at the OS level.
    Thanks,
    Hussein

  • Migration from windows to Linux - JAR files not generating under JAVA_TOP

    Hi DBA's
    Jar files not generating under JAVA_TOP after migration from windows to linux.
    I followed workaround but same in result.
    Workaround
    Run this command. It will give the missing file
    adjava -mx512m -nojit oracle.apps.ad.jri.adjcopy -masterArchive $JAVA_TOP -sync -reportfile javatopfiles.lst
    Then run this command
    adjava -mx512m -nojit oracle.apps.ad.jri.adjcopy -masterArchive JAVA_TOP -sync -mode APPLY
    I have checked in google.
    Best Regards,
    Suresh Gelda

    Suresh,
    I can find the following error in the log file:
    JarSigner error output:
    Exception in thread "main" java.lang.NoClassDefFoundError: sun/security/tools/JarSigner
    Caused by: java.lang.ClassNotFoundException: sun.security.tools.JarSigner
         at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
         at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
         at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
    Could not find the main class: sun.security.tools.JarSigner.  Program will exit.Please review the following notes for suggested solutions:
    Note: 393306.1 - Generate Jar File causes NoClassDefFoundError sun/security/tools/JarSigner
    https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=393306.1
    Note: 269054.1 - Running adadmin to Force Regenerate of the Java Files Fails
    https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=269054.1

  • Transfering files from windows to linux

    Hi,
    My requirement is Client will select files from widows and then click zip.In server(linux) i have to get those files and zip.Here i am unable to get the files sent by the client.
    Suppose client will select the file in C:\xxx then click zip.In linux am using request.getParameter() from getting those files.Here in linux it is getting the path of the file as C:\xxx and unable to locate.Giving FIleNotFound Exception.
    How can resolve this issue.
    Regards,
    Babu

    Hi Boss am getting the problem in transfering files from windows to linux.
    In linux it is unable to locate the file which was selected by the client in windows.
    Am using request.getParameter () to get the file.How to solve this.

  • 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

  • CF8 - move from Windows to Linux - License?

    Hi all,
    I'm still trying to get this answered by Adobe customer
    support, so I figured maybe somebody already knows the answer...
    I want to switch a server running CF 8 Standard from Windows
    2000 to Linux. Before I begin, I want to find out the CF 8 license
    implications. Are keys cross platform? Will I need to request a new
    key?
    regards,
    gc

    I went ahead and just did the re-install, and the serial
    number originally used for the Windows version worked fine for the
    Linux version.

Maybe you are looking for

  • HP LaserJet p1102w with Mac OS X10.6.8 HTML config issue

    Hello,  I have been using this printer for a few years now and have moved house a few times and successfully updated the wireless settings on the printer through HTML config. Lately, in printer utilities the HTML config button does not show up where

  • Can't play burned CD's in my car

    Audio CD's burned from itunes work fine in my computer, but won't work in my other players or car. Thanks

  • Required Itunes component is not installed -42404

    My system is Windows 7 64bit.  After the iTunes update to 10.3, iTunes is now unusable, will not reconize my iphone.  Get the following messages Required iTunes component is not installed -42404 Could not purchase required iTunes compoenet is not ins

  • GRC AChow to operate the scheduler (Daemon manager )  with a WebDispatcher?

    Hi all, A technical question: We access the application via a Web dispatcher (hc001wck: 80) which leads us either to AS Java hc001wdm: 52000 or to the Java AS hc001wdn: 52100.$ Everything works well for the Java "transaction" but the backgroundjobs f

  • Please recommend a book of LiveCycle for me?

    Dear All. I would like to learn to LiveCycle. already visited book store, but there wasn't suitable book of LiveCycle. If you know book which is LiveCycle,  Please let me know. Thanks.