Move database to new server from ASM to FS

Hey, I have to move my database from ASM to filesystem storge (10.2.0.3 on sles 10 sp1)
The new server is also sles 10 sp1.
Can I just do an full export on the source site, and an import on the target site ? Will that work ?
Any other steps to perform ?
Chris

Hi,
1. Export db wlth FULL=Y . and then we have to create new database at target location and then import operation have to done.
2.we can take rman backup, restore rman backup in target location. This method will reduce the complexity
take backup through Rman.
Target location:-
1. export ORACLE_SID=xxx
2. rman target /
3. startup nomount
4.RMAN> RESTORE CONTROLFILE FROM 'backup piece';
5.RMAN> alter database mount;
6.
set newname for datafile '+DG/datafile.dbf' to 'FS/location';(do for all datafiles)
restore database;
switch datafile all;}
7. alter database rename file '+DG/datafile.dbf' to 'FS/location';(do for all datafiles)
8.alter database open;
follow these steps from ASM TO FS.
Edited by: startup on May 23, 2013 7:41 PM

Similar Messages

  • Break cluster and move databases to new server

    Hello everyone.  I have a question that may be basic but I am by no means a SQL person.  Right now we have a SQL 2005 cluster running on VM ESXi with a celerra backend storage.  Some drives are mapped Raw.  We recently put in a new
    VNX and we are not able to migrate the SQL server over due to how the drives are mapped.  I am thinking that I want to build a new SQL server and move the databases.  The new build will not be a cluster since we have point in time recovery manager
    from EMC.  Now my thinking is, can I break the cluster, move the 2nd node to the new ESXi and storage and present new storage or would it be best to just build a new server?  Is it easy enough to change an instance name after SQL is running? 
    Several applications refer to the SQL Cluster and they are critical so I need something with least amount of downtime.  Would doing backup of all of SQL and then a restore to the new system be best?  Any thoughts or direction?  Thanks
    Joe M

    The most straightforward and reliable method is to build a new server, migrate the databases using backup/restore, test the new server, and cut-over by shutting down the old servers and either reconfiguring the client applications or renaming the new server
    to have the same network name as the old server's SQL Cluster Client Access point. 
    You can also use DNS redirection instead of renaming the new server, although using a DNS hostname alias for your server requires some additional security configuration.  EG
    http://blogs.msdn.com/b/dbrowne/archive/2012/05/21/how-to-add-a-hostname-alias-for-a-sql-server-instance.aspx
    David
    David
    David http://blogs.msdn.com/b/dbrowne/

  • Use unused server as share point server after move databases to new server

    HI,
    we have a single server share point farm (ServerApp01) for Intranet and it connects to a SQL SERVER 2008 R2 database server (Server02),
    and now  we moved all sharepoint databases and content dbs to new sql server in different server (ServerSQLNew).
    using sqlalias we point to new SQLSERVER 2012 Instance in this new server.
    - now the old sql server (Server02), is not in the sharepoint  farm 
    - now can i add this server in intranet farm and  use this old server (Server02) as wfe server ?
    here my doubt is  when i open cliconfg.exe i saw that sharepoint server pointing to this old server name (Server02),
    after i will join this server to existing farm is any issues?
    adil

    hi
    i already turned off sql server instance in old sql server in my case in Server02.
    In share
    point Server (ServerApp01) i opened cliconfg.exe and add sqlaliases to point to new sql server.
    If i rename  server02 server or rebuild
    the server with a clean OS install  still  Sharepoint Farm works right?
    below is the scenario of sqlalias in sharepointserver (serverapp01)
    adil

  • Move database to new server

    I hava Oracle 10.2.0.1.0 on Solaris 10.5 and wants to move it to Oracle 11.1.0.1.7 on same platform, but different server using exp/imp.
    I am not aware of any other precondiction I need to meet before carrying on this exp/emp. If there is a precondition, I will appreciate if you can share it.
    Does the database needs to shut down
    Do I need to copy any files from old database
    Here is my par file:
    userid = system/****
    file = /h/share/database/db/backups/CBEXP.dmp
    log = /h/share/database/db/backups/CBEXP.log
    statistics = none
    full = y

    You can do exp/imp if you have the same schema infrastructure and db objects at the target db. Otherwise you have to clone the database to the new target.
    1. Create a new DB with DBCA at the target server
    2. Shutdown the source and target databases
    3. Do a cold backup (which means copying all datafiles to the target directory)
    4. Startup the source db
    5. Create a backup control file on the target db such as follows;
    CREATE CONTROLFILE SET DATABASE "<SID_of_clone_database>" RESETLOGS
    NOARCHIVELOG
    -- SET STANDBY TO MAXIMIZE PERFORMANCE
    MAXLOGFILES 5
    MAXLOGMEMBERS 3
    MAXDATAFILES 100
    MAXINSTANCES 1
    MAXLOGHISTORY 4991
    LOGFILE
    GROUP 1 'D:\Oracle\Oradata\NUNDQOL\REDO01.LOG' SIZE 100M,
    GROUP 2 'D:\Oracle\Oradata\NUNDQOL\REDO02.LOG' SIZE 100M,
    GROUP 3 'D:\Oracle\Oradata\NUNDQOL\REDO03.LOG' SIZE 100M
    -- STANDBY LOGFILE
    DATAFILE
    'E:\oracle\oradata\NUNDQOL\SYSTEM01.DBF',
    'E:\oracle\oradata\NUNDQOL\UNDOTBS01.DBF',
    'E:\ORACLE\ORADATA\NUNDQOL\CWMLITE01.DBF',
    'E:\oracle\oradata\NUNDQOL\DRSYS01.DBF',
    'E:\ORACLE\ORADATA\NUNDQOL\ODM01.DBF',
    'E:\oracle\oradata\NUNDQOL\NUNTQOL.DBF',
    'E:\oracle\oradata\NUNDQOL\NUNTQOL_IAM.DBF',
    'E:\oracle\oradata\NUNDQOL\INDX01.DBF',
    'E:\oracle\oradata\NUNDQOL\TOOLS01.DBF',
    'E:\oracle\oradata\NUNDQOL\USERS01.DBF',
    'E:\oracle\oradata\NUNDQOL\XDB01.DBF';
    6. STARTUP NOMOUNT of the target database
    7. execute the backup control file
    8. RECOVER DATABASE UNTIL CANCEL USING BACKUP CONTROLFILE;
    ALTER DATABASE OPEN RESETLOGS;

  • MOVE REPLICATION DATABASE TO NEW SERVER

    WE HAVE A PRODUCTION DATABASE THAT WORK'S AS REPLICATION FROM 9 DATABASES, WE ARE GOING TO MOVE DATABASE TO NEW SERVER.
    AS DATABASE IS PRODUCTION, WE CAN NOT STOP SERVICES. WE THINK TO CREATE A NEW DATABASE ON NEW SERVER, IMPORT DATA FROM PROD. DATABASE. SIZE APROX 100GB.
    QUESTION:
    I NEED TO KNOW HOW I CAN STOP SERVICES SHORT TIME. TO CHANGE TO SNEW SERVER.
    THANKS FOR YOUR SUGGESTIONS

    Здравствуте Ivan.
    Before i would do anything like this i would make sure that i have a good valid backup (just in case!).
    I would check all the applications that are currently conencting to your ORacle and make sure they are all conneting 'by name' not the IP. Or and then i would check DNS server (make sure nslookup is working) to makesure that everything resolves correctly after the moving DB to another machine.
    Then check that the oracle_home etc are in the same directory and check that all paths etc in the configurations are the same.
    Hope this helps
    Kind Regards

  • Move Owb database to new server

    Hi,
    We are going to move our Owb (9.2.0.2.8) database to a new server. The nodename isn't going to change only the ip-address will change. The OS will be the same.
    The steps will be:
    1) install Owb on new server
    2) copy database to new server
    Is there some other step we'll need to take?
    regards,
    Ivan

    Здравствуте Ivan.
    Before i would do anything like this i would make sure that i have a good valid backup (just in case!).
    I would check all the applications that are currently conencting to your ORacle and make sure they are all conneting 'by name' not the IP. Or and then i would check DNS server (make sure nslookup is working) to makesure that everything resolves correctly after the moving DB to another machine.
    Then check that the oracle_home etc are in the same directory and check that all paths etc in the configurations are the same.
    Hope this helps
    Kind Regards

  • Migrate Mirror Database to New Server

    Hi,
    I need to migrate my SQL server Mirror Database to
    a new server. my current setup is as below
    1. server A principal (192.168.1.100)
    2. server B Mirror     (192.168.1.200)
    now i have a new server (Server C) to replace server B as below
    1. server A principal (192.168.1.100)
    2. server C Mirror     (192.168.1.300)
    my question is how to migrate mirror db to new server without any affect or downtime on principal server, please share idea/experience for above.
    note: SQL SERVER 2008R2 EE(64BIT), Win2008R2 EE 64bit.
    Regard
    Faisal Wahid

    Thanks for your quick response.
    Is it possible something like in oracle (pardon as i am oracle DBA not sql server guy), 
    (Oracle Steps to migrate standby(mirror) db to new server)
    1. Pause replication on primary(principal) 
    2. Move standby(mirror) database files to new server(using copy/rman/etc).
    3. Update connection information (TNS in oracle) on primary(principal) to point new server.
    4. Start replication on primary(principal).
    the above steps will simply migrate the standby(mirror) database to new server,
    can we do something like above in sql server?

  • Recovering andrestoring of database in new server after current server fail

    Hi,
    If we have a disaster ,where the Database server has gone and we can not use it again.
    1) We do not have dataguard.
    2) We have rman backup file of 2 days before (Full database backup). Rman backup with nocatalogue
    3) Flashback log files of 2 days back
    3) Archive log till yesterday
    4) Export file of morning.
    Can we be able to restore and recover our database in new server
    if yes then how.
    Because RMAN Backup has its DBID and the new Oracle software which i install on new server will be installed with new ID.
    Please help me understanding this thing (About target database)
    Regards

    First of all, you should install the software on the server only, you should NOT create a database.
    As you can restore a database to a new host (and this is documented), you won't have any problems. That is, if you don't create a database during installation, and read up on recovery.
    I wonder: why do all those anonymous users always can't be bothered to read the documentation, and ask others to paraphrase it for free?
    Sybrand Bakker
    Senior Oracle DBA

  • My old laptop crashed and I need to restore my iTunes music and movies to my new laptop from my iPod Touch. Help please. Thanks!

    My old laptop crashed and I need to restore my iTunes music and movies to my new laptop from my iPod Touch. Help please. Thanks!

    See:
    Syncing to a "New" Computer or replacing a "crashed" Hard Drive: Apple Support Communities

  • Move mailbox database to new server (new domain)

    Hey,
    I want to move a mailbox database from a broken server to a new server in a new domain.
    We are already using the new server and I am wondering if I can merge the databases or make the old mail available in any way. Currently everybody has done a pst export before adding the new mailbox.
    Thanks,
    Jason

    Hi Jason,
    Exchange Server 2013 introduces the concept of batch moves and migration endpoints. Migration endpoints are management objects that describe the remote server and the connections that can be associated with one or more batches. And, the new batch move architecture
    improves on MRS moves with enhanced management capability. You can select the appropriate method to move your mailboxes.
    Here is an article for your reference:
    Mailbox moves in Exchange 2013
    https://technet.microsoft.com/en-us/library/jj150543(v=exchg.150).aspx
    Hope this can be helpful to you.
    Best regards,
    Amy Wang
    TechNet Community Support

  • Move MaxDB database to new server

    Hello,
    I would like to move a MaxDB (Content Server) database from a Windows 2003 x86 server to a Windows 2003 x64 server. I will be moving from 7.5 to 7.6 at the same time. Reading around the subject, this is what I have done so far:
    Target Server:
    Used SAPINST to install the MaxDB 7.6 / Content Server 6.40 on the new x64 target server.
    SAPINST created a empty database on the target server and I added the appropriate number of volumes.
    After playing around I used db_active to initialize the target database.
    Put the target database in admin mode.
    Source Server:
    Used  backup_start CompleteData RECOVERY DATA to create a backup of the database.
    Target Server:
    Created a backup medium called Restore and pointed this at the copied backup file.
    In db_admin mode executed a recover_start "Restore" DATA
    db_online
    Re-created the system tables (via wizard or dbmcli)
    Questions:
    Do I need to apply any log backups here (assuming no activity on source)?
    If there were activity on the source and I applied the logs to the target, how do I apply the data that is in the transaction logs but not currently written to the log backup?
    There is no backup history on the target server, how does it know how far to go and that the log recovery is complete?
    Can the backup history be copied from souce to target?
    Thanks,
    Philip.

    Hello Philip,
    SAP Note 1089402 - "Shortening backup history for MaxDB/liveCache instances" is useful in this case:
    The backup history of a database instance that is based on MaxDB is stored in the files dbm.knl and dbm.mdf in the run directory (usually, /sapdb/data/wrk/<DBSID>)
    You can copy these two files in the new server in order to apply the log backup to the restored database BUT... this is not supported by SAP, because as far as I know there is no SAP Notes where you are asked to do so.
    So, the supported procedure is to restore the DB but you shouldn't apply any backup log
    Regards,
    Valerio

  • How to move or copy a database to new server

    Greetings All,
    Oracle Enterprise 11g r2, on a Windows2008 platform.
    I would appreciate some advice regarding moving/copying a database to a new server. Some of the information below may not be pertinent to my goal. Please be patient as I am a newbie.
    I have installed oracle and created a database (prod03) on the new/target server. I created the same tablespaces (and datafiles/names) as are on the existing/source server (prod01), except that on the new/target server (prod03) there is 1 more data file for the USERS tablespace than there is on the existing/source server (prod01).
    My initial thought was to perform a expdp full=y.
    The database contains 220 schemas, when I performed an expdp full=y estimate only it indicated 220Gb. I think this would take much more time to export and then import than what I hope to be able to do below.
    I would like to be able copy the datafiles from the source server prod01 server over to the target server prod03, some names/locations will change.
    One scenario I found (http://www.dba-oracle.com/oracle_tips_db_copy.htm) was to backup the control file to trace on the old/source server (prod01). Copy everything to the new/target server. Tweak the file that creates the new control file.
    Step 4 of the above mentioned link says to change
    CREATE CONTROLFILE REUSE DATABASE "PROD01" NORESETLOGS to
    CREATE CONTROLFILE SET DATABASE "PROD03" RESETLOGS
    Notice the change from REUSE to SET. I am not sure if this is right for my situation.
    Could I issue a backup control file to trace on the target server (prod03), add the reference to the additional datafile. Copy over all of the datafiles for all of the tablespaces (users,system/sysaux/undotbs1,temp),
    Delete the existing control file, and generate the new control file.
    Then perhaps issue a startup resetlogs or startup recover?
    Thanks for your time,
    Bob
    Edited by: Snyds on May 17, 2012 12:26 PM

    So unless someone provides me with an rman script I can't use rman.google is your friend
    Simply telling someone to get the experience dose not help. So your post is useless to me.I suppose you do not have experience with "old-school" manual cloning as well.
    Import of entire 200GB DB with datapump or imp will also require some experience otherwise it will be a long-long exercise.
    So, basically, any advise may be useless to you, because of your "the fact is I don't have the experience. Nor do I have the time to obtain the experience."

  • How to mesure/benchmark performance of a new database on new server?

    Hi there
    I have two oracle servers with following (same) details:
    RHEL 5.8 64-bit
    Oracle 10gR2 - 10.2.0.5.8
    ASM 10gR2 - 10.2.0.5.8
    Server A: RAM 32GB, 8 CPUs @ 3.00GHz
    Server B: RAM 128GB, vCPUs 16 cores
    Server A (physical server) already has a database A. Server B (on VMWare - yes, my client is moving all Oracle servers to VMware for whatever reason) is a new installation and new database B with exact same init params as databas A. I expdp the data from database A and impdp into database B.
    As per the hardware team, the hardware is better than the old server B. I did a very basic test to check if new DB performs better than that on physical server. Here is the results:
    I ran a simple query to create a new table. The original table (say, table_a) contains 1.7+ million rows and size is 2.2GB.
    create table test1
    as
    select * from table_a;
    It took 3:28mins on database B while it took only 1:55mins on database A. So the new database B seems to be performing poor (apparently). Then I looked at the explain plan (not sure if it means much because it s a very simple query) and here it is from both databases:
    Database A (physical server
    Plan
    SELECT STATEMENT ALL_ROWS
    Cost: 14,052  Bytes: 2,161,302,003  Cardinality: 16,250,391 
    1 TABLE ACCESS FULL TABLE table_a
    Cost: 14,052  Bytes: 2,161,302,003  Cardinality: 16,250,391 
    Database B (virtual server)
    Plan
    SELECT STATEMENT ALL_ROWS
    Cost: 59,844  Bytes: 2,161,302,003  Cardinality: 16,250,391 
    1 TABLE ACCESS FULL TABLE table_a
    Cost: 59,844  Bytes: 2,161,302,003  Cardinality: 16,250,391 
    Questions:
    1. Why is the cost different? Should I "compute statistics" on database B (virtual server)?
    2. How to investigate further and find out reason for the time difference?
    3. What other benchmark test can I run to make sure that I have the right database configuration?
    Not sure if this is enough info - if not, please let me know what else should I provide.
    The team I have to hand-over this server is refusing to accept it by saying that it is slower than the existing one.
    Please advise!
    Best regards

    Wow... I am really thankful for everyone's input - this is really really appreciated!
    I will try what you all have suggested. In the meantime, I did some simple test on both databases and here are the results:
    Create table t1
      (1.7million rows)
    Create index on
      two columns on t1
    Create table t2
      500000 rows
    Create Index on
      two columns on t2
    Delete from t1
      (500000 rows)
    Insert into t1
      500000 rows
    Drop  table t2
    Drop table t1
    Database A
    hh:mm:ss.00
    hh:mm:ss.00
    hh:mm:ss.00
    hh:mm:ss.00
    hh:mm:ss.00
    hh:mm:ss.00
    hh:mm:ss.00
    hh:mm:ss.00
    1st run
    00:01:55.78
    00:02:12.59
    00:00:03.06
    00:00:01.99
    00:01:25.56
    00:00:10.37
    00:00:00.15
    00:00:05.12
    2nd run
    00:01:56.27
    00:02:11.54
    00:00:02.89
    00:00:01.09
    00:01:18.39
    00:00:10.20
    00:00:00.17
    00:00:04.87
    3rd run
    00:01:56.71
    00:02:12.36
    00:00:03.14
    00:00:01.13
    00:01:22.97
    00:00:10.22
    00:00:00.15
    00:00:04.88
    Database B (VM)
    hh:mm:ss.00
    hh:mm:ss.00
    hh:mm:ss.00
    hh:mm:ss.00
    hh:mm:ss.00
    hh:mm:ss.00
    hh:mm:ss.00
    hh:mm:ss.00
    1st run
    00:00:25:83
    00:03:54.60
    00:00:00.67
    00:00:01.43
    00:00:29.56
    00:00:09.75
    00:00:00.05
    00:00:01.10
    2nd run
    00:00:24.67
    00:03:05.81
    00:00:00:62
    00:00:01.10
    00:00:31.76
    00:00:08.59
    00:00:00.04
    00:00:00.59
    3rd run
    00:00:44.06
    00:03:12.91
    00:00:00.97
    00:00:01.62
    00:00:39.35
    00:00:08.90
    00:00:00.03
    00:00:00.61
    Now, the database on Server B (VMware) seems to be outperforming that on Server A except for the "Create index on two columns on t1" column.
    Any clues why index creation is consistently taking longer on the database B (on VM) as compared to that on database A (physical server)?
    @jgarry: I am not in a position to try SLOB (no doubt a good tool with lots of reputation) because it requires to create a new DB (which I cannot do on the existing server). I did try "HammerDB" but unfortunately it crashed on each attempt to test the load.

  • 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

  • Move gridcontrol to new server

    hey,
    i have a new server and has the same path names en os are the same.
    i have to move my gridcontrol to the new server what are the step to do ore is there a simple movement because the os and path name are the same.
    Message was edited by:
    sham

    I would do the following:
    - reinstall grid control on the new host
    - backup repository database from old host
    - stop grid control on the new host
    - restore repository database to new host
    - start grid control on new host
    I don´t think that there is a supported way of moving the OMS to a new host. However if the new host has the same hostname and the same ip, same os patchlevel, etc. it could work. But as soon as the hostname is different, manually moving and replacing all the references to the old hostname is not recommended.
    Regards,
    Martin

Maybe you are looking for

  • Where is the compadibility mode on windows xp i can't locate it in Properties

    please help I have a Dell computer

  • Template Update on Remote Server - How To?

    When I make a change to my template, I get the popup window that allows me to update the entire site or just files connected to a template. But, that just updates files on my local computer. I'm accessing the template file on the remote server and ha

  • LED FLASH ISSUE !

    Hello guys,im using an i5, my problem is about the led flash of iphone.LED flash is turning off itself when i tried to use it from the control panel.And my iphone is taking dark pictures in full of lightning room,when the flash is on.im not using a b

  • Quickly creating an intro to multiple compositions

    Thanks for checking out my post! He is an overview of what I'm trying to do: Take approximately 200 videos, insert a 10 second countdown (I have a pre-rendered video, but I don't have to use that particular one), and slow the videos down, and render

  • Another 'Cannot mutate bound sequence' Question

    Hi Everyone, The below code throws a "Cannot mutate bound sequence" when the line (id:'a') is pressed first. However it runs fine when lines 'b' or 'c' are pressed first. But the output shows the correct line 'a' has been deleted when pressed first.