[Date Prev][Date Next]
replace running LDAP-server in multimaster configuration
- To: "email@example.com" <firstname.lastname@example.org>
- Subject: replace running LDAP-server in multimaster configuration
- From: Andreas Haubod <email@example.com>
- Date: Thu, 26 May 2011 10:22:31 +0100 (BST)
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1306401751; bh=SRd/RFqwWNznvA1l3XJRic548jsLs4vAs2n5NuDdil4=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Reply-To:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=gmtZSu1PAqydW9a90LrLL7NQHdOqGSCd4o5xDPPUqtOyR57lJQP5Aj/IKpPuihYAZ9Pb6+HQ+BH188/e5WTIKILaXi+uMBjvZ9EP1YNqUssMemwDmkH2pL0b+VtCYAOnxZSfa44amR62DACWwrDPf4vezuQJDZP8wWzc5ec1KKE=
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Reply-To:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=DcKvw413A6aLCzR97wZ0unkbRsEUfwISbJOn/1C6SeHR2HCMSBV9FbICAZQ3WNgWZOasEt88zlQEepY+B4F4ySXqYXFicT8Df0KhSxc59vUYoTRV+rsIBOc+OndWseJSVvWqm6MafvcWpsZ0AIVQBTwFE4t7u2SJqloLn5eVrho=;
at the moment, I have running two LDAP-Server (2.4.23) on two sites (AP and Europe) with multi master replication. All is running very well.
On both sites will be written from applications to the local LDAP-server and the complete database is replicated to the other site (syncrepl/push).
A third LDAP-server (read-only replica) on one site is used to make a backup hourly. The LDAP is stopped an the database is saved with slapcat.
Now I want replace one of the LDAP-Server because of better Hardware.
So I know, I have two choices:
1) Only setup the new LDAP-Server with a empty Database and wait till the replication is finished
2) Fill the Database with one of the hourly backup and start the server and wait till the replication is finished.
What will happen, when I use method 1) and the application write during the (initial) replication to the (for explamle only 2% filled) Database?
(I checked the initial replication. It needs about one hour because of the old slow hardware.) Does this work without expecting any problems or should I avoid the writing till the initial replication has finished?
When I use method 2) and for example the saved database is 10h old and during this time are many (>10000) changes made in the productive system? Is then this method then recommended or is method 1) better in this situation?
Are there any comparison or recommendations for backup/recover and migration in such multi master setups?
A second Question I have. Is it possible, to mix the openldap (minor) versions (eg. 2.4.23 and 2.4.25)? I ask this, because I want update the servers on different times.
Thanks for help and the great openLDAP !!!