Moving targets, metrics, etc to a new repository

I have OMS 10.2.0.3 configured to use a repository in a 10.2.0.2 database. I need to move the information in that repository to another database as there are some problems with it and it can not be upgraded to 10.2.0.4. An exp/imp will not work.
I installed a new OMS 10.2.0.4 on a 11.1.0.6 database. I now need to get my old information to the new one:
** targets, users, roles, groups, metrics, templates, beacons, jobs, credentials, notification rules, etc
I plan on pointing agents to the new OMS for each host, which would get the targets. I would then need to update the metrics and create the other objects listed above.
1. Does anyone know of a better method? - upgrade and clone are both out.
2. Are there APIs or SQLs to get the information of what the details of the current items are so I can get a list of what to manually enter in the new repository? I put together some SQLs to get some of the info, but I don't have most of them.
For example, I can get a list of:
all jobs scheduled : MGMT_JOB_SCHEDULE, MGMT_JOB, MGMT_JOB_TARGET, MGMT_TARGETS
groups : MGMT$GROUP_MEMBERS
I'd like the way to get users, roles, metrics, templates, beacons, credentials, notification rules, etc.
3. Are there APIs or SQLs to create these in the new repository?
Thanks,
Gary

Unfortunately, I see that my script gathers most information for jobs, but not the actual job steps itself. That is in MGMT_JOB_LARGE_PARAMS, but I haven't seen a way to join that yet.
I'd still liek some scripts.
Her is teh incomplete one I have for jobs.
SELECT j.job_owner, j.job_name, t.target_name, DECODE(s.frequency_code,
1, 'Once', 2, 'Interval', 3, 'Daily', 4, 'Day of Week',
5, 'Day of Month', 6, 'Day of Year', s.frequency_code) "FREQUENCY",
s.start_time, s.interval, -- months,
s.days, j.job_description, j.job_status
FROM MGMT_JOB_SCHEDULE s, MGMT_JOB j, MGMT_JOB_TARGET jt, MGMT_TARGETS t
WHERE s.schedule_id=j.schedule_id AND frequency_code != 0
AND j.expired = 0 AND j.is_library=0 -- and job_name like '%BACKUP%'
AND jt.job_id = j.job_id AND jt.target_guid=t.target_guid AND jt.execution_id=HEXTORAW('0000000000000000')
ORDER BY s.execution_hours;

