Skip to main content
Asked a question last year

How do I migrate users to a new cluster?

Where am I?

In Bright Computing, Inc. you can ask and answer questions and share your experience with others!

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.

explains how a CMDaemon configuration can be migrated.