Move OEM central repository to a new database

Hi,
We want to move the OEM central repository to a different machine, we would like to migrate the data from original database to the new database. What's the best way to do that and how to re-configure OMS to use the new database? Thanks!

Hi,
Please follow the document below:
Grid Control Repository: Steps for Cross Platform Migration of the 10g Grid Control Repository (Doc ID 388090.1)
Best Regards,
Venkat

Similar Messages

  • 11g Move Repository Schema to New Database

    Hi folks
    There is a possibility that I will need to move the 11g repository schema from one database to another. Has anyone performed this and can offer any tips?
    Regards
    Paul

    Thanks chaps...
    At the moment this is still a 'what if' problem for my client. I am gathering as much information as I can before they decide whether to go ahead.
    Daan, I can't believe Oracle won't support this - that's crazy. There will be hundreds of customers who will need to perform such a move. I think I will raise a SR to see if they will provide me the manual steps.
    Saichand, nice idea. I will look and see what I can find. Glad to hear you like the blog - it's always nice to know people are reading it!
    Paul

  • Upgrade Secure Central repository to NON Secure central

    Hello Everyone,
    Is it possible to to upgrade from a secure central repository to an non secure central repository?
    When I try to upgrade the SECURE central repository to NON SECURE in the Data Service Repository Manager.
    I met the error message below:
    It is not allowed to upgrade from a secure central repository to an non secure central repository. (BODI-300081)
    Thanks for your help
    Xin

    It is not possible to upgrade as "Dirk" suggested but also need to understand that you cannot login in Secure Central repository, Only way is move all data in local repository then move secure central repository.
    Thanks,
    Daya

  • TS datafile  to move to new database

    Hi Folks,
    I have a datafile of my tablespace that contained all tables of my schema.
    Say it was in Database "ORAPRDB"
    Now when i just want to move this schema to a new database so I copied the datafile to a new database "TESTDB" recreate the control files and try to bring up the instance.
    But this is complaining of the datafile not belonging of the right database. (possibly it is looking for ORAPRDB when I am trying to plug it in TESTDB ).
    Is there a way to get this done.
    I know there is a transportable tablespace functionality in 9i .. but In this case .. I do not think I will be able to use this.
    TIA
    Sunil Choudhary

    Hello,
    You don't mention from which version to which version you are transporting your tablespace and is this transportation is cross platform. Beacuse cross platform transformation is started with 10g only. Also remember these points :
    The source and target database must use the same character set and national character set.
    You cannot transport a tablespace to a target database in which a tablespace with the same name already exists. However, you can rename either the tablespace to be transported or the destination tablespace before the transport operation.
    Objects with underlying objects (such as materialized views) or contained objects (such as partitioned tables) are not transportable unless all of the underlying or contained objects are in the tablespace set.
    For complete information follow this link and read the related section of Tablespace Transportation:
    http://download-west.oracle.com/docs/cd/B19306_01/server.102/b14231/tspaces.htm#sthref1267
    I hope this will help you...

  • 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

  • Move EM10g GC repository to another host

    Is it possible to move EM10g GC repository to anther host? EM10g release is 10.1.0.4. What if EM10g 10.2.0.2?

    I did move my management server to another host. Just cloned the database, but I did change the name of the new host to that of the old OMS. From other postings here I gathered that changing the name of the host is not supported.
    I did have to generate new keys on the OMS, beacuse the majority of the agent didn't want to talk to me... Re-generating the keys solved the problem. It's one of the emctl commands.

  • New database connection failed with oepe

    Hi everybody,
    @http://docs.oracle.com/cd/E27086_02/help/oracle.eclipse.tools.common.doc/html/install.html#install_oepe
    Oracle Enterprise Pack for Eclipse Installation Guide says:
    "You can install OEPE using any of the following ways:
    Download, and then unzip OEPE plugins directly into the Eclipse dropins folder and restart Eclipse."
    This is what I have done,
    then when I create a new database connection, and I press the button "test connection" i got a pop up saying "Ping failed" giving details:
    java.lang.ClassNotFoundException: oracle.jdbc.OracleDriver
         at java.net.URLClassLoader$1.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.net.URLClassLoader.findClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at java.net.FactoryURLClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at oracle.eclipse.tools.database.connectivity.db.OracleJDBCConnection.createConn(OracleJDBCConnection.java:198)
         at oracle.eclipse.tools.database.connectivity.db.OracleJDBCConnection.createConnection(OracleJDBCConnection.java:149)
         at org.eclipse.datatools.connectivity.DriverConnectionBase.internalCreateConnection(DriverConnectionBase.java:105)
         at org.eclipse.datatools.connectivity.DriverConnectionBase.open(DriverConnectionBase.java:54)
         at org.eclipse.datatools.connectivity.drivers.jdbc.JDBCConnection.open(JDBCConnection.java:73)
         at oracle.eclipse.tools.database.connectivity.db.OracleJDBCConnectionFactory.createConnection(OracleJDBCConnectionFactory.java:26)
         at org.eclipse.datatools.connectivity.internal.ConnectionFactoryProvider.createConnection(ConnectionFactoryProvider.java:83)
         at org.eclipse.datatools.connectivity.internal.ConnectionProfile.createConnection(ConnectionProfile.java:359)
         at org.eclipse.datatools.connectivity.ui.PingJob.createTestConnection(PingJob.java:76)
         at org.eclipse.datatools.connectivity.ui.PingJob.run(PingJob.java:59)
         at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
    Did I miss something?

    The documentation is out of date. The unzip to dropins method is no longer supported. The OEPE zip you downloaded is actually an archived repository. You can follow the instruction for installing using Eclipse Update Manager and point to the downloaded zip instead of the online repository.
    I will follow up to get the docs updated.
    - Konstantin

  • How to move only subset of data from one database to another?

    Both source & destination are Oracle11g databases.
    The requirement details are as below,
    1) The database contains static as well as transactional data for telecom domain.
    2) We have to move region-wise data from one database to another.
    3) There are around 10 regions.
    4) The region wise data extraction from source db is based on around 40 to 50 tables. Rest of the tables contains
    static data & it will not change.
    5) The volume is around 1 million subscribers per region.
    6) The migration is required because
    a) The client is upgrading its base product which uses this database
    b) There is a change in structure of static tables
    c) Hardware upgrade
    d) The client want to start with single region on new database & rest of the regions will be operated from old
    database.
    7) Keep execution time to very minimum.
    I am thinking to have solution as below,
    1) Create destination database with upgraded db structure (as mentioned in 6b)
    2) Create database links to access source db in destination db.
    3) Write SQL queries to fetch data from all the respective tables for a specific region
    4) Write separate PL/SQL blocks for each table to fetch data from source db & insert into respective table in
    destination db
    a) Use FOR ALL & bulk collect to improve the performance
    b) Divide table data into multiple chunks & execute parallel batches (around 10) to insert the data
    5) Validate pre & post counts to verify the success of migration
    Is there any other better way?
    Regards,
    Sandeep

    How to move only subset of data from a partiular table by using transportable tablespace?
    E.g. SUB table using SMP_SUB tablespace contains subscriber data in source database.
    The indexes defined on SUB table are under SMP_IDX_SUB tablespace
    The subscribers data can be categorized by different regions, say region_id column. Then how to move data & indexes of SUB table from source db to destination db?
    any specific example would be helpful.

  • An error occurred during creation of the central repository. (BODI-300020)

    I am trying to create a central repository for Data Service, the following error appear
    Creating repository... (BODI-300026)
    Reading SQL file <C:\BO\DataServices_12\admin\repo\MSSQL\ms.sql>. (BODI-20001)
    Executing SQL file <C:\BO\DataServices_12\admin\repo\MSSQL\ms.sql>. (BODI-20002)
    Reading SQL file <C:\BO\DataServices_12\admin\repo\MSSQL\ms_content.sql>. (BODI-20001)
    Executing SQL file <C:\BO\DataServices_12\admin\repo\MSSQL\ms_content.sql>. (BODI-20002)
    Reading SQL file <C:\BO\DataServices_12\Admin\repo\options.sql>. (BODI-20001)
    Executing SQL file <C:\BO\DataServices_12\Admin\repo\options.sql>. (BODI-20002)
    Verifying repository... (BODI-300077)
    Importing objects... (BODI-300036)
    Adding Data Quality new substitution configuration... (BODI-300133)
    An error occurred during creation of the central repository. (BODI-300020)
    It's a sql DBMS, and the default user language is spanish, during the installation was the same issue.
    The first installation user language was english and everything was ok, then the default user anguage was set to spanish and the jobs crashed because an english format was sent to the al_history table. I tried to recreate the repository and an error ocurrer during the creation.
    has someone faced the same problem?

    what is the version of Data Services ? if its 12.2, then there was a bug that is fixed in 12.2 SP1 (12.2.1.0), apply the SP1 or it would be better if you apply the latest fix pack for 12.2 i.e 12.2.1.2
    the problem was with date format used in insert was different than the user's default date format.

  • How to Create A new Database in the oracle 10g XE

    i have oracle 10g XE i tried to create a new database but its giveing me error when i execute the sql command that is create database testDatabase how to create a new database in oracle 10g XE

    Hi there 785434,
    (This is a generic SQL question relating to Database Triggers, please post future questions of this type into the relevant forum area.)
    Moderator, please move this if able
    I use Before Update and Before Delete Triggers to record a 'snapshot' of the row being changed in my applications.
    Example:
    CREATE TABLE TEST
    DATA VARCHAR2(64 CHAR),
    CREATING_USERID VARCHAR2(20 CHAR) DEFAULT user NOT NULL,
    CREATED_DATE DATE NOT NULL,
    CHANGED_BY_USERID VARCHAR2(20 CHAR),
    CHANGED_DATE DATE
    LOGGING
    STORAGE
    (MAXEXTENTS UNLIMITED);
    CREATE TABLE TEST_HISTORY
    DATA VARCHAR2(64 CHAR),
    CREATING_USERID VARCHAR2(20 CHAR) DEFAULT user NOT NULL,
    CREATED_DATE DATE NOT NULL,
    CHANGED_BY_USERID VARCHAR2(20 CHAR),
    CHANGED_DATE DATE,
    CHANGE_DESCRIPTION
    NOLOGGING
    STORAGE
    (MAXEXTENTS UNLIMITED);
    CREATE OR REPLACE TRIGGER TRG_BU_TEST
    BEFORE UPDATE ON TEST FOR EACH ROW
    BEGIN
    INSERT /*+ append */ INTO TEST_HISTORY
    (DATA, CREATING_USERID, CREATED_DATE, CHANGED_BY_USERID, CHANGED_DATE, CHANGE_DESCRIPTION)
    VALUES
    (:old.DATA, :old.CREATING_USERID, :old.CREATED_DATE, USER, SYSDATE, 'UPDATE');
    END;
    CREATE OR REPLACE TRIGGER TRG_BD_TEST
    BEFORE DELETE ON TEST FOR EACH ROW
    BEGIN
    INSERT /*+ append */ INTO TEST_HISTORY
    (DATA, CREATING_USERID, CREATED_DATE, CHANGED_BY_USERID, CHANGED_DATE, CHANGE_DESCRIPTION)
    VALUES
    (:old.DATA, :old.CREATING_USERID, :old.CREATED_DATE, USER, SYSDATE, 'DELETE');
    END;
    Using triggers like this will record who made an update or delete to the database and record the row before it was changed.
    Note that this method might not be suitable for very high transaction rates.
    You will need to 'clear' these history tables as part of routine maintenance.
    Hope that this Helps.
    Ronald.

  • How to use a repository in a new report

    Hello,
    I am starting to learn OBIEE and installed it in my home environment. I installed OBIEE, and used the RCU to install a repository in an Oracle database.
    Then, I used the BI Administration tool to make a 'repository' which connects to my data (also in an Oracle database).
    In the BI Administration tool I now have a physical layer, a business model and mapping, and a presentation layer. I saved this as a rpd file on my harddisk.
    Then, in the Oracle BIEE Home I choose 'New report'. But I cannot find how I can choose my 'repository' with my data. I also tried to make a new datamodel, but here I am also not able to choose my repository.
    How can I connect to my data in a report ? How does it work ?
    Many thanks in advance,
    Best Regards,
    André.

    You are totally getting Confused..
    Have these understanding first.
    You have DB installed.
    You will create schema(Two users) in DB using RCU(Repository Creation Utility:Basically stores metadata required for OBIEE).
    You will install OBIEE and use these schema there.
    Above installation installs weblogic and then deploy BI files to weblogic to make them work.You should remember weblogic password.
    Now when you open up Admin tool --Repository password should be 'Admin123' (A in capital)  and username is weblogic and password should be weblogic password.
    You will be able to open up the RPD in online mode.
    I suggest you to first go through the Architecture of OBIEE and then start installation and start exercises.
    mark correct or helpfull if it helps.Also let me know if you were able to open RPD and answers.
    Regards,
    Veeresh Rayan

  • Mailbox Issues in New Databases in DAG

    Ran across a strange problem after moving mailboxes into 2 new Databases in DAG. We have a 2 Server DAG that
    had 2 existing DBs. We created 3 additional DBs and planned on moving all MBs over to reclaim space from the older DBs. After moving 30 or so Mbs to the new Databases we found that while mailflow functioned, we could not access any shared mailboxes or mailboxes
    that had full control permissions could not be added. Users that had been moved but had shared MBs on another DB in Outlook would get error messages that Folders could not be expanded or Exchange Server was unreachable, all while mail flow was functioning.
    Moving these users back to the original DBs solves the issue. 
    Any ideas what could be happening to the new DBs added to the DAG? The DBs were mounted and copies were healthy.

    Hi ocean,
    Thank you for your question.
    Did you rebuild profile to check if the issue persist after we move mailbox to new DB?
    Are there multiple DCs in your organization? And please make sure sync is no problems between DCs.
    After we move mailbox, we could check if shared permission or Full Access Permission is missing on recipient mailbox.
    We suggest we post the entire error information to
    [email protected] for our troubleshooting.
    If there are any questions regarding this issue, please be free to let me know. 
    Best Regard,
    Jim
    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]
    Jim Xu
    TechNet Community Support

  • How to Create new database (copy all table with data excluding 2 table )with existing database.

    Please follow the scenario:
    using C#
    1) current database file name is DB20122013.
    when user click on new year button
    2)Create backup copy of current database
    3)New database should create with all table(excluding table "Dailytemp" and "DailyMain") with data and database name as DB20132014.
    Musakkhir Sayyed.

    Hi,
    I hope, below stored procedure is useful for your scenario.
    CREATE PROC Create_New_Database
    ( @DBNAME VARCHAR(550)
    )AS
    Test : Exec [Create_New_Database] @DBNAME='DB20122013'        
    BEGIN TRY               
    SET NOCOUNT ON   
    DECLARE @sql VARCHAR(MAX), @DBNAME_NEW VARCHAR(550),@num int
    IF EXISTS(SELECT 1 FROM sys.databases WHERE name=@DBNAME) AND ISNUMERIC(RIGHT(@DBNAME,4))=1
    BEGIN
    SELECT @num= RIGHT(@DBNAME,4) 
    SELECT @DBNAME_NEW='DB'+CAST(@num AS VARCHAR(10))+''+CAST(@num+1 AS VARCHAR(10)) 
    IF EXISTS(SELECT 1 FROM sys.databases WHERE name=@DBNAME_NEW)
    BEGIN
    SELECT @DBNAME_NEW+' database already exists'
    END
    ELSE
    BEGIN
    SET @sql='USE '+@DBNAME+'  '+' backup database '+@DBNAME+' to disk = ''C:\'+@DBNAME+'.bak''  '
    +' restore database '+@DBNAME_NEW+' from disk = ''C:\'+@DBNAME+'.bak'''
    +' with move '''+@DBNAME+''' to ''C:\'+@DBNAME+'_data.mdf'' ,
    move '''+@DBNAME+'_log'' to ''C:\'+@DBNAME+'_log.log'''
    EXEC (@sql)
    SET @sql=''
    SET @sql=' USE '+@DBNAME_NEW+' IF EXISTS(SELECT 1 FROM SYS.TABLES WHERE NAME=''Dailytemp'') 
    BEGIN DROP TABLE Dailytemp END IF EXISTS(SELECT 1 FROM SYS.TABLES WHERE NAME=''DailyMain'') 
    BEGIN DROP TABLE DailyMain END '
    EXEC (@sql)
    END  
    END
    ELSE 
    BEGIN
    SELECT 'Database is now found or Database name does not mach the scenario'
    END
    SET NOCOUNT OFF   
    END TRY   
    BEGIN CATCH                
     DECLARE @ErrorMessage NVARCHAR(4000)                
        DECLARE @ErrorSeverity INT                
        DECLARE @ErrorState INT                           
        SELECT @ErrorMessage = ERROR_MESSAGE(), @ErrorSeverity = ERROR_SEVERITY(),@ErrorState = ERROR_STATE()                
        RAISERROR (@ErrorMessage,@ErrorSeverity,@ErrorState )                
    END CATCH;   
    GO
    Regards,
    RAMBHARATH

  • How to create new database?

    In the "Oracle ODBC Test" client app, when I try to create a database with ...
    create database swett
    ... I get the error "ORA-01100: database already mounted" error.
    Why? I can create a table with:
    create table mytable ....
    and it builds it in the SYS database. I can insert rows into it and select rows out of it OK.
    I just don't know how to create a new database via ODBC. (There are probably ways to create a database via interactive GUI, but I need to do it via SQL statements for my app.)
    My connection is with user "internal" into SID ORCL.
    I'm using Oracle 8 Server on Netware 5 and the Windows 95 client on a Windows 98 machine.
    null

    Hi,
    I hope, below stored procedure is useful for your scenario.
    CREATE PROC Create_New_Database
    ( @DBNAME VARCHAR(550)
    )AS
    Test : Exec [Create_New_Database] @DBNAME='DB20122013'        
    BEGIN TRY               
    SET NOCOUNT ON   
    DECLARE @sql VARCHAR(MAX), @DBNAME_NEW VARCHAR(550),@num int
    IF EXISTS(SELECT 1 FROM sys.databases WHERE name=@DBNAME) AND ISNUMERIC(RIGHT(@DBNAME,4))=1
    BEGIN
    SELECT @num= RIGHT(@DBNAME,4) 
    SELECT @DBNAME_NEW='DB'+CAST(@num AS VARCHAR(10))+''+CAST(@num+1 AS VARCHAR(10)) 
    IF EXISTS(SELECT 1 FROM sys.databases WHERE name=@DBNAME_NEW)
    BEGIN
    SELECT @DBNAME_NEW+' database already exists'
    END
    ELSE
    BEGIN
    SET @sql='USE '+@DBNAME+'  '+' backup database '+@DBNAME+' to disk = ''C:\'+@DBNAME+'.bak''  '
    +' restore database '+@DBNAME_NEW+' from disk = ''C:\'+@DBNAME+'.bak'''
    +' with move '''+@DBNAME+''' to ''C:\'+@DBNAME+'_data.mdf'' ,
    move '''+@DBNAME+'_log'' to ''C:\'+@DBNAME+'_log.log'''
    EXEC (@sql)
    SET @sql=''
    SET @sql=' USE '+@DBNAME_NEW+' IF EXISTS(SELECT 1 FROM SYS.TABLES WHERE NAME=''Dailytemp'') 
    BEGIN DROP TABLE Dailytemp END IF EXISTS(SELECT 1 FROM SYS.TABLES WHERE NAME=''DailyMain'') 
    BEGIN DROP TABLE DailyMain END '
    EXEC (@sql)
    END  
    END
    ELSE 
    BEGIN
    SELECT 'Database is now found or Database name does not mach the scenario'
    END
    SET NOCOUNT OFF   
    END TRY   
    BEGIN CATCH                
     DECLARE @ErrorMessage NVARCHAR(4000)                
        DECLARE @ErrorSeverity INT                
        DECLARE @ErrorState INT                           
        SELECT @ErrorMessage = ERROR_MESSAGE(), @ErrorSeverity = ERROR_SEVERITY(),@ErrorState = ERROR_STATE()                
        RAISERROR (@ErrorMessage,@ErrorSeverity,@ErrorState )                
    END CATCH;   
    GO
    Regards,
    RAMBHARATH

  • Database defragmentation or creating a new database?

    Hi,
    We want to reclaim the whitespace in our Exchange database, so do you recommend creating a second database and moving the mailboxes over there, or shall we go with offline defragmentation?
    Database size: 400GB.
    Mailboxes counts: 300.
    Thoughts and recommendations?

    How much free space is in your database?  If it's under 20%, then I'd stay as you are.  If it's between 20% and 40%, it becomes a judgment call.  If it's over 40%, then I'd create a new database and move the mailboxes - primarily because this
    will allow your users to access unless their specific mailbox is being moved (and even then, the access I available for most of the move anyway), and you will both remove whitespace and eliminate any bad items you may have in the database.  Just keep
    in mind that when you move the mailboxes, any recoverable mailboxes will remain on the original database unless you re-associate them with accounts so you can move them.  (And if you re-associate them with accounts and move them, their "deleted on"
    date counter will be reset to the date you move them, if you delete them again.)
    Taking the database offline so you can compact it will leave your users out of email access for the duration of the process.  And if you have a DAG and multiple database copies, you will need to reseed them each after the process is complete. 
    If you create a new database, with associated copies on other servers, the move mailbox process will automatically reseed the database.
    Ever since Exchange 2000, when multiple database were available on a single server, I have been leery of running an offline defrag.  And since Exchange 2010 and its move requests, I am adamant against doing one - we reclaimed nearly 24TB in our 24 databases
    (each was nearly 2 TB, and each is now under 1 TB), all using the process I suggest above.

Maybe you are looking for