IBM Tivoli Directory Server, Version 6.3

Appendix N. Loading the sample LDIF file into the database

Use the following procedure to load the database with data in the sample LDIF file.

  1. Start the Configuration Tool if it is not already started. See Starting and using the IBM Tivoli Directory Server Configuration Tool (idsxcfg) for instructions.
  2. If you created a directory server instance that is not the default directory server instance, create the o=sample suffix by using the following steps. (If you created the default directory server instance, this suffix is already created.)
    1. In the task list on the left navigational pane of the Configuration Tool, click Manage suffixes.
    2. In the SuffixDN field of the Manage suffixes window, type o=sample. This is the suffix DN that will hold the sample data. Because the sample data is part of the suffix o=sample, this is the suffix DN you must add.
    3. Click Add.
    4. Click OK.
      Note:
      When you click Add, the suffix is added to the list in the Current suffix DNs box; however, the suffix is not actually added until you click OK.
  3. In the Configuration Tool, click Import LDIF data in the task list on the left.
  4. In the Import LDIF data window on the right, in the Path and LDIF file name field, type one of the following: Alternatively, you can click Browse to locate the file.
  5. Click Standard import.
  6. Click Import. (Scroll down to see the Import button if it is not visible.)
  7. Click OK.

    Note:
    As an alternative, you can use:
    • The idscfgsuf command to add the suffix:
      idscfgsuf -s "o=sample"
    • The idsldif2db utility to import the data. For example,
      idsldif2db -i install_dir\examples\sample.ldif -I myinstance
      where myinstance is the name of the directory server instance.
  8. After processing is complete, click Close.
  9. To start the directory server instance:
    1. Go to the sbin subdirectory of the directory where you installed Tivoli Directory Server.
    2. If you have only one directory server instance, type idsslapd at a command prompt. If you have more than one directory server instance, type
      idsslapd -I instancename
      where instancename is the name of the instance you want to start.

    Messages are displayed while the server is starting. The following message is displayed if the server starts successfully:

    IBM Tivoli Directory, Version 6.3 Server started.

You have verified that the sample database is loaded correctly and that the installation is successful.

Use the instructions in Starting the Web Administration Tool to start the Web Administration Tool if you installed it. See the IBM Tivoli Directory Server Version 6.3 Administration Guide for information about using the Web Administration Tool and using the server.


[ Top of Page | Previous Page | Next Page ]