----- Original Message -----
> From: "William Brown" <[email protected]>
> To: "General discussion list for the 389 Directory server project." 
> <[email protected]>
> Sent: Friday, January 22, 2016 4:28:57 AM
> Subject: [389-users] Re: multimaster replication -preventing clients writes
> 
> On Thu, 2016-01-21 at 22:50 -0200, carne_de_passaro wrote:
> > Hi, I don't know if it will perform well but, you can create an ACI
> > on the
> > top of the tree and negate writes for all, except the master 2 IP.
> > 
> 
> The aci will replicate because this is MMR.
> 

Yes, but it will be evaluated as false only in master 2.
So, master 2 will allow writes while in master 1, they will be forbidden.

But I agree it could be nicer to have a read only replica.


> > 
> > > Hi List,
> > > I would like to know if there is a cfg option in a multimaster
> > > replication
> > > ( 2 servers both accept read-writes) to prevent users/clients
> > > application
> > > writes to one of the master   without affecting the replication
> > > agreements.
> > > my env 389-ds 1.3.4.4
> > > Thank you
> > > Isabella
> 
> You are actually asking for a read only replica ... if a rw master
> accepts no writes, it's a read only. If it accepts no writes it has
> nothing to transmit back to the other master .... you want a read only
> replica.
> 
> 
> Otherwise, if you want rw masters, there is no reason to limit yourself
> to writes only on one master. That's the point of the replication
> protocol, to remove the point of failures in write targets.
> 
> 
> --
> Sincerely,
> 
> William Brown
> Software Engineer
> Red Hat, Brisbane
> 
> 
> --
> 389 users mailing list
> 389-users@%(host_name)s
> http://lists.fedoraproject.org/admin/lists/[email protected]
--
389 users mailing list
389-users@%(host_name)s
http://lists.fedoraproject.org/admin/lists/[email protected]

Reply via email to