Dael Maselli wrote:
Dear Richard,
The problem came back, this time in one node.
I've created a bug to track this
issue -
https://bugzilla.redhat.com/show_bug.cgi?id=388021
A less drastic solution than recreating everything from scratch will be
to export the database from a good master, and reimport it into that
master, then reinit all other masters from that master. You will
probably want to make sure there are no pending updates in any of your
masters first, or you will lose them.
I'm working on a better fix for this, but in the meantime, you should
not have to reinstall everything.
We have 4-way replica with the nodes: ds-m1, ds-2, ds-m3, ds-m4.
Yesterday all RW replica works fine, this morning one node (ds-m3)
crashed
and restarted with this log:
[14/Nov/2007:09:16:37 +0100] - Fedora-Directory/1.0.4 B2006.312.1621
starting up
[14/Nov/2007:09:16:37 +0100] - Detected Disorderly Shutdown last time
Directory Server was running, recovering database.
[14/Nov/2007:09:16:38 +0100] NSMMReplicationPlugin -
replica_check_for_data_reload: Warning: data for replica dc=infn,dc=it
was reloaded and it no longer matches the data in the changelog
(replica data > changelog). Recreating the changelog file. This could
affect replication with replica's consumers in which case the
consumers should be reinitialized.
Then I tried to reinitialize ds-m3 from ds-m1 and in ds-m3 log it wrote:
[14/Nov/2007:15:21:36 +0100] NSMMReplicationPlugin -
multimaster_be_state_change: replica dc=infn,dc=it is going offline;
disabling replication
[14/Nov/2007:15:21:36 +0100] - WARNING: Import is running with
nsslapd-db-private-import-mem on; No other process is allowed to
access the database
[14/Nov/2007:15:21:38 +0100] - import userRoot: Workers finished;
cleaning up...
[14/Nov/2007:15:21:39 +0100] - import userRoot: Workers cleaned up.
[14/Nov/2007:15:21:39 +0100] - import userRoot: Indexing complete.
Post-processing...
[14/Nov/2007:15:21:39 +0100] - import userRoot: Flushing caches...
[14/Nov/2007:15:21:39 +0100] - import userRoot: Closing files...
[14/Nov/2007:15:21:39 +0100] - import userRoot: Import complete.
Processed 10 entries in 2 seconds. (5.00 entries/sec)
[14/Nov/2007:15:21:39 +0100] NSMMReplicationPlugin -
multimaster_be_state_change: replica dc=infn,dc=it is coming online;
enabling replication
[14/Nov/2007:15:21:39 +0100] NSMMReplicationPlugin -
replica_reload_ruv: Warning: new data for replica dc=infn,dc=it does
not match the data in the chang elog.
Recreating the changelog file. This could affect replication with
replica's consumers in which case the consumers should be reinitialized.
So I tried to make changes on directory from node ds-m1,2 or 4 and it
propagates to
all 4 node (including ds-m3). BUT when I try to make changes from
ds-m3 it will not
propagates and in the ds-m3 log there is angain:
[14/Nov/2007:15:42:22 +0100] agmt="cn=m3-m2" (ds-m2:636) - Can't
locate CSN 4739d5a5000000030000 in the changelog (DB rc=-30990). The
consumer may need to be reinitialized.
[14/Nov/2007:15:42:22 +0100] agmt="cn=m3-m4" (ds-m4:636) - Can't
locate CSN 4739d5a5000000030000 in the changelog (DB rc=-30990). The
consumer may need to be reinitialized.
[14/Nov/2007:15:42:22 +0100] agmt="cn=m3-m1" (ds-m1:636) - Can't
locate CSN 4739d5a5000000030000 in the changelog (DB rc=-30990). The
consumer may need to be reinitialized.
So, please help me! What can I do now, we can't reinstall from scratch
anytime one
server goes down.
Thank you. Best regards.
Dael Maselli.
Dael Maselli wrote:
> Well. I restarted from scratch. Now all works fine.
>
> Now I have 4-way RW replicas with agreements from all to all.
>
> Thank you for assistance.
>
> Regards.
>
>
>
> ------------------------------------------------------------------------
>
> --
> Fedora-directory-users mailing list
> Fedora-directory-users(a)redhat.com
>
https://www.redhat.com/mailman/listinfo/fedora-directory-users
------------------------------------------------------------------------
--
Fedora-directory-users mailing list
Fedora-directory-users(a)redhat.com
https://www.redhat.com/mailman/listinfo/fedora-directory-users