Adding and partitioning the data

You can add and partition the data using the methods and instructions provided here.

About this task

Entries are added using either the Web Administration Tool (see Addition of an entry for additional information or the idsldapadd and idsldapmodify command information in the Command Reference).

If you have an existing database with a large number of entries, you need to export the entries to an LDIF file. See the idsdb2ldif command information in the Command Reference for more information on how to do this:
  1. To create the LDIF file, issue the command:idsdb2ldif-o mydata.ldif -s o=sample-I <instance_name>
  2. Issue the command:ddsetup –I proxy -B “o=sample” -I mydata.ldifwhereproxy: Is the proxy server instance
    Attention: When you create a new directory server instance, be aware of the information that follows. If you want to use a distributed directory, you must cryptographically synchronize the server instances to obtain the best performance.When partitioning an existing directory containing AES-formatted data into a distributed directory, the partition servers must be synchronized with the original unpartitioned server. If not, LDIF export files produced by the ddsetup tool will fail to import.If you are creating a directory server instance that must be cryptographically synchronized with an existing directory server instance, you must synchronize the server instances before you do any of the following actions:
    • Start the second server instance
    • Run the idsbulkload command from the second server instance
    • Run the idsldif2db command from the second server instance
    See Synchronizing two-way cryptography between server instances for information about synchronizing directory server instances.
  3. Use idsldif2db or idsbulkload to load the data to the appropriate backend server.
    • ServerA (partition index 1) - ServerA.ldif
    • ServerB (partition index 2) - ServerB.ldif
    • ServerC (partition index 3) - ServerC.ldif
    • ServerD (partition index 4) - ServerD.ldif
    • ServerE (partition index 5) - ServerE.ldif
    Note: The correct LDIF output must be loaded on to the server with the correct corresponding partition index value, otherwise the proxy server will not able to retrieve the entries.For more information about the ddsetup utility, see the IBM Verify Directory Command Reference.