Multi-master replication questions for iPlanet 5.0, gurus out there?

hi:
I'm using iPlanet Dir Server 5.0 and I note that many gurus out there has
been able
to get this to work, that's good, but I have yet to. I have several
questions, maybe
someone can spend a few minutes and save me hours...
I have a suffix called dc=calient,dc=net. I followed the suggestions in
the
iPlanet install guide and created 2 directory servers
a) suffix o=NetscapeRoot, at some arbitrary port, 4601
b) suffix dc=calient,dc=net, at the usual port 389.
All my searches/create/delete work fine. However, when I try to replicate
with multi-master between 2 machines, I keep getting into problems.
Here's one set of questions...
Q1: do people out there really split their tree from the o=NetscapeRoot
tree?
Q2: The admin guide says the the unit of replication is a database, and
that each replication can only have 1 suffix. Is this true? Can
a replicated db have more than 1 suffix?
Q3: If I also want to replicate the o=NetscapeRoot tree, I have to set
up yet 2 more replication agreements. Isn't this more work? If
I just lump the 2 suffixes together, wouldn't it be easier? But would
it work?
Q4: I followed the instructions to enable replicas on the masters.
But then I tried to create this cn=Replication Manager, cn=config
object.
But what is the object class of this entry? An iPlanet user has uid
as its RDN... I tried a person object class, and I added a password.
But then I keep getting error code 32, object not found in the error
log. What gives? such as
WARNING: 'get_entry' can't find entry 'cn=replication
manager,cn=config', err 32
Q5: Also, are there any access control issues with this cn=Replication
Manager,
cn=config object? By this I mean, I cannot seem to see this object
using
ldapsearch, I can only see cn=SNMP, cn=config. Also, do I have
to give all access via aci to my suffix dc=calient,dc=net? Also,
given the fact that my o=NetscapeRoot tree is at a different port (say
4601),
not 389, could this be an issue?
Q6: when replication fails, should the Dir Server still come up? Mine does
not anymore
which is strange. I keep getting things like this in my log file
[08/Nov/2001:21:49:13 -0800] NSMMReplicationPlugin - Could not send consumer
mufasa.chromisys.com:389 the bind request
[08/Nov/2001:21:49:13 -0800] NSMMReplicationPlugin - Failed to connect to
replication consumer mufasa.chromisys.com:389
But why shouldn't the dir server itself come up even if replication
fails?
steve

Hi Steve,
First, please read the 'Deployment Guide'. I think that is easier to
understand when you want to setup multi-master replication. The
'Administrator's Guide' gives you step-by-step instructions, but it may
not help you to understand how to design your directory services.
Stephen Tsun wrote:
I have a suffix called dc=calient,dc=net. I followed the suggestions in
the
iPlanet install guide and created 2 directory servers
a) suffix o=NetscapeRoot, at some arbitrary port, 4601
b) suffix dc=calient,dc=net, at the usual port 389.
All my searches/create/delete work fine. However, when I try to replicate
with multi-master between 2 machines, I keep getting into problems.I don't understand something: which backend do you want to replicate?
The one holding 'o=NetscapeRoot' or the one holding 'dc=calient,dc=net'?
Do you want to setup replication between these two instances of the
directory server (i.e. between port 4601 and 389 in your example)?
Q1: do people out there really split their tree from the o=NetscapeRoot
tree?If you have multiple directory servers installed in your environment, it
is probably worth dedicating (at least) one directory server for the
o=netscaperoot tree.
Q2: The admin guide says the the unit of replication is a database, and
that each replication can only have 1 suffix. Is this true? Can
a replicated db have more than 1 suffix?Well, it is normal, since in iDS 5.x you have 1 suffix per database.
You can, however, replicate multiple databases.
Q3: If I also want to replicate the o=NetscapeRoot tree, I have to set
up yet 2 more replication agreements. Isn't this more work? If
I just lump the 2 suffixes together, wouldn't it be easier? But would
it work?You can't lump the 2 suffixes together, because each backend has 1
suffix associated with.
Q4: I followed the instructions to enable replicas on the masters.
But then I tried to create this cn=Replication Manager, cn=config
object.
But what is the object class of this entry?Usually, it is organizationalperson or inetorgperson. In most of the
cases you want an objectclass which can have userPassword attribute.
An iPlanet user has uid
as its RDN... I tried a person object class, and I added a password.
But then I keep getting error code 32, object not found in the error
log. What gives? such asYou must have misconfigured something. Or perhaps, it is not
cn=replication manager, cn=config, but 'uid=replication manager,cn=config'
Q5: Also, are there any access control issues with this cn=Replication
Manager,
cn=config object? By this I mean, I cannot seem to see this object
using
ldapsearch, I can only see cn=SNMP, cn=config.The configuration tree is protected by ACIs, so you can not see them
using anonymous BINDs. Try binding as 'directory manager' and you will
find your entry.
Also, do I have
to give all access via aci to my suffix dc=calient,dc=net?For what purpose? For replication, it is enough to set user DN in the
replication agreement and this user can update the replicated backend.
Q6: when replication fails, should the Dir Server still come up?Yes.
Bertold

