Schema replication in Sun DS 5.1 and 5.2

hi ldapies,
has anybody expirienced similar problem?
Excerpt from errors log on supplier (master) server:
NSMMReplicationPlugin - Schema replication update failed: Type or value exists
NSMMReplicationPlugin - Warning: unable to replicate schema to host yy.yy.yy.yy, port 389. Continuing with replication session.
Excerpt from access DS 5.2 consumer (client) server log:
conn=1844 op=-1 msgId=-1 - fd=31 slot=31 LDAP connection from xx.xx.xx.xx to yy.yy.yy.yy
conn=1844 op=0 msgId=1 - BIND dn="cn=Replication Manager,cn=replication,cn=config" method=128 version=3
conn=1844 op=0 msgId=1 - RESULT err=0 tag=97 nentries=0 etime=0 dn="cn=replication manager,cn=replication,cn=config"
conn=1844 op=1 msgId=2 - SRCH base="" scope=0 filter="(objectClass=*)" attrs="supportedControl supportedExtension"
conn=1844 op=1 msgId=2 - RESULT err=0 tag=101 nentries=1 etime=0
conn=1844 op=2 msgId=3 - EXT oid="2.16.840.1.113730.3.5.3"
conn=1844 op=2 msgId=3 - RESULT err=0 tag=120 nentries=0 etime=0
conn=1844 op=3 msgId=4 - SRCH base="cn=schema" scope=0 filter="(objectClass=*)" attrs="nsSchemaCSN"
conn=1844 op=3 msgId=4 - RESULT err=0 tag=101 nentries=1 etime=0
conn=1844 op=4 msgId=5 - MOD dn="cn=schema"
conn=1844 op=4 msgId=5 - RESULT err=20 tag=103 nentries=0 etime=0
conn=1844 op=5 msgId=6 - EXT oid="2.16.840.1.113730.3.5.5"
conn=1844 op=5 msgId=6 - RESULT err=0 tag=120 nentries=0 etime=0
conn=1844 op=6 msgId=7 - UNBIND
conn=1844 op=6 msgId=-1 - closing - U1
conn=1844 op=-1 msgId=-1 - closed.
More configuration details:
hosts OS - Solaris 9
Supplier - Sun DS 5.1 Service Pack 4
Consumer - Sun DS 5.1 Service Pack 4, Sun DS 5.2_Patch_4
How it happens:
Consumer was already configured and used for other data located in separate database and suffix. Replication manager, new suffix and database for replica, were created on consumer. Replication agreement was created on supplier with "Always keep in sync" set.
Immediately after agreement was confirmed attempt to schema update was happened with warning mentioned above.
Yes, it is just warning, but it can result in some problems.
Changes in cn=schema are not stored in 99user.ldif on consumer. Consumer DS keeps updated changes in memory and used them, if needed. But if I decide to disable replication and restart the DS, DS reads user defined schema definition from 99user.ldif and there are no updated schema entries obtained earlier from supplier, but replicated data are available.
My question and cry for help:
What can cause the schema update failed and how to eliminate it?
Or am I trying to do something impossible?
I already got suggestions like "Forget about DS 5.1", "Supplier 5.1 and consumer 5.2? DO NOT DO THAT!"
Note: The same happened for DS 5.1 consumer.
I will appreciate any sort of reaction.
Thanks

This is a conflict in the OID or Name in either an object class or attribute.
No attribute must have an identical OID or name as another defined attribute
(both OID and name identical between 2 definitions means same definition)
The error log on the Consumer should have the OID or the name of the schema element that is already defined.
Schema replication between 5.2 and 5.1 servers is explained in the Administration Guide of Directory Server 5.2 and may require some settings (I don't recall which way, but it's covered in the documentation).
Regards,
Ludovic.

