Hello,
I've deleted old replication agreements and setup new ones
as part of server reshuffling (previous consumers turned
into multi-masters).
I'm following the instructions in
http://directory.fedoraproject.org/wiki/Howto:WalkthroughMultimasterSSL
which look like a shorter summary of the official
documentation.
When I finally click on the "Inisitalize consumer" I get a
pop-up about duplicate replicas existing.
The replica numbers on the servers are "4" (on the
supplier I intend to initialise from) and "3" (on the
intended consumer).
I followed instructions given in this forum earlier to
list replicas on both servers and these are the results:
# ./ldapsearch -x -b
'nsuniqueid=ffffffff-ffffffff-ffffffff-ffffffff,dc=company'
-D 'cn=Directory Manager' -w ******* -h cunsumers-ip-addr
-s base objectclass=nstombstone
version: 1
dn:
nsuniqueid=ffffffff-ffffffff-ffffffff-ffffffff,dc=company
objectClass: top
objectClass: nsTombstone
objectClass: extensibleobject
nsds50ruv: {replicageneration} 4a679e1c000000010000
nsds50ruv: {replica 3
ldap://directory2:389
}
nsds50ruv: {replica 1
ldap://directory5:389}
4a679ebf000000010000
4e30ce4e000200010000
nsds50ruv: {replica 65535
ldap://directory2:389}
4e323b300000ffff0000 4e4026ef0000ffff0000
dc: company
nsruvReplicaLastModified: {replica 3
ldap://directory2:389} 00000000
nsruvReplicaLastModified: {replica 1
ldap://directory5:389} 000000
00
nsruvReplicaLastModified: {replica 65535
ldap://directory2:389} 4e4026d9
# ./ldapsearch -x -b
'nsuniqueid=ffffffff-ffffffff-ffffffff-ffffffff,dc=company'
-D 'cn=Directory Manager' -w ******** -s base
objectclass=nstombstone
version: 1
dn:
nsuniqueid=ffffffff-ffffffff-ffffffff-ffffffff,dc=company
objectClass: top
objectClass: nsTombstone
objectClass: extensibleobject
nsds50ruv: {replicageneration} 4a679e1c000000010000
nsds50ruv: {replica 3
ldap://directory2:389}
nsds50ruv: {replica 1
ldap://directory5:389}
4a679ebf000000010000
4e30ce4e000200010000
nsds50ruv: {replica 65535
ldap://directory2:389}
4e4026ef0000ffff0000
dc: company
nsruvReplicaLastModified: {replica 3
ldap://directory2:389} 00000000
nsruvReplicaLastModified: {replica 1
ldap://directory5:389} 4e30ce
27
nsruvReplicaLastModified: {replica 65535
ldap://directory2:389} 4e4026da
directory1 is the server I'm running the query on and is
the intended initialising supplier.
directory2 is the server I'm trying to initialize.
directory1 and directory2 are the servers I intend to be
the new multi-masters. I configured them to use LDAPS on
port 636 with certificates.
directory5 is one of the two older multi-masters (the old
multi-masters haven't been configured corretly, I guess
that's why we don't see a second replica from the old
multi-master pair).
Is there a way for me to remove the old replicas or must I
just pick new replica numbers for the new multi-masters?
In case this matters - I'm configuring things through a
centos-idm-console which I copied to my Ubuntu desktop in
another location and accessing the DC over VPN. I have
direct access from my desktop to ports 636 and 389 on both
servers. When I setup the replication agreement the
console complains that it can't validate the connection
but I suspect this is related to it not having access to
the cert8.db file (
https://bugzilla.redhat.com/show_bug.cgi?id=200989).
Thanks,
--Amos