I tried running mmr.pl script to setup Multi-master Replication and the
script went fine:
[root@389-supplier opt]# ./mmr.pl --host1 389-supplier.sap --host2
389-consumer.sap --host1_id 1 --host2_id 2 --bindpw '!nfra1sst' --repmanpw
'!nfra1sst' --create
adding to 389-supplier.sap -> cn=changelog5,cn=config
-> already exists
adding to 389-supplier.sap -> cn=repman,cn=config
adding to 389-supplier.sap -> cn=replica,cn="o=netscaperoot",cn=mapping
tree,cn=config
adding to 389-consumer.sap -> cn=changelog5,cn=config
-> already exists
adding to 389-consumer.sap -> cn=repman,cn=config
adding to 389-consumer.sap -> cn=replica,cn="o=netscaperoot",cn=mapping
tree,cn=config
adding to 389-supplier.sap -> plaintext replication 389-supplier.sap ->
389-consumer.sap
adding to 389-consumer.sap -> plaintext replication 389-consumer.sap ->
389-supplier.sap
initializing replication 389-supplier.sap -> 389-consumer.sap (port 389)
[root@389-supplier opt]#
To check if it worked fine. I checked the consumer logs:
and found few errors:
root@389-consumer ~]# tail -f /var/log/dirsrv/slapd-389-consumer/errors
[29/Jan/2010:03:04:54 +051800] NSMMReplicationPlugin - agmt="cn="Replication
to 389-supplier.sap"" (389-supplier:389): *Replica has a different
generation ID than the local data*.
[29/Jan/2010:03:04:55 +051800] NSMMReplicationPlugin -
multimaster_be_state_change: replica o=netscaperoot is going offline;
disabling replication
[29/Jan/2010:03:04:57 +051800] - WARNING: *Import is running with
nsslapd-db-private-import-mem on; No other process is allowed to access the
database*
[29/Jan/2010:03:04:59 +051800] - import NetscapeRoot: Workers finished;
cleaning up...
[29/Jan/2010:03:04:59 +051800] - import NetscapeRoot: Workers cleaned up.
[29/Jan/2010:03:04:59 +051800] - import NetscapeRoot: Indexing complete.
Post-processing...
[29/Jan/2010:03:04:59 +051800] - import NetscapeRoot: Flushing caches...
[29/Jan/2010:03:04:59 +051800] - import NetscapeRoot: Closing files...
[29/Jan/2010:03:05:00 +051800] - import NetscapeRoot: Import complete.
Processed 107 entries in 3 seconds. (35.67 entries/sec)
[29/Jan/2010:03:05:00 +051800] NSMMReplicationPlugin -
multimaster_be_state_change: replica o=netscaperoot is coming online;
enabling replication
----------------------------------------------------------------------
[root@389-consumer ~]#
I tried adding a User under ou=People and it dint take effect on the
consumer machine.