Migration of databases on different servers

Hello

I have a task at hand in which I have to migrate 3 databases of its current server (HP-Unix) on a new server (HP-Unix) B

From now on, databases (Dev/QA and Prod) are running on 92060 and size is 350 GB database. I want to migrate to a new server and upgrade to 11g.

Could if it you please let me know the best way to approach this situation which will result in a minimal downtime.

1. create a new 11 g OH and B target the database to the server. And to import/export. But given that the data are 350GB, this will be a good approach?
2. create a new 11 g OH in a server source and upgrade the database. Move it to the server B target by creating a database of pending.
3. is there another easy easy approach other than mentioned above?

Please, share your ideas!

Thank you!

But we have a strict process in which we are not supposed to install the files on the Server binary 9i target B

I would look at it differently. One server be your current production server should not allow new binaries (e.g. 11 g), being installed on this subject.

Server B can run 9i Eve and upgrade test 11g with no impact to production until you are comfortable with the migration steps and make a production migration.
Withdrawal of 9i after migration of the production would be easy - as long as you do not remove the wrong files. Even so come worse worse, you still have your intact production on server A database to fall back.

In addition, with your last proposed strategy, if things go wrong during the 9i - 11 g was updated on the server A, you do not have a backup. To actually do a full restore.

If things go wrong with the upgrade on server B, your rescue is to restart the server.

Hemant K Collette
http://hemantoracledba.blogspot.com

Published by: Hemant K grapple on April 27, 2010 12:03 AM

Tags: Database