Similar Messages

  • Moving target db to new RMAN catalog.

    Using oracle 10g rel2 on RedHat 4.
    Scenario: I have RmanCatalogA (with many target db's), I have new RmanCatalogB (with different target db's)
    What's the best way to move a target database X from RmanCatalogA to the new RmanCatalogB. I did not find any matching / ideal scenario in any Oracle documentation. I want my old and new backups to be valid and restorable.
    Not comfortable un-registering my db X from RmanCatalogA and registering to RmanCatalogB. Not 100% if I will able to restore from backups (when it was connected to old catalog).
    Any suggestion or directions?

    Your database controlfile will contain the backup information as well - just register the database with the new catalog and then run some queries against it and you should see everything intact, then unregister from the old catalog.
    Thanks
    Paul

  • How to delete original repository and use new repository

    Hello,
    I installed GRID 10204 and I selected to create the repository during the grid installation process. The grid 10204 installed a database repository version 10104.
    I created a 10201 database and patched it to 10204. Now I want to use this 10204 database as my GRID repository. I don't care about the 10104 database and want to drop this repository. How do I drop the 10104 repository and use the new 10204 as the new repository. I don't need any data on the 10104. Thank you.

    Hmmmm.
    When you install grid, it has a whole load of config data in various files that the oms uses.
    Its not a simple case of swapping your databases over.
    You do have a few options
    - start again. Install grid again but use the existing database option
    - upgrade your 10104 database
    Anything else is likely to be waste of a time. You can try and import the sysman schema from the 10104 to the 10204 database. Get the 10204 database on the same server where the 10104 was and rename the 10204 database to to the same name as the 10104. You might then have to reconfigure the repository target to update the oracle home etc.
    To be honest, reinstall or upgrade really is the safest and quickest bet.

  • EJB, Moving Target DB, Abstract Schema

    I apologize in advance for seeming clueless. My explanation is this: There is no money. I have inexperience staff. I've been away from building architectures too long to be specific. I can't buy a contractor. I need some advice.
    We are converting many Access applications to Java/J2EE/AnyRelationalDB The way we have planned to approach this is to divide the DBs into various classes, say Personnel records, Vehicles, ...so on). These DBs will be moving targets that will change as we are able to discover Access applications that add/change features to whatever class of DB we're working with at the moment.
    My goal is to eliminate changing each and every App everytime some DB parameter changes (DBMS, changed attribute, ..., etc). I think EBJ/abstract schemas will let me to get a generic view of the DB and insulate the App from the very real possibility of changing DB parameters.
    I need some help verifying this or pointing me in a better direction.
    Thanks for your help,
    Bob

    I think your best option is to implement CMP entity beans with a facade of services (business logic) that access the beans as tables in a DB. The only advantage of doing this will be the DB vendor independence and transparency because you define static queries in a declarative way.
    I don't quite understand what you mean by DB parameters. But if you refer to changes to the database schema like new tables, new fields or changes to existing fields, you still need to align those changes with the attribuites in your application.
    Cheers

  • I have moved my iTunes library to a new Windows 7 PC and cannot transfer music from the new iTunes PC to my iPhone. The iPhone only accepts transfers from the original iTunes PC.

    I have moved my iTunes library to a new Windows 7 PC and cannot transfer music from the new iTunes PC to my iPhone 4S. The iPhone will only accept music transfers from the original iTunes PC. I have come to understand that an iPhone can have only one "daddy" iTunes PC, but have not been able to find out how to change the "daddy". I have done a backup of the iPhone, and a "Restore to Original Settings". Then I restored the content using the new iTunes PC. My Apps and contacts, etc. are back on the iPhone, but it still won't accept music from the new iTunes PC.

    What happens when you try to sync the iphone to the new computer?

  • I recently purchased Windows 8 laptop and installed Office 2013. I then installed iTunes. After moving all my music to the new PC, I got iTunes to import it and sync it to my iPod (3rd gen).  However, I cannot get iTunes to sync my Outlook Contacts

    I recently purchased a Windows 8 laptop and istalled Office 2013.  I then installed iTunes. After moving all my music to my new PC I got iTunes to import it, and then synced it to my iPod (3rd gen.) However, I cannot get iTunes to sync my Outlook Calendar or Contacts with my iPod.  When I try it crashes Outlook.  iTunes continues to try to sync, but when it finishes my Calendar and Contents are empty (ERASED!).  I have de-installed and re-installed iTunes (according to Apple's instructions), repaired Office 2013 and Outlook, scanned for viruses (etc), cleaned out temp folders, defragmented, etc., etc., etc. Has anyone seen this before, and does anyone know houw to fix it?  (HELP!)

    Well, I guess I have to download some other software to make my apple product work. Really great stuff you guys sell. I will never buy another apple product. My Iphone, Ipod and Itunes are junk

  • My old PC is about to die. How do I transfer all my data, apps etc to a new PC

    I have been backing up my iPhone and also iPad2 on an old Windows PC which is soon to die - it seems. I would like to transfer all data,apps, contact, etc to my new Mac but cannot sync via iTunes as all existing apps will be deleted. There must be a way to transfer from one PC to another and then sync with eth new one, but how please??

    The SyncToy tip will help to get your current library archived to an external drive so that you can migrate it from the PC to the Mac. However you should not in general attempt to merge two different library folders with this tool. Where two files have the same relative path within the two synced folders the newest will overwrite the oldest. In the case of your library database files this might have unintended consequences. Instead move the existing iTunes folder on the Mac out of the way, restore the migrated library from the PC into your profile's music folder so that it becomes the default library, then import any additional content from the media folder within the previously moved library.
    tt2

  • Help.......I moved my LR5 catalog to a new hard drive and lost my COLLECTIONS

    I moved my LR5 catalog to a new hard drive and lost my COLLECTIONS.  In the collections i get the messageI then locate the file in the new drive :
    i locate the file and receive this message
    How can i get the Collection to redirect to the new location??   I have about  a LOT of missing pics in Collections. 
    Thank you!  Jamie

    Thank your for responding.......
    To clarify....I moved LIGHTROOM to a new hard drive....including 1) Working catalogs, 2) Working exports, and 3) Working Originals.  I now know i did not follow correct procedure for "moving a catalog".  I dragged  it to the new hard drive. Yikes!!
    (I was at Imaging last week and spoke to Julianne Kost, she recommended that i use the FIND link....but this gave me the same result as i am speaking about above.)
    To Clarify......The Collections are listed. The target path to the images did not change when i moved to the new hard drive.
    There is an exclamation point in the right hand corner of the images in each collection.  When i click on the exclamation mark i get the message....."“JK_120214_7782.NEF” could not be used because the original file could not be found. Would you like to locate it?"  I then locate the file IN THE NEW current DRIVE...at which time i click on it and i receive the message.....
    this file is associated with another photo in the catalog.... each file can only be associated with one photo.  Then if i choose to show in library....it points to the image in the FOLDER  tab...which is in fact where the image is located. 
    Up to this point, when i need one of these older collections i have had to recreate.  i have manually gone to the original.....in the FOLDER tab, found the image and added to the Collections again.  Then i go back and delete all the files with the ! ......a long and tedious task.  I was hoping there was an easier way to recreate my "collections".
    Initially i was going to just MOVE the entire library again ( the correct way) ....which i should've done i believe.  Now i have imported more jobs and have created additional collections , so i'd love to find a short cut!
    I hope this is a bit more clear!!
    Thank you.

  • I recently moved to Australia and received a new iphone with a local AUS number. I have a backup of my US iphone in the icloud. Question: when I activate my new AUS iphone which option should I choose - new phone or restore from backup?

    I recently moved to Australia and received a new iphone with a local AUS number. I have a backup of my US iphone in the icloud. Question: when I activate my new AUS iphone which option should I choose - new phone or restore from backup?  I would like to have all my contacts, email, etc. however wasn't sure that option was appropriate since it is a different/new number and a new phone.

    Yes, as new iPhone then restore from backup.

  • Versioing: CVS Status not displaying new repository files

    I did some quick searches and did not find this in the forum. Hopefully it is not a duplicate. If so, please point me to the original thread.
    We have a multi-developer project underway with Creator. We are using CVS for the shared source repository. When one developer checks in a new file and other developer's use the CVS Status option, the new files do not display as 'Needs Checkout'. Of course, any files the user already has checked out display with the appropriate status but new repository files are missing.
    Since we use CVS extensively, right now the developers communicate the new files and then check them out via command line CVS. We have the IDE set in 'expert' mode, etc.
    Is this a know bug or is there some setting for the IDE to get it to display files with status 'Needs Checkout' from the cvs repository?

    As per the documentation at:
    http://ximbiot.com/cvs/manual/cvs-1.11.22/cvs_10.html
    Based on what operations you have performed on a checked out file, and what operations others have performed to that file in the repository, one can classify a file in a number of states. The states, as reported by the status command, are:
    Needs Checkout
        Someone else has committed a newer revision to the repository. The name is slightly misleading; you will ordinarily use update rather than checkout to get that newer revision.
    ...Thus the 'cvs status' command works only on local files and 'Needs Checkout', from cvs documentation itself, is a misnomer and is really more like 'Needs Update'.
    In Creator (and NetBeans), the nodes on the cvs explorer actually map to physical files and thus do not display nodes for files that may only be in the server. But you do raise an interesting question though; creator could display virtual nodes for files not in local workspace thereby providing a preview before actual checkout...

  • Moving Target DB and Abstract Schema

    I apologize in advance for seeming clueless. My explanation is this: There is no money. I have inexperience staff. I've been away from building architectures too long to be specific. I can't buy a contractor. I need some advice.
    We are converting many Access applications to Java/J2EE/AnyRerelationalDB The way we have planned to approach this is to divide the DBs into various classes, say Personnel records, Vehicles, ...so on). These DBs will be moving targets that will change as we are able to discover Access applications that add/change features to whatever class of DB we're working with at the moment.
    My goal is to eliminate changing each and every App everytime some DB parameter changes (DBMS, changed attribute, ..., etc). I think EBJ/abstract schemas will let me to get a generic view of the DB and insulate the App from the very real possibility of changing DB parameters.
    I need some help verifying this or pointing me in a better direction.
    Thanks for your help,
    Bob

    I apologize in advance for seeming clueless. My
    explanation is this: There is no money. I have
    inexperience staff. I've been away from building
    architectures too long to be specific. I can't buy a
    contractor. I need some advice.
    We are converting many Access applications to
    Java/J2EE/AnyRerelationalDB The way we have planned
    to approach this is to divide the DBs into various
    classes, say Personnel records, Vehicles, ...so on).
    These DBs will be moving targets that will change as
    s we are able to discover Access applications that
    add/change features to whatever class of DB we're
    working with at the moment.My first advice is that the description of you team doesn't bode well for the success of the project described in the second.
    Let me frame it in another context to illuminate how dubious this sounds:
    I want to build house with curved glass walls, high vaulted ceilings perched on a steep hillside. There is no money. I have inexperienced staff. I've been away from building houses too long to be specific. I can't buy a contractor.
    My goal is to eliminate changing each and every App
    everytime some DB parameter changes (DBMS, changed
    attribute, ..., etc). I think EBJ/abstract schemas
    will let me to get a generic view of the DB and
    insulate the App from the very real possibility of
    changing DB parameters.If you use an EJB layer than supports XDoclet or other portable CMP, yes, it will do this. However, it's not a simple and it your table structure changes significantly, your EJB will not work autmatically. The fact of the matter is that EJB is pretty complex and requires a lot of esoteric knowledge. Many EBJ projects have failed or produced terrible results. If you don't have any very capable developer/designers and/or have no developers with solid EJB experience I would under no circustances attempt this. EBJ is often overkill anyway. The real point of EJB is to help with distributed computing, not to abstract away the DB schema.
    I simple approach that many people overlook is to use stored procedures. Stored procedures create a layer of abstraction between your code and the DB such that the DB can change without changing the code.

  • Error in installing a new Repository in OWB 10g Release 2

    Hi,
    I am facing a consistent problem in creating a new repository, even after uninstalling and re-installing the OWB client many times. While creating a repository, I get the following three errors, after which the Repository Assistant automaticlly shuts down:
    1. The wizard noticed that the installation parameter 'enqueue_resources' of the database GRUSIT is set to 968. The recommended value for Warehouse Builder is 3000.
    2.The Warehouse Builder repository owner installation failed on user REPOWNER.
    java.sql.SQLException: ORA-04031: unable to allocate 4080 bytes of shared memory ("shared pool", "BEGIN
    DECLARE
    PROCEDURE brow...", "PL/SQL MPCODE", "pl/sql DS pg")
    3.INS0029: Error occured during installation. Check the log file
    F:\OraHome_1\owb\UnifiedRepos\log_070504_115828.000.log
    for details.
    Could you pls help me in resolving this issue?
    Thanks in advance,
    Tanvi

    Does this mean, ... we have to install the OWB 64 bit and install a new repository in the 64 bit server?In my opinion you don't need to create new repository.
    After migrating database to 64bit perform steps from Metalink note 434272.1 "How To Update Warehouse Builder 10.2 After A Database Cloning".
    It is better to save the same path for new OWB 64bit software. If you install OWB into different path you need to update OWBRTPS table with new path to OWB software (look at metalink note 550271.1).
    Regards,
    Oleg

  • Error while registering a new repository on Data Services 4.0

    Hi all,
    I've a BO Enterprise Platform 4.0 + Data Services 4.0 installation, and I'm trying to register a new local repository in addition to the installation default one. I followed these steps:
    1) Create a new database schema for the repository
    2) Created the local repository with repository manager
    3) Created a new job server associated with the new repository through the server manager
    4) Tried to register the new repository in the CMC
    I wasn't able to complete the step 4 since i got the following error "unable to connect to profile server".
    Any clue?
    Thank you very much
    Pietro
    Edited by: Pietro Castelli on Jan 30, 2012 12:03 PM

    what is the complete version of DS 4.0 ? also check the REPO_TYPE in AL_VERSION table, for local repo this will be NULL

  • Error while generating DDL commands using startSQLRepository for a new Repository

    Hi,
    I am trying to generate DDL Commands using startSQLRepository for my new repository SubashRepository so that I can use them to create new table structure.
    All the repository related changes looks good. i can see my repository in ACC
    When I run the command:
    startSQLRepository -m SupremeATG –repository /com/supreme/SubashRepository /com/supreme/subashRepository.xml -outputSQLFile C:/ATG/ATG9.3/SupremeATG/config/com/supreme/subashRepositoryDDL.txt
    I get following error:
    Table 'SUBASH_MEMBER' in item-descriptor: 'member' does not exist in a table space accessible by the data source.  DatabaseMetaData.getColumns returns no columns
    Note:
    * errors related to definition file were cleared as the same command threw relevant exception while trying to store a array property with out creating a multi table.
    * Now this is the only exception i see
    * Some DDL are getting generated in the output file, but those are related to inventory repository (I am not sure why this is happening as I have specifically gave the path to my definition file).
    Any help in resolving this is highly appreciated.

    Pl post in the ATG forum

  • I have moved all my songs onto a new external hard drive but it has wiped my iPod clean. Although when I connect my iPod it's starts teh process of sync'ing - so many songs in I get a pop up advising the siong could not be read or written to?

    I  have moved all my itunes onto a new external hard drive to free up space. It has wiped my ipod clean! I can still see the itunes on the new hard drive so I restored my iPod and tried to sync. Although when I connect my iPod it's in the process of syncing, so many songs in I get a pop up saying could not copy to my iPod as xyz song title could not be read or written. I click ok for this pop up to dissapear and then another pop up appears saying could not coyp to iPod because of unknown error.!!! Help I'm going crazy.

    Did you go into iTunes to change the location of your media files? if not you will need to go into iTunes and click on preference and select the advance tab then click the iTunes Media folder location.  Select the location of your on external hard drive. 

Maybe you are looking for

  • How can I find and disable Page Down in the Keyboard Shortcuts menu?

    I often accidentally hit Page Down because it's right beside my arrow keys. It seems to switch to the next symbol in the library which is something I never under any circumstances would want to do. How do I disable this incredibly annoying keyboard s

  • Email on iMac can't be saved since I synced my Curve8330

    I have always saved my emails from my Mail program on my iMac into folders on an external drive. This is essential for me. However, since I've been using and syncing my Curve 8330, the Save As function does not work at all on my computer....no matter

  • Why not passing only one XML String parameter to Axis Web Service interface

    Hi, I am a newbie of axis and this is the first post in SUN site. I am writing a web service. I am considering this question after trying some examples in Axis: Why not defined parameters of our service interface (Service method.) as a XML String? -W

  • Catchup not working

    Since moving to high-speed fiber (new router and fiber modem) Catchup stalls whenever any provider (eg BBC, ITV, Sky or whatever) is highlighted. i.e. if you then select that provider NOTHING happens for at least a minute followed by he message "Prog

  • BUY button does not work in iTunes

    I can download music from iTunes store by 'gifting' pull down menu, but cannot download music by clicking on the BUY button. What is wrong ?.