OID 11g How to log ldif script updates?

Hi,
I'm using ldif scripts in the bulkdelete, ldapadd, ldapmodify type commands to create the OID DIT, extend the schema and to import OAM configurations from other environments during a development release schedule.
Has anybody got any good suggestions of how to log these events so I can track which scripts have been run, from which internal build and in which environment?
My current thinking is to just find/create a multivalue attribute and get my script to output some details to that when it's run. This could then display 'Script x was run for Build y'. Then in any environment's OID I could see what had been deployed by looking at that attribute.
Does anyone have any better ideas or know if you can link ldif scripts into the bulkdelete and ldifwrite logs that OID produces itself?
Thanks

Hi,
I'm using ldif scripts in the bulkdelete, ldapadd, ldapmodify type commands to create the OID DIT, extend the schema and to import OAM configurations from other environments during a development release schedule.
Has anybody got any good suggestions of how to log these events so I can track which scripts have been run, from which internal build and in which environment?
My current thinking is to just find/create a multivalue attribute and get my script to output some details to that when it's run. This could then display 'Script x was run for Build y'. Then in any environment's OID I could see what had been deployed by looking at that attribute.
Does anyone have any better ideas or know if you can link ldif scripts into the bulkdelete and ldifwrite logs that OID produces itself?
Thanks

