Lab Exercise 7.2: Testing the DirXML Delimited Text Driver

 <  Day Day Up  >  

The Delimited Text driver includes a sample CSV file that we're going to use to test the implementation.

To do this, complete the following steps:

  1. At the shell prompt, enter cp /usr/lib/dirxml/rules/delim/sample.csv /tmp/DirXML/Input .

  2. Remember that the publisher channel polls the configured input directory every 10 seconds. Wait this amount of time and then check to see that the information was synchronized by completing these steps:

    1. Under eDirectory Administration in iManager, select Modify Object .

    2. Click the Browse icon.

    3. Select Browse .

    4. Browse to the DirXMLUsers.IF.CLE container. You should see a large number of new users added by the Delimited Text driver.

    5. Select Cancel , Cancel .

The next thing we need to do is export data from the eDirectory tree to a CSV file in the output directory. Complete the following steps:

  1. In iManager, select the Overview task under the DirXML Management role.

  2. Mark Search Entire Tree and then click Search .

  3. In the DirXML Overview screen, click the Text Delimited icon.

  4. Scroll to the bottom of the page and select Migrate from eDirectory . The screen in Figure 7.19 is displayed.

    Figure 7.19. Migrating users from eDirectory.

    graphics/07fig19.jpg


  5. Click Add .

  6. Browse to and select the first user in the SLC.CLE container in your tree.

  7. Repeat this process to add all the users in the SLC.CLE container.

  8. Click OK .

  9. When prompted that the migration was started, click OK .

  10. At the shell prompt, enter cd/tmp/DirXML/Output .

  11. Enter ls -l . You should see a CSV file listed with a random number for a file name .

  12. View the contents of the file by entering cat ./ file_name .csv more . You should see an entry for each user you specified for migration from the tree.

  13. Stop the Delimited Text driver by clicking the yin-yang icon in the Driver Overview screen in iManager.

  14. Click Stop Driver .

Congratulations! You just configured your first DirXML driver. The Delimited Text driver is relatively simple compared to the other DirXML drivers. Let's ratchet things up a bit and look at how to synchronize two eDirectory trees using DirXML.

 <  Day Day Up  >  


Novell Certified Linux Engineer (CLE) Study Guide
Novell Certified Linux Engineer (Novell CLE) Study Guide (Novell Press)
ISBN: 0789732033
EAN: 2147483647
Year: 2004
Pages: 128
Authors: Robb H. Tracy

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net