16.8 Using DS Trace

Designer provides DS Trace so you can monitor DirXML events in your Identity Manager environment. DirXML events constitute those events accessible by using the “dirXML” and “dirXML Drivers” switches in eDirectory’s DS Trace service.

Designer uses LDAP to obtain this information from the Identity Vault. By default, it uses the default LDAP ports (389 or 636) to establish a connection. If your LDAP service runs on non-standard ports, make sure you specify the correct ports.

DS Trace lets you view both live DS Trace logs, and create and view stored DS Trace log files.

NOTE:The DS Trace view is not the same as the Trace view, which provides information about Designer functionality. For information on the Trace view, see Trace.

DS Trace includes the following icons:

Icon

Description

The Resume Trace icon restarts a live DS Trace session that you have previously stopped. It is not available for DS Trace log files.

The Stop Trace icon stops a live DS Trace session. It is not available for DS Trace log files.

The Connect to Server icon launches the Login Credentials dialog box so you can authenticate to the server where you want to run DS Trace.

The Load Trace Log File icon lets opens a previously saved DS Trace log file.

The Save Trace icon save the current live DS Trace session to a log file.

The Search icon opens a Find/Replace dialog box where you can search the current DS Trace log file for a specific string. It is not available for live DS Trace.

The Configure Trace icon provides access to live DS Trace settings. It is not available for DS Trace log files.

The Clear Trace icon clears all DS Trace entries from the live DS Trace log.

16.8.1 Viewing DS Trace Live

You can view a live DS Trace for any Identity Vault in your Identity Manager environment.

NOTE:Designer provides live DS Trace preferences that let you specify how many entries to keep in the log and whether or not to auto-scroll the log so you can always see the most current entries. You can edit these preferences in Windows > Preferences, then select Novell > Designer > DS Trace from the left-side navigation.

If the Identity Vault is in your current Designer Project:

  1. In the Object view or the Modeler, select an Identity Vault object, then select Live > DS Trace.

    Alternatively, you can right-click the Identity Vault object, then select Live > DS Trace.

  2. Review the live DS Trace session as needed.

    By default, the DS Trace session is running. You can stop, resume, clear, and save the current trace to a file by using the icons in the DS Trace view toolbar.

If the Identity Vault is not in your current Designer project:

  1. From the main Designer toolbar, select Tools > DS Trace.

  2. In the DS Trace view, click the Connect to Server icon.

  3. In the Login Credentials dialog box, specify the directory Host name (or IP address), username, and password necessary to connect to the appropriate Identity Vault, then click OK.

    Select Secure Connection if you need to use SSL to connect to the Identity Vault server.

    You can open a DS Trace session to a different Identity Vault server at any time by clicking Connect to Server and providing the appropriate authentication credentials.

  4. Review the live DS Trace session as needed.

    By default, the DS Trace session is running. You can stop, resume, and save the current trace to a file by using the icons in the DS Trace view toolbar.

16.8.2 Creating a DS Trace Log File

DS Trace lets you create log files of DS Trace entries so you can review them off-line. To create a DS Trace log file:

  1. From the live DS Trace view, select the Save Trace icon .

  2. Specify a name and location for the log file, then click Save.

    DS Trace saves the log file as a rich text file (.rtf) so it can maintain the color coding used in the live DS Trace view. You can view the log file with any editor that supports the .rtf file format.

16.8.3 Viewing a DS Trace Log File

The DS Trace view is an editor that enables you to view DS Trace log files.

Figure 16-4 The DS Trace View

To view DS Trace log files:

  1. Click Tools > DS Trace.

  2. Select the Load Trace Log File icon, then browse to and select the DS Trace log you want to open.

  3. Review the DS Trace log file as needed.

    • Use the Start Time, End Time, and Event dropdown lists to filter the trace file. This helps you narrow the displayed trace file data so you can more easily locate specific information.

    • To clear an existing filter, click the Clear Filter button .

    • Select the Search icon (in the DS Trace icon bar) to open a Find/Replace dialog box that lets you search for a specific string in the DS Trace log file.

NOTE:The Eclipse text editor does not support color, so when you view a DS Trace file in Designer it displays in black and white. However, since Designer saves the DS Trace log file in standard Rich Text Format (.rtf), any external text editor that supports color will display the log file in color, as seen in the live DS Trace view.