Deployment of mappings - Best Pracice wanted

Hi,
I would like to share experience about deploying mapping on a production system with OWB 9.2. Till today we were using OWB 9.0.2 and the migration of a new release of project from the development environment to the production system was done, by providing to the DBAs DDL scripts of the Oracle Objects impacted by the new release (packages, tables, ....). That's mean the DBAs was not using OWB to install release in the production system.
But with release OWB 9.2 I can see that during the deployment OWB save some data about the mapping in the runtime respository, so it seems that the way to move to production I explain above will no more work. Does it mean I have to provide OWB to the DBA that install the project on the production system. If yes I think it will be difficult to convince them to use it or is it a way to provide them generic deployment scipts ???
Thanks for your input.
Regards,
Claude-Alain

Claude-Alain,
There are multiple ways to handle your issue today. You are however correct in your assumption: things have changed and your current approach does not necessarily work.
What you could do is:
- Generate individual scripts and hand those over to the DBA. This is a very cumbersome process because OWB does not provide a multiple file save option (this is an issue that is going to be addressed in the next release).
- Generate the entire script and store it to a deployment specification. In the production environment you have to have a design repository with a project that has a runtime repository... (this restriction will also be removed in the next release), registered locations and then you can deploy using the scripting language to the production environment.
- Connect directly to the runtime environment to generate (and deploy) the scripts. This option is the most correct one in the sense that you generate against exactly the settings and object definitions in the production environment. I.e. if you want to generate upgrade scripts, then these go against the most current definitions. However, assuming that the DBA performs all deployments, this may mean that you would ask your DBA to use Warehouse Builder also. What you can do is set up a security role for the DBA to only allow deployment from his/her user account.
Hope this explains.
Mark.