Similar Messages

  • Configure replication between directory server 5.1 and 5.2

    we have two directory servers running on different machine 5.1 and new 5.2. All database have been successfully backup and restore from 5.1 to new 5.2. In this scenario, we would like to setup 5.1 and new 5.2 D.S as multi-master replication.
    As described in the sun Documentation, we have copy few ldif file from new 5.2 to 5.1 so that both schema are up to date.
    The new instance of 5.2 is running fine. However, on the other hand, 5.1 has a problem to start the server as show in the following below.
    # ./start-slapd
    [31/May/2005:14:07:43 +0800] dse - The entry cn=schema in file /usr/iplanet/servers/slapd-ifpdev02/config/schema/50ns-admin.ldif is invalid, error code 21 (Invalid syntax) - object class nsAdminServer: Unknown required attribute type "nsServerID"
    [31/May/2005:14:07:43 +0800] dse - Please edit the file to correct the reported problems and then restart the server.
    Any help from you guys are greatly appreciated.

    I recommened that you read the Release Notes of DS5.2, there are some notes on Replication between 5.1 and 5.2.
    ===
    In Directory Server 5.2, the schema file 11rfc2307.ldif has been altered to conform to rfc2307. If replication is enabled between 5.2 servers and 5.1 servers, the rfc2307 schema MUST be corrected on the 5.1 servers, or replication will not work correctly.
    Workaround
    To ensure correct replication between Directory Server 5.2 and Directory Server 5.1, perform the following tasks:
    * For zip installations, remove the 10rfc2307.ldif file from the 5.1 schema directory and copy the 5.2 11rfc2307.ldif file to the 5.1 schema directory. (5.1 Directory Server Solaris packages already include this change.)
    * Copy the following files from the 5.2 schema directory into the 5.1 schema directory, overwriting the 5.1 copies of these files:
    11rfc2307.ldif, 50ns-msg.ldif, 30ns-common.ldif, 50ns-directory.ldif, 50ns-mail.ldif, 50ns-mlm.ldif, 50ns-admin.ldif, 50ns-certificate.ldif, 50ns-netshare.ldif, 50ns-legacy.ldif, and 20subscriber.ldif.
    * Restart the Directory Server 5.1 server.
    * In the Directory Server 5.2 server, set the nsslapd-schema-repl-useronly attribute under cn=config to on.
    * Configure replication on both servers.
    * Initialize the replicas.
    ===
    Also search for "migrate" or "repl" or "5.1" in Release Notes and read the relevant information.
    http://docs.sun.com/source/817-7611/index.html
    Another guide is "Installation and Migration Guide"
    http://docs.sun.com/app/docs/doc/817-7608
    HTH.
    Gary

  • Schema replication method - urgend help pls

    Hi
    i have a schema in database a with 40 tables.
    i want to replicate these tables in another repl schema in database b.
    The m view will be reade only ( no DML on rep_schema)
    My q is . what are the steps to do this by creating a master group for that tables and
    refresh that group (and not make a interval for each m view , so be difficult to manage all that jobs later )
    I read in rep api but the example of that doc is to create tthe replication method
    with update option in m views.
    do i have to follow exactly as is in the documentation?
    or i have to bypass a few steps?
    Have anyone try this method so can give me i guide how to do this?
    Regards Aris

    This is a conflict in the OID or Name in either an object class or attribute.
    No attribute must have an identical OID or name as another defined attribute
    (both OID and name identical between 2 definitions means same definition)
    The error log on the Consumer should have the OID or the name of the schema element that is already defined.
    Schema replication between 5.2 and 5.1 servers is explained in the Administration Guide of Directory Server 5.2 and may require some settings (I don't recall which way, but it's covered in the documentation).
    Regards,
    Ludovic.

  • Failover Zones / Containers with Sun Cluster Geographic Edition and AVS

    Hi everyone,
    Is the following solution supported/certified by Oracle/Sun? I did find some docs saying it is but cannot find concrete technical information yet...
    * Two sites with a 2-node cluster in each site
    * 2x Failover containers/zones that are part of the two protection groups (1x group for SAP, other group for 3rd party application)
    * Sun Cluster 3.2 and Geographic Edition 3.2 with Availability Suite for SYNC/ASYNC replication over TCP/IP between the two sites
    The Zones and their application need to be able to failover between the two sites.
    Thanks!
    Wim Olivier

    Fritz,
    Obviously, my colleagues and I, in the Geo Cluster group build and test Geo clusters all the time :-)
    We have certainly built and tested Oracle (non-RAC) configurations on AVS. One issue you do have, unfortunately, is that of zones plus AVS (see my Blueprint for more details http://wikis.sun.com/display/BluePrints/Using+Solaris+Cluster+and+Sun+Cluster+Geographic+Edition). Consequently, you can't built the configuration you described. The alternative is to sacrifice zones for now and wait for the fixes to RG affinities (no idea on the schedule for this feature) or find another way to do this - probably hand crafted.
    If you follow the OHAC pages (http://www.opensolaris.org/os/community/ha-clusters/) and look at the endorsed projects you'll see that there is a Script Based Plug-in on the way (for OHACGE) that I'm writing. So, if you are interested in playing with OHACGE source or the SCXGE binaries, you might see that appear at some point. Of course, these aren't supported solutions though.
    Regards,
    Tim
    ---

  • Config Streams using Handler on Schema Replication

    hi,
    we need to replicate Schema using oracle stream in two database (source - target)
    we already test the capture - propagation - apply process for schema
    but we need to use handler in this process thi for:
    - capture LCRs, and save it into another table (monitor_lcrs)-> this is our table
    - Transform tables - in the process of replicate schem we need to denormalization many tables.
    it is posible use Handlers to transform tables in Schema Replication?
    please your help
    regards,
    MQ

    Hi,
    Captured LCR's are placed in queues, you want them to be placed in normal table directly? if so it is not possible.
    When you say transform tables what exactly you mean by that?
    Thanks,
    Lalitha

  • Schema replication in 5.2

    Hi,
    I had setup multimaster replication between two ids5.2 but schema replication is not workin while it should be automatic.
    I can change the 99user.ldif files manually, but I want to make sur that schema replication is enabled and ensured after(and never stop alone even).
    Any hint.
    Thanks

    thank you,
    you got my problem, I executed the perl script to push the schema but it didn't work since the first time.
    I had to remove the reference to the database in the empty schema file and make the push again.
    Now I'm having an other problem. I can see schema modification only after restarting server.
    Any help about that?

  • DBA_CAPTURE_PREPARED_TABLES is not showing two tables in schema replication

    Hi,
    Using Oracle 10.2.0.3.0 on linux 64 bit
    I have setup one way Stream replication(SCHEMA REPLICATION) from production to destination server, when i am executing the query DBA_CAPTURE_PREPARED_TABLES view, it is not showing two , one of the table have same number of records as production have. Do i need to do any thing, because replication is running fine.
    Do i need not to worry because i am doing schema level replication and following view is showing the name of schema
    SELECT * FROM DBA_CAPTURE_PREPARED_schemas;
    Regards,

    Hello
    If replication is working fine on these 2 tables, you dont need to worry about these. Usually DBMS_CAPTURE_ADM.PREPARE_TABLE_INSTANTIATION API dumps the necessary streams dictionary information and enables supplemental logging. If your tables are getting replicated properly, that means the supplemental logging is already done and streams dictionary information are already available on the apply site.
    Still if you need you can run DBMS_CAPTURE_ADM.PREPARE_TABLE_INSTANTIATION again for these 2 tables on the capture site so that the view gets populated but it doesnt add any value.
    Thanks,
    Rijesh

  • Setting up replication with client written in C++ and DB master in Java

    Hi
    I am trying to write C++ client that will join replicated environment created by a master written in java. For JAVA, I am using Berkley DB Java 4.0.103 API.
    So far, I have written Master in java which creates a replicated environment. I also have a client written in JAVA that joins this replication environment and synchronizes all the data from master. Now, I want to convert this client written in JAVA to C++ (as our main application that will be using this is written in C++) and wondering if it will have any problems in serializing java objects to C++ objects.
    Anybody here have done something like this? I wanted to make sure if this is possible before I try it out. Any pointers in right direction will be helpful.....
    Thanks,
    -Chirag

    It is important to understand that BDB JE and BDB (C based edition) are two different products, not just two different APIs. In general you should normally choose one or the other. BDB JE is most appropriate for pure Java apps.
    BDB has APIs in many languages, including Java, C and C++. BDB JE, which is pure Java, has only a Java API.
    If you want to avoid a dependency on Java on the client (i.e., you want to use only C and C-based libraries), and you want to use a replication group that includes the client and server, then your only option is to use BDB (not BDB JE) on both client and server. On the server, you can use the Java API for BDB (this is not BDB JE), and use the C/C++ API for BDB on the client. With this option, you can make your data portable by using tuple bindings and writing C/C++ equivalents, as described in the other thread that you referenced.
    If you want to write your client app in C/C++, but use BDB JE on both client and server, it is possible to use the JNI invocation APIs on the client to make calls to BDB JE, as Linda mentioned. In this case, you don't need to worry about data portability, since you can use the same bindings (e.g., Java tuple bindings) on both client and server. However, your client app will depend on Java, and I think you'll find that using JNI invocation in this manner will be unwieldy.
    --mark                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Sun java directory server and Active Directory

    We are using two different directory servers Sun java directory server and active directory.
    My question is how we can have password synchronization between these two directory servers.
    I have checked Sun Java[TM] System Identity Synchronization for Windows 1 2004Q3
    http://www.sun.com/download/products.xml?id=41537425
    It seems that it's supported platforms is only for solaris and windows , but I have installed my Sun java directory server on linux and obviously it doesn't work for me.
    I would be grateful if anyone can suggest a solution to work around this situation.
    I have checked identity manager , I would like to know that if I can do this using this product.
    http://www.sun.com/software/products/identity_mgr/specs.jsp
    --regards.
    Sara

    Yes RHEL 4 is a supported OS with DSEE 6.0.
    Identity Synchronization for Windows is a part of DSEE that allows synchronization of users, passwords and groups between Sun Directory Server and Active Directory bi-directionally without altering the users environments, ie it does not require that users change their current habits.
    Identity Manager is a complete identity management solution that is targetting enterprise work flow when it comes to user provisioning and de-provisioning, but also allows to build authentication and password change forms that will provision the passwords to many different systems including Sun Directory Server and Active Directory but also IBM mainframes, legacy applications, databases...
    If you are implementing a complete identity management solution, then go with Identity Manager. If you need a lightweight and fast solution for just synchronizing users and passwords between Sun DS and MS AD, Identity Synchronization for Windows should be your choice.
    Regards,
    Ludovic.

  • I need to extend the schema for iPlanet Dir. 5.0 and add custom objectclasses and atributes. I do this by adding entries in the 99user.ldif file. Its not working. Any ideas?

    Hi
    I need to extend the schema for iPlanet Dir. 5.0 and I do not want to do so from the console. As per the documentation, I need to either add entries in the 99user.ldif file or define my own custom [00-99]myname.ldif file. I tried this but its not working.
    I have made the assumption that there is no explicit import step for the 'user defined' schema files (as it is for user data ldif files). I assume that on start (or on opening the console), I'd be able to see the new schema after the server has read the schema file.
    I have verified that entering new objectclasses and attributes from the console adds entries into the 99user.ldif file. So why is the reverse process not working. Can anybody throw some light on this? Also in case my assumptions are faulty, please let me know.
    I did not change the aci entries in the existing ldif file. Is any modification needed there? I was logged in as the Directory Manager during this testing process.
    regards
    Sikka ([email protected])

    Hi Sikka,
    The server reads its schema configuration on startup. If you manually modify the schema files while the server is running, it will not have any effect. You have to restart the server.
    The console adds the new schema elements over LDAP (you could do that as well, you only have to modify the cn=schema entry), so the server is aware of the changes immediately and thus restarting is not needed.
    I hope this helps.
    Bertold

  • Dependency between Sun Cluster 2.2 and Sun hardware ?

    I am evaluating Sun Cluster 2.2 for the usage as clustering software within our project.
    Can anybody say me, if there is a dependency between Sun Cluster 2.2 and Sun hardware ?
    Can I use Sun Cluster 2.2 with other hardware platforms running Sun Solaris 7 and Veritas Volume Manager ?

    I have had this discussion with fellow cluster admins, and we think a port of cluster 2.2 could be done to Intel running Solaris. And here is the BUT, BUT SUN does not support anything except a SPARC based cluster. So currently there is definately a depedancy bewteen the 2.2 software and the hardware.
    Hope this helps
    Heath

  • What is their difference betwwen  Sun ONE Application Server  and J2EE serv

    Sun ONE Application Server is Sun implementation of J2EE server.
    But it seems even no Sun ONE Application Server, use J2EE SDK command
    j2ee -verbose
    we still can launch an Application Server that support EJB, JSP....
    what is their difference betwwen Sun ONE Application Server and J2EE server provided by J2EE SDK ?
    Thanks,

    Sun ONE generally refers to the Sun ONE Application Server version 7.x. This is a J2EE 1.3 compliant application server from Sun. Sun also released a Reference Implementation version (RI) as a requirement of the J2ee 1.3 spec. This is the J2EE server you are refering too. The Sun ONE Application Server 7 is a more robust production ready App Server.
    Going forward, Sun combined the 2 seperate groups to include just 1 release. The J2EE 1.4 Reference Implementation is the Sun Java System Application Server Platform Edition version 8. SJS AS 8 PE is both free and production ready. Other version will include High Availability, Managing and Monitoring features.
    -Jeff

  • SUN AS PE 8 and postgres

    Hi everybody,
    I'd like to know your experiences about using SUN AS PE 8 and postgres. I have read that actual version has problems with this database manager. It's true?
    Thanks...

    I found another tread that talks about this problem, http://forum.java.sun.com/thread.jsp?forum=136&thread=509737
    A workaround for me was to disable privacy control in my firewall, not a viable solution but will do for now. I am interested in hearing about a real solution to this problem.
    Theodor

  • Running Sun App Server 7 and 8 on the same box

    Hello,
    Are there any known issues with running Sun App Server 7 and 8 in the same host box ? Currently I am encountering some class not found exceptions with Sun App Server 8 . Sun App Server 7 runs just fine.
    Thanks,
    Aswin.

    It's not advisable to run separate installations of
    ColdFusion 7 and ColdFusion 8 single server on the same machine the
    re are several services that will try to use the same ports.
    However, you can install ColdFusion Enterprise using the
    multi-server configuration and then deploy the J2EE versions of
    ColdFusion to JRun. You can change the JVM that each instance uses
    (we recommend the latest 1.4 for CF7 and the latest 1.6 for CF8),
    and everything should run fine.
    ColdFusion itself is essentially just a J2EE application, the
    J2EE server itself is JRun 4. So the specific answer to your
    question is "don't install 2 copies of JRun 4 to the same machine".
    But yes, it's 100% possible, I'm running this configuration in my
    own development environment.

  • Im needing a vector Replication of an adobe AI/PS/and or /FL interface to impose on a video. Any direction or tips without having to recreate would be great!

    I'm needing a vector Replication of an adobe AI/PS/and or /FL interface to impose on a video. Any direction or tips without having to recreate would be great!

    You need to draw it.

Maybe you are looking for

  • I have two computers with diffrent folders

    i imported two aol mail boxes to each of my two computers. now my mail folders are different on each computer .mac I want to merge the folders not replace them. after several attempts I got the folders to be copied in the server area below, but there

  • Song info now showing up in BMW

    I just bought a 2007 BMW 328i with the factory USB iPod connector. When I hook up my 5th generation iPod, the car reads the iPod fine, but on the car console all the songs are displayed as random text and are all under various folders named "f01", "f

  • E63 doesn't initialize after backup and firmware u...

    Hello, I live at Brazil (don't worry at the English mistakes) and I bought some weeks ago a Nokia E63 cellphone. I updated its firmware and it stopped working after I restored the backup. I used the Nokia Software Updater, and it showed that I could

  • XI - Transport of ID via CMS / Business System Replacement

    Dear Experts, We have installed SAP XI, and we now have our QA environment installed. We are transporting our objects from DEV to QA through CMS. In the SLD, we have defined 2 business systems : SAP_R3_DEV and SAP_R3_QA. Each of this system is assign

  • Entry point error while installing SAP GUI 7.20 compilation 3

    Hi Experts, I couldn't install SAP GUI 7.20 compilation 3 in my PC, I used SAP GUI in my PC a year ago but later I formatted my disk. Now when I click on SAPGUISETP it is throwing the following error The Procedure entry point ?FeiDbgException@@YAXVCW