So far you've been running your AssemblyLines as batch processes, manually starting them each time we want data to flow. We can also run AssemblyLines from the command line by invoking theTivoli Directory Integrator Server, like this1:
ibmdisrv -c examples/Tutorial/Tutorial1.xml -r CSVtoXMLIn this way it's a simple task to use scheduling tools (for example, crontab) to schedule their operation, or to easily launch them from external applications.
Tivoli Directory Integrator provides a number of features for making your AssemblyLines event-aware, allowing the solutions to handle and respond to a wide variety of real-time triggers.
Examples of these triggers are:
This is not a complete list, and we will find both inspiration and guidance in other Tivoli Directory Integrator literature, in the community websites and the newsgroups.
Handling these events in the solution can be done in a number of ways:
Other Connectors, like those for RDBMS Change detection and LDAP Changelog, work in a similar way. These Connectors allow you to build AssemblyLines that run continuously, waiting for new changes to appear in the connected system.
There is also a Timer Connector that runs in Iterator Mode and can be configured to drive your AssemblyLine at timed intervals according to a scheduling parameter. We will be testing this one shortly.
Tivoli Directory Integrator includes a Web Administration console as part of the standard installation. This browser-based application called the Administration and Monitoring Console (AMC) lets you monitor the health of the AssemblyLines, hot-load Configs to running Servers, start and stop ALs, and configure failure/response behavior to keep your integration solutions highly available. It can also be used to set up schedules for when your AssemblyLines should run. However, the Web Admin tool is beyond the scope of this Guide.
This guide will take you on a closer look at AssemblyLine scheduling and at Connector Server mode.
1 The TDI Server provides a usage message when invoked with no commandline
arguments: ibmdisrv