Am Mi., 16. März 2022 um 19:31 Uhr schrieb Quanah Gibson-Mount quanah@fast-mail.org:
--On Wednesday, March 16, 2022 7:59 PM +0100 Meike Stone meike.stone@googlemail.com wrote:
Hello,
what is the right solution to backup a Mirromode setup? I've a simple setup with two servers, running in mirromode and a virtual IP is moved on "request" between the two servers (nodes). The DNS-Name of the virtual IP is used for the client ldap requests. The server certificate is issued to the DNS name of the virtual IP, but has two SANs for the both node names. The node names will be used for replication in mirrormode. Everything is running well. Can I set up a third (readonly) server, who only replicates the Database from the "mirromode cluster'' using the DNS-Name without problems and then shutdown slapd temporarily and splacat the database?
You don't need to shut down slapd to slapcat the database, so I'm not clear what the concern is here? You should just do a periodic slapcat.
We are still using the bdb backend and the latest 2.4.59 (don't ask, it will be replaced soon) and I remember, a "few" years ago, I had problems with slapcat and online databases, because the server was stucking for a while and answers were delayed .. (The Admin Guide tells, that "Backups are managed slightly differently" ...) Secondly, while offline, I can copy the whole database directory including the transaction logs ..
Thanks Meike
--On Wednesday, March 16, 2022 10:23 PM +0100 Meike Stone meike.stone@googlemail.com wrote:
We are still using the bdb backend and the latest 2.4.59 (don't ask, it will be replaced soon) and I remember, a "few" years ago, I had problems with slapcat and online databases, because the server was stucking for a while and answers were delayed .. (The Admin Guide tells, that "Backups are managed slightly differently" ...) Secondly, while offline, I can copy the whole database directory including the transaction logs ..
Ah, ok. Yes, you could set up a read-only consumer node to take backups from. I'd highly prioritize moving to a supported release of OpenLDAP with the back-mdb backend as well (I see you say it should be replaced soon). :)
Regards, Quanah
openldap-technical@openldap.org