I'm sorry, I may have written something incomprehensible. I want to replace ldap3 with ldap4. That is, they will have different hostnames. ldap3 and ldap4 =) So I want to remove all ldap3 mentions first. Is this correct ?
> 17 марта 2021 г., в 18:58, Quanah Gibson-Mount <[email protected]> написал(а): > > > > --On Wednesday, March 17, 2021 8:58 AM +0000 Клеусов Владимир Сергеевич > <[email protected]> wrote: > >> >> Thank you for your advice. >> How do you like this plan ? >> 1) Remove the old ldap3 from replication to ldap1. Find out here how ) >> 2) Make a backup, >> 3) On a new server instead of ldap3 (let's call it ldap4). Recover from a >> backup and make >> https://pastebin.com/HHu1xSAw >> 4) On ldap1 do >> https://pastebin.com/J9pVmtuD > > It's not necessary to remove ldap3 and replace it with ldap4. > > Simply: > > a) Stop slapd on the old ldap3 host > > b) Export it's configuration using slapcat -n 0 > > c) Export it's primary db using slapcat -b ... > > d) Copy the database exports + the certs being used to the new host > > e) Shut down the old host > > f) Install openldap on the new ldap3 host > > g) Set up the certificates as they were before > > h) Import the config db > > i) Import the primary db > > j) Start slapd > > > --Quanah > > -- > > Quanah Gibson-Mount > Product Architect > Symas Corporation > Packaged, certified, and supported LDAP solutions powered by OpenLDAP: > <http://www.symas.com>