Similar Messages

  • Deployment of Mappings of Unregistering a location?

    Hi friends,
    Do we need to deploy the mappings again, If I unregister a location and register location with the same details.. using which I registered previously?
    Thank you,
    Regards,
    Gowtham Sen.

    Hi Gowtham Sen,
    as far as I remember, you won't see the previous audit data. You cannot start the mappings using control center service when the control center thinks (because of the audit data status) that the mapping is not yet deployed. But you may run the mapping directly using pl/sql.
    If you want to have the audit details and be able to run the mappings from control center, then you have to redeploy all mappings, I'm afraid.
    Maybe it's best not to unregister the location at first ...
    Regards,
    Carsten.

  • How to Deploy all mappings in a module using OMB+

    Hi,
    I am using OMB+ to deploy project from DEV to QA , i used a OMB+ script to do the export and one import script to do the import/deployment
    both Export and Import are working fine , the problem is in the Deploy part of Import script,
    in this script I am connecting to the Repository and importing the Project from DEV and then changed the Context to the module and then connected to the Control centre , when i tried to deploy the mapping i get the error saying the location is not registered to the module
    ususally if i use the GUI i double click the module and add the location to the module, howcan i do that in OMB+ ,
    Example script would help me a lot
    and for deploying the mappings i am using
    OMBCREATE TRANSIENT DEPLOYMENT_ACTION_PLAN 'DEPLOY_PLAN' ADD ACTION 'MAP_DEPLOY' SET PROPERTIES (OPERATION) VALUES ('CREATE') SET REFERENCE MAPPING 'MAPPING NAME'
    but i don't want to pass mapping names like this i just want to deploy all mappings in a single step
    Please advice me
    Thanks in Advance
    Suresh
    Edited by: Suresh_G on Sep 9, 2008 3:30 PM

    Hi Mahesh,
    here is my script,
    # Connect to the repository
    OMBCONNECT datarepdb/[email protected]:1535:ukfndr USE REPOSITORY 'owb_rep'
    puts stdout {Connected to Repository }
    #Importing the OWB Project
    OMBIMPORT MDL_FILE 'C:/Temp/local/ORAFINDATAREPOSITORY.MDL' \
    USE MERGE_MODE \
    OUTPUT LOG 'C:/Temp/local//ORAFINDATAREPOSITORY_IMP.LOG'
    puts stdout {Import Finished }
    OMBCC '/ORAFINDATAREPOSITORY'
    # Assign the location to the oracle module
    OMBALTER ORACLE_MODULE 'DATAREPDB' SET REFERENCE LOCATION 'DATAREPDB_LOCATION'
    OMBALTER ORACLE_MODULE 'DATAREPDB' SET PROPERTIES (DB_LOCATION) VALUES ('DATAREPDB_LOCATION')
    puts stdout {location to the oracle module registered}
    # Connect to Control Centre for Deployment
    OMBCONNECT CONTROL_CENTER USE 'dugout'
    puts stdout {Connected to Controle Centre}
    OMBCC '/ORAFINDATAREPOSITORY/DATAREPDB'
    #Starting the Deployment
    puts stdout {Starting the Deployment}
    OMBCREATE TRANSIENT DEPLOYMENT_ACTION_PLAN 'DEPLOY_PLAN' ADD ACTION 'MAP_DEPLOY' SET PROPERTIES (OPERATION) VALUES ('CREATE') SET REFERENCE MAPPING 'XXDR_GL_BALANCE'
    OMBDEPLOY DEPLOYMENT_ACTION_PLAN 'DEPLOY_PLAN'
    OMBCOMMIT
    puts stdout {Deployed Mappings and Disconnecting }
    OMBDISCONNECT
    I embeded your script in mine but i was getting errors , i am still trying to resolve it, mine is a TCL script can u please suggest me where actually i should incorporate the ur code and to what level,
    in my case we have just one module and need to deploy all the mappings in that module , the above script working fine but i don't want to give all names of mappings hardcoded.
    Thanks in advance

  • Problem deploying certain mappings using OMBPlus

    We've got a problem deploying certain mapings using OMBPLus. This applies to all mappings that use a function to lookup the effective date of a SCD (type 2) from a lookup table. We use that function in the dimension operator properties as the "Default Effective Time of Open Record". Though the validation of those mappings fails they can nevertheless be deployed using the Control Center Manager. And, best of all, they work fine.
    Now we have to deploy those mappings using OMBPlus because we're not allowed to work with tools on the preproduction and production systems. Deploying those mappings with OMBPlus doesn't seem to work. It works fine for all other mappings but not for those mentioned above. Has anybody a solution?
    Regards,
    Jörg

    Hi Dave,
    this is the error message I get whe I run my OMBPLus script:
    OMB05602: An unknown Deployment error has occured for Object Type PUB03205 : Validation Error: MAP_DIM_FAHRZEUGKLASSE : VLD-5010: The Default Effective Date of open records for dimension DIM_FAHRZEUGKLASSE should be an expression of type DATE. Value "FCT_GET_AKT_LL_vmon()" is not a valid date: PLS-00201: identifier 'FCT_GET_AKT_LL_VMON' must be declared
    I'm not quite sure about what you mean with creating a stub function. As you can see from the error message above I use a function called FCT_GET_AKT_LL_vmon that returns the actual date od the load from a lookup table. This function is of course present in the target schema.
    Regards,
    Jörg

  • Regarding deploying of mappings

    Hi,
    While i was trying to deploy the mappings in the control center manager,it's running on like that even for 15 hours and not returning any result or error message.I'm new to OWB.Could anyone help me out in this issue?
    Thanks in advance.

    It could be one of the following:
    1. Do a DBMS_STATS on the source tables in the maps. The ANALYZE command didn't help in 10.2 and messed up the statistics for us. Also, setting the analyze in the map as part of the configuration, it may not be 15%, but less.
    DBMS_ANALYZE fixed it, specifically so the explan plan used the index.
    Example:
    execute dbms_stats.gather_schema_stats(
    ownname=> 'schema_name',
    estimate_percent=> 15,
    block_sample=> FALSE,
    cascade=> TRUE,
    method_opt=> 'FOR ALL COLUMNS SIZE 1',
    options=> 'GATHER EMPTY',
    no_invalidate=>FALSE);
    2. May want to add index(es) to the source tables.
    3. If a MINUS is being done to DELETE from a table, maybe too many records
    are being deleted.
    If you have TOAD (or some other way (V$SQL) to see the session and what SQL statement is running for 15 hours) grab the SQL statement and checkout what tables are being accessed. Check its explan plan.
    Hope this helps!

  • Deployment of mappings other than OMB Plus

    I have a question regarding deployment of mappings via OMB Plus. The deployment staff is facing problem in using OMB Plus. I want to ask is there anyother way to deploy mappings other than deploying them via OMB plus. I tried to generate the pl/sql of the mapping and run this sql script in the same schema of other enivornment, but it gave me following error.
    ORA-01403: no data found
    ORA-06512: at "REPOSITORY_SCHEMA.WB_RT_MAPAUDIT_UTIL", line 1027
    ORA-06512: at "STAGING_SCHEMA.MAPPING_01", line 2664
    ORA-06512: at line 4
    I believe that by deploying it from OMB Plus, some audit entries are logged in Repository schema which can not be done by executing the package script simply in sqlplus.
    Can anyone suggest me any other way for deployment of mappings ?

    IMHO, the answer is no. The problem is OWB runtime needs in repository information about installed runnable objects,
    but there is no any public information about structure of OWB repository or public API for deploying except OMBPlus and OWB Client.
    Look at this threads
    Problem Running Process Flow When Database Objects Deployed Outside of OWB
    Deploying without Deploy
    As you can see from second link Jwvandij (Jaap) user explored method of deployment with direct modification of OWB repository for old OWB release.
    Regards,
    Oleg

  • Avoiding creation of DBlink during deployment of mappings using OMBPlus

    Hi
    we are facing an issue in our OWB 11g R2 (upgraded to patchset 10185523)
    We are deploying the mappings using OMBPlus like so
    OMBCREATE TRANSIENT DEPLOYMENT_ACTION_PLAN 'DEPLOY_PLAN' ADD ACTION '$object_type_DEPLOY' SET PROPERTIES (OPERATION)VALUES ('CREATE') SET REFERENCE $object_type '$objname'
    OMBDEPLOY DEPLOYMENT_ACTION_PLAN 'DEPLOY_PLAN'
    set OMBCONTINUE_ON_ERROR true
    OMBDROP DEPLOYMENT_ACTION_PLAN 'DEPLOY_PLAN'
    OMBCOMMIT
    The $objname is any object(in this case a mapping) that we are deploying
    OMBPlus generates a script on OWB level to create the associated DBlink each time it deploys a mapping and we get an error
    INFORMATIONAL
    multiple rows found for select into statement
    DBlink_a Create Error ORA-02011: duplicate database link name
    But the mapping deploys fine.
    Any tips how we can avoid creation of dblinks from OMBPlus whilst deploying our mappings only?
    Any help will be appreciated
    Birdy
    Edited by: birdy on 22-Nov-2011 05:22

    I dont think that you can:
    "Deploying a mapping or a process flow includes these steps:
    •Generate the PL/SQL, SQL*Loader, or ABAP script, if necessary.
    •Register the required locations and deploy any required connectors. This ensures that the details of the physical locations and their connectors are available at runtime."
    http://www.comp.dit.ie/btierney/Oracle11gDoc/owb.111/b31278/concept_deploy.htm
    But error that you get is only informational so you dont have to worry about it.

  • Best pracices for setting up Domain controller for our remote European offices

    Hi,,
    We have about 17 remote site across Europe (HQ in UK), I want to start revoking the offices local DC's and host them in a couple of Cloud servers in Germany with local NAS boxes for file storage. I will have MPLS network between the offices to the Cloud
    DC.
    Now what would be the best practices and tips for this situation in respect to the DC's. How can I prioritize the remote offices to use the Cloud DC/DNS and not our DC at our HQ in the UK. Would it be better to have a sub-domain created (europe.company.co.uk)
    for the other offices.
    Any suggestions on this setup for the DC

    Hiya,
    on the conceptual level. The reason for having local DC's, is that if the local sites internet line is offline, people are still able to authenticate and access local resources. From that point of view, you might as well just run with your HQ DC's only. Note:
    the cloud does offer availability on their services, that might not be matched by your HQ in terms of double internet lines.
    That said.
    The DNS server of the clients as well as the sites & services of Active Directory. Your clients will use the nearest domain controller available from sites and services information.
    Managing Intersite Replication
    http://technet.microsoft.com/en-us/library/cc794799%28v=ws.10%29.aspx

  • Deploy to production (best practices)

    I am wondering if there are some best practices published somewhere in regard to deploying an app from your dev environment to a production environment?
    I currently do the following.
    1) export/inport application
    2) generate a sync script (toad) to get the schema objects in sync. Maybe it's better to do an export/import (expdp) of the schema here.
    3) import images/files needed by the application

    Hi,
    Have a look at:
    Book: Pro Oracle Application Express
    Author: John Edward Scott
    Author: Scott Spendolini
    Publisher: apress
    Year: 2008
    It has a good section on migrating between environments.
    Hope this helps.
    Cheers,
    Patrick Cimolini

  • UDDI and deployed Web Services Best Practice

    Which would be considered a best practice?
    1. To run the UDDI Registry in it's own OC4J container with Web Services deployed in another container
    2. To run the UDDI Registry in the same OC4J container as the deployed Web Services

    The reason you don't see your services in the drop-down is because, CE does lazy initialization of EJB components (gives you a faster startup time of the server itself). But your services are still available to you. You do not need to redeply each time you start the server. One thing you could do is create a logical destinal (in NWA) for each service and use the "search by logical destination" button. You should always see your logical names in that drop-down that you can use to invoke your services. Hope it helps.
    Rao

  • Deployment specific configuration - best practice

    I'm trying to figure out the best way to set-up deployment specific configurations.
    From what I've seen I can configure things like session timeouts and datasources. What I'd like to configure is a set of programmatically accessible parameters. We're connecting to a BPM server and we need to configure the URL, username and password, and make these available to our operating environment so we can set-up the connection.
    Can we set-up the parameters via a deployment descriptor?
    What about Foreign JNDI? Can I create a simple JNDI provider(from a file perhaps?) and access the values?
    Failing these, I'm looking at stuffing the configuration into the database and pulling it from there.
    Thanks

    Which version of the product are you using?
    Putting the configs in web.xml config params as in this example:
    https://codesamples.samplecode.oracle.com/servlets/tracking/remcurreport/true/template/ViewIssue.vm/id/S461/nbrresults/103
    Will allow you to change the values per deployment easily with a deployment plan.
    Another alternative 10.3.2 and later is to use a features that allows resources like normal properties files to be overloaded by putting them in the plan directory. I don't have the link to this one right now.

  • Deploying Branding Files Best Practice

    Question about best practice (if exists) for deployment method of branding files.
    Background:
    I created 2 differefent projects for a public facing SP 2010 site.
    First project contains 1 feature and is responsible for deploying branding files: contains my custom columns, layouts, masterpage, css, etc...
    Second project is my web template. Contains 3 features, contenttypebinding, webtemp default page, and the web temp files (onet.xml).
    I deploy my branding project, then my template files.
    Do you deploy branding as Farm solution or Sandboxed solution? So how do you update your branding files at this point?
    1. You don't, you deploy and forget about solution doing everything in SP Designer from this point on.
    2. Do step 1, then copy everything back to the VS project and save to TFS server.
    3. Do all design in VS and then update solution.
    I like the idea of having a full completed project, but don't like the idea of having to go back to VS, package, and re-deploy every time I have a minor change to my masterpage when I can just open up Designer and edit.
    Do you deploy and forget about the branding files using SP Designer to update master pages, layouts, etc.. or do you work and deploy via VS project.

    Hi,
    Many times we use Sandboxed solutions for branding projects, that way it would minimize the dependency of SharePoint Farm administration.  Though there are advantages using SharePoint Farm solution, but Sandboxed solution is simple to use, essentialy
    limited to set of available Sandboxed solutions API.
    On the SP Designer side, many of the clients that I have worked with were not comfortable with the Idea of enabling SharePoint Designer access to their portal. SP Designer though powerful and it does some times brings more issues when untrained business
    users start customizing the site.
    Another issue with SPD is you will not be able track changes(still can use versioning) and retracting changes are not that easy. As you said, you simply connect to the site using SPD and make changes to the master pages, but those changes are to be
    documented, and maintain copies of master pages always to retract the changes. 
    Think about a situation when you make changes to the Live site using SPD and the master page is messed up, and your users cannot access the site. we cannot follow trial and error methodology on the production server.This would bring
    out more questions like, What would be your contingency plan for restoring the site and what is your SLA for restoring your site, how critical is your business data.
    Although this SPD model would be useful for a few user SharePoint setup with limited tech budget but not also advisable.
    I would always favor VS based solution, which will give us more control over the design and planning for deployment.
    We do have solution deployment window, as per our governance we categorize the solution deployment based on the criticality and for important changes we plan for the weekends to avoid unavailability of the site.
    Hope this helps!
    Ram - SharePoint Architect
    Blog - SharePointDeveloper.in
    Please vote or mark your question answered, if my reply helps you

  • Problem in deploy BPM 11g best practices to weblogic

    Hi everybody,
    I do step by step BPM11g BestPractices instruction. when I want to deploy SalesProcesses to application server in select SOA severs step in deploy wizard there isn't any server that I select. I login to admin server console of weblogic and see that soa_server1 and bam_server1 state is SHUTDOWN I find two ways for start them
    1. from console that first must start node manager and then start them
    2. from command line --> startManagedWebLogic.cmd soa_server1
    I try two ways but both of them have problems. when I see log files I see below exception finally :
    *<Jul 10, 2011 10:15:20 AM GMT+03:30> <Critical> <WebLogicServer> <BEA-000362> <Server failed. Reason:*
    There are 1 nested errors:
    weblogic.management.ManagementException: Booting as admin server, but servername, soa_server1, does not match the admin server name, AdminServer
         at weblogic.management.provider.internal.RuntimeAccessService.start(RuntimeAccessService.java:67)
         at weblogic.t3.srvr.ServerServicesManager.startService(ServerServicesManager.java:461)
         at weblogic.t3.srvr.ServerServicesManager.startInStandbyState(ServerServicesManager.java:166)
         at weblogic.t3.srvr.T3Srvr.initializeStandby(T3Srvr.java:802)
         at weblogic.t3.srvr.T3Srvr.startup(T3Srvr.java:489)
         at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:446)
         at weblogic.Server.main(Server.java:67)
    *<Jul 10, 2011 10:15:20 AM GMT+03:30> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to FAILED>*
    *<Jul 10, 2011 10:15:20 AM GMT+03:30> <Error> <WebLogicServer> <BEA-000383> <A critical service failed. The server will shut itself down>*
    *<Jul 10, 2011 10:15:20 AM GMT+03:30> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to FORCE_SHUTTING_DOWN>*
    what should I do ?? please help me :-(
    Regards.

    try starting as : startManagedWebLogic.cmd <man server name> <Admin Server URL>
    e.g. startManagedWebLogic.cmd soa_server1 t3://localhost:7001

  • Deploy registry change - best method?

    I have a 2012R2 domain with Win 7 clients. I'm trying to add a item here:  HKCU\Software\Microsoft\Exchange
    What's the best way to deploy the key?
    Computer Configuration/Policies/Windows Settings/Scripts/Startup - regedit /s xyz.reg
    or
    Computer Configuration/Preferences/Windows Settings/Registry - registry item or registry wizard
    If I deploy it using either of these methods and force group policy, I don't see it on the client's registry, even though gpresult shows it as being applied.  I can't test it with the app yet, since we're preparing for a mail migration.
    TIA

    > shows that it should be applied, but I don't see a corresponding entry
    > in the registry.  Is it there and functioning - but invisible.
    Have a close look at "HKEY_USERS\.DEFAULT\Software" - there you'll find
    it... :)
    Martin
    Mal ein
    GUTES Buch über GPOs lesen?
    NO THEY ARE NOT EVIL, if you know what you are doing:
    Good or bad GPOs?
    And if IT bothers me - coke bottle design refreshment :))

  • Executing many mappings, when I want

    Hello,
    I have created 25 mappings that work as I wanted.
    I would like to create something that execute all the mappings in an order I would have defined, to execute them when I want, instead of execute them one by one in control center. I can't use oracle workflow to schedule them because I want to execute the mappings when it is necessary.
    Can I do that with OWB or do I have to create PL/SQL proc separately ?
    Can I do that with 'expert' tools ?
    Has someone had to do such a thing ? I don't know the way to find informations of what I want to do.
    Thanks,
    Nico

    Something vaguely like this should do it....
    CREATE OR REPLACE FUNCTION send_summary_mail 
    return number
    IS
    retval number := 0; --default success
    mailhost  CONSTANT VARCHAR2(30) := 'smtp01.us.oracle.com';
    crlf      CONSTANT VARCHAR2(2):= CHR(13) || CHR(10);
    pSender    VARCHAR2 := 'your.email@address';
    pRecipient VARCHAR2 := 'their.email@address';
    pSubject   VARCHAR2 := 'Process REsults for: '||to_char(sysdate,'dd/mm/yyyy');
    mesg      VARCHAR2(32767);
    mail_conn utl_smtp.connection;
    cursor getResults is
    select aramr.execution_audit_id,
           map_name,
           map_type,
           start_time,
           end_time,
           aramr.elapse_time,
           run_status,
           number_errors,
           number_records_selected,
           number_records_inserted,
           number_records_updated,
           number_records_deleted,
           number_records_discarded,
           number_records_merged,
           number_records_corrected
    from all_Rt_audit_executions area,
         all_Rt_audit_map_runs aramr
    where aramr.execution_audit_id = area.execution_audit_id
    and   area.top_level_execution_audit_id =
              (select max(top_level_execution_audit_id)
               from   all_Rt_audit_executions
               where  execution_name = 'YOUR_PROCESSFLOW_NAME'
               and    parent_execution_audit_id is null --get top-level row      
               and    trunc(created_on) = trunc(sysdate) -- ran today
    BEGIN
       mail_conn := utl_smtp.open_connection(mailhost, 25);
       mesg := 'Date: ' ||TO_CHAR( SYSDATE, 'dd Mon yy hh24:mi:ss') || crlf ||
               'From: <'|| pSender ||'>' || crlf ||
               'Subject: '|| pSubject || crlf ||
               'To: '||pRecipient || crlf || '' || crlf ||
               'Mapping                       selected  inserted deleted errors elapsed' ;
       for rec in getResults
       loop
          msg:=msg || rpad(rec.map_name,30)||
                      rpad(to_char(rec.number_records_selected),10)||
                      rpad(to_char(rec.number_records_inserted),10)||
                      rpad(to_char(rec.number_records_deleted),10)||
                      rpad(to_char(rec.number_errors),10)||
                      rpad(to_char(rec.elapse_time),10)||crlf;
       end loop;
       utl_smtp.helo(mail_conn, mailhost);
       utl_smtp.mail(mail_conn, pSender);
       utl_smtp.rcpt(mail_conn, pRecipient);
       utl_smtp.data(mail_conn, mesg);
       utl_smtp.quit(mail_conn);
       return retval;
    EXCEPTION
      WHEN OTHERS THEN
        return 1;
    END;I haven't tested this - heck I haven't even compiled it - and you will need to replace various variables, but the code is made up of bits and pieces from things that I know work.
    Then you just add it to your process flow as a transformation activity at the end of the run.
    --Mike
    ----------------EDIT--------------------------------
    For more sample code for utl_smtp, AskTom has a thread here:
    http://asktom.oracle.com/pls/asktom/f?p=100:11:3572874442534370::::P11_QUESTION_ID:1739411218448
    And Oracle provided a demo package for mail tasks using utl_smtp here:
    http://www.oracle.com/technology/sample_code/tech/pl_sql/htdocs/maildemo_sql.txt

Maybe you are looking for

  • My Media Won't Play in iTunes or on my Apple TV (Except Music)

    I am unable to play content in my library, whether purchased from iTunes or whether it is a media file of my own that I have added...be it purchased, obtained from a friend or stripped from a DVD using Handbrake or Wondershare Ultimate Video Converte

  • Is there a way to monitor Time Machine's current backup task?

    I started a second Time Machine backup to a NAS yesterday (in addition to my local TM Backup, which will now be taken offsite). It took a good 24hrs to finish, which was expected over WiFi. Since the initial backup, all the hourly backups have seemed

  • How do i creat a group in my email account on my iphone 3Gs

    in my email on my iphone 3Gs, how do i create a group in which to have selected email addresses?

  • Excise Duty and customs duty

    Hi, Will anybody give me an idea how to get the refund og excise duty while doing MIGO ??? What are the steps the user should do ???? Explain me the configuration steps also ????? Regards, N. Somasundaram

  • IPad imovie?

    I don't have a mac, and wish to purchase one. I saw the new iPad and was interested in learning more about the product. I realized it does not have any iLife programs like iMovie and i am wondering if anyone knows if Apple is considering incorporatin