Similar Messages

  • Using Oracle 11g How to change the Log mode from NoArchieve to Archieve Log

    Hi,
    I currently using oracle 11g How can I change database from NoArchivelog node to Archivelog node using spfile.
    And where exactly the spfile will be located?
    My instance is EPM11 in my local oracle is present in D folder where can i found the pfile?
    In this path i found 1 pfile in my Local Machine
    "D:/Oracle/Product/11g/admin/epm11/pfile" .I have added the following commands in this pfile
    # Archive Log Destinations -benr(10/15/04)
    log_archive_dest_1='location=/u02/oradata/cuddle/archive'
    log_archive_start=TRUE
    Then i have ran the shutdown command.
    Database instance is showtdown.
    After that i am not able to perform startup.
    So please suggest me how to change the mode using SPfile and tell me the path where spfile and pfile should be located?
    And also do i need to set the "Oracle_Home" path in my environment variables"
    Thanks In Advance,
    Chandana

    user11225122 wrote:
    Hi,
    I currently using oracle 11g How can I change database from NoArchivelog node to Archivelog node using spfile.
    And where exactly the spfile will be located?
    My instance is EPM11 in my local oracle is present in D folder where can i found the pfile?
    In this path i found 1 pfile in my Local Machine
    "D:/Oracle/Product/11g/admin/epm11/pfile" .I have added the following commands in this pfile
    # Archive Log Destinations -benr(10/15/04)
    log_archive_dest_1='location=/u02/oradata/cuddle/archive'
    log_archive_start=TRUE
    Then i have ran the shutdown command.
    Database instance is showtdown.
    After that i am not able to perform startup.
    So please suggest me how to change the mode using SPfile and tell me the path where spfile and pfile should be located?
    And also do i need to set the "Oracle_Home" path in my environment variables"
    Thanks In Advance,
    Chandanaremove log_archive_start=TRUE from pfile (it is depricated from 10g onwards)
    SQL>startup nomount pfile="D:/Oracle/Product/11g/admin/epm11/pfile/initYOUR_SID_NAME.ora"
    SQL>Create spfile from pfile="D:/Oracle/Product/11g/admin/epm11/pfile/initYOUR_SID_NAME.ora"
    SQL>SHUT IMMEDIATE;
    SQL>STARTUP MOUNT
    SQL>ALTER DATABASE ARCHIVELOG;
    SQL>ALTER DATABASE OPEN;
    SQL>ARCHIVE LOG LIST;
    SQL>SHOW PARAMATER SPFILE;
    YOU WILL FIND THE LOCATION OF SPFILE
    SQL>

  • How do you add an entry in the monitor log from the update rules?

    How do you add an entry in the monitor log from the update rules?

    Check this link for relevant SAP recommended implementation.
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/0c22e690-0201-0010-9581-832abdb5d50d
    Sample Code (Routine) available on the last page of the document.
    award points if useful

  • How do i get my message log back after updating to 7.0.3?

    how do i get my message log back after updating to 7.0.3?

    finally figured out how to pull backup from computer vice cloud - iCloud lost the messages.

  • I have an old apple id that I don't use (and I don't remember the password) and it now won't let me log in for updates, how can I delete it

    I have an old apple id that I don't use (and I don't remember the password) and it now won't let me log in for updates, how can I delete it

    Click here and try resetting that account’s password.
    That Apple ID is stored inside each of those applications. If you can’t get back into it, you’ll need to delete and redownload all of them, which may require repurchasing paid ones.
    (115401)

  • How to disable or delete a Realm in OID 11g?

    Hi,
    I have created multiple realms in my OID 11g, programmatically. Now I have another requirement -
    1. I want to disable a particular Realm programmatically
    2. I want to delete a particular Realm programmatically.
    Deleting the Realm should delete all the user, groups and attributes for the same
    I am trying the same using Java API - oracle.ldap.util -- but not able to succeed.
    Thanks in Advance,
    Amit
    Edited by: ur.amit on Apr 14, 2010 4:58 PM
    Edited by: ur.amit on Apr 21, 2010 9:47 AM

    Hi,
    Just out of curiosity -
    -> Since you want to delete the/a realm, I'm assuming its not of much use. Is there an option for you to do it through bulkdelete or using any generic LDAP browser?
    -> I'm not sure if you can disable a realm, but you can restrict access to it through appropriate ACLs.
    -- Pramod Aravind

  • Error while configuring SSL in OID 11g - LDAP 50 Insufficient Access rights

    HI,
    I am trying to configure SSL in OID 11g.As per the doc http://download.oracle.com/docs/cd/E12839_01/oid.1111/e10029/ssl.htm#CBHGBGAF ,i tried creating a Self-Signed Wallte using Fusion Middleware control,But i am getting an error LDAP 50: Insufficient access rights".I logged into Fusion Middle Ware control as Weblogic user.Is anybody faced this issue?.Thanks in advance.

    I am not sure how you tried, but I would recommend to do the following...
    1. Add the 'user1' to "OU=Franchisees,ou=People,dc=company,dc=com"
    2. Delete the 'user1' from 'OU=Internal,ou=People,dc=company,dc=com'

  • Disabling user in OID 11g

    Hi,
    May I know how i can disabe an user in OID 11g?.I am interested in knowing which attribute is getting updated when a user gets disabled in OID?.
    I tried updating the attribute orclIsEnabled to "DISABLED" through ODSM but the update fails with an error message "LDAP Error Code : 73"
    Thanks in advance
    Edited by: user639534 on Dec 14, 2010 1:53 PM

    Hi Ajay,
    Seems that it is working fine.
    oidctl connect=odb server=odisrv instance=2 host=xxxxx status
    oidctl : INSTANCE_NAME is not set, defaulting to inst1
    oidctl : COMPONENT_NAME is not set, defaulting to oid1
    NLS_LANG not set in environment
    Setting NLS_LANG to AMERICAN_AMERICA.AL32UTF8
    | Process | PID | InstName | CompName | Inst# | Port | Sport |
    | oidmon | 19841 | idmvpt2 | oid3 | | | |
    | oidldapd disp| 19878 | idmvpt2 | oid3 | 1| 1389 | 1636 |
    | oidldapd serv| 19889 | idmvpt2 | oid3 | 1| 1389 | 1636 |
    | Config DN | cn=oid3,cn=osdldapd,cn=subconfigsubentry |
    ------------------------------------------------------------------------

  • How to log a specific error in OIM

    Greetings!
    I am trying to implement a logging mechanism in OIM, using log4J.
    So far, I can log without problem in an oracle database.
    What I need, this moment, is the capability of logging adapters errors. For example, I am logging a pre-update event, producing something like this in my database log: "Login: xpto; ". So far, so good.
    However, sometimes I got an error while trying to import a user to OIM. For example:
    +[XELLERATE.SERVER],Class/Method: tcUSR/validateUserManager Error :The specified manager causes cycles.+
    +[XELLERATE.SERVER],Class/Method: tcUSR/eventPreUpdate Error :User Manager is not valid.+
    +[XELLERATE.SERVER],Class/Method: tcDataObj/save Error :Data Update Failed+
    I would like to be able to log these informations, in my log:
    - login
    - status of operation
    - error (if exists one)
    Where I would have to put my logger to get this kind of information?
    In advance, it is not enough just to redirect the log output to the database, because we want to be able to group all information about a user in one register only, for example: login: xpto; company: cia1; name: Xpto Smith; job: manager; status: ok or xpto; company: cia1; name: Xpto Smith; job: manager; status: Class/Method: tcUSR/validateUserManager Error :The specified manager causes cycles.
    Could anyone help me? If there is a paper, article or similar showing advanced topics in how to log in OIM, I would appreciate too.
    in case I could not express my problem very well, I will be pleased to add information; as you can perceive, I do not master English enough to write well. ;-)
    thanks in advance,
    Trimagister

    OIM comes with OOTB logging capabilities.
    public static Logger logger = Logger.getLogger("OIMCUSTOM.LOGGER");
    logger.debug("PRINT THIS LINE");
    You can use these lines in your custom code.
    You'll have to configure these loggers in OIM.
    download.oracle.com/docs/cd/B31337_01/doc.901/b31119.pdf
    Search for "Enabling Logging"

  • How to get the script of a table or view in SQL Developer?

    Dear friends/expert,
    Could you tell me how to get the script for a view or a table easily in SQL Developer like pressing F4 in TOAD?
    I found that I can press SHIFT+F4 for a view in SQL Developer and get the script of the view in Details Tab. But how to move the script to SQL worksheet to edit? It is very easy to do in TOAD.
    And I didn't find a way to get the script for a table till now. Is there any way to do that?
    Thanks in advance.
    Best regards,
    Ning

    1. Although the team might put a lot of effort in keeping track on the forum, a lot of posts still go by without answer.
    2. If you have an enhancement request, log it at the announced SQL Developer Exchange, so others can vote to add weight on the issue. Be clear and detailed in the explanation.
    3. Given the structure of the application, I guess it won't be easy (maybe impossible) to add the functionality you are asking. Do you have a suggestion on how to access the info?
    4. If your request gets accepted, still another year or two may go by until the functionality gets added. For sure you'll be better off writing a user defined extension or report (querying DBMS_METADATA.GET_DDL).
    Hope that helps,
    K.
    Edited by: -K- on 12/01/2009 09:37

  • In OBIEE 11G, how to get the special parameter created by JAVA?

    Hi Experts,
    In OBIEE 11G, how to get the special parameter created by JAVA?
    For example:
    In JAVA , it has set one parameter named 'test'.
    So how to get the parameter in filter area in OBIEE?

    Hi Kobe,
    No P2 holds the parameter name like PresentationTable.ColumnName, in your form you may go for complete name or just column name and before submitting the form you can define the Action url.
    I would suggest to read section 6.3.2.1.
    ex:
    <SCRIPT LANGUAGE="JavaScript">
    changeAction(url) {
    var TestVar = form.inputbox.value;
    document.this_form.action="saw.dll?Go&Path=/Shared/Test/SB2&Action=Navigate&P0=1&P1=like&P2=Customers.Region&P3="+TestVar;
    </SCRIPT>
    </HEAD>
    <BODY>
    <FORM NAME="myform" ACTION="" METHOD="GET">Enter something in the box: <BR>
    <INPUT TYPE="text" NAME="inputbox" VALUE=""><P>
    <INPUT TYPE="button" NAME="button" Value="Click" onClick="changeAction(this.value)">
    </FORM>
    If helps pls mark.
    Edited by: veeravalli on Oct 24, 2012 10:25 AM

  • How to include a KB Update into a WIM in order to point to the WIM when using DISM (details inside)?

    Hi, I was told in another of the forums that my issue
    is best suited for the TechNet audience.  Previously, I posted it here: http://answers.microsoft.com/en-us/windows/forum/windows8_1-system/how-to-include-a-kb-update-into-a-wim-in-order-to/e7015076-b4a9-4862-a73b-6c58b4c82461?tm=1409598696763
    I've been struggling to fix a corrupted file.  
    Context:  I feel that something is not right with the computer, so I started poking around.
    I used "sfc /scannow" from an elevated command prompt and the result was: 
    Windows Resource Protection found corrupt files but was unable to fix some of them. Details are included in the CBS.Log <var style="border:0px;margin:0px;padding:0px;vertical-align:top;-webkit-font-smoothing:antialiased;">%WinDir%</var>\Logs\CBS\CBS.log.
    I looked in the log.  This message appears 4 times:
    Cannot repair member file [l:36{18}]"Amd64\CNBJ2530.DPB" of prncacla.inf, Version = 6.3.9600.16384, pA = PROCESSOR_ARCHITECTURE_AMD64 (9), Culture neutral, VersionScope = 1 nonSxS, PublicKeyToken = {l:8 b:31bf3856ad364e35}, Type = [l:24{12}]"driverUpdate",
    TypeName neutral, PublicKey neutral in the store, hash mismatch
    There is also the following message:
    This component was referenced by [l:186{93}]"Microsoft-Windows-Printer-Drivers-Package~31bf3856ad364e35~amd64~~6.3.9600.16384.INF_prncacla"
    I'm not positive what to do next, but I have been led to believe the problem is that Flash files in version 6.3.9600.16407 are corrupted, that I need to find which KB updates Flash to this version, download the file, add it to a new WIM, and point
    to it when using DISM.  I'm not positive this is correct, but it was suggested.
    I downloaded the KB update: kb2889543, but I do not know how to add it to a new WIM or what the repercussions of doing so will be (e.g. Will I lose everything and have to restore my documents, etc from my external drive by doing this?).  
    So, the question is: How can I include a KB Update into a WIM and tell me what the result will be when once I do and point to it when using DISM?
    Secondarily, if this is a bad way to move forward with the issue, would some kind soul offer sage advise on how to move forward with resolving the original issue?

    Hi TTQSTTQS,
    As you mentioned in the answers forum, when run  the command DISM /Online /Cleanup-Image /RestoreHealth,  we received the error message “The source files could not be downloaded. Use the "source" option to specify the
    location of the files that are required to restore the feature”.
    When run the command Dism /Online /Cleanup-Image /RestoreHealth /Source:c:\test\mount\windows /LimitAccess, we met the same error message.
    I think there are some mistakes in the source setting, so we meet the same error messages.
    As I mentioned in the last reply, we need a mounted image as a repair source, and then use this path.
    We need to configure a Windows repair source. Please refer to the following article.
    http://technet.microsoft.com/en-us/library/hh825020.aspx
    Please refer to the following steps to set the source image.
    1. Assign Drive Letters to Partitions by Windows PE.
    2. Capture Partition Images using DISM
    For more information, please refer to the following article.
    http://technet.microsoft.com/en-us/library/hh825072.aspx
    Then, we could try the command Dism /Online /Cleanup-Image /RestoreHealth /Source:c:\test\mount\windows /LimitAccess.
    Best regards,
    Fangzhou CHEN
    Fangzhou CHEN
    TechNet Community Support

  • How do I open the updates window in "Adobe Application Manager"?

    How do I open the updates window in "Adobe Application Manager"? Or can I or should I....??
    I am a brand new Cloud member.  I heard of the Retina update.  Assuming this was where the updates would logically appear I went to the "Adobe Application Manager" app first.  Without closing the "Adobe Application Manager" I opened Photoshop and went to the help menu and selected "Updates..."; a second window opened in the already open "Adobe Application Manager".
    I selected update all.
    The result is below:
    DW CS6 12.1 Creative Cloud
    There was an error installing this update. Please quit and try again later. Error Code: U44M1I200
    Dreamweaver CS6 12.0.1 update to address critical issues
    There was an error installing this update. Please quit and try again later. Error Code: U44M1I200
    Photoshop 13.1 for Creative Cloud
    There was an error installing this update. Please quit and try again later. Error Code: U44M1I200
    Adobe InDesign CS6 8.0.1 update
    There was an error installing this update. Please quit and try again later. Error Code: U44M1I200
    Adobe Bridge CS6 5.0.1 Update
    There was an error installing this update. Please quit and try again later. Error Code: U44M1I200
    Adobe Illustrator CS6 Update (version 16.2.0)
    There was an error installing this update. Please quit and try again later. Error Code: U44M1I200
    DPS Desktop Tools CS6 2.05.1 Update
    There was an error installing this update. Please quit and try again later. Error Code: U44M1I200
    Dynamic Link Media Server CS6 1.0.1 Update
    There was an error installing this update. Please quit and try again later. Error Code: U44M1I200
    Photoshop Camera Raw 7.2
    There was an error installing this update. Please quit and try again later. Error Code: U44M1I200
    Extension Manager 6.0.4 Update
    There was an error installing this update. Please quit and try again later. Error Code: U44M1I200
    Adobe Media Encoder CS6 6.0.2 Update
    There was an error installing this update. Please quit and try again later. Error Code: U44M1I200
    Now, I closed the "Adobe Application Manager" and opened "Photoshop" again and again selected "Updates..." from the help menu.  The "Adobe Application Manager" opened again with just one window this time and the updates happened correctly.
    I was hoping one of the updates would be to the "Adobe Application Manager", I don't think so.
    So, If I were you I wouldn't select "Updates..." from an Adobe app unless the "Adobe Application Manager" is closed until they fix it...
    Current version: Adobe® Application Manager - Version 7.0.0.128 (7.0.0.128) Note the Two windows in the "Adobe Application Manager" in the attached image.

    The updates are currently available by going to Help>Updates within the Application.  Once you invoke the Updater, which is a component of the Adobe Application Manager, it will locate and apply the updates.  It looks like most of your updates have failed to install.  I would recommend you begin by trying to apply the updates that are available on our product update page at http://www.adobe.com/downloads/updates/ and seeing if you face the same difficulty.
    If you continue to experience problems with applying the updates then please review your installation log to determine the cause of the failure.  You can find details on how to locate and interpret the installation log at Troubleshoot with install logs | CS5, CS5.5, CS6 - http://helpx.adobe.com/creative-suite/kb/troubleshoot-install-logs-cs5-cs5.html.

  • How to dynamically and selectively update DSO based on values in a csv file

    Hi,
    I'm loading a csv file into a DSO. When loading the flat file in FULL mode I need to do a pseudo delete of records that were previously loaded but are not in the new flat file.
    Is it possible to dynamically determine the unique set of records (say Pk1, Pk2, Pk3) in the csv file and then set all the corresponding DSO records' quantities to 0 - maybe in a start routine??  After that, I can load the csv file with the correct quantities (effectively update and inserts).  The net result should be that the change log only be updated through to the next DSO.
    Example: Load 10 records yesterday. Today reload 9 records. 10th records must have quantity set to 0. Other 9 records will have quantity values set to those in today's csv file -  some will be the same & some will be different. The net change log of all 10 records must be loaded into the next DSO.
    Any suggestions on how to do this logic?
    Thanks!

    Hi Gregg,
    You can create one transformation from the DataStore to itself.  In the "Technical" rules group, set 0RECORDMODE = 'X' (before image) or 'R' (reverse).  Therefore, when you execute its corresponding DTP, all existing records shouldl be set to zero.
    Then, as a second step, you can execute the DTP which is related to the transformation between the DataStore and the DataSource, thus loading the new records.
    I hope this helps you.
    Regards,
    Maximiliano

  • Oracle 11g R1 Automatic Installation shell scripts

    Hy Guys,
    Please can someone help me with: Oracle 11g R1 Automatic Installation shell scripts. A guide, how to or a link will be wellcome
    Kind Regards
    Easyman
    Edited by: Easyman on Feb 2, 2010 3:58 AM

    Hi Easyman,
    sure, just have a look in $INSTALL_CONF directory. Files starting with swInst* are referencing a response file from $INSTALL_CONF/response directory. Either use a sample configuration file or add your own response file to install Oracle.
    Cheers,
    David
    OCP 9i / 10g / 11g
    http://www.oratoolkit.ch/knowledge/howto/installation/otn.php
    P.S.: If you have more questions about oraToolKit please contact me at: http://www.oratoolkit.ch/faq.php

Maybe you are looking for

  • Use Jdev 11h to deploy app on OAS 10.1.2 (front-end) and Jboss (back-end)

    Hi, I have a JBoss AS to deploy the buisness services (spring + hibernate) and a OAS 10.1.2 to deploy the WUI (ADF faces). I would like also use the ADF Model layer. In summary: view: ADF faces 11g on OAS 10.1.2 model: ADF Model layer on both servers

  • Automatic upload of roles from ECC to portal (UME with LDAP)

    Hi experts, This thread reopen the question asked on the following message : automatic upload of roles from BI to portal However, it concerns this time "UME with LDAP". Problematic : SAP Library 04s tells us that is not yet possible to automate role

  • Auto numbering tables

    I am currently using FrameMaker 8.0 and have had a problem with the auto numbering of tables. Can anyone tell me if it is possible to auto number tables using different chapter numbers within the one document? I know that it is possible to do this wh

  • Pdf imported into InDeisng looks really bad when printed

    It´s completly destroyed It. It looks all blocky. Please view it here, as I am crap at explaining. The original document was scanned from a Sharp MXC-311. When scanned from a different (Sharp MXC-5001) machine it looks fine. I think that it is someth

  • Problem with Aperture 3.6 Can't open Preferences

    I had a problem with Aperture 3.6; opened a new Library from the Vault, now cannot open Aperture Preferences. When I attempt to open preferences I get a very thin vertical line about 1 ½ inches long?? Any fixes for this/  Thanks, Vic