Importing the entries
Import the userRoot
data based on data defined in the userRoot.ldif
file into one server.
About this task
Choose a server for each of the entry-balancing data sets, both stored in the dataset backend.
The |
Steps
-
Import the userRoot data using the
import-ldif
command.Example:
root@austin1# ./bin/import-ldif --backendID userRoot \ --ldifFile /data/userRoot.ldif \ --includeBranch dc=example,dc=com \ --rejectFile /data/austin1-import-rejects \ --port 389 --hostname austin1.example.com
-
Import the
dataSet1
data that is assigned thereplication-set-name
on one server into the dataset backend.Example:
root@austin1# ./bin/import-ldif --backendID dataset \ --ldifFile /data/dataset1.ldif \ --includeBranch ou=people,dc=example,dc=com \ --rejectFile /data/austin1-dataset-import-rejects \ --hostname austin1.example.com --port 389
-
Import the
dataSet2
data that is assigned thereplication-set-name
on one server into the dataset backend.Example:
root@austin2# ./bin/import-ldif --backendID dataset \ --ldifFile /data/dataset2.ldif \ --includeBranch ou=people,dc=example,dc=com \ --rejectFile /data/austin2-dataset-import-rejects \ --hostname austin2.example.com --port 389