Similar Messages

  • 2 questions for all the iTunes PROS out there

    I currently have the latest itunes software. I have recently formatted my pc, and need to add all my songs back into the itunes library. I have over 7000 songs all in the general folder
    "Music". I do to File->Add folder to library->Then select that folder. It works for a bit scanning though files asks me to convert some, then it just crashes..... It would take me soooo long to do this folder by folder, does any1 know what is going on?
    Since i have formatted my pc, when i plug my ipod in it says that it has been synced up to another itunes would i like to delete it all, any way around this? Or maybe can i somehow sync my ipod to my itunes, thus fixing the problem in my first question?
    Thx soo much for any help
    Myles

    "Since i have formatted my pc, when i plug my ipod in it says that it has been synced up to another itunes would i like to delete it all, any way around this?"
    When your iPod is set to update automatically you just need take care when connecting back to your computer and an empty iTunes. When you get the message that your iPod is linked to a different library and asking if you want to link to this one and replace all your songs etc, press "Cancel". Pressing "Erase and Sync" will irretrievably remove all songs from your iPod. Your iPod should appear in the iTunes source list from where you can change the update setting to manual and continue to use your iPod without the risk of accidentally erasing it. Check the "manually manage music and videos" box in Summary then press the Apply button: Managing content manually on iPod
    You can also use a keyboard command to prevent your iPod auto-syncing with iTunes. While connecting the iPod to the computer on Windows with iTunes 7 installed hold down the Control and Alt keys (or Shift + Ctrl keys in older versions). This will stop the iPod from auto-syncing with iTunes and the iPod will appear in the source list. Wait until you are sure the iPod has mounted, and that it will not auto sync and then you can let the keys go. This may take between 20 to 30 seconds depending on your computer: iTunes 7 Keyboard Shortcuts for Windows
    "Or maybe can i somehow sync my ipod to my itunes, thus fixing the problem in my first question?"
    If you have any iTMS purchases the transfer of purchased content from the iPod to authorised computers has been introduced with iTunes 7. A paragraph on it has been added to this article: Transfer iTunes Store purchases using iPod
    The transfer of non iTMS content such as songs imported from CD is designed by default to be one way from iTunes to iPod. However there is a manual method of accessing the iPod's hard drive and copying songs back to iTunes on Windows. The procedure is a bit involved but if you're interested it's posted in this thread: MacMuse - iPod to iTunes
    If you prefer something more automated then there are a number of third party utilities that you can use to retrieve the music files and playlists from your iPod. This is just a selection, you'll find that they have varying degrees of functionality and some will transfer movies, videos and photos as well. Have a look at the web pages and documentation, they are generally quite straightforward. You can also read reviews of some of them here: Wired News - Rescue Your Stranded Tunes
    YamiPod Mac and Windows Versions
    iGadget Windows Only
    iPod Access Mac and Windows Versions
    PodUtil Mac and Windows Versions
    iPodCopy Mac and Windows Versions
    PodPlayer Windows Only
    CopyPod Windows Only
    Whichever of these retrieval methods you choose, keep your iPod in manual mode until you have reloaded your iTunes and you are happy with your playlists etc then it will be safe to return it auto-sync again.

  • For all the reflection gurus out there

    I need to be able to access protected classes/interfaces and protected methods from another package. I know this completely undermines the entire idea of java�s protection keywords, but I don�t have any other choice. I also understand that this will possibly lock me into a specific VM version and implementation that I can use for my application because it is not part of the java API spec. Having said that I still need it to work. My real goal here is to create my own modal window behavior because Sun�s is not robust enough for our needs.
    I need the following code to work:
    FILE1
    package protect;
    public class Helper {
        public static Object getEventDispatchThreadInstance() {
            return new EventDispatchThread();
    interface Conditional {
        public void evaluate();
    class EventDispatchThread extends Thread {
        void pumpEvents(Conditional condition) {
            condition.evaluate();
    }FILE2
    package my;
    import protect.Helper;
    import java.lang.reflect.*;
    public class MyClass {
        public MyClass() {
            try {
                Class evDispatchThread = Class.forName("protect.EventDispatchThread");
                Class conditional = Class.forName("protect.Conditional");
                Object[] conditionalInstance = {new Object() {
                    public boolean evaluate() {
                        System.out.println("Please work");
                        return false;
                Method method = evDispatchThread.getDeclaredMethod("pumpEvents", new Class[] { conditional });
                method.setAccessible(true);
                method.invoke(Helper.getEventDispatchThreadInstance(),
                    conditionalInstance);  // This throws an IllegalArgumentException :(    
            } catch (Exception ex) {System.out.println(ex);}
        public static void main(String[] args) {
            MyClass instance = new MyClass();
    }The method.invoke call doesn�t work. I think the problem is because the conditionalInstance is not an instance of protect.Conditional. If protect.Conditional was not protected I would be able to do a cast, but I can�t because the compiler complains about it. How can I create an interface that is protected by using reflection? I also need to have my implementation of the evaluate method be executed when it is called in the pumpEvents call of the EventDispatchThread object.
    If you want a better idea of what I am trying to do in my application you can check out these threads:
    Project Swing->Help with the event dispatch thread
    Project Swing->Modality..what is it good for (absolutely nooothing)
    Thanks
    Lance

    I didn�t say it was the smartest thing to do, but it is either this or rewrite swing or our application to use a different GUI interface. I would rather be able to get this to work. Hey if it isn�t possible it isn�t possible.
    By the way DrClap you might want to find a different language then. You can access several methods that are protected by using reflection. The problems with my code are that it seems like you can�t use reflection to make protected interfaces, you can�t extend protected classes/interfaces, and you can�t cast correctly with these protected objects. The method.setAccessible(true); actually works. Check out the java.lange.reflect.AccessibleObject in the api.
    Lance

  • Multi master replication

    Hi
    I have implemented multi master replication only for dmls between 8i and 10g database
    whenever i try to generate the replication support after putting the object in replication group i get the error as
    ora-23416 primary key constraint doesnot exisrt
    I would like to know that whether is it necessary that the every table should have primary key constraint mandatorily before generating the replication support ?
    Also please say me whether i can replicate the dmls executing on the master definition site to master destination site in multi master replication
    If you have any specific document please provide me that to have better understanding of multi master replication
    Aram

    Hi , Please refer to metalink doc "ORA-23346 DURING GENERATE_REPLICATION_SUPPORT [ID 1059092.6]"
    https://support.oracle.com/CSP/main/article?cmd=show&type=NOT&doctype=PROBLEM&id=1059092.6
    Hope this helps
    Thanks

  • Multi Master Replication - Only works for some tables?

    I have a multi master replication between a 9i and an 816 database.
    All the tables are in the same tablespace and have the same owner. The replication user has full privs on all the tables.
    When setting up the replication some tables create properly, but others fail with a "table not found" error.
    Ideas anyone ?
    Andrew

    You said that you have a 9i replicated with a 816.
    I try the same thing but with two 9i enterprise version databases, free downloaded from www.oracle.com.
    when i ran
    exec dbms_repcat.add_master_database(gname=>'groupname', master=>'replica_link')
    this error appears
    ERROR at line 1:
    ORA-23375: feature is incompatible with database version at replica_link
    ORA-06512: at "SYS.DBMS_SYS_ERROR", line 86
    ORA-06512: at "SYS.DBMS_REPCAT_MAS", line 2159
    ORA-06512: at "SYS.DBMS_REPCAT", line 146
    ORA-06512: at line 1
    please help me if u have any idea.

  • Multi-master Replication and Metadirectory 5.0

    The Metadirectory 5.0 documentation states that it cannot work with a directory server configured for multi-master replication. We need to use Metadirectory since we are integrating the Directory Server with other systems. Does this mean that we'll be forced away from MMR configuration? What are some of the alternatives? Does iPlanet have any plans for supporting MMR in future versions of Metadirectory?

    I think you can enable the retro changelog on a consumer replica. I'm pretty sure that works.
    You might be able to enable it on a hub. You also might get it to work on a master, but the changelog on the master will contain some replication housekeeping changes that may confuse Meta Directory. I'm not sure what they are but they are obvious if you look at the changelog. If you can figure out some way to screen those changes out from Meta Directory, you might be able to use it.

  • Procedure to create Multi Master Replication

    Hi,
    can anybody help on this. How to do Multi Master replication from scarch . I used to do single master . this is the first time iam trying to do Multi-Master Replication . I am looking for doc, iam unable to find . Is ther anybody can tell how to do Multi-Master little in detail. I installed my Software and i loaded my company schema and the data on one server. I have another server ready to install software and load data.

    with regards to the post "RTFM"..
    in my experience the sunone/iplanet manuals are very badly written and in some cases just plain wrong..
    sure start with reading the manuals, then make sure you also read the release notes and then you can still be confused in some cases....
    the section on mmr in the manual has a number of mistakes last time i looked..
    one reason why i think community sites, and generally available "support" are such prime requisites in choosing software...
    just my 2 cents

  • Multi-master replication and replica_update_ruv: unable to update

    I'm running Sun ONE 5.2 DS on Solaris 8 with multi-master replication comprising of 2 masters (M1 & M2) and 2 consumer replicas (R1 & R2).
    M1 sends updates to consumers R1 and R2, M2 sends updates to R2 and R1 (and offcourse M1 to M2 and M2 to M1).
    Replication works well at all times. However, occasionally there are a few annoying messages in the consumers' error log files (which do not affect the replication):
    INFORMATION - NSMMReplicationPlugin - conn=-1 op=-1 msgId=-1 - csnplCommit: can't find csn 4054e7710
    000ffff0000
    INFORMATION - NSMMReplicationPlugin - conn=-1 op=-1 msgId=-1 - ruv_update_ruv: cannot commit csn 405
    4e7710000ffff0000
    INFORMATION - NSMMReplicationPlugin - conn=-1 op=-1 msgId=-1 - replica_update_ruv: unable to update
    RUV for replica o=asx.com.au, csn = 4054e7710000ffff0000
    Has anyone come across this scenario? The explanation that I found on the web refers to 4.x Master and 5.1 DS but I do not have any of that and "Allow replicas to be 4.x compatible" is not set.
    Below is the extract from "Release Notes for iPlanet Directory Server 5.1 Service Pack 1" found on the web:
    "In a topology, where an iPlanet Directory Server 5.1 Service Pack 1 is a Dedicated consumer of a 4.x directory server supplier (4665571), messages of the following type will be written to the error log:
    NSMMReplicationPlugin - csnplCommit: can't find csn 3d0f496f0001ffff0000
    NSMMReplicationPlugin - ruv_update_ruv: cannot commit csn 3d0f496f0001ffff0000
    NSMMReplicationPlugin - replica_update_ruv: unable to update RUV for replica <suffix> csn = 3d0f496f0001ffff0000
    To prevent such a situation from occuring, configure the iPlanet Directory Server 5.1 Service Pack 1 instance as a Single Master (because a 5.x master may also be a consumer)."
    Thanks in advance,
    Erika

    I have had a similar problem. and it was due to that I recreated a new replication agreement which pointed to a different server with the same id. Or to the same server with a different ID.
    The solution provided by sun was to remove the reference to the old replicas in the dse.ldif and restart but it didn't work out. not even by ldapmodify on the replicas dn.
    I had to reinstall...

  • Multi-master replication on iDS 5.0 sp2

    Hi,
    I've configured multi-master replication on iDS 5.0 sp2 as per the admin guide, but have encountered a strange problem.
    I shut down Master B and add a user in Master A. The change is replicated to Master B when it starts up again. However, when I do the same on Master B, ie shut down Master A and add in Master B, the change doesn't get replicated to Master A when it comes online again.
    The Error Log shows the following:
    [10/Sep/2002:11:35:29 +0800] - iPlanet-Directory/5.0 ServicePack 2 B2002.033.1618 starting up
    [10/Sep/2002:11:35:33 +0800] NSMMReplicationPlugin - replica_check_for_data_reload: Warning: data for replica dc=company.net was reloaded and it no longer matches the data in the changelog. Recreating the changlog file. This could effect replication with replica's consumers in which case the consumers should be reinitialized.
    [10/Sep/2002:11:35:34 +0800] - slapd started. Listening on all interfaces port 389 for LDAP requests
    [10/Sep/2002:12:24:24 +0800] - cos_cache_getref: no cos cache created
    The above content appeared in both logs, even in the first case, where the replication was successful.
    Anybody know what's wrong? Any advice will be greatly appreciated.
    Thanks,
    Soon

    Here's the patch info for ids 5.1:
    Problem solved by this hot-fix (533850):
    nsTombstone entries not purged and get following error messages :
    [14/Dec/2001:15:05:33 -0500] NSMMReplicationPlugin - deletetombstone: unable to delete tombstone
    nsuniqueid=b40f9681-1dd111b2-805af370-0daeb637, uid=repuser7,dc=decisionone,dc=com,
    uniqueid b40f9681-1dd111b2-805af370-0daeb637: Operations error.
    [14/Dec/2001:16:05:33 -0500] - ancestorid BAD 13120, err=-666 Unknown error: -666
    Version impacted: iPlanet Directory Server 5.1
    Shared library delivered : libback-ldbm.so
    This library is build for Solaris 8.
    This library should be installed in <directory_server_install_root>/lib
    (e.g : /usr/iplanet/servers/lib/libback-ldbm.so)
    Checksums:
    47962 1309 libback-ldbm.so
    8606 396 libback-ldbm.so.gz
    I picked it up at this URL: ftp://icnc-cte.france/pub/ESCS/533850

  • Problem in multi master replication creation using DBA Studio -- replication

    Hi,
    I am trying to create multi master replication using DBA studio but facing following problem at the time of master group creation.
    ORA-04052 error occured when looking up remote object SYS.SYS@CBOLDATA
    ORA-00604 error occured at recursive SQL level 2
    ORA-01017 invalid username/password, logon denied
    ORA-02063 preceding line from CBOLDATA
    If you want to know how I am trying the whole thing then here is the way I am doing comfiguration.
    First I have created master site which is created successfully.
    Here I have used two database named UPP817 & CBOLDATA
    Step of master site creation is followed like this.
    1. Master Site addition (Added both UPP817 & CBOLDATA using SYSTEM username)
    2. Default User (No change is done, Default schema and password taken)
    3. Master Site Schema (Added SCOTT/tiger)
    4. Scheduled Link (No change is done, Default values taken)
    5. Purge (No change is done, Default values taken)
    6. Finished successfully
    Master group creation there is three option available
    1. General (Only value of Name is given)
    2. Object (No object added)
    3. Master Sites (It takes UPP817 by default as a master defination site then as a Master Site I have added CBOLDATA)
    when I pressed on Create It gives me the error listed above.
    I really appreceate your help
    Mukesh

    Create public database link at master site database for CBOLDATA.
    Also see that you are using SNMP protocol and Oracle Pipe at both
    databases. This will be usefull while making replication from remote
    place.
    I hope this will work.
    regards
    Avinash Jadhav

  • Using attribute uniqueness with multi-master replication?

    Hi,
    I'm trying to use attribute uniqueness in a iDS 5.1 multi-master replication env. I have created a plug-in instance for the attribute (memberID) on each directory instance (same installation on NT) and tested (if I try to create a duplicate value under the same instance I get a constraint error as expected). However if I create a entry under one instance and then create a second entry (different DN) with the same attribute value on the second instance, the entry is written with no complaints? If I create the entries with an identical DN, then the directory automatically adds nsuniqueID to the RDN of the second entry to maintain DN uniqueness but it doesn't seem to mind about duplicate values within the entry despite the plug-in?
    BTW I've tested MMR and it is working and I'm using a subtree to enforce uniqueness.
    Regards
    Simon

    Attribute uniqueness plugin only ensure uniqueness on a single master before the entry is added. It doesn't check replicated operation since they have already been accepted and a positive result was returned to the client. So in a multiMastered environment, it is still possible to add 2 identical attributes, if like you're saying you're adding the entries at the same time on both master servers.
    We're working on a solution to have Attribute Uniqueness working in a multiMastered environment. But we're worried about its impact on performances we may get with it.
    Regards,
    Ludovic.

  • Two problems after reinitializing multi-master replication.

    Hi,
    I recently set up multi-master replication between two machines, A and B, running iDS 5.1. Everything works well until I disable replication and re-enable replication. Here's the procedure that I follow:
    1. Delete agreement on machine A and B.
    2. Disable the replica on machine A and B.
    3. Disable the changelog on machine A and B.
    4. Enable the changelog on machine A and B.
    5. Enable the replica on machine A and B.
    6. Create replication agreement on A and B.
    7. Initialize B from A.
    Problem #1:
    After I follow this procedure, updates to A result in the error:
    <B>
    Data required to update replica "cn=rep1, cn=replica, cn="o=sylantro.com", cn=mapping tree, cn=config (host rosemary.sylantro.com, port 389)" has been purged. The replica must be reinitialized.
    [07/Feb/2002:10:43:28 -0800] NSMMReplicationPlugin - Replication: Incremental update failed and requires administrator action
    </B>
    At this point if I re-initialize B from A, the problem ceases and everything is fine.
    This problem still occurs even if I restart the server before Step 4.
    Problem #2.
    When I assign machine A the old replicaId of machine B and assign machine B the old replicaID of machine A in Step 5, I get the following error.
    <B>
    [07/Feb/2002:10:06:02 -0800] NSMMReplicationPlugin - Unable to aquire replica "cn=rep1, cn=replica, cn="o=s
    ylantro.com", cn=mapping tree, cn=config (host wasrocky.sylantro.com, port 389)": the replica has the same Replica ID as this one. Replication is aborting.
    </B>
    The server looks like it is remembering its old replicaID.
    This problem still occurs even if I restart the server before Step 4.
    Any insight would be greatly appreciated.
    Thanks!
    Gil

    For the problem #1, the error message is normal since you have actually remove the changelog. However, once you have done an initialization, Replication should work.
    For the problem #2, the message is correct, because, although you have changed the ReplicaId on both server, your data still contain references to the previous replicaId both on Server A and Server B.
    In general, Replica ID uniquely identify a Master in a replication topology. It should not change. The replicaID is also used in the timestamps associated with each change and they guarantee that the Replication can always distinguish 2 changes, and also can detect time synchronization issues between masters.
    One way to avoid the Replica ID issue when changing ReplicaIds, is to reload the data on one server and then re-initialize the second one from the first one.
    Regards,
    Ludovic.

  • Problem with Multi Master Replication

    Hello All,
    I've setup a multi-master replication with no consumers. i.e i'm having 2 suppliers which should update each other. The setup seems to be fine since the initialization of one supplier by other works very fine. But i couldn't get the synchronization btwn the suppliers get worked. I noticed in the error log that the syn-scan request arrived, but ignored. What are the possibilities of this error ?
    Please help me with this regard.
    Thanks in advance,
    Rajesh

    Hello All,
    Rich, you have been a support to most of us in the group(indeed much to my help)...Its splendid work....
    My problems disappeared after applying the Service pack ....the service pack in fact is mainly to sort out the replication issues.
    Advice from my experience - The patch may be more than enough for most of the replication issues.
    One observation - i had the replica busy error, but i didn't have to restart the replica as suggested by some of the previous threads. Seems the service pack did some fix for it.
    Thank you all,
    Best Regards,
    Rajesh

  • Regarding multi master replication

    hi
    i am getting below error while i am doing multi master replication.
    I had master 1 with some entries and now i am doing replication with master-2 which doesn't have any entries.
    [21/May/2007:16:52:15 -0700] - import userRoot: Import complete. Processed 258 entries in 6 seconds. (43.00 entries/sec)
    [21/May/2007:16:52:15 -0700] - INFORMATION - NSMMReplicationPlugin - conn=-1 op=-1 msgId=-1 - multimaster_be_state_change: replica dc=homedepot,dc=com is coming online; enabling replication
    [21/May/2007:16:52:15 -0700] - INFORMATION - NSMMReplicationPlugin - conn=-1 op=-1 msgId=-1 - replica_reload_ruv: Warning: new data for replica dc=homedepot,dc=com does not match the data in the changelog.
    Recreating the changelog file. This could affect replication with replica's consumers in which case the consumers should be reinitialized.
    [21/May/2007:16:52:15 -0700] - INFORMATION - NSMMReplicationPlugin - conn=-1 op=-1 msgId=-1 - This supplier for replica dc=homedepot,dc=com will immediately start accepting client updates
    [21/May/2007:16:52:15 -0700] - INFORMATION - NSMMReplicationPlugin - conn=-1 op=-1 msgId=-1 - Replica (dc=homedepot,dc=com) has been initialized by total protocol as full replica
    [21/May/2007:16:52:16 -0700] - WARNING<10276> - Incremental Protocol - conn=-1 op=-1 msgId=-1 - Replication inconsistency Consumer Replica "alpha.ad.com:19940/dc=homedepot,dc=com" has a different data version. It may have not been initialized yet.
    i initialized both replicas.
    any help is appreciated .

    As Ludovic mentioned, after you load data to the first master server, you have to initialize your second server (either it's master or read-only replica) in two ways:
    1) offline (with server down)
    in server 1: do db2ldif -r and save the output to file
    in server 2: do ldif2db using the saved file
    2) online: using GUI
    I don't think that you need copy over the user schema, which should be able to replicated during replication. (please correct if wrong)

  • Problem in implementing "Multi-Master Replication"

    Hi,
    I am trying to implement "Multi-Master Replication", where both sites will try to act as Master, when Site1 is down the other site will take control and data will be updated at Site2 and vice-versa.
    I have created REPADMIN user at both the site.
    create user repadmin identified by repadmin;
    grant connect, resource to repadmin;
    execute dbms_repcat_admin.grant_admin_any_schema(&lsquo;repadmin');
    grant comment any table to repadmin;
    grant lock any table to repadmin;
    execute dbms_defer_sys.register_propagator(&lsquo;repadmin');
    Then I have created DBLink at both sites:
    connect repadmin/[email protected]
    create database link MYDB.WORLD
    connect to repadmin identified by repadmin
    using 'MYDB.WORLD';
    connect repadmin/[email protected]
    create private database link NAVDB.WORLD
    connect to repadmin identified by repadmin using 'NAVDB.WORLD';
    Then created schedules for Push and Perge jobs.
    -- Add jobs to NAVDB
    connect repadmin/repadmin@navdb
    begin
    dbms_defer_sys.schedule_push(
    destination =&gt; 'MYDB.WORLD',
    interval =&gt; 'SYSDATE + 1/(60*24)',
    next_date =&gt; sysdate,
    stop_on_error =&gt; FALSE,
    delay_seconds =&gt; 0,
    parallelism =&gt; 1);
    end;
    begin
    dbms_defer_sys.schedule_purge(
    next_date =&gt; sysdate,
    interval =&gt; 'sysdate + 1/24',
    delay_seconds =&gt; 0,
    rollback_segment =&gt; '');
    end;
    -- Add jobs to MYDB
    connect repadmin/repadmin@mydb
    begin
    dbms_defer_sys.schedule_push(
    destination =&gt; 'NAVDB.WORLD',
    interval =&gt; 'SYSDATE + 1/(60*24)',
    next_date =&gt; sysdate,
    stop_on_error =&gt; FALSE,
    delay_seconds =&gt; 0,
    parallelism =&gt; 1);
    end;
    begin
    dbms_defer_sys.schedule_purge(
    next_date =&gt; sysdate,
    interval =&gt; 'sysdate + 1/24',
    delay_seconds =&gt; 0,
    rollback_segment =&gt; '');
    end;
    Then created "Master Group Site" at Site1:
    connect repadmin/repadmin@navdb
    BEGIN
    DBMS_REPCAT.CREATE_MASTER_REPGROUP(
    gname =&gt; '"GROUP1"',
    qualifier =&gt; '',
    group_comment =&gt; '');
    END;
    Add desired table object for Replication:
    BEGIN
    DBMS_REPCAT.CREATE_MASTER_REPOBJECT(
    gname =&gt; '"GROUP1"',
    type =&gt; 'TABLE',
    oname =&gt; '"AUTHOR"',
    sname =&gt; '"PUBS"');
    END;
    Set Primary Key column:
    BEGIN
    DBMS_REPCAT.SET_COLUMNS(
    sname =&gt; '"PUBS"',
    oname =&gt; '"AUTHOR"',
    column_list =&gt; '"AUTHOR_KEY"');
    END;
    Resume Master Activity at Site1:
    BEGIN
    DBMS_REPCAT.RESUME_MASTER_ACTIVITY(
    gname =&gt; '"GROUP1"');
    END;
    Add another Master Site as Site2:
    connect repadmin/repadmin@navdb
    BEGIN
    DBMS_REPCAT.SUSPEND_MASTER_ACTIVITY(
    gname =&gt; '"GROUP1"');
    END;
    BEGIN
    DBMS_REPCAT.ADD_MASTER_DATABASE(
    gname =&gt; '"GROUP1"', master =&gt; &lsquo;MYDB.WORLD');
    END;
    BEGIN
    DBMS_REPCAT.RESUME_MASTER_ACTIVITY(
    gname =&gt; '"GROUP1"');
    END;
    I have executed above steps as shown in attached PDF file. Now I am trying to update one row in "Author" table and it is giving error like:
    ORA-23326: object group "PUBLIC"."GROUP1" is quiesced
    As per the description given for error in some help file, I am trying to suspend the activity, then it is give me same error like:
    SQL&gt; BEGIN
    2 DBMS_REPCAT.SUSPEND_MASTER_ACTIVITY(
    3 gname =&gt; '"GROUP1"');
    4 END;
    5 /
    BEGIN
    ERROR at line 1:
    ORA-23326: object group "PUBLIC"."GROUP1" is quiesced
    ORA-06512: at "SYS.DBMS_SYS_ERROR", line 95
    ORA-06512: at "SYS.DBMS_REPCAT_MAS", line 4195
    ORA-06512: at "SYS.DBMS_REPCAT", line 946
    ORA-06512: at line 2
    Here I am stuck up and cannot perform any DML operation on the Replicated object.
    Look into the matter and suggest something if anyone can.
    Thanks,
    Tapan Trivedi

    You're probably going to have to rethink this.
    Even if your replication agreements are not encrypted, it is likely that your userPassword attributes are hashed. If they're not, you could just ask either master for the cleartext userPassword anyways, and no need to try to sniff it out of replication traffic.

Maybe you are looking for

  • My itunes no longer picks up my ipod so i cant sync it help?

    My itunes wont pickup on my ipod so i cant sync it help?

  • Skype won't launch

    I just got my iphone today, I connected it to my wifi and browsers work ect, but for some reason skype won't launch. the app just bounces and then doesn't launch. any ideas on a solution? thanks!

  • Poor performance in establishing an SSL connection

    Hi, i have a Servlet (loaded on Tomcat 4.1) that establishes a SSL Connection to a remote server. The issue is, is that the connection phase takes over 4 seconds to complete! heres the function where the problem shows public SSLSocket getSocket() thr

  • MOVED: KT4V mobo - how do I get the best out of my AMD chip

    This topic has been moved to AMD SocketA based board. https://forum-en.msi.com/index.php?topic=96167.0

  • JMS tutorial

    I was trying "Writing the PTP Client Programs " in the tutorial section, i compiled SimpleQueueSender.java,SimpleQueueReceiver.java in one window and started j2ee -verbose in another window.Then, "j2eeadmin -addJmsDestination MyQueue queue".after thi