Tivoli Directory Integrator, Version 7.1.1

Administation and Monitoring Console User Interface

Log in and logout of the console

Open a Web browser and type the following address:

http://hostname:port/ibm/console

Where port is the port where your Web server is running. When deployed on the bundled web container the ports by default are 13100 for HTTP and 13101 for HTTPS communication.

The login page can also be launched by using the launchAMC.html file which is placed in the TDI_install_dir/bin/amc folder. This file is not present on i5/OS®.

The IBM® Tivoli® Directory Integrator Administration and Monitoring Console login page window is displayed.

Logging on to the console as the console administrator

The console administrator is a user who can:

When logging in for the first time use the system username and password you have installed Tivoli Directory Integrator, AMC and the embedded web platform with. If you have deployed AMC in WAS/Tivoli Integrated Portal (ISC embedded) then you would need to log in with a user that has been assigned the iscadmins and administrator roles.

Note:
The embedded web platform uses the PAM authentication mechanism on UNIX and Linux boxes to validate the system username and password provided on log in. This is why on AIX® machines you must have the auth_type parameter set to PAM_AUTH in the /etc/security/login.cfg file.

To log in to the Integrated Solutions Console, type your user name and password in the boxes provided in the login window and click the Log in button.

Login Screen for the Integrated Solutions Console and Administration and Monitoring Console

The Logout button is in the upper right hand corner of the console, next to Help. When you click Logout, you are returned to the Log in page.

AMC Console Layout

The IBM Tivoli Directory Integrator Administration and Monitoring Console includes the following components:

Navigation Area
The Navigation area provides a tree view that allows users to navigate through the tasks available to the user in the console. You can open and close folders in the navigation area and select tasks (non-folders) to launch in the Work Area of the console framework.
Work Area
The Work Area contains the necessary information and input fields to complete the task you are currently working on.
Screen showing the Welcome page of the AMC.

Logging off the console

To log off of the console, click Logout in the navigation area.

Using AMC tables

The IBM Tivoli Directory Integrator Administration and Monitoring Console displays certain information, such as lists of attributes and entries, in tables. Tables contain several utilities that allow you to search for, organize and perform actions on these table items.

Tivoli Directory Integrator Administration and Monitoring Console tables provide icons to help you organize and find information in the table. Some icons appear on some tables and not on others, depending on the current task. The following is a comprehensive list of the icons you might encounter:

Select action drop-down menu

The Select action drop-down menu contains a comprehensive list of all available actions for a selected table. For example, instead of using the icons to display and hide sorts and filters, you can use the Select action drop-down menu. You can also use the Select action drop-down menu to perform operations on the table contents; for example, on the Manage attributes window, actions such as View, Add, Edit, Copy and Delete appear not only as buttons on the toolbar, but also in the Select action drop-down menu. If the table supports it, you can also display or hide the Show find toolbar using the Select action drop-down menu. See Finding for more information on finding table items.

To perform an action using the Select action menu:

  1. If necessary, select an item from the table.
  2. Click the Select action drop-down menu.
  3. Select the action you want to perform; for example Shutdown server.
  4. Click Go.

Paging

To view different table pages, use the navigation controls at the bottom of the table. You can enter a specific page number into the navigation field and click Go to display a certain page. You can also use the Next and Previous arrows to move from page to page.

Sorting

To change the way items in a table are sorted:

  1. Do one of the following: A sorting drop-down menu appears for every column in the table.
  2. From the first sort drop-down menu, select the column on which you'd like to sort. Do the same for any of the other sortable columns on which you'd like to sort.
  3. Select whether to sort in ascending or descending order by selecting Ascending/ Descending from the drop-down menu. Ascending is the default sort order. You can also sort using column headers. On every column is a small arrow. An arrow pointing up means that column is sorted in ascending order. An arrow pointing down means that column is sorted in descending order. To change the sort order, simply click on the column header.
  4. When you are ready to sort, click Sort.

To clear all the sorts, click the Clear all sorts icon.

Finding

To find a specific item or items in a table:

Note:
The Show find toolbar option is available on some tables and not on others, depending on the current task.
  1. Select Show find toolbar from the Select action drop-down menu and click Go.
  2. Enter your search criteria in the Search for field.
  3. If desired, select a condition upon which to search from the Conditions drop-down menu. The options for this menu are:
  4. Select the column upon which you want to base the search from the Column drop-down menu.
  5. Select whether to display results in descending or ascending order from the Direction drop-down menu. Select Down to display results in descending order. Select Up to display results in ascending order.
  6. Select Match case if you want search results to match the upper and lower case criteria in the Search for field.
  7. When you have entered the desired criteria, click Find to search for the attributes.

Filtering

To filter items in a table, do the following:

  1. Do one of the following:
  2. Filter buttons appear above each column. Click Filter above the column on which you want to filter.
  3. Select one of the following conditions from the Conditions drop-down menu:
  4. Enter the text you want to filter on in the field; for example, if you selected Starts with, you might enter C.
  5. If you want to match case (upper case text or lower case text) select Match case.
  6. When you are ready to filter the attributes, click OK.
  7. Repeat the above steps 2-6 for every column on which you want to filter.

