Migrating database target to new host

Hi,
I have OEM Grid control 10.2.0.5 running on Red Hat Linux 64 bit
I have a database target with version 9.2.0.6 and grid agent on this target host is 10.2.0.5.
I want to migrate my this database target from current server to another server and name of server will be changed. I have historical data about this database target in my OEM Grid. Is there any way that i can migrate my database to other server with new name and install agent there but don't want to loose the statistics data about this target database from OEM Grid because as far as i know, i would need to remove this target database and target node, then migrate database to new server(node) then reconfigure this target node and this target database. So any way to do this without deconfiguring the target database during this migration?
Salman

Salman Qureshi wrote:
Hi,
I have OEM Grid control 10.2.0.5 running on Red Hat Linux 64 bit
I have a database target with version 9.2.0.6 and grid agent on this target host is 10.2.0.5.
I want to migrate my this database target from current server to another server and name of server will be changed. I have historical data about this database target in my OEM Grid. Is there any way that i can migrate my database to other server with new name and install agent there but don't want to loose the statistics data about this target database from OEM Grid because as far as i know, i would need to remove this target database and target node, then migrate database to new server(node) then reconfigure this target node and this target database. So any way to do this without deconfiguring the target database during this migration?
Hi Salman
As server name will be changed , I am not sure if it is possible. What you can do is , just configure database on new server with a different name and keep the old configuration in GRID. In this you target will be unavailable all the time but you can get the historical report about this.
Regards
Rajesh

