[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Recommended way to transfer data from one cluster to the other?
- To: openldap-technical@openldap.org
- Subject: Recommended way to transfer data from one cluster to the other?
- From: Karsten Heymann <karsten.heymann@gmail.com>
- Date: Tue, 28 Aug 2018 20:48:42 +0200
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=J6StN/zkPMo2n2xHBnPssraN8gVu8o6cCzbubnuCogs=; b=Lcds09J/BU4buHV2xCmKD6iNX5vn+O58LbFeB77EdAgCfLrNKU+hG93fp7MoA4W+JF ej7OIY7MEm4euBKbwiYGbbyY+HUftn0zSePoDVdu6NceRqgNC9mKxrMpULU7ygVK/3Qf BeNkfRN0rxGzXbtAggzjGyyEq61chN712j86Pjffu+sxlIa9UV2auj3r8U4UwtaHeMOd YWTQQ9GHlF/drMlRJPMdylenSmxq8n4t1V6hPwpgIBNidq1iiB0qIZ+VedPgZusjD4a4 TJdczszjA274GLdaHFVKBgz3JYxnZs2jngwDfrYJ8C2jD0mOjGe0R0+VjezBLW3i0KkC EkgQ==
Hi,
We're replacing our aging LDAP Cluster (Debian 7, slapd 2.4.40, 2
masters with syncrepl and mirror mode, 2 slaves) with a new cluster of
the same layout (2.4.44, probably 2.4.46, on Debian 9). I now wonder
what the best way is to transfer the data from the old to the new
cluster. As far as I can see, we have three options to transfer the
data:
1) ldapsearch + ldapadd
2) slapcat + slapadd
3) Configure a temporary syncrepl rule on the new masters to fetch the
data from the old ones.
Which one is the preferred one? I would assume slapcat and slapadd,
but I must admit I have not fully understood the purpose of the -S and
-w switch. Should we somehow filter the *CSN-fields from the exported
ldif as I assume they make no sense for the new cluster or are they
automatically fixed when using slapadd with said options?
I'm sorry if this topic has been discussed here before but my
(probably lacking) google skills did not return anything obvious.
Best regards
Karsten