PingDirectory

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 userRoot.ldif file doesn’t contain entries at or within the entry-balancing point, ou=people,dc=example,dc=com.

Steps

  1. 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
  2. Import the dataSet1 data that is assigned the replication-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
  3. Import the dataSet2 data that is assigned the replication-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