1. Home
  2. Day-to-day Administration
  3. How do I migrate users to a new cluster?

How do I migrate users to a new cluster?

Sometimes the administrator may wish to migrate users from one cluster to another. For example, when setting up a new cluster from scratch.

Since Bright’s LDAP uses standard Linux openldap, slapcat can be used to export the data from the old head node, with something like:
# /cm/local/apps/openldap/sbin/slapcat -f /cm/local/apps/openldap/etc/slapd.conf -l backup.ldif

The data can then be imported with slapadd to the new head node with something like:
# /cm/local/apps/openldap/sbin/slapadd -v -c -l backup.ldif -f /cm/local/apps/openldap/etc/slapd.conf

When doing the export and import, the slapd service should not be running on either head node. It can be started back up afterward. https://kb.brightcomputing.com/knowledge-base/how-do-i-migrate-the-cmd-config-to-a-new-install/

explains how a CMDaemon configuration can be migrated.

Updated on December 9, 2020

Was this article helpful?

Related Articles

Leave a Comment