Seeking for Best Solutions to move code from Dev to Test: 11.1.1.3

Seeking for Best Solutions to move code from Development to Test server: Studio Edition Version 11.1.1.3.0
Development: Hostname: dev; Web logic server: WLSDev; Database: DBDev
Testing: Hostname: test; Web logic server: WLSTest; Database: DBTest
Now how do we take code from Development environment to Test environment? Once code is taken from development, testing team can't touch it.

Lalitk,
The obvious answer is just deploying the same EAR in test that you deployed to production?
What other aspects do you need to deploy? If you have database code/data that needed to be migrated as well, I would copy the production DB to test and then apply all of your DB upgrade/patch scripts against that - in that way you can ensure your upgrade/patch scripts get tested as well.
Are there other things you need to migrate (MDS repositories, security setups, etc)?
John

Similar Messages

  • What is the best practice to migrate code from dev  to prod

    I have few questions related OWB version control/migration.
    1. What is the best way to Version the design repository
    We want to keep a separate copy of production and test version all the time.
    Do we have to create design repository in each environment ?
    2. Is it possible to have multiple copies of the same mapping ? If yes how this is done in OWB
    3. How to migrate the code to different environments
    2.1 Is there a way to provide DBA with script for deploying PL/SQL mapping without using OWB ?
    2.2 How important is the setting before actual code in the XML file is required to execute the mapping.
    2.3 We are planning to create tables , materialized view etc., outside OWB will this cause any problems ?
    Note : Our DBA prepare compiling the code through SQLPLUS
    3. Which user ( target owner or runtime access ) should be used to execute the mapping through sqlplus.
    We are looking for a solution were we do not have to use OWB tools for version control , migration and deployment. Currently we are using PVCS for version control and migration.
    we are using OWB 9.2 , Oracle 9.2.
    Any suggestion/ comments are appreciated.
    Thanks,
    Sekar,K

    Some answers below:
    1. Yes, you should use snapshots (right click on t he object and select create snapshot or on the project menu, select Change Manager for a centralized snapshot management).
    2. See above.
    3. Usually you will export the (test/development) design repository to an mdl file, and import it into the other (production) design directory. Then you will deploy the code from the other design directory into the production target (runtime).
    2.1 From 9.2 on, you will have to deploy to file and then use OWB scripting (OMBPlus) to deploy the generated file outside of the deployment manager.
    2.2 Not sure what is asked in this question - can you rephrase?
    2.3 No, but the creation and use of thes will not be managed and audited by OWB (Runtime Audit Browser)
    3.(bis) The target owner.
    Regards:
    Igor

  • Move code from DEV to PROD

    Hi,
    I need to move my code dev to production.
    Please let me know how.
    I have seen the posts on exporing scenario and then importing them.
    However what about the dependencies like logical schema, models etc???? How do i move them?
    Also, what about contexts?
    I have a csv to db table scenario, which i need to move.
    For DB JNDI can be used, but what about file paths??
    Please let me know.
    Thanks,
    Rosh

    Hi RoseParab,
    We have two way to migrate from Dev to Prod.
    First Way:
    Using ODI import and export option.
    Login to Dev instance,
    Goto Topology> File Menu>Export>Export Master Repository in ZIP format
    File Menu>Export>Export Logical Schema in ZIP format
    In Designer, go to File menu>Export>Export Work Repository in ZIP format
    Quit from Dev instance
    Login to Production instance
    Goto Topology> Import>Import Master Repository in ZIP format (please select INSERT and UPDATE option from dropdown list)
    Import>Import Logical Schema in ZIP format (please select INSERT and UPDATE option from dropdown list)
    In Designer Import>Import Work Repository in ZIP format (please select INSERT and UPDATE option from dropdown list)
    Second Way:
    Using Oracle DB Export/Import command (Data pum)
    Hope it will helps you
    Note: Make sure that you should change Work Repository ID after moving Dev stuff to Production
    Regards,
    Phanikanth

  • Best wasy to move OC4J from Production to Test MidTier

    I've read the documents but I am still lost on the best way to move a OC4J instance to another MidTier
    I have 3 separate OC4J instances that are deployed for 3 separate divisions that contain different apps.
    What is the easiest way to move them to a different MidTier in a different environment. (in my case same OS,portal 10.1.2 just slightly different layout)
    I have worked though the create a test from production and have my test up and running. I just need to deploy the production apps to the test environment. Both have separate MidTiers, Infrastures and database.
    I know I can manually recreate OC$J instance names and then manually recreate the apps from the .ear files but is there a easier faster way to do this?
    Thanks

    Hi,
    It's not a simple move, it's an upgrade...
    So perhaps transportable tablespace can help you (export from 10gR1 and import into 10gR2 should be work).
    Read the following doc for more info and sample :
    http://download-west.oracle.com/docs/cd/B14117_01/server.101/b10825/dp_export.htm#i1006840
    http://download-west.oracle.com/docs/cd/B14117_01/server.101/b10739/tspaces.htm#sthref1231
    http://download-uk.oracle.com/docs/cd/B19306_01/server.102/b14215/dp_import.htm#BEHFFDCD
    http://download-uk.oracle.com/docs/cd/B19306_01/server.102/b14231/tspaces.htm#sthref1267
    Or export your db in dump file, on the new server, precreate your db as well, and import like for an upgrade :
    http://download-uk.oracle.com/docs/cd/B19306_01/server.102/b14238/preup.htm#sthref67
    Nicolas.
    Message was edited by:
    N. Gasparotto

  • Best Practice for Migrating code from Dev to a fresh Test ODI instance

    Dear All,
    This is Priya.
    We are using ODI 11.1.1.6 version.
    In my ODI project, we have separate installations for Dev, Test and Prod. i.e. Master repositories are not common between all the three. Now my code is ready in dev. Test environment is just installed with ODI and Master and Work repositories are created. Thats it
    Now, I need to know and understand what is the simple & best way to import the code from Dev and migrate it to test environment. Can some one brief the same as a step by step procedure in 5-6 lines?
    Some questions on current state.
    1. Do the id's of master and work repositories in Dev and Test need to be the same?
    2. I usually see in export file a repository id with 999 and fail to understand what it is exactly. None of my master or work repositories are named with that id.
    3. Logical Architecture objects and context do not have an export option. What is the suitable alternative for this?
    Thanks,
    Priya
    Edited by: 948115 on Jul 23, 2012 6:19 AM

    948115 wrote:
    Dear All,
    This is Priya.
    We are using ODI 11.1.1.6 version.
    In my ODI project, we have separate installations for Dev, Test and Prod. i.e. Master repositories are not common between all the three. Now my code is ready in dev. Test environment is just installed with ODI and Master and Work repositories are created. Thats it
    Now, I need to know and understand what is the simple & best way to import the code from Dev and migrate it to test environment. Can some one brief the same as a step by step procedure in 5-6 lines? If this is the 1st time you are moving to QA, better export/import complete work repositories. If it is not the 1st time then create scenario of specific packages and export/import them to QA. In case of scenario you need not to bother about model/datastores. keep in mind that the logical schema name should be same in QA as used in your DEV.
    Some questions on current state.
    1. Do the id's of master and work repositories in Dev and Test need to be the same?It should be different.
    2. I usually see in export file a repository id with 999 and fail to understand what it is exactly. None of my master or work repositories are named with that id.It is required to ensure object uniqueness across several work repositories. For more understanding you can refer
    http://docs.oracle.com/cd/E14571_01/integrate.1111/e12643/export_import.htm
    http://odiexperts.com/odi-internal-id/
    3. Logical Architecture objects and context do not have an export option. What is the suitable alternative for this?If you are exporting topology then you will get the logical connection and context details. If you are not exporting topology then you need to manually create context and other physical connection/logical connection.
    >
    Thanks,
    Priya
    Edited by: 948115 on Jul 23, 2012 6:19 AM

  • Sometimes my computer takes too long to connect to new website. I am running a pretty powerful work program at same time, what is the best solution? Upgrading speed from cable network, is it a hard drive issue? do I need to "clean out" the computer?

    Many times my computer takes too long to connect to new website. I have wireless internet (time capsule) and I am running a pretty powerful real time financial work program at same time, what is the best solution? Upgrading speed from cable network? is it a hard drive issue? do I only need to "clean out" the computer? Or all of the above...not to computer saavy.  It is a Macbook Pro  osx 10.6.8 (late 2010).

    Almost certainly none of the above!  Try each of the following in this order:
    Select 'Reset Safari' from the Safari menu.
    Close down Safari;  move <home>/Library/Caches/com.apple.Safari/Cache.db to the trash; restart Safari.
    Change the DNS servers in your network settings to use the OpenDNS servers: 208.67.222.222 and 208.67.220.220
    Turn off DNS pre-fetching by entering the following command in Terminal and restarting Safari:
              defaults write com.apple.safari WebKitDNSPrefetchingEnabled -boolean false

  • Best practice on 'from dev to test'move.

    Hello.
    My Repository 10.2.0.1.0
    My client 10.2.1.31
    I am writing to ask someone what would be the best practice and most common_sense_oriented way to move OWB from dev to qa/test environment?
    I have read a number of recommendations on this forum and other oracle docs and it seem somewhat tedious exercise...
    At the moment i am either having to simply copy and paste (ye not very professional but works a treat!) then just re-sync the tables to point to correct location on some of the smaller of my projects.
    Now i have a huge project with hundreds of maps with different source locations etc.
    I want to move it into test.
    My test environment is where we test ETL process before implementing it in live as oppose to UAT test.
    I imported the tables into OWB etc from the test, now i want to move my maps from dev to test and this is where my HOW TO comes.
    I have different runtime repositories on my test as per oracle recommended (same names apply to dev and test and live repositories for the consistency purposes). Importing the maps from the export of dev to test doesn't really work and i don't really want start tweaking with export files.
    for some reasons the import only imports it back to the project the export was taken from.... (which is as useful as a smack on a head, in my humble).
    copy and paste the re-sync all tables would be madness, misery and pain all in one!
    So what do i need to do?
    1) OK i imported all the tables and views from the test environment into OWB
    2) How do i move my maps from dev to test?
    3) even if i copy them over - would i honeslty have to then resync tables in every single map (i am already crying by the thought of it)?!
    It seem a little tidious to me.
    I can imagine that there is no silver bullet and everyone have different ideas, but someone please share your experience on how would do it?
    Here is something from the user guide and no matter how many times i read this - i just don't get how i can relate it to what i need to achieve.
    The following quote is from "OWB User Guide", Chapter 3.
    "Each location defined within a project can be registered separately within each Runtime Repository, and each registration can reference different physical information. Using this approach, you can design and configure a target system one time, and deploy it many times with different physical characteristics. This is useful if you need to create multiple versions of the same system such as development, test, and production."
    As i said - i have all my tables imported from DB to OWB, now how do i make my maps to appear in repository on test? I can see the relevance of location to deploy maps into the test runtime repository, but before then i somehow have to make them to appear in my test runtime repository in Design and make sure they are referencing correct tables etc.
    Any help would be greatly appreciated.
    Kind Regards
    Vix

    Hello Oleg.
    Thank you very much for such detailed and very helpful reply.
    You are correct - i have my Design Centre and within it two projects - dev and test.
    Dev has all the locations pointing to the Development DB and it has it's own runtime repository/control centre configured.
    Test has all the locations pointing to the Test DB and it also has it's own runtime repository/control centre configured.
    I have one design centre and two runtime environments.
    both dev and test have identical tables etc. I moved the logic over form dev to test (all the functions, procedures etc), i have also imported tables and logic from TEST DB to the test project.
    All i want to do is now move over the maps from DEv to TEST. Which is not a problem (copy and paste are helpful), but then the copied maps are still point to the tables in Dev. Which means i have to sync it with test tables - i hope i am making sense here!
    I was hoping that there is some clever way of just changing something to effectively tell table in the map 'to point to the table in this database'. If the map is already configured - the only way to do it is to sync the tables, which will enable you to select the DB and table you want your table in the map to be pointing to.
    The reason i do not use imp/exp between projects - it is not really reliable. Have to then jump through the hoops ensuring all contrains etc are there. It is safer to just import whatever i need from DB - ensuring all my constrains etc are there.
    I do regular exports as a means of 'having a backup copy of the project', but never managed to import anything from one project to another (was easier with OWB 9 where it was possible to amend the .mdl file). It works fine to import back to the project the export was taken from.
    I don't have problems with the location etc - took me hours to set everything the way i wanted it to be and now all the deployments are going to the right schemas, DBs etc.
    Is there are any other way re-pointing the tables in the map to another DB? Like in the falt files - there is an option to choose the location of the file. So once the location is define/registered etc - you can choose whatever one is needed fromm the drop down on the left of the map.
    I hoped there would be something similar for the tables. Like a big bulk option for 'tick here if you want all tables in the maps to be pointing to identical tables in another DB) type thing. Guess something like bulk sync option...
    Oh well, guess i just have to stick with sync option (sobbing uncontrolably) and it hasn't stopped raining here for days!
    Once again - thank you very much for all your kind help and advice.
    Kind Regards
    Vix

  • How to move the code and deploy the code from Dev environment to SIT.

    Hi,
    I have a requirement.
    I want to move the components and deploy the code from dev Environment to SIT environment using Ant Script for AIA.
    Before doing this is any pre-requisites required?
    Can you please help on this,how to do?
    Thanks in advance.

    Further to add to Anish Statement follow the steps to easily migrate the code to different environment.
    Steps:
    First log on to the EM Console and export the Composite Flow as a SAR file to a location.
    In Jdeveloper create a project using the same name of a SAR file like - ProcessSalesorderFlow
    import the project using the option import the composite using a SAR File.
    After import , then click on the composite and then generate the config plan.
    In config plan add all the url changes using the search and replace Tags.
    And in case if you have a JCA Adapters the same has to be taken care in SIT environment why because during deployment a lookup happens and deployment fails if it dont find the JNDI Name.
    Take the SAR file adn config plan seperately from JDeveloper.
    Now open em console again and then deploy it using the config file and SAR file.
    Thanks,
    Venugopal SSS RAJA

  • Best LKM to move data from with in Oracle from one schema to another Schema

    Hi Gurus,
    What is the best KM to move data from one schema to another schema within same oracle database.
    Thanks in advance

    Dear,
    If your source and target are on the same database server then you dont need LKM.
    You have to 1. create one data server for the database server
    2. Create one physical schema for your source and another physical schema for your target under the above created data server.
    3. Then create models for each above created physical schema
    In this case you just need IKM knowledge module
    Please refer http://oditrainings.blogspot.in/2012/08/odi-interface-source-target-on-same.html
    If your source and target are on different server then you must create two different data servers in topology. You have to use LKM.
    The best LKM to use is LKM oracle to Oracle dblink. But you should have proper grants to use it
    If your source has very few records you can go with LKM SQL to Oracle other wise use LKM oracle to Oracle dblink

  • Best way to move photos from iPad to Mac?  I have a card reader foriPad and used it on a recent vacation to put pics on iPad.  How can I now move them to Mac?  Preferably without using iPhoto.

    Best way to move photos from iPad to Mac?  I have a card reader for iPad and used it on a recent vacation to put pics on iPad.  How can I now move them to Mac?  Preferably without using iPhoto.

    With iPhoto or with the Image Capture application.

  • Best Practice - Move from DEV to TEST

    OK guys - we OWB'ers have tried many approaches to moving OWB Objects. With the new Ver 2 I like to use only 1 Design Repository - then I create 2 Projects 1 for DEV and 1 for TEST. I also have 2 Control Centers with associated Target Schemas - 1 for DEV and 1 for TEST.
    This works great since having only 1 Design Repository makes things less complicated and we can do Snapshots and Compare Objects since we use only 1 repository.
    The only problem is when I do a copy and paste from DEV to TEST with say a Fact Table it is difficult to reset all the location info - especially the Lookup Tables.
    Any suggestions?
    Do not suggest using on Project with multiple Configurations since I tried this and it create other issues.

    OK guys - we OWB'ers have tried many approaches to moving OWB Objects. With the new Ver 2 I like to use only 1 Design Repository - then I create 2 Projects 1 for DEV and 1 for TEST. I also have 2 Control Centers with associated Target Schemas - 1 for DEV and 1 for TEST.
    This works great since having only 1 Design Repository makes things less complicated and we can do Snapshots and Compare Objects since we use only 1 repository.
    The only problem is when I do a copy and paste from DEV to TEST with say a Fact Table it is difficult to reset all the location info - especially the Lookup Tables.
    Any suggestions?
    Do not suggest using on Project with multiple Configurations since I tried this and it create other issues.

  • AIA FP 11.1.1.3 - Deployment Plan Generation for migrating from Dev to Test

    Hi All,
    Can you please validate the following from a Deployment from Dev to Test perspective. We have almost completed the development for an interface using AIA 11g, and are in the process of moving the interface from one instnace to another, and any help is highly appreciated.
    Let us the take Purchase Order Integration between a legacy application and Oracle Purchasing, File Adapter-> Requester ABCS -> EBS -> Provider ABCS -> DB Adapter, which is a classical flow.
    1. The Functional person defines a project in the Project Life Cycle Workbench
    2. Functional decomposition done through Purchase Prder Business Task, and Service Solution components for each composite in the classical flow
    3. The ABCSs are created by linking the corresponding Service Solution Components from the LCW using Service Contructor. These composite.xmls will have the annotation populated by the Service Constructor. It is okay for these composites to have concrete wsdls during development phase, but the concreate ones have to be replaced with abstract ones before geenrating deployment plans.
    4. The EBS is not changed, it will have the annotations prepopulated, and there is no need to add any annoations to them
    5. The File Adapter and DB Adapters (Transport Adapters?) have to be annotated based on the developer guide
    6. The xsds and wsdl go into the mds based using the scripts provided. Any other common components can also be placed into MDS.
    7. Once the development is done, Harvest the composites using the AIA Harvester.
    8. After harvesting, from the AIA LCW, Generate the BOM. If we harvest all the 5 composites for the Business Task together, and do Generate BOM, does it capture all the composites? Or do they capture only the composites created using the Service Constructor? Or we have to add all the compistes manually to the Business Task?
    9. Add Harvested Contents by Editing the BOM -> "Search and Add Existing Composite" option. We couldnt locate the "Add Harvested Composite" option while right clicking the Business Task.
    10. Once all the harvested composites have been added to the BOM, export as XML
    11. Using the BOM, generate the DeploymentPlan. The deployment plan will have references to the xsds and wsdls in the MDS
    12. Using the Deployment Plan and AID, deploy the composites into a new instanec.
    These are the questions I have,
    1. Is the above understanding correct?
    2. Since the MDS is in the Dev database, a pre-requisite for AID seems to be deployment of xsds and wsdls into the Test MDS schema. Can you please validate?
    3. What happens to the bpels, xsls, mplans etc? How do they move from one instance to another?
    Regards,
    Anish

    Hi Anish,
    Following are the responses -
    These are the questions I have,
    1. Is the above understanding correct?
    1. The Functional person defines a project in the Project Life Cycle Workbench - Yes
    2. Functional decomposition done through Purchase Prder Business Task, and Service Solution components for each composite in the classical flow - Yes
    3. The ABCSs are created by linking the corresponding Service Solution Components from the PLWB using Service Contructor. These composite.xmls will have the annotation populated by the Service Constructor. It is okay for these composites to have concrete wsdls during development phase, but the concreate ones have to be replaced with abstract ones before geenrating deployment plans.-Yes but location attribute in binding.ws section of composite.xml should always have concrete WSDL location.Use <replaceToken> in DeploymentPlan to replace the ip and port.
    4. The EBS is not changed, it will have the annotations prepopulated, and there is no need to add any annoations to them - Yes
    5. The File Adapter and DB Adapters (Transport Adapters?) have to be annotated based on the developer guide-Yes
    6. The xsds and wsdl go into the mds based using the scripts provided. Any other common components can also be placed into MDS.- Yes
    7. Once the development is done, Harvest the composites using the AIA Harvester.-Yes
    8. After harvesting, from the AIA PLWB, Generate the BOM. If we harvest all the 5 composites for the Business Task together, and do Generate BOM, does it capture all the composites? Or do they capture only the composites created using the Service Constructor? Or we have to add all the compistes manually to the Business Task?-The 5 composites created by you should have a corresponding service solution component defined.When you define a service solution component in PLWB then a GUID is generated in the database table.You need to retrieve that value and manually enter in the annotation section of composite.xml except for ABCS.Then only the BOM will contain information on all the composites.
    9. Add Harvested Contents by Editing the BOM -> "Search and Add Existing Composite" option. We couldnt locate the "Add Harvested Composite" option while right clicking the Business Task.*-Once you harvest it will be visible.*
    10. Once all the harvested composites have been added to the BOM, export as XML - Yes
    11. Using the BOM, generate the DeploymentPlan. The deployment plan will have references to the xsds and wsdls in the MDS - Yes
    12. Using the Deployment Plan and AID, deploy the composites into a new instance.-Yes
    2. Since the MDS is in the Dev database, a pre-requisite for AID seems to be deployment of xsds and wsdls into the Test MDS schema. Can you please validate?
    Yes the 'UpdateMetaData' section under 'Configurations' in the DeploymentPlan will upload XSDs, WSDLs, DVM,Xrefs into MDS.
    3. What happens to the bpels, xsls, mplans etc? How do they move from one instance to another?
    The 'Deployments' section will deploy the project into server and write the information into MDS.
    Rgds,
    Mandrita

  • What is the best Method to transport KMC from DEV to QA & PROD

    We are trying to figure out what is the best method to transport KMC from DEV to QA & PROD. Your help and feedback is greatly appreciated.
    David

    hi,
    Refer this thread.
    How to transport KM content and configration?
    Regards,
    Ganesh N

  • LCM - copy (promote) jobs from DEV to TEST

    Hi all!
    I am searching for a way to copy the LCM jobs (to promote objects from DEV to TEST) from the DEV environment to the TEST environment.
    Is there a way to do so? Or do I need to recreate the jobs on the TEST new, when I want to transfer the same objects from TEST to PROD?
    Thanks,
    Hakan

    And do you know, how an existing job can be refreshed?
    I can create a job where a report is promoted from DEV to TEST. When the report now changes, so that a universe used is changed, the job itself is not updated.
    The only way I found is to recreate the job again. If I can solve the refresh problem of a job, I could copy the jobs from DEV to TEST and exchange the logins from DEV -> TEST and from TEST -> PROD.
    ciao Hakan

  • Does anyone who owns a 2011 Mac Pro 17' also has a weak-wireless connections from the router? Seek for the solutions

    Hi, I have just brought the 17' Mac book Pro two months ago. However, I found out that this new laptop's wireless connection is unstable. Compare with my 2010 13' Mac Pro  and ipad2, the result is significantly responsible with the new wireless card model.(Correct me if I am wrong)
    Hence, I am looking for a solution because I frequently skype with my oversea family members. I appreciate for your time and help
    Thanks
    Hahaq

    "...Office Depot is the store where they are on sale. A 15% fee is not fair in my opinion..."
    Is that the store policy on returns? What about buying from Best Buy?

Maybe you are looking for

  • Partition of hard drive won't work...

    I currently have a WD MyBook with the following info Name : WD My Book 1110 Media Type : Disk Partition Map Scheme : Apple Partition Map Disk Identifier : disk1 Media Name : WD My Book 1110 Media Media Type : Generic Connection Bus : USB USB Serial N

  • Super slow hard drive, can't back up files

    Ok this is a continuation of my previous post, but since I'm not getting any more replies and and the issue has shifted I'm creating a new post. PLEASE HELP. My internal 500GB work hard drive (not startup HD) started acting up after I interrupted cop

  • How do i reinstall my operating system on my mac mini

    please i need help reinstalling my os x lion on a new hard drive

  • Delayed in print out of Material Document

    Hi Everyone, Can you help me with my problem, what are the reasons why the print out of material document is delayed. Can you help me find the ways where can I check, why this is happening. hope you can help me with this. Ato Corpuz

  • After installing Photoshop CS5, now Illustrator CS5.1 won't stay open!

    I have tried opening it from another user account; same problem.  I have Illustrator CS2 installed as well; it works fine.  Both Illustrator versions have worked together for more than a year.  What else can I try?