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.