Data Generator 2

0 Likes

This utility can be used to generate sample data files in Ldap Data Interchange Format (LDIF),Novell XDS XML,and Comma Separated Value (CSV)format.

  1. Installation
  2. Using the Data Generator
  3. Adding multi-valued attributes
  4. Generating large import files
  5. Using Novell "ice.exe" with this tool
  6. Know limitations
  1. Installation
    1. Extract the zip file in a separated directory
    2. Run setup.exe
    3. Follow the installation wizard

  2. Using the Data Generator
    1. A progam shortcut is added to the Programs menu during the installation. ClickStart >[All ] Programs >Data Generator >Data Generator 2.0
    2. Generating data
      1. Select the tools operational options.(See the table below)
      2. Enter the values for the attributes you want to generate. Checking the box next toa field will exclude it from the operation.
      3. Click the "Generate Data" button to create the sample data.

    Listed below are the operational files of the tool and its definition:

    Field Default Value Usage
    FilePrefix C:\data The full path and file name of thegenerated files.

    Example:

    Having a file prefix of c:\data,andselecting "ldif add" and "xml add"would generate two new files:

    data. ADD -- ldif add file

    data_add.xml -- xml ((xds add)
    Number of Objects 50 The number of objects (records) togenerate.

    Example:

    The number of LDIF entries
    Object Class inetorgperson The type of object to create. Usedonly for LDIF files
    View Output (checked) Shows the generated files from theoutput tab

    Note: Do not select this option ifgenerating large files. This takes asignificant performance hit with thisoption enabled.


  3. Adding Multi-valued attributes

Multi-valued fields can be added using the options in the "Other Attributes" section. This section can also be used to add other attributes not shown in the interface.

  1. Type the name of the attribute that you want added in the "Attribute" field. If the multi-valued attribute that you want to add is listed above then check the box nextto it to exclude it so that it is not added twice.
  2. Enter the value of the attribute in the "Value" field.
  3. .
  4. Enter the number of values for this attribute in the "Repeat" field.
  5. Click "Add" to add the attribute to the configuration. Repeat these steps for each.
  6. Select the "Auto Increment" box if you want the tool to increment the value in thevalue box.

  • Generating Large Imports
    1. When generating large LDIF files uncheck the "View Output" checkbox under theConfiguration section. This will dramatically increase performance.
    2. XML files are the most descriptive of the information so remember that they willtake the longest to generate.

  • Using Novell "ice.exe" with this tool
    1. If Novell's ConsoleOne is installed then most likely the Import/Covert/Export (ice)utility was installed in C:\Novell \consoleone \1.2 \bin. If so then you can load theData Generator with a /i to call ice from inside the tool. When loaded with the /iyou will see an extra button on the Data Source tab named "Show Import" to showthe LDIF import page.
    2. When this button is clicked a new page shows the LDIF import settings.The LDIFFile field is automatically filled in when the Generate Data button is click on theprevious page.
    3. When all LDAP settings are entered press the "Import LDIF" button.The utilitywill show the command line called,and the output of the ice program.

  • Known Limitations
    1. Some large file generations hang.This is being investigated.When this happens killthe program.When retrying,only create one file at a time.For example,if you firstselected an LDIF add and an LDIF delete file,then only select to generate one at atime.Remember to uncheck the "View Output" box.
    2. The CSV files are in the order used by the delimited text driver that shipped withNovell DirXML 1.0.They cannot be re-ordered in this tool.

Labels:

Collateral
Comment List
Related
Recommended