Similar Questions

  • Can I set up custody of data between databases already available on two different servers?

    Hi, people

    Can I set up custody of data between databases already available on two different servers? If Yes please can you share the links.

    Host operating system: business Red hat Linux 6.5, 64-bit

    The two DB: Oracle 11.2.0.1

    Thank you

    But my question is that I have already two databases running on two different servers that have different data as well.

    In this case we can able to configuration data guard on these two databases.

    The answer may well be yes or no depending on what exactly you mean. Let me explain... Suppose that my Setup matches your description. I have two database servers, we will call them HOST01 and HOST02. HOST01, I have a database named ORCL1 and HOST02 I have a totally different database named ORCL2. Two databases... two hosts.

    Can I do ORCL2 a physical database ensures for ORCL1? The answer is no, I can't. I can't use another existing database to be one physical standby of another. ORCL2 must be destroyed and ORCL1 copied to HOST02 so that I have a database of duplicate.

    Can I use ORCL2 logical waiting for ORCL1? Yes. However, it would be a rare configuration.

    Can I copy ORCL1 to HOST02 and create a physical standby of ORCL1 on HOST02? And then can copy ORCL2 to HOST01 and HOST01 to provide a physical standby for ORCL2? The answer to both is Yes. You can have the other provide a standby for the guests of the database have sufficient resources to support the primary one and the expectation of the other.

    HTH,

    Brian

  • Want to migrate the database (4node RAC) size of 4 TB of 10.2.0.5 at 11.2.0.4 on the new servers where the new type servers Primary (4 nodes) and Eve (4 nodes).

    Want to migrate the database (4node RAC) 4 TB size of 10.2.0.5(8 rompt = 4 prim/4 veille) to 11.2.0.4 on the new servers where the new type servers Primary (4 nodes) and Eve (4 nodes).  So with minimum downtime I have restore and recover again on 11.2.0.4 server must then clone that to create the day before.   Here, my question is can I take 0 backupp level before hand and restore on target (new) then primary at the time to leave the downtime take backup of level 1 of 10g and then retrieve it on 11g (new server) after successful recovery I'll perform clone to form eve of database on the new server. does this strategy work? If it works, can someone suggest me steps how can I need recover with backup after restoring the backup of level 0 on 11g. Like should I upgrade before you retrieve it with level 1 backup or I can update and then recover with the level 1 backup from the old server to the new server.

    Here is former servers of RHEL 5 version and new servers are RHEL 6 release.

    Post edited by: Umair_ali

    1 backup L0

    2 restore L0

    3. L1 and ArchiveLogs database backup

    4. copy BackupPieces L1 and ArchiveLog BackupPieces on new server

    5 CATALOGUE START WITH... to catalog the BackupPieces

    6. TOGETHER until lastavailable SNA / Archivelog + 1

    7 RECOVER DATABASE (should automatically identify the L1s and to apply ArchiveLogs)

    8 STOP

    9 START UPGRADE

    10. run catupgrd.sql

    You should also take care on the locations of the data file, dump, instance settings destinations, all link database from the database, connectivity application etc.

    Hemant K Collette

  • Migration of database

    I am migrating the database MySQL embedded to a standalone database. I understand, it is not supported for migration all in the DB to mySQL, SqlServer, but I'm getting a lot of pressure back to management on why this is the case.  After all, "a database is a database" and "why don't you just suck the datastructure of mySQL and recreate them in SQLServer?

    Is the reason for this limitation of migration documented somewhere, or there at - there someone who can explain to a relatively high level, what the limits are here so I can relay this back to people interested here?

    Hi Brian

    Yes, in theory it's just tables and data, but unfortunately

    + foreign keys

    + footage

    + stored procedures

    all are not automatically processed by any tool (not even not mysql Oracle > migration tool oracle follows after that) and cannot be developed to be handled in a generic way, as you might think since we own our conception of the code table. Foglight is a great product with lots of independent parts using different technologies to use the database, so a migration by the function must be developed which makes it expensive to make and test.

    We do not support the migration of a mysql embedded to external mysql, which should be the recommended approach IF the database instance must absolutely be managed externally.

    Concerning

    Nils

  • Migration vCenter database of the local instance to a remote server

    Hello

    My vCenter database is installed on the local server with the vCenter server.  When installing without DSN was created because the local database.  Now, I need to create a dedicated server to host the database but can't find where, in the current installation, I would like to change to vCenter point to the new location.

    I read these KBs

    KB.VMware.com/kb/7960893 - movement of the SQL Server to vCenter database
    KB.VMware.com/kb/5850444 - migration vCenter Server on a different host machine
    KB.VMware.com/kb/1003928 - troubleshooting the database data source used by the VirtualCenter Server

    Problem is that (1) there is no DSN, (2) the registry key is not there either, and (3) I cannot find what to change in the vpxd.conf file

    I am able to "migrate the database" and "can create a new dsn to point to the new location.

    So, the question is where can I find the current configuration of the database\dsn.

    I hope that's clear

    Hi VMGenie,

    The reason why it does not appear THAT DSN u is because your machine VC can be 64-bit and the vCenter uses 32-bit DSN settings.

    Open the C:\WINDOWS\SysWOW64\odbcad32.exe folder for this exe... it should show u the DSN settings.

    Please consider clicking correct or helpful if this information is useful.

  • Migrate the database

    Hi all

    Want to migrate and upgrade a database (size = 150G) Oracle 10.2.0.1 on RHEL 5 (32-Bit) for Oracle 11.2.0.3 on RHEL 5.6(64-Bit) on a new server.

    The source and target are IBM servers.

    Since a production system, downtime has therefore kept to a minimum of 3 hours. The network is slow with a line of 2 Mbps (shared).

    What should be the method?

    Hello

    RMAN converts the database command.

    http://docs.Oracle.com/CD/B19306_01/backup.102/b14191/dbxptrn.htm#CHDEICED

    Please consult Re: migration of databases

    Concerning
    Hitgon

  • to access data from 2 different servers

    I have oracle on 2 different servers data. I want to access the data to retrieve
    through sql query and combine the retrieved data. How to recover data
    on 2 servers.
    Thank you

    Try like this

    SQL> select name from v$database;
    
    NAME
    ---------
    DBDEMO
    
    SQL> create user testing identified by passwd;
    
    User created.
    
    SQL> grant connect,resource to testing;
    
    Grant succeeded.
    
    SQL> conn testing/passwd;
    Connected.
    
    SQL> create table test_tb (id number);
    
    Table created.
    
    SQL> insert into test_tb values(123);
    
    1 row created.
    
    SQL> / 
    
    1 row created.
    
    SQL> commit;
    
    Commit complete.
    
    SQL> select count(*) from test_tb;
    
      COUNT(*)
    ----------
             2
    
    SQL> 
    
    on dblink created machine:-
    
    SQL> select name from v$database;
    
    NAME
    ---------
    DB2
    
    SQL> create user nic identified by nic;
    
    User created.
    
    SQL> grant connect,resource, create database link to nic;
    
    Grant succeeded.
    
    SQL> conn nic/nic;
    Connected.
    SQL> create database link test_db_link connect to testing identified by passwd using '(DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.1.1)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = dbdemo)))
      2  ';
    
    Database link created.
    
    SQL> select count(*) from test_tb@test_db_link;
    
      COUNT(*)
    ----------
             2
    
    SQL>
    
  • Utility FNDLOAD between two different servers

    Hi friends,
    For the phase of the UAT of our project, we have a new server (server with RedHat Linux ES4 HP).
    We need to migrate reports form the unfounded (IBM - AIX 5.3 p) server to the new.
    FNDLOAD works between two different servers?
    If not, please tell me the reason why it doesnot work between servers.
    I would also like to know if there is a way to migrate data between two servers.

    As indicated in the documentation, it does not work between servers. You export the metadata and get an output file. Then, you take the output file and transfer it to the new source. Complete with examples, including the necessary part of XDOLoader.

  • Is it possible to send Radius accounting packets with two different servers?

    Hello experts!

    I have dilemma I send info Radius accounting on two different servers for authentication of the dot1x. Here are the relevent config. However the switch just to send a copy on the first server in the server group...

    RADIUS AAA server Acct group
    ACCT-port of the server 172.17.1.1 auth-port 1812 1813
    ACCT-port of the server 172.17.1.2 auth-port 1812 1813

    accounting dot1x default start-stop broadcast group AAA Acct

    RADIUS-server host 172.17.1.1 auth-port 1812 acct-port 1813 key xxxxxx
    RADIUS-server host 172.17.1.2 auth-port 1812 acct-port 1813 key xxxxxx

    Is it possible to send two copies of two different servers? I tried the key word 'issue' in the aaa accounting command, but it does make a difference. What is doing? I can't find it in the manual...

    Thank you!

    Difan

    Difan,

    You must create two aaa server groups to operate. Allows the sending of accounting records to multiple AAA servers.  At the same time returns accounting records the first server in each group. If the first server is unavailable, the failover occurs using servers defined within this group.

    Accounting AAA broadcast configuration
    The following example shows the turn on broadcast accounting using the aaa accounting global command:

    RADIUS AAA server group isp
    Server 1.0.0.1
    Server 1.0.0.2

    AAA isp_customer radius server group
    Server 3.0.0.1

    AAA accounting network default start-stop broadcast group isp group isp_customer

    host server RADIUS 1.0.0.1
    host server RADIUS 1.0.0.2
    Server RADIUS key key1
    RADIUS-server host 3.0.0.1 key2 keys

    The broadcast keyword causes the start and stop accounting for dot1x connections to be sent simultaneously to the 1.0.0.1 group isp server and Server 3.0.0.1 in the isp_customer group. If 1.0.0.1 is unavailable, Server failover 1.0.0.2 occurs. If the 3.0.0.1 server is unavailable, no failover occurs because backup servers are not configured for the isp_customer group.

    Kind regards

    ~ JG

    Note the useful messages

  • Migrate the Database 9i (9.2.0.1.0) 11 GR 2

    Hello world

    I want to migrate my database to version 9.2.0.1.0 to version 11 GR 2, using the import/export utility.


    I have a diagram owned by the user 'X '. I don't want to influence the system tables, that's why I prefer to perform the import using this syntax.


    IMP System/system_pass@my_db file = d: \dump_file.dmp fromuser = touser = X X


    Is there a risk if I complete export/import?


    Please help me find if the actions I must perform before and after import (such as statistics, the NLS_LANG settings,...)

    Thanks in advance

    If you use traditional export/import, pl see MOS Doc 227332.1

  • Migration of database 11g (11.2.0.1) to 12 c (12.1.0.2)

    Hello

    I have two RAC environment of node on windows 2008 R2 with Oracle 11 g (11.2.0.1) 64. At the same time I built another environment of 12 c (12.1.0.2) software install only on windows 2012 64-bit using ASM. It is once again two-node RAC

    I want to migrate the database 11g (size about 400GB) on the 12 c environment.

    My preference is to use RMAN. Could you get it someone pls let me know what is the best way to perform this migration.

    Note: I don't do this in the Test environment so no issue on time.

    Any help would be appreciated.

    Concerning

    Hello

    The minimum version required to upgrade to 12 c is 11.2.0.2.0

    The version of your database is 11.2.0.1, so first you must upgrade to 11.2.0.2 or later and then update can be performed.

    This requirement applies to the backup rman as well.

    We do not have this restriction with datapump

    You can also check for TTS, Golden gate methods.

    Thank you

    Krishna

  • Migration cold - how many simultaneous servers

    We have a customer moving servers from one host to another host in the same ms. We do a migration cold because there are some limitations to this customer and no SAN/storage network so all local drives on the host server. Although we can now do vMotion without storage applications SAN/network has some limitations too and client wants to move which is supported by the seller and do not go by what VMWare can support. Our question is when we make cold migration using vCenter doing this option, stop comments right click migrate host and data store servers how can we move simultaneously at once a single server at a time, or we can do more than one. Any help would be appreciated. I am less familiar with this side of vmware, so feel free to ask for more information in case if I did not understand our scenario.

    VCenter is 5.5

    Esxi host on source version is 5.1 and destination is 5.5.

    There is a little math to do, but you can see the rates here: https://pubs.vmware.com/vsphere-55/index.jsp?topic=%2Fcom.vmware.vsphere.vcenterhost.doc%2FGUID-25EA5833-03B5-4EDD-A167-87578B8009B3.html

  • Migrate the Database 9i to 11 GR 2

    Hi all

    I want to migrate our Database 9i to 11 GR 2 by using import/export.
    Is this process supported?

    Before export 'someone said' I need to:

    Export NLS_LANG to avoid the conversion of database error

    Export NLS_LANG = AMERICAN_AMERICA. UTF8

    Is this true?


    Thank you very much

    If my nls_lang database is UTF8 and my GR 11, 2 target database is UTF8, should I still export nls_lang?

    There are 3 players on export/import: the database source, the target database and the client where you export. All 3 should be the same to avoid undesirable results.

    What is the right time to use export NLS_LANG? I guess if my db of the source is not the same nls_lang as my target DB.

    You export NLS_LANG to the client before you run the export.

    So I have my db target or export the nls_lang to my db from the source?

    The source, but, as said, all 3 should be the same.

  • ESXi 4: error in live migration (VMotion) to the different data store (Local SATA to iSCSI SAN)

    Hi all

    I have a problem during VM migration live in the different data store, the specifications of the virtual machine is just Windows 2003 x 64 installed with the latest VMWare tools.

    Here is the error message:

    Move the virtual machine

    Win2003x64_RST01

    A general error occurred: detected Source this destination could not resume.

    The active state of VM migration

    any idea what could cause this please?

    Kind regards

    AWT

    Check that the machine ESX4 has prevention performance virtualization and data, indicators enabled in the BIOS. I could move 32 bit machines vmotion Unflagged VT turned on in the BIOS, but 64-bit machines could not begin until I activated the flag of VT in the BIOS.

    Also try to clear the mask of the source of the VM CPU before migrating, providing the hosts have the same hardware.

  • Migration of database 10g and 11g

    Hi gurus,

    How can we migrate the database from gr 10, 2 to 11 GR 2 with rman.

    Thank you!

    PL see these Docs MOS

    The database upgrade Version online by using streams and RMAN [ID 782444.1]
    RMAN restore backups as part of an upgrade of database [ID 790559.1]

    The recommended method is to use such DBUA indicated in the link above

    HTH
    Srini

Maybe you are looking for