Re: syncrepl updates from consumer

2007-03-07 Thread Gavin Henry
John Drescher said the following on 06/03/07 18:53:
 syncrepl needs no updatedn, and what you report above is the expected
 behavior.
 So with syncrepl there is no way to do consumer updates?
 
 Did you happen to read the admin guide or slapd.conf(5) about
 sync replication?

 Yes, I read both several times this morning. Its definitely not the
 easiest documentation to read - too much detail on the protocol/design
 and very little info on the usage and configuration. After reading
 both I could not find an answer to my question. And after trying and
 failing I did a few google searches that led to conflicting results
 and more suggestions that did not work.

This is something we will be addressing in ongoing documentation re-works.

Thanks.

 
 Thanks,
 
 John


-- 
Kind Regards,

Gavin Henry.
Managing Director.

T +44 (0) 1224 279484
M +44 (0) 7930 323266
F +44 (0) 1224 824887
E [EMAIL PROTECTED]

Open Source. Open Solutions.(tm)

http://www.suretecsystems.com/



Re: syncrepl updates from consumer

2007-03-07 Thread Gregor Friedrich
Hi

I read it also and for me it was clear it's not an active active
sync...so the docu is n't so bad!

Gregor




Re: syncrepl updates from consumer

2007-03-06 Thread Pierangelo Masarati
[please keep replies on the list]

Matt Benjamin wrote:

 Perangelo,
 
 Is that an accurate statement of what MirrorMode does?  I had understood
 that only one master was _allowed to be written to_ to maintain
 consistency--hence the need for a load-balancer.

According to recent commits and posts by Howard, mirror mode seems to
allow writes to all masters under the assumption they have tightly
sync'ed clocks (namely, under ntp with very low latency).  See
http://www.openldap.org/lists/openldap-devel/200702/msg00019.html and
test050 in HEAD code.

p.



Ing. Pierangelo Masarati
OpenLDAP Core Team

SysNet s.n.c.
Via Dossi, 8 - 27100 Pavia - ITALIA
http://www.sys-net.it
--
Office:   +39.02.23998309
Mobile:   +39.333.4963172
Email:[EMAIL PROTECTED]
--



Re: syncrepl updates from consumer

2007-03-06 Thread John Drescher

On 3/6/07, Pierangelo Masarati [EMAIL PROTECTED] wrote:

John Drescher wrote:
 syncrepl needs no updatedn, and what you report above is the expected
 behavior.
 So with syncrepl there is no way to do consumer updates?

 Did you happen to read the admin guide or slapd.conf(5) about
 sync replication?

 Yes, I read both several times this morning. Its definitely not the
 easiest documentation to read - too much detail on the protocol/design
 and very little info on the usage and configuration. After reading
 both I could not find an answer to my question. And after trying and
 failing I did a few google searches that led to conflicting results
 and more suggestions that did not work.

In any case, with currently released code there is no way to update the
consumer.  One thing you can do is to add a global instance of
slapo-chain which redirects writes to the producer.  To the client, it
will appear like updating the consumer (but updates will get to the
consumer later, possibly after the client got a successful response, so
immediate reads could not see the modifications in place yet).

Example configuration is produced by running test007 and test018 (look
at overlay chain in the consumer's slapd.conf).

OpenLDAP 2.4 will allow mirror mode setups which means that multiple
servers will simultaneously act as masters.  But that's not released yet.


Thank you,
I will look into this.
John