Similar Messages

  • Migrate 12c OMS to new host

    I need to migrate existing 12c OMS host only from smaller resource host to large resource host with the same repository database. From all the docs I have understood to follow below steps:
    1.Shutdown OMS on existing host
    2.Install OMS on new host with connection details to the same repository db
    3.Migrate all agents to point to new OMS by modifying the <AGENT_HOME>/sysman/emd.properties file
    If anybody has performed similar OMS migration please let me know if this is the right approach or I am missing any steps?
    Thanks in advance
    Amit

    Hi Venkat,
    I am now proceedin with the migration of OMS, going through the list of steps, I was not actually able to get Step 7 in the doc link you provided:
    ======================================================================================================================
    7.In the Cloud Control console, locate the 'WebLogic Domain' target for the Cloud Control Domain. Go to 'Monitoring Credentials' and update the adminserver host to host B. Then do a Refresh Weblogic Domain to reconfigure the domain with new hosts.
    ======================================================================================================================
    I tried to explore the "monitoring credentials" option but it seems to be something different but not sure I went to the Weblogic console where it has the option of lock&edit and change the admin server host. Do you know am I at the right place?
    Thanks
    Amit

  • Using RMAN restore the database on a new host in ASM

    Hello All,
    I am trying to restore a database without using RMAN database duplicate.  I want to do set new name for datafile and rename log file for online logs and change database name at last using NID.
    here are details
    source database - APSPROD / server - X
    target database -  EMERALD / Server -Y
    Compressed backup is copied to destination server and I am trying to restore database using RMAN. Here is my init.ora file
    cat initAPSPROD1.ora
    DB_NAME=APSPROD
    compatible=11.2.0.3
    sga_target=8G
    CONTROL_FILES='+DATA_DM01/EMERALD/controlfile/cntrl01.dbf','+RECO_DM01/EMERALD/controlfile/cntrl02.dbf','+DATA_DM01/EMERALD/controlfile/cntrl03.dbf'
    DB_BLOCK_SIZE=8192
    db_file_name_convert=(+DATA_DM01/APSPROD,+DATA_DM01/EMERALD)
    log_file_name_convert=(+DATA_DM01/APSPROD,+DATA_DM01/EMERALD,+RECO_DM01/APSPROD,+RECO_DM01/EMERALD)
    DB_RECOVERY_FILE_DEST='+RECO_DM01'
    DB_RECOVERY_FILE_DEST_SIZE=5500G
    So from above you can see that control file should be restored to +DATA_DM01/EMERALD and +RECO_DM01/EMERALD path.
    Question -
    when I am trying to restore control file. It creates an ASM alias name in +DATA_DM01/EMERALD/controlfile/cntrl01.dbf',+RECO_DM01/EMERALD/controlfile/cntrl02.dbf',' and +DATA_DM01/EMERALD/controlfile/cntrl03.dbf' but It creates fully Qualified ASM Filename  under +DATA_DM01/APSPROD and +RECO_DM01/
    Here is output
    RMAN> restore controlfile from '/dbfs_direct/FS1/RMAN_APSPROD/cf_APSPROD_i4p4b62m_1_1
    2> ;
    Starting restore at 02-APR-14
    using channel ORA_DISK_1
    channel ORA_DISK_1: restoring control file
    channel ORA_DISK_1: restore complete, elapsed time: 00:00:07
    output file name=+DATA_DM01/emerald/controlfile/cntrl01.dbf
    output file name=+RECO_DM01/emerald/controlfile/cntrl02.dbf
    output file name=+DATA_DM01/emerald/controlfile/cntrl03.dbf
    Finished restore at 02-APR-14
    output at ASM level
    SMCMD [+RECO_DM01/EMERALD/CONTROLFILE] > ls -l
    Type         Redund  Striped  Time             Sys  Name
                                                   N    cntrl02.dbf => +RECO_DM01/APSPROD/CONTROLFILE/current.17006.843826701
    ASMCMD [+RECO_DM01/EMERALD/CONTROLFILE] > cd +RECO_DM01/APSPROD/CONTROLFILE/
    ASMCMD [+RECO_DM01/APSPROD/CONTROLFILE] > ls -l
    Type         Redund  Striped  Time             Sys  Name
    CONTROLFILE  HIGH    FINE     APR 02 12:00:00  Y    current.17006.843826701
    ASMCMD [+RECO_DM01/APSPROD/CONTROLFILE] > cd +DATA_DM01
    ASMCMD [+DATA_DM01] > cd EMERALD/CONTROLFILE
    ASMCMD [+DATA_DM01/EMERALD/CONTROLFILE] > ls -l
    Type         Redund  Striped  Time             Sys  Name
                                                   N    cntrl01.dbf => +DATA_DM01/APSPROD/CONTROLFILE/current.3678.843826699
                                                   N    cntrl03.dbf => +DATA_DM01/APSPROD/CONTROLFILE/current.3679.843826701
    ASMCMD [+DATA_DM01/EMERALD/CONTROLFILE] > cd +DATA_DM01/APSPROD/CONTROLFILE
    ASMCMD [+DATA_DM01/APSPROD/CONTROLFILE] > ls -l
    Type         Redund  Striped  Time             Sys  Name
    CONTROLFILE  HIGH    FINE     APR 02 12:00:00  Y    current.3678.843826699
    CONTROLFILE  HIGH    FINE     APR 02 12:00:00  Y    current.3679.843826701
    How can I ensure that every thing gets created in +DATA_DM01/EMERALD/ or [+RECO_DM01/EMERALD??  similary for datafile restore even I have used set new file name ASM fully quilified OMF  datafile gets created under +DATA_DM01/APSPROD/
    ASMCMD [+DATA_DM01/EMERALD/DATAFILE]
    N    undots5_01.dbf => +DATA_DM01/APSPROD/DATAFILE/APPS_UNDOTS5.3669.843818269
    Thanks
    PV

    Even If I explicitly say
    rman target / nocatalog
    RMAN> restore controlfile  to '+DATA_DM01/emerald/controlfile/cntrl01.dbf' from '/dbfs_direct/FS1/RMAN_APSPROD/cf_APSPROD_i4p4b62m_1_1';
    Starting restore at 02-APR-14
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: SID=64 device type=DISK
    channel ORA_DISK_1: restoring control file
    channel ORA_DISK_1: restore complete, elapsed time: 00:00:03
    Finished restore at 02-APR-14
    It create as alias name  +DATA_DM01/emerald/controlfile/cntrl01.dbf' pointing to +DATA_DM01/APSPROD/CONTROLFILE/
    ASMCMD [+DATA_DM01/EMERALD/CONTROLFILE] > ls -l
    Type         Redund  Striped  Time             Sys  Name
                                                   N    cntrl01.dbf => +DATA_DM01/APSPROD/CONTROLFILE/current.3679.843828927
    ASMCMD [+DATA_DM01/EMERALD/CONTROLFILE] > cd +DATA_DM01/APSPROD
    ASMCMD [+DATA_DM01/APSPROD] > cd CONTROLFILE
    ASMCMD [+DATA_DM01/APSPROD/CONTROLFILE] > ls -l
    Type         Redund  Striped  Time             Sys  Name
    CONTROLFILE  HIGH    FINE     APR 02 12:00:00  Y    current.3679.843828927
    ASMCMD [+DATA_DM01/APSPROD/CONTROLFILE] >

  • [HELP] Problem with restore and recovery to new host

    Hi, guys!
    I have been trying for two days, but still cannot get it to work.
    I have taken a full hot(online) backup with archive logs as well as the control file and SPFILE, and then copied the backup to the new host with the same directory structure and settings. Finally, I have tried to restore & recover the database on the new host but failed during the restore process.
    Both the original host and the new host have the same Oracle installed down to the patch level. I couldn't figure out the proper solution to this problem base on my limited knowledge about Oracle DB.
    Could anyone help me out here? Any advice would be appreciated!
    RMAN> restore database until sequence 10 thread 1;
    Starting restore at 08-NOV-11
    using channel ORA_DISK_1
    channel ORA_DISK_1: starting datafile backupset restore
    channel ORA_DISK_1: specifying datafile(s) to restore from backup set
    restoring datafile 00001 to D:\DBDATA\PRODDB\SYSTEM01.DBF
    restoring datafile 00002 to D:\DBDATA\PRODDB\UNDOTBS01.DBF
    restoring datafile 00003 to D:\DBDATA\PRODDB\SYSAUX01.DBF
    restoring datafile 00004 to D:\DBDATA\PRODDB\USERS01.DBF
    restoring datafile 00005 to D:\ORA_DATADATA01.DBF
    restoring datafile 00006 to D:\ORA_DATA\DATA02.DBF
    restoring datafile 00007 to D:\ORA_DATA\INDX01.DBF
    restoring datafile 00008 to D:\ORA_DATA\INDX02.DBF
    channel ORA_DISK_1: reading from backup piece C:\ORACLE\PRODUCT\10.2.0\FLASH_REC
    OVERY_AREA\PRODDB\BACKUPSET\2011_11_07\O1_MF_NNNDF_TAG20111107T175037_7CH6YYVJ_.BK
    P
    failover to previous backup
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of restore command at 11/08/2011 11:41:33
    RMAN-06026: some targets not found - aborting restore
    RMAN-06023: no backup or copy of datafile 4 found to restore
    RMAN-06023: no backup or copy of datafile 3 found to restore
    RMAN-06023: no backup or copy of datafile 2 found to restore
    RMAN-06023: no backup or copy of datafile 1 found to restore
    Here is some extra information that you might want to know about:
    RMAN> list incarnation;
    List of Database Incarnations
    DB Key Inc Key DB Name DB ID STATUS Reset SCN Reset Time
    1 1 PRODDB 3774691295 PARENT 1 17-APR-07
    2 2 PRODDB 3774691295 PARENT 521803 06-OCT-11
    3 3 PRODDB 3774691295 PARENT 1595143 20-OCT-11
    4 4 PRODDB 3774691295 PARENT 1600974 20-OCT-11
    5 5 PRODDB 3774691295 PARENT 1952053 27-OCT-11
    6 6 PRODDB 3774691295 CURRENT 2146951 07-NOV-11
    RMAN> list backup recoverable;
    List of Backup Sets
    ===================
    BS Key Type LV Size Device Type Elapsed Time Completion Time
    37 Full 822.34M DISK 00:29:47 07-NOV-11
    BP Key: 37 Status: AVAILABLE Compressed: NO Tag: TAG20111107T175037
    Piece Name: C:\ORACLE\PRODUCT\10.2.0\FLASH_RECOVERY_AREA\PRODDB\BACKUPSET\
    2011_11_07\O1_MF_NNNDF_TAG20111107T175037_7CH6YYVJ_.BKP
    List of Datafiles in backup set 37
    File LV Type Ckp SCN Ckp Time Name
    1 Full 2149673 07-NOV-11 D:\DBDATA\PRODDB\SYSTEM01.DBF
    2 Full 2149673 07-NOV-11 D:\DBDATA\PRODDB\UNDOTBS01.DBF
    3 Full 2149673 07-NOV-11 D:\DBDATA\PRODDB\SYSAUX01.DBF
    4 Full 2149673 07-NOV-11 D:\DBDATA\PRODDB\USERS01.DBF
    5 Full 2149673 07-NOV-11 D:\ORA_DATA\DATA01.DBF
    6 Full 2149673 07-NOV-11 D:\ORA_DATA\DATA02.DBF
    7 Full 2149673 07-NOV-11 D:\ORA_DATA\INDX01.DBF
    8 Full 2149673 07-NOV-11 D:\ORA_DATA\INDX02.DBF
    BS Key Type LV Size Device Type Elapsed Time Completion Time
    38 Full 6.95M DISK 00:00:03 07-NOV-11
    BP Key: 38 Status: AVAILABLE Compressed: NO Tag: TAG20111107T182034
    Piece Name: C:\ORACLE\PRODUCT\10.2.0\FLASH_RECOVERY_AREA\PRODDB\AUTOBACKUP
    \2011_11_07\O1_MF_S_766606834_7CH8Q439_.BKP
    Control File Included: Ckp SCN: 2151141 Ckp time: 07-NOV-11
    SPFILE Included: Modification time: 07-NOV-11
    BS Key Size Device Type Elapsed Time Completion Time
    39 18.46M DISK 00:00:05 08-NOV-11
    BP Key: 39 Status: AVAILABLE Compressed: NO Tag: TAG20111108T093359
    Piece Name: C:\ORACLE\PRODUCT\10.2.0\FLASH_RECOVERY_AREA\PRODDB\BACKUPSET\
    2011_11_08\O1_MF_ANNNN_TAG20111108T093359_7CJY7TG1_.BKP
    List of Archived Logs in backup set 39
    Thrd Seq Low SCN Low Time Next SCN Next Time
    1 1 2146951 07-NOV-11 2149493 07-NOV-11
    1 2 2149493 07-NOV-11 2149519 07-NOV-11
    1 3 2149519 07-NOV-11 2149565 07-NOV-11
    1 4 2149565 07-NOV-11 2149641 07-NOV-11
    1 5 2149641 07-NOV-11 2172859 07-NOV-11
    1 6 2172859 07-NOV-11 2197851 07-NOV-11
    1 7 2197851 07-NOV-11 2220349 08-NOV-11
    1 8 2220349 08-NOV-11 2222621 08-NOV-11
    1 9 2222621 08-NOV-11 2222729 08-NOV-11
    1 10 2222729 08-NOV-11 2223088 08-NOV-11
    BS Key Type LV Size Device Type Elapsed Time Completion Time
    40 Full 6.95M DISK 00:00:00 08-NOV-11
    BP Key: 40 Status: AVAILABLE Compressed: NO Tag: TAG20111108T093411
    Piece Name: C:\ORACLE\PRODUCT\10.2.0\FLASH_RECOVERY_AREA\PRODDB\AUTOBACKUP
    \2011_11_08\O1_MF_S_766661651_7CJY84LK_.BKP
    Control File Included: Ckp SCN: 2223097 Ckp time: 08-NOV-11
    SPFILE Included: Modification time: 08-NOV-11
    Thanks in advance!
    Jay

    Thank you for your reply,Hemant K Chitale!
    >
    a) Does the directory structur exist on the new server :
    D:\DBDATA\PRODDB\ --- for files 1 to 4
    D:\ --- for file 5
    D:\ORA_DATA\ --- for files 6 to 8
    >
    Yep, I have doubled check the directory structure that get in the way, and they are all exist.
    Would it be something to do with the folder permissions?
    >
    b) Apparently a RESETLOGS has been issued on 07-Nov. Which controflile backup do you have restored and mounted on the new server ? It should be the one after the RESETLOGS.
    >
    I restored the one included with the backup. Should I take another backup of controlfile seperately and restore from it instead?
    >
    (I assume that you did a RESTORE CONTROLFILE followed by sql "alter database mount" before the attempt to RESTORE DATABASE)
    >
    Yep, that's exactly what I did.
    //executed @ RMAN prompt of the new host
    startup nomount; 'the new host has the right SPFILE to start with so i didn''t bother to RESTORE SPFILE first.
    restore controlfile from autobackup;
    alter database mount;
    restore  database sequence 10 thread 1;
    //get stucked here with RMAN-06026, 06023
    //...the following is not executed yet.... :-(
    recover database until sequence 10;
    alter database open resetlogs;Edited by: HappyJay on 2011/11/08 13:25
    I have made several attemps with your advice, but still get the same type of errors.
    Here is the output:
    RMAN> list backup of controlfile;
    List of Backup Sets
    ===================
    BS Key Type LV Size Device Type Elapsed Time Completion Time
    38 Full 6.95M DISK 00:00:03 07-NOV-11
    BP Key: 38 Status: AVAILABLE Compressed: NO Tag: TAG20111107T182034
    Piece Name: C:\ORACLE\PRODUCT\10.2.0\FLASH_RECOVERY_AREA\PRODDB\AUTOBACKUP
    \2011_11_07\O1_MF_S_766606834_7CH8Q439_.BKP
    Control File Included: Ckp SCN: 2151141 Ckp time: 07-NOV-11
    BS Key Type LV Size Device Type Elapsed Time Completion Time
    40 Full 6.95M DISK 00:00:00 08-NOV-11
    BP Key: 40 Status: AVAILABLE Compressed: NO Tag: TAG20111108T093411
    Piece Name: C:\ORACLE\PRODUCT\10.2.0\FLASH_RECOVERY_AREA\PRODDB\AUTOBACKUP
    +\2011_11_08\O1_MF_S_766661651_7CJY84LK_.BKP+
    Control File Included: Ckp SCN: 2223097      Ckp time: 08-NOV-11
    as you suggested, this backup piece of controlfile should be right one to be restored.
    RMAN> shutdown;
    database dismounted
    Oracle instance shut down
    RMAN> startup nomount;
    connected to target database (not started)
    Oracle instance started
    Total System Global Area 490733568 bytes
    Fixed Size 1291360 bytes
    Variable Size 364907424 bytes
    Database Buffers 121634816 bytes
    Redo Buffers 2899968 bytes
    RMAN> restore controlfile from autobackup;
    Starting restore at 08-NOV-11
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: sid=157 devtype=DISK
    recovery area destination: C:\oracle\product\10.2.0\flash_recovery_area
    database name (or database unique name) used for search: PRODDB
    channel ORA_DISK_1: autobackup found in the recovery area
    channel ORA_DISK_1: autobackup found: C:\ORACLE\PRODUCT\10.2.0\FLASH_RECOVERY_AR
    EA\PRODDB\AUTOBACKUP\2011_11_08\O1_MF_S_766661651_7CJY84LK_.BKP
    channel ORA_DISK_1: control file restore from autobackup complete
    output filename=D:\DBDATA\PRODDB\CONTROL01.CTL
    output filename=D:\DBDATA\PRODDB\CONTROL02.CTL
    output filename=D:\DBDATA\PRODDB\CONTROL03.CTL
    Finished restore at 08-NOV-11
    tried shutdown normally and mount again instead.
    RMAN> shutdown;
    Oracle instance shut down
    RMAN> exit
    Recovery Manager complete.
    C:\>rman target /
    Recovery Manager: Release 10.2.0.3.0 - Production on Tue Nov 8 13:49:42 2011
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    connected to target database (not started)
    RMAN> startup mount;
    Oracle instance started
    database mounted
    Total System Global Area 490733568 bytes
    Fixed Size 1291360 bytes
    Variable Size 369101728 bytes
    Database Buffers 117440512 bytes
    Redo Buffers 2899968 bytes
    RMAN> restore database until sequence 10 thread 1;
    Starting restore at 08-NOV-11
    Starting implicit crosscheck backup at 08-NOV-11
    using target database control file instead of recovery catalog
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: sid=156 devtype=DISK
    Crosschecked 3 objects
    Finished implicit crosscheck backup at 08-NOV-11
    Starting implicit crosscheck copy at 08-NOV-11
    using channel ORA_DISK_1
    Crosschecked 2 objects
    Finished implicit crosscheck copy at 08-NOV-11
    searching for all files in the recovery area
    cataloging files...
    cataloging done
    List of Cataloged Files
    =======================
    File Name: C:\ORACLE\PRODUCT\10.2.0\FLASH_RECOVERY_AREA\PRODDB\AUTOBACKUP\2011_11_
    08\O1_MF_S_766661651_7CJY84LK_.BKP
    using channel ORA_DISK_1
    channel ORA_DISK_1: starting datafile backupset restore
    channel ORA_DISK_1: specifying datafile(s) to restore from backup set
    restoring datafile 00001 to D:\DBDATA\PRODDB\SYSTEM01.DBF
    restoring datafile 00002 to D:\DBDATA\PRODDB\UNDOTBS01.DBF
    restoring datafile 00003 to D:\DBDATA\PRODDB\SYSAUX01.DBF
    restoring datafile 00004 to D:\DBDATA\PRODDB\USERS01.DBF
    restoring datafile 00005 to D:\ORA_DATA\DATA01.DBF
    restoring datafile 00006 to D:\ORA_DATA\DATA02.DBF
    restoring datafile 00007 to D:\ORA_DATA\INDX01.DBF
    restoring datafile 00008 to D:\ORA_DATA\INDX02.DBF
    channel ORA_DISK_1: reading from backup piece C:\ORACLE\PRODUCT\10.2.0\FLASH_REC
    OVERY_AREA\PRODDB\BACKUPSET\2011_11_07\O1_MF_NNNDF_TAG20111107T175037_7CH6YYVJ_.BK
    P
    failover to previous backup
    //however, still get the same results(ended up with errors)
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of restore command at 11/08/2011 13:50:29
    RMAN-06026: some targets not found - aborting restore
    RMAN-06023: no backup or copy of datafile 4 found to restore
    RMAN-06023: no backup or copy of datafile 3 found to restore
    RMAN-06023: no backup or copy of datafile 2 found to restore
    RMAN-06023: no backup or copy of datafile 1 found to restore
    Edited by: HappyJay on 2011/11/08 13:59

  • Listener error while restoring to new host

    I'm trying to restore a production database to a new host using a complete RMAN backup following these instructions:
    http://download.oracle.com/docs/cd/B19306_01/backup.102/b14191/rcmrecov.htm#i1006453
    I'm trying to force the database to start in NOMOUNT so I can restore the control files, then the data files. I took a crack at editing the initialization file, but I'm not sure I got things right, as I'm trying to restore a single-node RAC to a non-RAC system. Both servers are Windows.
    I'm getting the following error:
    RMAN> startup force nomount pfile='D:\Oracle\product\10.2.0\TSBAK\database\initt
    sbak.ora';
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of startup command at 04/21/2010 14:01:19
    RMAN-04014: startup failed: ORA-01078: failure in processing system parameters
    RMAN-04017: startup error description: ORA-00119: invalid specification for syst
    em parameter LOCAL_LISTENER
    ORA-00132: syntax error or unresolved network name 'LISTENER_TSBAK'This is the listener (I just ran the net configuration wizard)
    # listener.ora Network Configuration File: D:\oracle\product\10.2.0\TSBAK\network\admin\listener.ora
    # Generated by Oracle configuration tools.
    SID_LIST_LISTENER_TSBAK =
      (SID_LIST =
        (SID_DESC =
          (SID_NAME = PLSExtProc)
          (ORACLE_HOME = D:\oracle\product\10.2.0\TSBAK)
          (PROGRAM = extproc)
    LISTENER_TSBAK =
      (DESCRIPTION_LIST =
        (DESCRIPTION =
          (ADDRESS = (PROTOCOL = TCP)(HOST = TSSQL2008B)(PORT = 1521))
          (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC0))
      )This is the init.ora file
    *.__db_cache_size=343932928
    *.__java_pool_size=209715200
    *.__large_pool_size=8388608
    *.__shared_pool_size=209715200
    *.__streams_pool_size=8388608
    *._optimizer_connect_by_cost_based=false
    *.audit_file_dest='D:\Oracle\product\10.2.0\admin\TSBAK\ADUMP'
    *.background_dump_dest='D:\Oracle\product\10.2.0\admin\TSBAK\BDUMP'
    *.cluster_database=FALSE
    *.cluster_database_instances=1
    *.compatible='10.2.0.1.0'
    *.control_files='+DATA/tsbak/controlfile/current.260.591973329'
    *.core_dump_dest='D:\Oracle\product\10.2.0\admin\TSBAK\CDUMP'
    *.db_block_size=8192
    *.db_create_file_dest='+DATA'
    *.db_file_multiblock_read_count=16
    *.db_files=1024# INITIAL
    *.db_name='TS'
    *.global_names=FALSE
    ##clustdb1.instance_name='TS1'
    *.instance_number=1
    ##clustdb1.instance_number=1
    *.java_pool_size=209715200
    *.job_queue_processes=10
    *.large_pool_size=8388608
    ##clustdb1.local_listener='LISTENER_TSBAK'
    *.local_listener='LISTENER_TSBAK'
    *.log_archive_dest_1='LOCATION=+DATA/TSBAK/'
    *.log_archive_format='ARC%S_%R.%T'
    *.log_buffer=8192# INITIAL
    *.log_checkpoint_interval=10000
    *.max_dump_file_size='10240'# limit trace file size to 10 K each
    *.nls_timestamp_format='YYYY-MM-DD HH24:MI.SS.FF'
    *.open_cursors=300
    *.open_links=4
    *.parallel_max_servers=5
    *.pga_aggregate_target=203423744
    *.processes=250# INITIAL
    *.remote_listener='LISTENER_TSBAK'
    *.remote_login_passwordfile='EXCLUSIVE'
    ##clustdb1.remote_login_passwordfile='exclusive'
    *.sga_max_size=1317011456
    *.sga_target=788529152
    *.shared_pool_size=209715200
    *.smtp_out_server='mail.mt.net:25'
    *.thread=1
    ##clustdb1.thread=1
    *.undo_management='AUTO'# For automatic undo management
    *.undo_tablespace='UNDOTBS1'
    ##clustdb1.undo_tablespace='UNDOTBS1'
    *.user_dump_dest='D:\Oracle\product\10.2.0\admin\TSBAK\UDUMP'I am not sure which piece has the error, but would appreciate some help. This is one of the few steps that there isn't much mention of in the guide.

    okay moving on. I got previous error corrected (the directories hadn't been created yet). Now, I'm facing a new one and I did a copy/paste of the directory string, so I know it's valid.
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of startup command at 04/22/2010 12:13:34
    RMAN-04014: startup failed: ORA-16024: parameter LOG_ARCHIVE_DEST_1 cannot be parsedthe parameter is:
    *.log_archive_dest_1='D:\Oracle\product\10.2.0\TSBAK\database\archive'Can someone see what I'm doing wrong here?

  • Oracle 10.2.0.3 Databases  - Restore to New Server

    We will soon be replacing an old server with a new server and I need to restore all Oracle 10.2.0.3 databases to the new server
    and ensure Oracle functionality/connectivity with all databases.
    I am in the process of testing and need advice and hopefully a 'Step by Step' process I can follow.
    I am a systems admin - not an Oracle db admin - so please explain details of any commands I may have to run.
    I have already tested once:
    ran command prompt: sqplus / as sysdba
    SQL>shutdown immediate;
    Stopped all Oracle services:
    Oracle Database
    Oracle Listener
    Oracle DBConsole
    Installed Oracle 10.2.0.3 on new server
    Ensured that the SID and all other Oracle services information matched the old server during installation on the new server.
    Stopped all Oracle services on the new server (used the steps above).
    Backed-up and test restored to new server.
    Enterprise Manager shows: Listener Up Database Instance Down Agent Down
    Any help would be appreciated

    It would be good to know your operation system. I hope both new and old match or similar.
    You can use RMAN to dumplicate you DB so you can follow [Creating a Duplicate Database on a New Host. Doc ID: 388431.1|https://support.oracle.com/CSP/main/article?cmd=show&type=NOT&id=388431.1]
    but a simple file system copy based manual duplication is also possible if new and old OS system is similar...

  • Disaster recovery on a new host. Oracle 11.1.0.6

    Oracle 11.1.0.6, windows server 2003 R2 Service Pack 2 x64)
    I need to test disaster recovery on a new host(with diferent name).
    It looks like I am able to complete recovery stage but dbcontrol doesn't work for me.
    I was told: if you change host name or ip address you should delete repository and recreate it.
    Do I need to import emkey.ora file on a new host as well?
    I used this post
    11g Disaster recovery on a new host.

    restored database on a new host
    copied emkey.ora to a new host c:\oracle\product\11.1.0\db_1\sysman\config
    set ORACLE_SID=ORA2
    run cmd
    C:\oracle\product\11.1.0\db_1\BIN>emctl config emkey -emkeyfile C:\oracle\produc
    t\11.1.0\db_1\sysman\config\emkey.ora -force
    Oracle Enterprise Manager 11g Database Control Release 11.1.0.6.0
    Copyright (c) 1996, 2007 Oracle Corporation. All rights reserved.
    Please enter repository password:
    The Em Key has been configured successfully.
    C:\oracle\product\11.1.0\db_1\BIN>emctl config emkey -copy_to_repos
    Oracle Enterprise Manager 11g Database Control Release 11.1.0.6.0
    Copyright (c) 1996, 2007 Oracle Corporation. All rights reserved.
    Please enter repository password:
    The Em Key has been copied to the Management Repository. This operation will cau
    se the Em Key to become unsecure.
    After the required operation has been completed, secure the Em Key by running "e
    mctl config emkey -remove_from_repos".
    emctl.bat stop dbconsole
    emctl config emkey -repos -sysman_pwd password
    emctl secure dbconsole -sysman_pwd password
    emctl.bat start dbconsole
    now able to open
    https://oratest05.domainname.com:1158/em/
    but unable to logon
    Your username and/or password are invalid.

  • Restoring Backup Set to New Host

    Hi Team,
    I am working on the RMAN Restore operation on the New Host.
    I had taken the hot backup of my database (name :Test) with all ControlFile, DataFile, & Archivelog Files using RMAN backup command,
    RMAN>backup database plus archivelog;
    Now I want to restore this backup set on the New host.
    So for this I have same Oracle 9i version installed in the same production path as it was there in the old host.
    i.e same production path for oracle directory.. C:/oracle/
    Now I had created the new database in this new host with the same name as Test and also the same passwords
    Now if I am using my restore controlfile commands here then it works properly as ,
    RMAN> restore controlfile from 'E:\Tempdest\CTL_C-315497057-20061017-01';
    Starting restore at 17-OCT-06
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: sid=11 devtype=DISK
    channel ORA_DISK_1: restoring controlfile
    channel ORA_DISK_1: restore complete
    replicating controlfile
    input filename=D:\ORACLE\ORADATA\TEST\CONTROL01.CTL
    output filename=D:\ORACLE\ORADATA\TEST\CONTROL02.CTL
    output filename=D:\ORACLE\ORADATA\TEST\CONTROL03.CTL
    Finished restore at 17-OCT-06
    But if i mount the database to restore the datafiles it is giving me the following error.
    RMAN> startup mount;
    database is already started
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of startup command at 10/17/2006 18:34:14
    ORA-01991: invalid password file 'D:\oracle\ora92\DATABASE\PWDtest.ORA'
    Can anybody help in this?
    Whether we have to backup the Password files also ?
    plz comment..
    Message was edited by:
    Test_Rman

    You do not need to create the database on the new host ahead of time. However, since you are on Windows, you should create the Window's Oracle service with oradim.
    If your intention is to simulate an actual restore to a different host, then you should refer to Restoring the Database to a New Host, otherwise Aron's link above should help.

  • Existing APEX:  Migration to new host/database

    We'll be migrating the database containing our APEX install to a new host and new database. As long as all of the objects, views, etc. are copied from the present location where APEX resides, will there be any special considerations we need to factor in for the transition to go smoothly? Also, would APEX need to be reinstalled on the new database, or will copying the objects suffice? Obviously, our intent is to avoid recreating our applications within APEX. Any insight would be appreciated.

    Jason,
    You can do a full database export and import (I think that means all schemas) or just do selective ones. For Application Express that would be FLOWS_030000 for versions 3.x, FLOWS_FILES, and APEX_PUBLIC_USER. If you do that you'll have to generate and run a script to grant privileges from SYS as described here: Re: 404 error after restoring the database
    Another approach would be to simply reinstall Application Express. From your old database use the apex workspace export for each of your workspaces and gather those export files. Then use the apex workspace import pages to import those workspaces in the new instance. Then do the same for all of your applications, i.e., login to each workspace as an admin, export each application, then repeat this on the new instance but import/install each application into each workspace. This can be tedious.
    I hope others will offer their recommendations about this. It sort of depends on how many workspaces and apps you already have.
    Scott

  • How to change host for database target?

    Hi 2All!
    We've just moved our production database to a new server.
    How to change hostname on this database target for continuing to collect information about this database without deleting or creating additional targets?
    EMGC 11gR1.
    Thanks!

    ..so agent was installed on new host ?
    or you now need to install the agent ?
    I don´t know a way to change hostname only new discovery credentials on host.
    *T                                                                                                                                                                                                                                                                                                                                   

  • Restore Database with Oracle 9i with a New Host using RMAN

    Gurus,
    I am trying to restore a database from some RMAN created files on a new host with a new directory structure for some testing. I do not have access to the source database.
    The database is Oracle 9i.
    The files that have been created are the following:
    'C-2995630462-20110214-00' is the control file and SP file backup.
    'B_ABM4KAJ5_1_1' is the database backup.
    B_ACM4KARS_1_1 and B_AAM4KAIV_1_1 are archived redo logs
    Here is the RMAN listing from when the files were created:
    BS Key Size Device Type Elapsed Time Completion Time
    329 56M DISK 00:00:02 14/FEB/11
    BP Key: 329 Status: AVAILABLE Tag: TAG20110214T050015
    Piece Name: D:\BACKUPS\CRYSTAL\B_AAM4KAIV_1_1
    List of Archived Logs in backup set 329
    Thrd Seq Low SCN Low Time Next SCN Next Time
    1 184 4602414767 13/FEB/11 4602533494 14/FEB/11
    BS Key Type LV Size Device Type Elapsed Time Completion Time
    330 Full 13G DISK 00:04:33 14/FEB/11
    BP Key: 330 Status: AVAILABLE Tag: TAG20110214T050021
    Piece Name: D:\BACKUPS\CRYSTAL\B_ABM4KAJ5_1_1
    List of Datafiles in backup set 330
    File LV Type Ckp SCN Ckp Time Name
    1 Full 4602533509 14/FEB/11 D:\ORACLE\ORADATA\CRYSTAL\SYSTEM01.DBF
    2 Full 4602533509 14/FEB/11 D:\ORACLE\ORADATA\CRYSTAL\UNDOTBS01.DBF
    3 Full 4602533509 14/FEB/11 D:\ORACLE\ORADATA\CRYSTAL\USERS01.DBF
    BS Key Size Device Type Elapsed Time Completion Time
    331 37K DISK 00:00:01 14/FEB/11
    BP Key: 331 Status: AVAILABLE Tag: TAG20110214T050500
    Piece Name: D:\BACKUPS\CRYSTAL\B_ACM4KARS_1_1
    List of Archived Logs in backup set 331
    Thrd Seq Low SCN Low Time Next SCN Next Time
    1 185 4602533494 14/FEB/11 4602533686 14/FEB/11
    BS Key Type LV Size Device Type Elapsed Time Completion Time
    332 Full 3M DISK 00:00:01 14/FEB/11
    BP Key: 332 Status: AVAILABLE Tag:
    Piece Name: D:\BACKUPS\CRYSTAL\C-2995630462-20110214-00
    SPFILE Included: Modification time: 23/NOV/10
    I am new to using RMAN and I'm hoping someone could point me in a direction of some documentation to assist with the scenario described above. I've looked at several Oracle documents but have been unable to find a way to separate out the spfile from the control file.
    Any help you can provide would be greatly appreciated.
    Thanks.

    Thanks Meeran.
    I have attempted to follow the directions from the RMAN document that you posted and have run into the following error:
    C:\>rman target / nocatalog
    Recovery Manager: Release 9.2.0.6.0 - Production
    Copyright (c) 1995, 2002, Oracle Corporation. All rights reserved.
    connected to target database: DUMMY (not mounted)
    using target database controlfile instead of recovery catalog
    RMAN> startup force nomount
    startup failed: ORA-01078: failure in processing system parameters
    LRM-00109: could not open parameter file 'C:\ORACLE\ORA92\DATABASE\INITCRYSTAL.O
    RA'
    trying to start the Oracle instance without parameter files ...
    Oracle instance started
    Total System Global Area 97591104 bytes
    Fixed Size 454464 bytes
    Variable Size 46137344 bytes
    Database Buffers 50331648 bytes
    Redo Buffers 667648 bytes
    RMAN> RESTORE SPFILE TO 'C:\oracle\admin\crystal\pfile\init.ora' from 'C:\oracle
    \ora92\CRYSTALbk\C-2995630462-20110214-00';
    Starting restore at 30-MAR-11
    using channel ORA_DISK_1
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of restore command at 03/30/2011 11:30:07
    ORA-00600: internal error code, arguments: [1866], [0x41AA450], [6144], [0x41BAD
    B4], [], [], [], []
    RMAN>
    Am I not correctly connected to the target?
    It looks like it correctly tried to create a dummy spfile, but when attempting the restore from the file it breaks.
    Any suggestions? Thanks.

  • New SCVMM Server - Migrate Database From Current SCVMM Server

    The hardware on which our current Virtual Manager 2012 R2/SQL Server environment resides is due for decommission.
    Consequently, we are deploying a new physical server on which VMM/SQL will be located.
    The new server will have a different host name from the original server.
    I need to retain all the configuration etc in our current VMM environment and migrate it to the new server.
    Can this be achieved by simply migrating the VMM database to the new server or are there any other steps required?

    Yes, you can move your VMM databse to another SQL server, and then use the existing databse option when installing VMM.
    You can look
    HERE for this technet article
    Regards, Samir Farhat Infrastructure and Virtualization Consultant || Virtualization, Cloud, Azure ? Follow and Ask here https://buildwindows.wordpress.com

  • SLD/JCo Migration to new host

    Dear Experts,
    I have gone through many posts but still not able to understand fully the procedure to migrate SLD from one host to another. So its my humble request you to read my issue and guide me.
    We have a situation that we have moved from physical to virtual host on our SLD. But when I shutdown the previous host, my ESS/MSS on Portal stops functioning.
    My Landscape is : Portal 7.1  - Old SLD -- Was serving as both Solution Manager and SLD (for around 20-30 systems)
    Now we want to move the OLD SLD to a new host, -- New SLD -- Will serve as SLD for all systems.
    There is one production Portal system which has ESS/MSS with Jco's, it is currently pointing to OLD SLD. When I login to OLD SLD and search for my Production Portal, I can see that it has few Jco Destinations and few "deployed objects" as shown in screenshot below
    These are the steps I have followed in my new SLD.
    1. Went to Visual Admin of my Portal system -- Changed SLD Data Supplier (CIM) to NEW SLD. Restarted Portal
    2. Logged in to new SLD and created JCO Destinations (exactly same as in OLD SLD)
    This is my NEW SLD, I cant see the "deployed objects" but i have created the JCO destinations (manually)
    But then, I am getting errors in ESS/MSS Applications for Jco related.
    Can someone please help me in figuring out what I am missing ??
    1.     Importing CIM data in new SLD from old SLD ??
    Any guidance on this will be helpful.
    Thanks,

    Hi Rajat,
    Take a look at More on System Landscape Directory. There are several blogs there that talk about migrating from one SLD to another. (Especially Switching between 2 SLD Systems in Sync with an LMDB or a 3rd SLD).
    It sounds to me like you changed the setup for the data supplier side, (so your new SLD has the correct data) but you haven't changed the SLD-client setup of the portal (so your portal doesn't know to look at the new SLD for data). Take a look at this SAP help document, Synchronizing the System Landscape Directory with the Portal, and see if you can find what you need there.
    I hope this helps!
    Best regards,
      --Tom

  • Peer not authenticated error recieved when discovering new database targets

    I am using OEM GC 10.2.0.4 On one of my OEM servers I get an error when attempting to discover new database targets. This occurs on the two database servers used for development. I can successfully discover targets on the OEM server itself.
    The error is "peer not authenticated"
    Also this error is recieved when trying to configure a database
    oracle.sysman.emSDK.emd.comm.CommException: peer not authenticated
    I have uninstalled and reinstalled the agents on both servers. After uninstalling the agent the command
    exec mgmt_admin.cleanup_agent('HOSTNAME:AGENT_PORT');
    commit;
    was run on the OEM repository database.
    Any suggestions as to what might be causing this?
    Thanks.

    Here is the solution
    peer not authenticated?
    Hope this helps.
    Regards
    Click here to [See the ORA-27102 Error and Soltuion on Solaris|http://www.oracleracexpert.com/2009/08/ora-27102-out-of-memory-on-solaris.html]
    Click here to [See the solution for ORA-19755 Error during recovery/DB startup|http://www.oracleracexpert.com/2009/09/ora-19755-could-not-open-change.html]
    http://www.oracleracexpert.com

  • How to migrate SharePoint 2013 Content and Configuration DataBases to a new SQL Server and DataBases in it?

    Hi,
    We need to migrate Our current 1 clustered SQL Server, Many Configurations DataBases and Many Content DataBases to a brand new clustered SQL server and brand new databases in it.
    How can I do this?
    Can someone list the steps involved?
    Thanks.  

    Hi,
    According to your description, you want to move Content databases  and Configuration databases to a new SQL Server,  refer to this article:
    https://technet.microsoft.com/en-us/library/cc512725.aspx?f=255&MSPPError=-2147217396
    Besides, here is a similar post, you can use as a reference:
    https://social.technet.microsoft.com/Forums/office/en-US/2cd46f7a-d583-41b2-82c2-ddc6d7c43fb8/how-to-move-sharepoint-databases-to-new-sql-server?forum=sharepointadminprevious
    Best Regards,
    Lisa Chen
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

Maybe you are looking for