Quanah,
My understanding is that attrs doesn't need to exist in config since by default all attributes are shared.
My original plan was to remove some tasks from the provider, like backup, running a slapcat in the consumer(slave). Based in the requirement to load the consumer(slave) using a master LDIF dump I'm not sure if this is really feasible.
My idea was : 1)Have a provider/consumer running; 2)Execute LDIF and binary backups in the consumer(slave) 3)In a case of problem in the master just let a HA SW move the master to slave and then load "old master" using the slave LDIF file(recovering procedure).
Is this feasible? Could for replication purposes copy the binary bdb files from master to slave or vice-verse to recover system?
Regards,
Rodrigo.
Regards,
Rodrigo.
Quanah Gibson-Mount wrote:
--On Wednesday, May 06, 2009 1:55 PM -0700 John Du jjohndu@gmail.com wrote:
Is it necessary to explicitly specify the '+' in slapd.conf to replicate operational attributes?
You shouldn't specify the "attrs=" line in slapd.conf at all, unless you only want to replicate a subset of attributes. The default is usually all you want. But yes, if you plan on doing replication, and want it to work, and you are going to specify the attrs= line, then you better include "+" in there.
--Quanah -- Quanah Gibson-Mount Principal Software Engineer Zimbra, Inc
Zimbra :: the leader in open source messaging and collaboration
--On Thursday, May 07, 2009 10:36 AM -0700 Rodrigo Costa rlvcosta@yahoo.com wrote:
Quanah,
My understanding is that attrs doesn't need to exist in config since by default all attributes are shared.
I think that is what I said. You should not specify the attrs= line in the syncrepl stanza on the replica, and just use the default. That way, the entire database is replicated in full to the replica.
My original plan was to remove some tasks from the provider, like backup, running a slapcat in the consumer(slave). Based in the requirement to load the consumer(slave) using a master LDIF dump I'm not sure if this is really feasible.
Why is it a requirement to use a master LDIF dump? I never said that. What I said, is that you are required to have a fully formed LDIF file to load LDAP servers that will be syncing (I.e., an LDIF file with the operational attributes, vs a generated LDIF file from a program that is missing them.). If you do a slapcat from an existing server, then it should be fully formed.
My idea was : 1)Have a provider/consumer running; 2)Execute LDIF and binary backups in the consumer(slave) 3)In a case of problem in the master just let a HA SW move the master to slave and then load "old master" using the slave LDIF file(recovering procedure).
Is this feasible?
Yes, this is pretty standard procedure, minus the binary backups. You could of course just set up mirror mode or multi-master, as well...
--Quanah
--
Quanah Gibson-Mount Principal Software Engineer Zimbra, Inc -------------------- Zimbra :: the leader in open source messaging and collaboration
openldap-software@openldap.org