To clear all the filters, click the Clear all filters icon.

To hide the filter rows, click the Show filter icon again.

Servers

This window allows you to view the registered server. Additionally, the console administrator can add, edit, delete and shut down IBM Tivoli Directory Integrator servers from this window, as well as launch the Config Files window.

When AMC is started , it automatically has a local Tivoli Directory Integrator server, registered on port 1099 . Therefore, in the Servers window, one entry in under LOCAL SERVER is already present with its state depicted as running or unavailable depending on its status.

To load or reload a config, select Servers and click Config Files in the toolbar of the Servers window. The Config Files window appears.

You can choose the operations you want to perform from the tool bar at the top of the table or using the Select action drop-down menu, such as:

Add
Click Add on the toolbar.
Delete
Select the radio button next to the server you want to delete and click Delete on the toolbar.
Modify
Select the server for which you want to modify information and click Modify on the toolbar.
Config Files
Select the server for which you want to list configuration files. When you click the View Config Files link in the Solution Views window, it launches the Config Files window. Each configuration file is labelled as loaded or not loaded. The toolbar provides a variety of load, unload, and reload options.
Shutdown server
Select the server you want to shut down and click the Shutdown Server on the toolbar.
Shutdown gracefully
Shuts down a running server gracefully (create new Threads that wait for the AssemblyLines to stop).
Note:
Graceful shutdown is not supported for Tivoli Directory Integrator servers earlier than v7.1.

Add a server

This window allows you to add an IBM Tivoli Directory Integrator server to the Administration and Monitoring Console (AMC). Once you have added a IBM Tivoli Directory Integrator server to the AMC, you can then use features on other AMC windows to add Solution Views to the TDI server and to create and define views for the Solution Views associated with the IBM Tivoli Directory Integrator server.

To add a new TDI server:

  1. Enter a name for the IBM Tivoli Directory Integrator server in the Name field.
  2. Enter the host name or IP address of the computer on which the IBM Tivoli Directory Integrator is running in the Hostname field.
  3. Enter the port number on which the IBM Tivoli Directory Integrator server is configured to run.
  4. Select the desired authentication mode. If you selected the LDAP or Custom authentication method, enter the username and password to be used for authentication.
  5. Click OK.

Modify a server

This window allows you to edit the information for an existing IBM Tivoli Directory Integrator server. To edit an existing server:

  1. Look at the displayed Server ID. If you want to change the Server ID, click Change Server ID.
  2. Type the Name for the server.
  3. Enter the host name or IP address of the computer on which the IBM Tivoli Directory Integrator server is running in the Hostname field.
  4. Enter the port number on which the IBM Tivoli Directory Integrator server is configured to run.
  5. Select the desired authentication mode. If you selected the LDAP or Custom authentication method, enter the username and password to be used for authentication.
  6. Click Cancel to exit the window without making any changes, or click OK to save the changes.
  7. Click Test Connection to see whether the connection to the server succeeds or not based on the current settings.

Console Properties

Use the Console Properties window of AMC to manage configuration information such as database configuration of AMC, SSL settings, Action Manager log rotation frequency, and so on.

General

Use the General window of AMC to set log rotation frequency of Action Manager in days.

SSL

Use the SSL window to configure SSL settings for AMC. The SSL settings apply to AMC's SSL connection to the remote Tivoli Directory Integrator server. The SSL properties that are exposed are only the AMC's keystore and the trust store properties. If SSL is turned on in the remote server, an administrator needs to make sure that the required certificate is imported in his store for the connection to work. An administrator should import each remote server's certificate that he wishes to connect to in his store.

JDBC Properties

JDBC properties are used to define the connections settings to the Derby database, or to other databases compatible with the Administration and Monitoring Console, such as Oracle and MS-SQL Server. The AMC database stores AMC configuration information, connection details, and Action Manager rules and results.

The IBM Tivoli Directory Integrator AMC supports alternative databases in addition to Derby. AMC bundles the Derby database. AMC communicates with its database using the Java Database Connectivity (JDBC) protocol. JDBC is a generic protocol and can be easily extended to other databases. AMC support for alternate databases enables you to have AMC installed and communicating to an existing database. The database stores Action Manager logs, results, and so forth. The Integrated Solution Console Advanced -> Console Properties section groups the JDBC properties to Derby or to another database. In the case of Derby, you can configure the database to run in both embedded as well as network mode. The default database is Derby and the default mode is network mode.

From this window you can:

As for the JDBC URL and JDBC Driver parameters, the following table provides some guidance:

Table 30. Driver parameters
Database JDBC URL JDBC Driver Driver .jar file
Derby jdbc:derby://host:port/database [;create=true | create=false] org.apache.derby.jdbc.ClientDriver derby.jar
MS SQL Server (2005) jdbc:sqlserver://host:port; databasename=database com.microsoft.sqlserver.jdbc.
SQLServerDriver
sqljdbc.jar
Oracle jdbc:oracle:thin:@host:port:database oracle.jdbc.driver.OracleDriver ojdbc14.jar
DB2 jdbc:db2://host:port/database com.ibm.db2.jcc.DB2Driver db2jcc.jar
Notes:
  1. Depending on the database selected the corresponding driver .jar file must be copied to TDI_install_dir/lwi /libs.
  2. Configuration of the Action Manager is also needed in order to specify the new database from where it will work. The same .jar file must be added to TDI_install_dir/bin/amc/ActionManager/jars and adjustments must be made to the am_config.properties file.
  3. If you decide not to use Derby, but one of the alternatives, keep in mind that the database specified in the JDBC URL must already exist before you start AMC (otherwise AMC won't be able to create one and populate it). This is not needed if Derby is used because it supports the "create=true" option in the JDBC URL, thus causing AMC to automatically create the database (if it does not exist) when started.

Solution Views

Use the Solution Views window to view, Add, Modify, and Delete Solution Views.

Note:
You must reload Solution Views created using the Auto Update option.

When you Modify a Solution View AMC checks to see if the Solution View was created using Auto Update. If the Solution View selected for modification was created using Auto Update, a message appears, saying:

The selected Solution View is marked for auto update. Ensure that auto update is disabled to modify the Solution View.

Solution Views are listed in the Solution Views table. If a specific Solution View was created using Auto Update, a >> short menu appears when you click on the arrows up and to the right of the Solution View name. You can select Refresh Solution View or Disable Auto Update.

For Solution Views marked for auto update, you must reload the config file and refresh the Solution View by clicking the Refresh Solution View. If a user fails to refresh a Solution View created using the Simple option and flagged for auto update, the Solution View may cause inconsistencies in the AMC database. Inconsistencies in Solution Views that are not updated could result in incorrect behavior by the Action Manager.

Configure ACLs

From this window you can set the Access Control Lists (ACLs) for a user and associate that user with a specific Solution View.

When you are finished making changes, click Apply.

Local variables

Select Solution Views from the AMC left hand navigation pane. The Solution Views window appears. Select Local Variables from the toolbar. In the Local Variables window, you can select and Add, Modify, or Delete local variables for a Solution View.

The Action Manager triggers and actions must provide support for local variables that you can set or increment using rules and actions. Local variables can be used as triggering conditions for other rules. For example, a local variable can be set to a value of 1 and then can be incremented for every occurrence of the event and the local variable (in this example, the number 1 set to increment for every occurrence of the event) - the local variable can trigger the rule "Terminate AssemblyLine". When the variable reaches a value of 10, you can configure a new rule to be triggered. The new rule could start a new AssemblyLine on a different server. Set these "local", AM-specific variables to a "Solution View". That means that the one variable created in a rule belonging to one Solution View can only be used in that Solution View's rules and is not accessible to rules of another Solution View.

Add a Solution View

The purpose of a Solution View is to give users access to information in the configuration file without granting them the ability to edit the configuration file directly. Administrators can use a Solution View to filter a configuration file for specific information so that only certain information within the configuration file is displayed. You can create multiple Solution Views for each Config, with each view exposing different information contained in the configuration file.

To Add a Solution View, select Solution View and select Add on the toolbar of the Solution Views window.

  1. Enter view details:
    1. Enter a name for the Solution View in the Solution View Name field.
    2. Enter a description of the Solution View in the Description field.
  2. Select the Server and Configs (configuration file) you want to use to create a Solution View:
  3. Click Add on the Solution Views toolbar.
    1. Type the name of the solution view you want to create in the Solution View Name field.
    2. Type an optional Description for the Solution View you are creating.
    3. Select the Server that contains the configuration file and AssemblyLines you want to use for creating a Solution View.
    4. Select the configuration file you want to use from the Configs list.
    5. Enable or disable Auto Update.

      When the AssemblyLines or properties for a configuration change, Auto Update automatically changes the Solution View.

      Note:
      When Auto Update is selected, you cannot edit the Solution View you created with Auto Update on, nor can you create Rules and Triggers for Solution Views made while Auto Update is on. If you want to edit the Solution View or add Rules and Triggers, you must disable Auto Update. The users would have to disable the auto update functionality in order to be able to create a Rules and triggers for Solution Views marked for auto updation.Review any changes to the config in Solution View by using the Refresh button on the Solution View window. This button is only be visible to configs with auto-update set to true. Any config created manually using the Create Solution View wizard has the auto-update flag set to false.
      Note:
      You must reload Solution Views created using the Auto Update option. Use the Refresh Solution View in the Solution Views window. For Solution Views marked for auto update, you must reload the config file and refresh the Solution View by clicking the Refresh Solution View. If a user fails to refresh a Solution View created using the Simple option and flagged for auto update, the Solution View may cause inconsistencies in the AMC database. Inconsistencies in Solution Views that are not updated could result in incorrect behavior by the Action Manager.
  4. Use the following options in creating a solution view:
    Simple
    Create a Solution View with common default options.
    Auto Update
    For Solution Views marked for auto update, you must reload the config file and refresh the Solution View.
    Create Solution View from published solution.
    Creates the Solution View from the published solution as specified in the TDI Configuration Editor (CE). This option requires that your active configuration instance have a published solution associated with it, and also requires a TDI 7.0 server.
    Create Solution View with all AssemblyLines exposed.
    Creates a Solution View with all AssemblyLines from the config instance exposed, and no properties and no Health AL defined. Use this option for a quick start (useful for development purposes). Available for TDI 6.0 and later servers.
    Create Solution View with all AssemblyLines exposed and all properties exposed.
    Creates a Solution View with all AssemblyLines from the config instance exposed, and all properties and no Health AL defined. This option does not expose the Java properties. Available for TDI 6.1 and later servers. Use this option for a quick start (useful for development purposes).
    Create Solution View with all AssemblyLines exposed and all User properties exposed.

    Creates a Solution View with all AssemblyLines from the config instance exposed, and all properties and no Health AL defined. This is similar to a quick start type of option. This option is disabled for TDI 6.0 servers (because TDI properties are not available in TDI 6.0 Servers)

    Note:
    In order to be able to see user defined properties in the Property Stores panel you should do either of these:
    • Place the .properties file in the folder containing the configuration file
    • Specify an absolute path to the properties file when creating the property store in the CE (New Property Store > Connector tab > Configuration tab > Collection path/URL parameter)
  5. Click OK to finish creating the Solution View.

Config files (allows loading/reloading of configurations)

To reach the Config Files window, and to access options for loading, reloading, unloading, and refreshing of config files, select Solution Views in the left navigation area. Select a server and a config file, then click the View Config Files button. This launches the Config Files window. This window displays loaded Configs and the Configs in the configs folder of the remote IBM Tivoli Directory Integrator server. When AMC is connected to a Tivoli Directory Integrator server, the Config Files window shows a listing of all files in the remote config folder (whether the files are valid TDI config files or not). You should perform Load operations on valid Tivoli Directory Integrator Config files only, otherwise an error message displays in AMC. The status Loaded or Unloaded displays with green (Loaded) and red (Unloaded) icons in the Status column. You can select one or more configs from the Select column of the Confi files table. Once you have selected a config, you can Load, Load As..., Unload, Reload, or Refresh using the buttons at the top of the table. If you want to load a password protected Config, select the Config and type the password in the Password field.

Whether an action is successful or unsuccessful, a message displays after the action (Load, Load with Run name, Reload, Unload, and Refresh) executes, describing the outcome. For Load, Reload, and Unload, the new status for the configs that you selected displays in the Status column.

Note:
You must have superadmin or config admin privileges to perform these actions.
Custom load

The Tivoli Directory Integrator server supports loading multiple instances of the same config with different run names. If you load config instances using Load As..., you can use these configs to create Solution Views and Rules. Use AMC to load multiple config instances by performing these steps:

  1. From the Welcome page, select Servers -> Config Files.
  2. Click Load As....

    The Custom Load window appears.

    1. Select the Config File from which you want to create multiple instances and click Go.
    2. Type the Config Run name.
    3. Type the Config Password.
    4. Type the Property Store Value for each Property Store Name.
  3. Click OK to use the values you have entered to create an instance of the config with the Run name you have specified. After an instance of the config is created, you are returned to the Load Reload window.
  4. Click Cancel if you do not want to create the config with the values you have specified in the Custom Load window.
Note:
Users must maintain data integrity.

Monitor Status and Action Manager

If you have not done so already, expand the Monitor Status category in the main navigation area of the Administration and Monitoring Console.

Do one of the following:

Monitor Status

This window displays the views selected on the Preferred Views window accessed from Advanced -> Preferred Solution Views. It displays high level information about each preferred Solution View, such as:

Action Manager Status
Displays the status of the Action Manager rules for the selected Solution View: A blue exclamation mark indicates that no Action Manager rules have been triggered recently. An yellow triangle containing an exclamation mark indicates that an Action Manager rule has been triggered recently.
Health Check Result
Displays the health check result obtained from the healthAL.result final work entry attribute in the Solution View's Health AssemblyLine. This value is displayed as text.
Health Check Status
Displays the health check status obtained from the healthAL.status attribute in the Solution View's Health AssemblyLine.

Additionally, if you have designated a .gif file with the same name as the returned status value in the Administration and Monitoring Console's resources/amc_images/healthAL directory, the .gif image is also displayed in this column. For example, if the healthAL.result is returned as "Error", and you have created an "Error.gif" in the above mentioned directory, the Error.gif image displays in the table column.

From this window you can:

Solution View Details

The Solution View details panel in turn provides deeper view of the details specific to a Solution View which an administrator can take a look at and take action upon.

This window contains two tables. The top table displays the AssemblyLines associated with the selected Solution View and the status of each Solution View. The bottom table displays log information about recently triggered Action Manager rules.

When you are through making changes, click Close.

Solution View Details Table
Columns

The Solution View Details table contains the following columns:

Select
Select the radio button next to the AssemblyLine on which you want to perform an action.
AssemblyLines
Displays the name of the AssemblyLine.
Status
Displays the AssemblyLine's status; for example, Running or Stopped.
Start Time
AssemblyLine is running
Start Time is when the running AL started. Start Time is based on the running AL.
AssemblyLine is stopped
The time when the last run of the AL started. Start Time is based on the most recent tombstone entry for the AL. (Available only with Tivoli Directory Integrator 7.1.1 servers).
Last Stop Time
The time when the last run of the AL terminated. Stop Time is based on the most recent tombstone entry for the AL. (Available only with Tivoli Directory Integrator 7.1.1 servers).
Statistics
Displays the current statistics of the running AssemblyLine.
Actions

You can choose the operations you want to perform from the tool bar at the top of the table or using the Select action drop-down menu, such as:

Start AssemblyLine

Run the selected AssemblyLine.

Start AssemblyLine synchronously

AMC waits for the AL to terminate and shows the status of the run AL periodically. The output schema attributes of the AssemblyLine after its termination are viewable for synchronous AL runs.

Start AssemblyLine in simulate mode

The Assembly Line executes all components except for the connectors in the add, update, and delete modes. In essence, putEntry, modEntry and deleteEntry methods of connectors are not invoked in simulate mode. As a result, an Assembly Line running in simulate mode does not perform any additions, modifications, or deletions on third party repositories. For more information on simulate mode, see the corresponding section in IBM Tivoli Directory Integrator V7.1.1 Users Guide.

View Tombstones

If you have tombstones enabled on the remote IBM Tivoli Directory Integrator server, the Administration and Monitoring Console can display the tombstone entries for terminated AssemblyLines. This window displays useful information about tombstone entries, such as when the entry was changed to the tombstone state.

Delete Tombstones

On the Monitor Status window, select an AssemblyLine. Select the arrow to the right of the AssemblyLine and select Delete Tombstones from the menu. This launches the Delete Tombstones window. The component details section of this window identifies the Solution View and AssemblyLine that are being worked on. In the choose delete criteria section, select one of the options to specify which tombstones you want to delete:

View Logs

Logs for a given AssemblyLine are displayed on the View Logs window.Monitor Status -> Solution View Details -> View Logs to view the list of log files for the selected AssemblyLine, click the radio button next to the log you want to view and click View Logs.

Note:
In order to view an AssemblyLine log in the Administration and Monitoring Console, the AssemblyLine must log using the SystemLog logger.
Action Manager results table

When a rule set in the Action Manager is triggered, information about the violation is logged, such as the source of the violation, a description of the error and the time at which the violation occurred. These details are displayed in the Action Manager Results table.

The following sections contain information about the Action Manager Results table columns and how to perform operations on Action Manager Results.

Columns

The Action Manager Results table contains the following columns:

Select
Select the radio button next to the message on which you want to perform an action.
Source
Displays the name of the Action Manager rule that was triggered.
Severity
Displays the severity of the message.
Message
Displays the message associated with the Action Manager action.
Description

Displays additional information about the message.

Timestamp

Displays the time at which the Action Manager rule was triggered and the message was generated.

Actions

Select the result or results you want to delete and click Delete.

Server Information

This window displays the IBM Tivoli Directory Integrator server information of the server to which the currently selected Solution View belongs. The information on this window is read-only, although administrators have the capability to shut the server down from this window.

View Components

The View Components operation allows you to view the different connectors, function components and so froth configured in the selected AssemblyLine. N

Note:
Branching components (IF, SWITCH, etc.) and Script components are not displayed. This is intentional design - attention is focused on Connectors/Function Components which are the key items.
Show Preferred Solution Views

Preferred Solution Views are the default Solution Views that are displayed on Monitor Status window.

Refreshing Solution View Details in AMC

The Solution View Details window is refreshed after a set interval of time to view the current AssemblyLine status. By default, the refresh rate is set to 600 seconds. The Integrated Solutions Console administrator has the privilege to change the refresh interval.

To change the refresh interval:

  1. Go to the login page of AMC.
  2. Type your user name and password, and click Log in. The Welcome page of Integrated Solutions Console appears.
  3. In the left navigation tree, click Settings -> Manage Global Refresh.
  4. In the Manage Global Refresh window, click the Monitor Status link.
  5. Change the refresh configuration settings and click OK.

Action Manager

This window allows you to add, delete or modify rules, triggers and actions to be performed as a result of rules execution and triggering conditions.

Add/Edit configuration rules

Using the settings on this window you can create an Action Manager (or modify an existing one) for the current Solution View.

A rule consists of two parts:

Configuration rules settings

This window is concerned with the first part of the rule: defining triggers. From the window you can select a name, description, and trigger type.

Name
Enter a name for the rule. If you are adding a rule, this field is required.
Description
Enter an optional description of the rule.
Trigger type
The trigger type defines the conditions under which a rule is invoked. From the drop-down menu, select a trigger type:
No trigger
Rule has no triggering condition.
On AssemblyLine termination
Rule is triggered when the specified AssemblyLine is terminated.
On Config Load
Rule is triggered when the Action Manager receives a Config load event for this particular config.
On Config Unload
Rule is triggered when the Action Manager receives a Config Unload event for this particular config.
On Query AssemblyLine result
Rule is triggered when the last "work" entry of the specified AssemblyLine contains an attribute matching a given condition and value.
On server API failure
Rule is triggered when the Action Manager is unable to connect to the remote server using the Server API. This rule is triggered only once. The rule resets when it detects that it can reconnect to the server using the Server API.
On received Event
Rule is triggered when the Action Manager receives an event that meets the criteria specified in the Event type, Event Source and Event Data fields.
On Property Trigger
Rule is triggered when the specified property meets the determined Property name, Condition and Value specifications.
On Local Variable
Rule is triggered when the specified variables meet the specified condition. The Action Manager periodically checks for this property.
Note:
This rule gets triggered only once, and gets reset back to ready state only when Action Manager detects that this variables does not meet the specified criteria any longer. The rechecking ensures that the rule is not repeatedly triggered for a single occurrence of the triggering condition.
Inspect AssemblyLine Exit Code
Rule is triggered when an AssemblyLine terminates abnormally. You can define an error object that Action Manager searches for in the AssemblyLine Exit Code.
Time since last execution
Rule is triggered when the specified AssemblyLine has not run for the determined period of time.
Timer Trigger
Rule is triggered continuously within the given interval.
Configure trigger

Each trigger type has a different selection of settings. If you do not see some of the fields listed below on your window, it is because the trigger type you currently have selected does not support them.

Source
Enter the source you want to monitor.
Data
Enter the data you want to monitor.
Property name
From the drop-down menu, select the property name you want to monitor.
Condition
Select the condition you want to use to compare the property and value. Possible options are:
Value
Enter the value you want to monitor.
Configured actions

From this table you can add, delete, and modify actions. You can also move actions up and down in the table. For every action in the configured actions table that you can select, there is a column where you can enable the special trigger Execute on Error. Execute on error performs the action you have selected when an error condition occurs.

Selecting Execute on Error carries out actions only if an error has occurred during the execution of any of the previous actions. You can use such actions to take corrective measures for handling any error that might have occurred during the execution of any previous actions. Action Error variables: AMC and Action Manager allow you to make the action error available in the various actions. At any point of time, if an error occurs during the execution of any configured actions, this error becomes available to you in the form of special reserved variables. You can then use these reserved variables in other actions you have configured. When the following actions are executed, Action Manager replaces the string %Action_Error% by the actual error that occurred during the execution of the previous actions. If no error occurs, the variable %Action_Error% is not be replaced and stays as it is.

Add/Modify Action

When a rule is triggered, the Action Manager executes the actions associated with the rule. This window allows you to specify or modify the actions you want Action Manager to take when the rule is triggered.

From the drop-down menu, select an action type, and configure it. Click OK when you are finished.

Start AssemblyLine
This action starts an AssemblyLine. If you select this action, you must specify the name of the AssemblyLine you want to start and its associated Config (and possibly the Config's password).
Server
This is a drop-down list of configured Servers. LocalServer means the Server on the computer Action Manager is executing.
Select from remote config folder
Check box; if enabled, queries the remote Server for available Config files. The Config files displayed are those present in the folder whose path is specified for the api.config.folder property in the global.properties file.
Config name
Enter the Config to which the AssemblyLine in the AssemblyLine field belongs. If Select from remote config folder is checked, you are presented with a list of available Config files on the remote Server, if unchecked, you must fill in the name of a locally-available Config file.

This field is required.

Config password
If required, enter the Config password for the selected Config file. This field is applicable only if the config is password protected.
AssemblyLine
Enter the name of the AssemblyLine to start.
Configure AssemblyLine Operation
This hyperlink launches the 'Select Operation' dialog. If the AssemblyLine has been defined with one or more custom Operations, this dialog enables you to select such an Operation. Subsequently, you are prompted for the AssemblyLine's Initialization attributes and Operation attributes for this Operation. This label is shown only for TDI 6.1.X and Tivoli Directory Integrator 7.1.1 servers if configured and is not applicable for TDI 6.0.
Stop AssemblyLine
This action stops an AssemblyLine. If you select this action, you must specify the name of AssemblyLine you want to stop and its associated Config.
Server
This is a drop-down list of configured Servers. LocalServer means the Server on the computer Action Manager is executing.
Select from remote config folder
Check box; if enabled, queries the remote Server for available Config files.
Config name
Enter the Config to which the AssemblyLine in the AssemblyLine field belongs. If Select from remote config folder is checked, you are presented with a list of available Config files on the remote Server, if unchecked, you must fill in the name of a locally-available Config file.

This field is required.

AssemblyLine
Enter the name of the AssemblyLine to stop.
Enable/Disable Rule
Select the Enable/Disable Rule to enable or disable an Action Manager rule.
Rule name
Select the name of the rule-Solution View pair that you want the action "Enable/Disable Rule" to execute. In versions before TDI 7.1.1, you selected the rule name instead of a rule-Solution View pair, which is a new feature for 7.1.1. This option belongs to the action "Enable/Disable Rule."
State
Select the desired state from the drop-down menu. If you want to enable the rule in the Rule name field, select Enabled. If you want to disable the rule, the select Disable.
Execute Rule
This action causes the Action Manager to execute the specified rule. Action Manager then executes the actions associated with the specified rule. The trigger condition associated with the specified rule is not required to be satisfied.
Rule name
Select the name of the rule-Solution View pair that you want the action "Execute Rule" to execute. In versions before TDI 7.1.1, you selected the rule name instead of a rule-Solution View pair, which is a new feature for 7.1.1. This option belongs to the action "Execute Rule."
Execute Command
The Execute Command action can execute the command entered in the Command field on the target computer specified under Target Computer Name. The command can be any generic command or a IBM Tivoli Directory Integrator specific command. The Execute Command can be used when a user configures a rule to execute commands that are specific to the target computer or to execute Tivoli Directory Integrator commands that are not exposed by AMC. For example, in AMC we do not have actions that can restart a server or load a config. The user has to perform the restart or reload commands using either the TDI Server or Config Files windows. If any error occurs while executing the command, it is captured in the %ACTION_ERROR% variable, which can be further used by the Action Manager,
Target Computer Name
Name or IP address of the target computer. Action Manager connects to the computer specified in this field. If neither a computer hostname nor an IP address is specified, the command executes on the computer where the Action Manager is running.
Port
Port specifies the channel over which the Action Manager can connect to the target computer where the command is to be executed.
Username
The user name is verified for authentication and authorization when establishing a connection with the target computer.
Password
The password is verified for authentication and authorization when establishing a connection with the target computer.
Keystore
Keystore path is entered and used in case certificate authentication is required when connecting to the target computer.
Keystore Password
Keystore password is required when certificate authentication is mandatory for connection to the target computer.
Protocol
The protocol that is to be used for establishing a connection with the remote machine. Protocol can have the following values, WINDOWS, RSH, SSH OR REXEC (Windows, remote shell, secure shell, or remote execution protocols).
Command
Command that is to be executed.
Notify Event
This action causes the Action Manager to send an event with the specified details to the IBM Tivoli Directory Integrator server associated with the current Solution View. To add this action to the rule, select Notify event. If you select this action, you must specify an event type.
Event type
Enter an event type. This field is required.
Source
Enter a source for the event type.
Data
Enter data for the event type.
Modify property
This action causes the Action Manager to modify a property based on a specific operation and value. If you select this action, you must also select a value.
Property name
Select the property you want to modify from the drop-down menu.
Operation
From the drop-down menu, select the operation you want to use to modify the property. Possible options are:
  • Set
  • Increment
  • Decrement
Value
Enter the desired value. This is a required field.
Copy property value
This action causes the Action Manager to copy the value of the source property to the destination property.
From property
From the drop-down menu, select the property you want to copy from.
To property
From the drop-down menu, select the property you want to copy to.
Write to log
This action creates a log of the Action Manager rules that have been invoked, according to the specified severity, message and description. This log can be viewed under Monitor Status, on the "Solution View Details" window in the AM results table. Having at least one log action for every rule is recommended. If you select this action, you must enter a message in the Message field.
Severity
Select the desired severity from the drop-down menu. Possible options are:
  • Severe
  • Warning
  • Info
  • Fine
Message
Enter the desired message.
Description
Optionally, enter a description.
Send Email
This action causes an email to be sent to the recipient you specify. You supply the content of the email. Along with the content, the Action Manager provides other details before sending the mail. In the content input area as well as in the subject line, you can specify the variable %EVENT_DATA% value. Specifying %EventData% inserts the actual value of the Eventdata variable when the mail is sent. %Action_Error% can also similarly be substituted here. If Attach Action Manager Log is enabled, the Action Manager logs (as specified in the am_logging.properties file ) are sent as an email attachment. In the content input area, you can specify the variable %EVENT_DATA% value. Specifying %EventData% in the content puts the actual value of the Eventdata variable when the mail is sent. %Action_Error% is also similarly be substituted here. If Attach Action Manager Log is enabled, the Action Manager logs (as specified in the am_logging.properties file) are sent as an email attachment.
Substitute variable for event data

Select Action Manager from the left navigation pane or select Action Manager from the Welcome screen. Under Action Manager, you can Add a rule to a Solution View. You can name a new rule, and edit or delete an existing rule. You can make Event Data available when configuring or sending that data to other actions.

Use Action Manager to make event data available when configuring actions for a trigger. In Action Manager, you can Add, Modify, or Delete a rule. When you add a rule, you name the rule and select the Trigger type. Variable substitution allows you to select data that is output from certain Action Manager triggers, and use that data in certain actions that are triggered by a rule. AMC and Action Manager make the data available to the triggered actions in the form of a reserved variable. The action then uses the data that is stored in the variable. You can use this reserved variable in any of the actions you have configured for this trigger.

Triggers that can produce event data

The following trigger types can produce event data that can be consumed by actions:

Actions that can access event data

The actions executed for each of the above triggers can access the event data produced by the triggers using the %Event_Data% variable. Every occurrence of %Event_Data% is replaced with the actual event data for that trigger. The following action types can use event data available from their respective triggers:

For any action being executed, such as the Send E-mail action, the Execute command action, the Log action, the Start AssemblyLine action, and so on, executes in response to the same trigger, the string of %Event_Data% automatically gets replaced by the event data generated by that trigger.

View Rules Summary

To view the current Action Manager for the selected AssemblyLine, click View Rules Summary. The table lists all the defined rules, triggers and actions associated with the Solution View. When you are done viewing, click Close. Only those rules which are in Enabled state are listed here.

Property Stores

If you have not done so already, expand the Property Stores category in the navigation area of the Administration and Monitoring Console. To add or edit Java, Solutions, Global, System, User Property and Password Store properties, click Advanced -> Property Stores.

When you are done entering the desired the property values, click OK to save your changes.

The order in which these Property Stores are listed is significant. The Property Stores are evaluated from top to bottom, but the last definition of a given Property is the one that is used. By default, the system is set up such that properties defined in a solution-specific properties file called solution.properties (residing in the Solution Directory) override corresponding ones in the system-wide global.properties file.

Note:
Certain System Properties and Java Properties are read-only. These read-only properties are shown in the respective Property Stores. Trying to modify these properties has no effect.

Select Solution View

This window allows you select a Solution View. The menu contains only those Solution Views for which you have any type of access rights amongst Read, Execute, Config_Admin or Admin. Nothing is displayed if you do not have access to any of the Solution Views being created. Once you have selected a view, click Set.

After you select a Solution View, you can manage properties by clicking on the other property tabs, such as Solution Properties and Global Properties.

Solution Properties

This window allows you to add, edit and delete properties in the Solution Properties list.

Global Properties

This window allows you to add, edit and delete Global Properties.

Java Properties

This window allows you to add, edit and delete Java properties.

System Properties

This window allows you to add, edit and delete System properties.

Password Store

This window allows you to add, edit and delete properties in the Password Store.

User Property Store

This window allows you to add, edit and delete properties in the User Property Stores list.

The Property Stores drop-down menu contains a list of property stores configured by the user. Global, Solution, Java and Password Stores properties are not included. Select the property store whose associated properties you wish to view, add, edit or delete.

Log Management

If you have not done so already, expand the Advanced category in the navigation area of the Administration and Monitoring Console. To delete log files for all AssemblyLines, for a particular AssemblyLine, or to delete by date, click Log Management. When you select a new Solution View, you can click Refresh. Clicking Refresh lists all of the AssemblyLines that belong to the Solution View you just selected.

This window allows you to select the name of a Solution View. The AssemblyLines listed for deletion are taken from the Solution View you choose. You can choose to delete log files for all AssemblyLines, or for a particular AssemblyLine. You can also specify logs to delete by date. To manage display and deletion of logs:

  1. Select the Solution View with the AssemblyLines whose logs you want to clean up from the Solution View menu.
  2. In the Choose Component section, do one of the following:
  3. If you selected Specific assembly line, select the AssemblyLine with logs you want to delete from the menu.
  4. In the Display Log Files section, do one of the following:
  5. In the Logfiles table, a list of log files displays. In the Select column, select any logs you want to delete and click Delete. In the Select Action menu, you can choose any of the following options:

    When you have selected one of these options, click Go.

  6. From the display that results from the criteria you have selected, choose the logs you want to delete and click Delete to remove the specified logs. When you are finished deleting logs, click Close to exit this window.

Preferred Solution Views

You can select the Solution Views that you want to be loaded by default in the monitor window, using the Preferred Solution Views panel.

The "preferred" Configs are shown by default in the monitor status page when it is opened. If there are no views defined then this panel will simply display a message saying that there are no views. Once a set of views are defined then a user can set what he would like to see as the default views. This panel can be viewed by any user who has a set of views assigned to him by the superadmin.

You can make a Solution View preferred by selecting its checkbox in the Select column, and click Enable As Preferred.

Conversely, you can disable the Preferred status for a Solution View by selecting its checkbox in the Select column, and click Disable As Preferred.

[ Top of Page | Previous Page | Next Page | Contents | Terms of use | Feedback ]
(C) Copyright IBM Corporation, 2003, 2012. All Rights Reserved.
IBM Tivoli Directory Integrator 7.1.1