Replication between change log

We are trying to implement replication on change log suffix between 2 SunOne directory servers. Currently, the replication is setup and to test the same, we tried to make a change on one particular server. I noticed that the change was being created with 2 change numbers on the actual server where the change was made & had 1 entry in the changelog of the replication server. Is that the expected behaviour? We were expecting the changeNumber for both the servers to be in sync. How do we achieve that?
Thanks in advance

The replication protocol has ways of determining order. The csn has timestamps in it as well as the replica from which a change originated. It's far too detailed to write here and I'm not sure I'm even allowed to do it. If there is a specific instance or case in where replication is not working properly, then we might have something to talk about.
In summary, my suggestion is to not replicate the changelog suffix. Each changelog is for that database of that instance only.

Similar Messages

  • Difference between Delta "Change Log" and "Active Table (Without Archive)"?

    In BI7.0 environment, we perform our Delta loads (the DTP settings under the Extraction tab, there is a field called Extraction Mode and it's value is selected as "Delta") every day among all our DSOs.
    There is a section called "Delta Init. Extraction From..." under the same tab in DTP, there are four radio buttons:
    Active Table (With Archive)
    Active Table (Without Archive)
    Archive (Full Extraction Only)
    Change Log
    Then what is the difference between "Change Log" and "Active Table (Without Archive)" if both Extraction Mode is "Delta" for two Delta loads?
    Thanks!

    Hi ,
    The new options SP16 has are:(Chk Note 1096771)
    Active Table (with Archive)
    The data is read from the active table and from the archive or from a near-line storage if one exists. You can choose this option even if there is no active data archiving process yet for the DataStore object.
    Active Table (Without Archive)
    The data is only read from the active table. If there is data in the archive or in a near-line storage at the time of extraction, this data is not extracted.
    Archive (Only Full Extraction)
    The data is only read from the archive or from a near-line storage. Data is not extracted from the active table.
    Change Log
    The data is read from the change log of the DataStore object.
    Delta will always be picked from change log table.Only during intialization you can choose between getting data from change log or active table.If you are doing the load first time and are initializzing delta in subsequent data targets, then pulling data from active table will get lesse volume of data then it would have got from change log table....All subsequent deltas will be picked up from the change log.  And when we need to reload data into the data target (which would be a full load) - we use active table.
    From change log : you can take below ones as targets
    1) Cube 2) DSO with Addition as the update for the Keyfigures
    From Active table: you can take below ones as targets
    1) Cube ,if and only if, the records are never changes in the source once after creation
    2) DSO with Addition as the update for the Keyfigures ,if and only if, the records are never changes in the source once after creation
    3) DSO with Overwrite as the update for the Keyfigures ( incase deletions is not happening in the source system)
    Pls check this link
    http://help.sap.com/saphelp_nw70ehp1/helpdata/en/47/e8c56ecd313c86e10000000a42189c/frameset.htm
    Regards,
    CSM Reddy

  • Matching change log between ODSs

    This may be impossible.  But here goes goes anyway.
    Background:
    We are doing SD extraction.  There are two ODSs involved in this issue. 
    1) One for VAITM (Sales Order Line Items)
    2) One for VAKON (Sales Order Line Item Conditions). 
    If a user changes a condition in a line item or the line item, change records are written to both VAKON and VAITM.
    Issue:
    What I've been asked to do is that for any given change record in VAKON, read the corresponding change record in VAITM.
    So my question is, Is there a way to correlate change records between two ODSs?

    Praveen,
    I am attempting to do this match in BADI attached to a transformation of an infospoke that has the VAKON ods as the source.
    This is a delta run, so I need to match the change record coming in from VAKON to the corresponding VAITM change record.
    The technical keys to the change logs are REQUEST, DATAPAKID, and RECORD; both of course having different values.   
    Thats the challenge.  I can't go against the active data.  I want the value of several fields in VAITM at the time of the change for the VAKON feed in the infospoke.
    Thanks for your help though.  It is much appreciated.

  • Maintain Change log between two tables

    Hi,
    I have input data as below in two tables temp1,temp2.
    I need to find the difference then maintain a change log as below;
    so I need query to get output in this way;
    Thanks
    Please Mark This As Answer or vote for Helpful Post if this helps you to solve your question/problem.

    you cannot have same name for two coloumns in a single select statment .
    so name its with alias name such as colName and colName1
    select T.colName as colName, T1.colName as ColName1 ,T.TableName as tableName, T1.TableName as tableName1 ,T.dataType as datatype, T1.Datatype as datatype1 , T.ColLength as column Lenghth, T1.colLength as Collength1,
    (IF (T.colName = T1.colName  and T.TableName and ...compare rest of the columns)  THEN match
    ELSE IF (T.colName <> T1.colName) THEN ColumNamechanged
    ELSE IF (next colunm name) THEN changedcolname
    ELSE
    FROM temp1 T ,temp2 T1)
    AS change
    FROM temp1 T ,temp2 T1) as chages
    from temp1 T ,temp2 T1 where T.colName = T1.colName  ;

  • Enabling Change log in OUD 11gR2PS2

    Hi Team,
    We are trying to configure reverse LDAP sync between OIM and OUD. OIM has the reconciliation scheduler for user reverse sync. But this depends on change log parameter in OUD. We are trying to enable change log in OUD. But We see that change logs is enabled on enabling the replication topology in OUD. We have a stand alone server and we do not require replication topology. Can we still enable change log in OUD? We need it for updating user locked information from OUD to OIM.
    Note: We are not performing OAM-OIM integration
    Please provide us any helpful solutions.
    Thanks,
    Sunderson SJG

    Hi,
    Change log will only be enabled when you create a replication server. I understand that is an overhead, but that is how OUD is build. This is very well document within the oracle docs.
    HTH.

  • Sales Orders Change Log question

    Hi All,
    I am currently working on a project that involves querying SAP Database to get custom reports via web browser, I've made a lot of advances and most of the site is ready but I'm missing just one item that I hope you could help me.
    Thing is I am working with the Sales Order change log and the problem comes one a user deletes a row. If I go to the change log inside SAP and see the differences a new record will be shown saying that row X was deleted and
    if I go to the database (ADOC and ADO1 tables) I don't have a way to see wich row was deleted.
    My way of doing this is to check for the number of rows on the current state of the sales order and check the same on the previous instance of the SO and see if a line was deleted. Then I would have to check row by row between instances what rows are there and what row is missing and store that info. I think this kind of approach will definitively kill the server.
    I was wondering if some one can give me a hint about how to approach this problem. Does any body know how SAP works on this area?
    I'm working with SAP2005A and SQL Server 2005 Standard Edition.
    Any help is greatly appreciated.
    Thanks!
    Alejandro.-

    Hola Alejandro,
    Thanks for your answer, as I see it I'm doing exactly what you proposed but the problem comes with the following scenarios:
    a.- If I post a new SO with two lines I will have on the ADO1 table two records with the values 0 and 1 for each line respectively but if I delete the item on LineNum = 1 and then I add a new item, this last item will be also created with LineNum value = 1. This is not a complicated thing to do but the problem comes when the user is used to work with SOs with several items at detail level and is used to add and erase lines once in a while and as I see it it's very difficult for me to track those specific changes. There's also the fact that on the Log table a new instance is created every time the user hits the update button regardless if a modification was actually made or not. I mean I would know that a line was deleted or added but I would have to start comparing each field on each line of a sales order with it's previous instance to check what was actually added/deleted and I'm afraid that this may affect the server performance. I know that SAP does this without affecting to much the system resources and that is what I'm trying to find.
    I forgot the other scenario I was considering he he I will post again as soon as I remember it but I hope I'm explaining this ok (I'm not very good at explaining...) If not let me know and I'll try to explain again.
    I'm also working on trying to get another approach to see what comes up...
    Thanks for checking this thread, your answers are helpful.
    Regards.

  • Change log

    Hi,
    Is there any difference between the programs RSTBHIST ( Table history) and RSVTPROT(Evaluation of log changes)?
    regards,
    Beena

    RSTBHIST
    Description
    You can record changes to table contents in the SAP System.
    For each change to a table entry, a change document is written in the table log database. The change document contains information such as time of the change and name of the user who made the change.
    Using the service functions, you can generate a list of all the change documents of the current day or a chosen time period.
    Furthermore you can display a list of all the tables, for which change documents are written (i.e. all tables with history administration).
    The administration of the table log database is supported by various functions:
    Determining the number of change documents in the table log database
    It is possible to select by time period and by table.
    Deletion of the oldest change documents from the table log database
    Enter a key date.
    You can select by table. Be careful: After deletion, the change documents are no longer available.
    Archiving of the oldest change documents
    Before deletion from the table log database, the change documents are archived in a sequential file.
    Creation of change documents
    Change documents are written for a table if:
    the table has the technical setting Logging
    the function Write change documents is active in your system
    To find out whether a table has the feature Logging, either choose the service function Tables with history administration or perform the following functions beginning with the main menu:
    Tools -> CASE -> Development -> Data Dictionary -> Display -> <tabe name> Display -> Goto -> Techn. setting
    The function Write change documents is controlled via the profile paramter rec/client. The following is possible:
    rec/client = OFF --> Function inactive
    rec/client = ALL --> Function active
    rec/client = <md1>,... --> Function active for chosen clients
    Comparison of current status with history
    For tables with change logging, it is possible to perform a comparison of the current status with the contents of the table at an earlier time.
    The table contents at both times are compared. Various field contents are highlighted.
    You can switch the display from vertical split (objects alongside one another) to horizontal split (objects below one another).
    RSVTPROT Evaluation of change logs
    Rgds,
    SaiRam

  • Data Replication Between Sqlserver and Oracle11g using materialized view.

    I have Sqlserver 2005 as my source and oracle11g as my target.I need to populate the target daily with change data from source.
    for that we have created a dblink between sqlserver and oracle and replicated that table as a Materialized view in Oracle.
    problem we are getting here is Fast refresh option is not available.each day it will pick full data from the source.
    is there any way to use Fast refresh in this scenario??
    Thanks in advance.
    Regards,
    Balaram.

    Pl do not post duplicates - Data Replication Between Sqlserver and Oracle11g using materialized view.

  • Multi master replication between 5.2 and 6.3.1

    I have a setup in which I have a master running version 5.2 and about 15 consumers ( slaves) all of which have been upgraded to 6.3.1 . I now want to create a multi master topology by promoting one of these consumers to be a master and still keep the 5.2 in use as we have a bunch of other applications that depend on the 5.2 instance. Our master has two suffixes. The master server is also the CA cert authority for all the consumers . After reading the docs I narrowed down the procedure to be
    1. Promote one of the 6.3.1 consumers to hub and then to master using the dsconf promote-repl commands. The problem here is that I am not sure how I can create a single consumer that can slave both the suffixes. We currently have them being slaved to different consumers.
    Also do I need to stop the existing replication between the 5.2 master and the would be 6.3.1 master to promote to hub and master.
    2. Set the replication manager manually or using dsconf set-server-prop on the new 6.3.1 master .
    3. Create a new replication agreement from 5.2 to 6.3.1 master without initializing. (using java console)
    4. Create new replication agreement from 6.3.1 to 5.2 (using command line)
    5. Create new repl agreements between the new 6.3.1 master and all the other consumers. For this do I need to first disable all the agreements between 5.2 and 6.3 or can I create new agreements without disabling the old ones?
    6. Initialize 6.3.1 from the 5.2 master.
    My biggest concern at this point is surrounding the ssl certs and the existing trusts the consumers have with the 5.2 master. Currently my 5.2 server acts as the CA authority for our certificate management with the ldap slaves. How can I migrate this functionality to the new server and also will this affect how the slaves communicate to the new master server ?
    Thanks in advance.

    Thanks Marco and Chris for the replies.
    I was able to get around the message by first manually initialzing the new slave using an ldif of the ou from the master , using dscc to change the default replication manager account to connect and finally editing the dse.ldif to enter the correct crypt hash for the new repl manager password. After these steps I was able to successfully set up replication to the second ou and also promote it to hub and master ( I had to repeat the steps after promotion of the slave to master as somehow it reset replication manager settings when I did that).
    So right now, I have a 5.2 master with two ou's replicating to about 15 consumers.
    I promoted one of these to be a second master (from consumer to hub to master). Replication is setup from 5.2 to 6.3 master but not the other way round.
    I am a little bit nervous setting up replication the other way round as this is our production environment and do want to end up blowing up my production instance. The steps I plan on taking are , from the new master server
    1. dsconf create-repl-agmt -p 389 dc=xxxxx,dc=com <5.2-master>:389
    2. dsconf set-repl-agmt-prop -p 389 dc=xxxxx,dc=com <5.2-master>:389 auth-pwd-file:<passwd_file.txt>
    I am assuming I can do all of this while the instances are up. Also in the above, does create-repl-agmt just create the agreement or does it also initalize the consumer with the data ? I want to ensure I do not initialize my 5.2 master with my 6.3 data.
    Thanks again

  • Activate change log in PLM Web UI

    Hi,
    I am not able to view an option for checking change logs in web ui.
    Could anyone please let me know how to activate it? Thanks.

    UI Builder doesn't have a navigation feature built in - you mentioned the main two workarounds, which are showing and hiding canvases by opacity, and using a tab control (possibly with the tabs offscreen or obscured by some other object, if you only want to allow navigation in some cases).
    As far as HTML + JS goes:
    - If Page 1 and Page 2 are completely independent, you could built each of them into a standalone application. You could use the hyperlink control in UI Builder to navigate between built apps, as you can navigate between any other HTML pages with it.
    - You could do an equivalent of your Menu.vix in HTML - again if Page 1 and Page 2 were built into independent apps with UI Builder, you could switch between them with normal HTML links (and use an IFRAME or something similar to embed the UI Builder app in your overall HTML page).
    To do everything in UI Builder (or if Page 1 and Page 2 depend on each other), you're limited to the opacity / tab control approaches.

  • Database replication between 2ACSs (V4.0 & V4.1)

    Hi All,
    1. ACS in production in the N/W:
    Release 4.0(1) Build 44
    2.Installed recently another ACS serer for backup purposes and currently as no Data :Release 4.1(1) Build 23
    Now...
    a. Will it be possible to (auto)replicate between these two vesrions.
    b.Will some one provide steps/links to configure replication and any required configuration changes to make sure (1) is primary & (2) backup [incase primary fails)
    Thanks in advance.
    MS

    Cisco does not recommend to do replication between different versions of ACS.
    I have also seen dissimilar versions to cause problems like database corruption, though it might work in some case.
    To be on safer side keep both ACS on same version and only then replicate.
    Following link can help you configure replication:
    http://www.cisco.com/univercd/cc/td/doc/product/access/acs_soft/csacs4nt/acs41/user/scadv.htm#wp756476
    For configuring Backup ACS incase primary fails you need to configure backup server on the AAA client (router,switch) because only AAA client will forward the request to secondary server in case primary fails.
    ~Rohit

  • How to see more instances in the Change Log?

    I'm using SAP B1 v8.82
    When I pull up the change log it might show that a Sales Order has had 12 instances of changes, but it will only show the last 2 users who made changes and it will only show differences between the current version and the version of it before the most recent change.  How can I make it show more?

    Hi,
    What do you mean by current and old version? Any changes in history log under general settings-->service tab?
    Thanks & Regards,
    Nagarajan

  • Receiving "Error truncating change log: null" after redeploying application

    Hi,
    I am running Weblogic 8.1 SP5 on Windows 2003. We are running into a problem where we redeploy an EAR on the server and it's causing an error "Error truncating change log: null" in the admin server. Here are the basic steps:
    1) We have an application from a third-party that is deployed to the managed nodes in a cluster.
    2) We Stop the application.
    3) We redeploy the application. The application redeploys ok.
    4) We stop the application for a 2nd time.
    5) We redeploy the application. This time, the server reports that it's in progress forever. This is when we start to see the errors in the log.
    6) To get the server back, we need to shut down the managed and admin servers.
    7) We have to kill the java.exe process on each node.
    8) We have to delete the ldap directory on the admin node.
    9) Once we restart the server, we are back again.
    So, after receiving hundreds (maybe a few thousand), we get the error:
    java.io.IOException: More than 2048 open files
    If anyone has any idea what's happening, it would be greatly appreciated.
    Thanks,
    Eric
    Here is the full stack trace:
    ####<Sep 2, 2011 12:44:15 PM EDT> <Error> <EmbeddedLDAP> <cdtscms11p> <VgnAdminServer> <ExecuteThread: '4' for queue: 'weblogic.kernel.System'> <<WLS Kernel>> <> <000000> <Error truncating change log: null>
    ####<Sep 2, 2011 12:44:15 PM EDT> <Error> <EmbeddedLDAP> <cdtscms11p> <VgnAdminServer> <ExecuteThread: '4' for queue: 'weblogic.kernel.System'> <<WLS Kernel>> <> <000000> <java.io.IOException: More than 2048 open files>
    ####<Sep 2, 2011 12:44:15 PM EDT> <Critical> <EmbeddedLDAP> <cdtscms11p> <VgnAdminServer> <ExecuteThread: '4' for queue: 'weblogic.kernel.System'> <<WLS Kernel>> <> <000000> <java.io.IOException: More than 2048 open files
         at java.io.RandomAccessFile.open(Ljava.lang.String;I)V(Native Method)
         at java.io.RandomAccessFile.<init>(RandomAccessFile.java:204)
         at java.io.RandomAccessFile.<init>(RandomAccessFile.java:94)
         at com.octetstring.vde.replication.BackendChangeLog.open(BackendChangeLog.java:192)
         at com.octetstring.vde.replication.BackendChangeLog.truncate(BackendChangeLog.java:183)
         at com.octetstring.vde.replication.BackendChangeLog.receiveEntryChanges(BackendChangeLog.java:540)
         at com.octetstring.vde.backend.BackendHandler.modify(BackendHandler.java:717)
         at com.octetstring.vde.operation.ModifyOperation.perform(ModifyOperation.java:144)
         at com.octetstring.vde.MessageHandler.doModify(MessageHandler.java:280)
         at com.octetstring.vde.MessageHandler.answerRequest(MessageHandler.java:73)
         at com.octetstring.vde.WorkThread.executeWorkQueueItem(WorkThread.java:83)
         at weblogic.ldap.LDAPExecuteRequest.execute(LDAPExecuteRequest.java:28)
         at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:224)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:183)
    >
    ####<Sep 2, 2011 12:44:15 PM EDT> <Error> <EmbeddedLDAP> <cdtscms11p> <VgnAdminServer> <ExecuteThread: '2' for queue: 'weblogic.kernel.System'> <<WLS Kernel>> <> <000000> <java.lang.NullPointerException: null>

    Chris
    Could you please tell us what version of DVD SP your are using?
    If its 3.x or earlier, then A.Pack should be used.
    If it's 4.x, then you will need to use compressor's, Dolby 2.0 audio encoding, because A.Pack will have been removed by the DVD SP 4's installer.
    There are also adjustments you will need to make to the basic settings of the Dolby 2.0 settings that come with compressor or A.Pack, to get the best output.
    Here's a how to: http://www.kenstone.net/fcphomepage/a_packwarmouth.html

  • Change log level at runtime

    Is there any way to change a logger's level at runtime?
    I would like to change between INFO and DEBUG on some features I'm working on without restarting Kura.
    Thanks

    I know this feature has been added again, but its accessible only through OSGi console. I developed a simple web interface to change log levels at runtime.
    I uploaded the project on my github page. It compiles with Maven 3.0.5 as deployment package, you can install it on any running kura instance.
    I find it very useful when developing/debugging, hope it may help someone else.

  • Does a Master Data Change Log or Report Exist?

    Does anyone know of a master data change log or report?
    Such a log or report would show all changes made to cons units, cons groups, and items; including additions, deletions and changes to a hierarchy.
    We hope to use this to synchronize cons group/unit and item hierarchies between BCS systems: Production and Development.
    For example, if a master data change was made in the Production system, we would like to log the change, and synch this change back to the Development system.
    Thanks for any insight.

    Thanks, TheScotsman, for really helpful information!
    Some detail of the findings for those who interested:
    There is a "How to... trace changes to master-data  and settings for SEM-BCS" which describes all nuances of tracking changes in MD.
    The HowTo mentions the reports RSVTPROT , UGMD_DB_LOG_DISPLAY, and a t-code SCU3 that may show the changes.
    Certainly the code of the reports might be taken as an example for writing your own code.
    Though, the reports and the SCU3 are useful when the logging of DB tables changes is activated.

Maybe you are looking for