Re: Antw: [EXT] Re: migrate from 2.4 to 2.5, determine existing MDB format

2021-08-20 Thread Quanah Gibson-Mount
--On Friday, August 20, 2021 10:05 AM +0200 Ulrich Windl wrote: Hi! It might get interesting if you sync cn=config, however. cn=config uses back-ldif not back-mdb, and even if it was using back-mdb, it still wouldn't matter for the internal format change to back-mdb. I would also not

Antw: [EXT] Re: migrate from 2.4 to 2.5, determine existing MDB format

2021-08-20 Thread Ulrich Windl
Hi! It might get interesting if you sync cn=config, however. Regards, Ulrich >>> kevin martin schrieb am 19.08.2021 um 19:35 in Nachricht : > i understand that ldap is a protocol but it occurred to me that a database > change (where tables and the like might be different and slapd version > dep

Re: migrate from 2.4 to 2.5, determine existing MDB format

2021-08-19 Thread kevin martin
Ok, thanks for the clarification. That's what I needed to know. --- Regards, Kevin Martin On Thu, Aug 19, 2021 at 12:45 PM Quanah Gibson-Mount wrote: > > > --On Thursday, August 19, 2021 1:35 PM -0500 kevin martin > wrote: > > > > > > > i understand that ldap is a protocol but it occurre

Re: migrate from 2.4 to 2.5, determine existing MDB format

2021-08-19 Thread Quanah Gibson-Mount
--On Thursday, August 19, 2021 1:35 PM -0500 kevin martin wrote: i understand that ldap is a protocol but it occurred to me that a database change (where tables and the like might be different and slapd version dependent) might need to be a sitewide thing, not a server by server thing (m

Re: migrate from 2.4 to 2.5, determine existing MDB format

2021-08-19 Thread kevin martin
i understand that ldap is a protocol but it occurred to me that a database change (where tables and the like might be different and slapd version dependent) might need to be a sitewide thing, not a server by server thing (meaning the 2.4 servers, once the "database" is mirrored from the master serv

Re: migrate from 2.4 to 2.5, determine existing MDB format

2021-08-19 Thread Quanah Gibson-Mount
--On Thursday, August 19, 2021 1:23 PM -0500 kevin martin wrote: if I have multiple slapd servers running 2.4 can I update my master server to 2.5 with the new format and will the 2.4 mirrors be able to handle the new format or is it an all or nothing upgrade of all servers at once? LD

Re: migrate from 2.4 to 2.5, determine existing MDB format

2021-08-19 Thread kevin martin
if I have multiple slapd servers running 2.4 can I update my master server to 2.5 with the new format and will the 2.4 mirrors be able to handle the new format or is it an all or nothing upgrade of all servers at once? --- Regards, Kevin Martin On Sat, Aug 7, 2021 at 2:31 PM Quanah Gibson-Mou

Re: migrate from 2.4 to 2.5, determine existing MDB format

2021-08-07 Thread Quanah Gibson-Mount
--On Saturday, August 7, 2021 3:48 PM +0200 Michael Ströder wrote: On 8/7/21 1:34 PM, Howard Chu wrote: Michael Ströder wrote: On 8/7/21 9:58 AM, Michael Ströder wrote: On 8/7/21 12:02 AM, Quanah Gibson-Mount wrote: With OpenLDAP 2.5.7 and later it is possible to export a 2.4 database

Re: migrate from 2.4 to 2.5, determine existing MDB format

2021-08-07 Thread Michael Ströder
On 8/7/21 1:34 PM, Howard Chu wrote: > Michael Ströder wrote: >> On 8/7/21 9:58 AM, Michael Ströder wrote: >>> On 8/7/21 12:02 AM, Quanah Gibson-Mount wrote: With OpenLDAP 2.5.7 and later it is possible to export a 2.4 database with slapcat in all circumstances. >>> >>> This will be very

Re: migrate from 2.4 to 2.5, determine existing MDB format

2021-08-07 Thread Michael Ströder
On 8/7/21 9:58 AM, Michael Ströder wrote: > On 8/7/21 12:02 AM, Quanah Gibson-Mount wrote: >> With OpenLDAP 2.5.7 and later it is possible to export a 2.4 >> database with slapcat in all circumstances. > > This will be very helpful because downstream packagers won't have to > provide two different

Re: migrate from 2.4 to 2.5, determine existing MDB format

2021-08-07 Thread Michael Ströder
On 8/7/21 12:02 AM, Quanah Gibson-Mount wrote: > --On Friday, August 6, 2021 11:49 PM +0100 Howard Chu > wrote: >> Just to be clear, the current upgrade doc is a bit paranoid. A 2.4 DB is >> forward compatible with 2.5. But 2.5 allows you to configure new DB >> parameters >> that would make it inc

Re: migrate from 2.4 to 2.5, determine existing MDB format

2021-08-07 Thread Howard Chu
Michael Ströder wrote: On 8/7/21 9:58 AM, Michael Ströder wrote: On 8/7/21 12:02 AM, Quanah Gibson-Mount wrote: With OpenLDAP 2.5.7 and later it is possible to export a 2.4 database with slapcat in all circumstances. This will be very helpful because downstream packagers won't have to provide

Re: migrate from 2.4 to 2.5, determine existing MDB format

2021-08-06 Thread Michael Ströder
On 8/6/21 11:01 PM, Quanah Gibson-Mount wrote: > --On Saturday, July 31, 2021 7:05 PM +0200 Michael Ströder > wrote: > >> Can I find out the disk format version in any way, e.g. with python-lmdb? > > The id2v DB only exists in OpenLDAP 2.5 databases.  However, stay tuned... Ah, this is very hel

Re: migrate from 2.4 to 2.5, determine existing MDB format

2021-08-06 Thread Quanah Gibson-Mount
--On Friday, August 6, 2021 11:49 PM +0100 Howard Chu wrote: Michael Ströder wrote: On 8/6/21 11:01 PM, Quanah Gibson-Mount wrote: --On Saturday, July 31, 2021 7:05 PM +0200 Michael Ströder wrote: Can I find out the disk format version in any way, e.g. with python-lmdb? The id2v DB on

Re: migrate from 2.4 to 2.5, determine existing MDB format

2021-08-06 Thread Howard Chu
Michael Ströder wrote: On 8/6/21 11:01 PM, Quanah Gibson-Mount wrote: --On Saturday, July 31, 2021 7:05 PM +0200 Michael Ströder wrote: Can I find out the disk format version in any way, e.g. with python-lmdb? The id2v DB only exists in OpenLDAP 2.5 databases.  However, stay tuned... Ah,

Re: migrate from 2.4 to 2.5, determine existing MDB format

2021-08-06 Thread Quanah Gibson-Mount
--On Saturday, July 31, 2021 7:05 PM +0200 Michael Ströder wrote: Can I find out the disk format version in any way, e.g. with python-lmdb? The id2v DB only exists in OpenLDAP 2.5 databases. However, stay tuned... --Quanah -- Quanah Gibson-Mount Product Architect Symas Corporation

RE: Antw: [EXT] migrate from 2.4 to 2.5, determine existing MDB format

2021-08-02 Thread Bliss, Aaron
grade bits IMO). Best, Aaron -Original Message- From: Ulrich Windl Sent: Monday, August 2, 2021 2:06 AM To: openldap-technical@openldap.org; mich...@stroeder.com Subject: Antw: [EXT] migrate from 2.4 to 2.5, determine existing MDB format Warning: This email is from outside the company.

Re: Antw: [EXT] Re: migrate from 2.4 to 2.5, determine existing MDB format

2021-08-02 Thread Quanah Gibson-Mount
--On Monday, August 2, 2021 12:25 PM +0200 Ulrich Windl wrote: Of course Berkely DB cannot upgrade the MDB database; I was talking about the layout versions of Berkeley DB. I did not misunderstand you. I meant that Berkeley-DB could not do automagic upgrades of its files in case the appli

Antw: [EXT] Re: migrate from 2.4 to 2.5, determine existing MDB format

2021-08-02 Thread Ulrich Windl
>>> Michael Ströder schrieb am 02.08.2021 um 11:22 in Nachricht <41eb0de3-d648-6ecb-6a2d-e03decb6b...@stroeder.com>: > On 8/2/21 11:00 AM, Ulrich Windl wrote: > Michael Ströder schrieb am 02.08.2021 um 09:57 in >> Nachricht <59abdf98-65a4-5bb4-fffb-f13849697...@stroeder.com>: >>> On 8/2/21 8:

Antw: [EXT] Re: migrate from 2.4 to 2.5, determine existing MDB format

2021-08-02 Thread Ulrich Windl
>>> Michael Ströder schrieb am 02.08.2021 um 09:57 in Nachricht <59abdf98-65a4-5bb4-fffb-f13849697...@stroeder.com>: > On 8/2/21 8:06 AM, Ulrich Windl wrote: > Michael Ströder schrieb am 31.07.2021 um 18:05 in >> Nachricht <60ec1d1e-a2be-95a2-c9c4-24ecd9b4f...@stroeder.com>: >>> As far as I u

Antw: [EXT] migrate from 2.4 to 2.5, determine existing MDB format

2021-08-02 Thread Ulrich Windl
>>> Michael Ströder schrieb am 31.07.2021 um 18:05 in Nachricht <60ec1d1e-a2be-95a2-c9c4-24ecd9b4f...@stroeder.com>: > HI! > > As far as I understood the MDB disk format changed. So the MDB files > have to be re-created (either by simply removing/replicating or > slapcat/slapadd). Right? AFAIK;

Re: migrate from 2.4 to 2.5, determine existing MDB format

2021-08-02 Thread Michael Ströder
On 8/2/21 11:00 AM, Ulrich Windl wrote: Michael Ströder schrieb am 02.08.2021 um 09:57 in > Nachricht <59abdf98-65a4-5bb4-fffb-f13849697...@stroeder.com>: >> On 8/2/21 8:06 AM, Ulrich Windl wrote: >> Michael Ströder schrieb am 31.07.2021 um 18:05 > in >>> Nachricht <60ec1d1e-a2be-95a2-c9

Re: migrate from 2.4 to 2.5, determine existing MDB format

2021-08-02 Thread Michael Ströder
On 8/2/21 8:06 AM, Ulrich Windl wrote: Michael Ströder schrieb am 31.07.2021 um 18:05 in > Nachricht <60ec1d1e-a2be-95a2-c9c4-24ecd9b4f...@stroeder.com>: >> As far as I understood the MDB disk format changed. So the MDB files >> have to be re-created (either by simply removing/replicating or

Re: migrate from 2.4 to 2.5, determine existing MDB format

2021-07-31 Thread Michael Ströder
On 7/31/21 8:41 PM, A. Schulze wrote: > Am 31.07.21 um 18:05 schrieb Michael Ströder: >> As far as I understood the MDB disk format changed. > > I'm also start testing openldap-2.5, so could you provide a reference for > that claim? Section B.8 in [1] says: "Due to database format changes betwe

Re: migrate from 2.4 to 2.5, determine existing MDB format

2021-07-31 Thread A. Schulze
Am 31.07.21 um 18:05 schrieb Michael Ströder: > As far as I understood the MDB disk format changed. Hi Michael, I'm also start testing openldap-2.5, so could you provide a reference for that claim? Andreas

migrate from 2.4 to 2.5, determine existing MDB format

2021-07-31 Thread Michael Ströder
HI! As far as I understood the MDB disk format changed. So the MDB files have to be re-created (either by simply removing/replicating or slapcat/slapadd). Right? Now I'm wondering how to automate things (with ansible and puppet) in a truly idempotent way. Ideally I could determine whether existin