AAI Integration with IWSd
AAI can integrate with the distributed version of the IBM Workload Scheduler (IWSd) to collect data about the jobs defined on an IWSd workload scheduler and receive details of its job executions in real time. This topic describes how that integration works and the installation and configuration steps required to connect an instance of the IWSd workload scheduler with AAI platform server.
Architecture of the IWSd Integration
The following diagram shows the components involved in the integration of IWSd with AAI and the data interactions that enable IWSd data to be available in AAI in practically real time.
As you see in the diagram, the integration between an IWSd workload scheduler and AAI involves only one additional component, the IWS Connector, which sits between the two servers. The IWS Connector acquires event and job definition data from IWSd in two ways:
- Using REST API calls
- Directly accessing the IWSd database with JDBC queries
Once the IWS Connector has acquired the data, it structures it to be consumable by AAI and prepares the data in JSON messages to be delivered to the AAI server via REST APIs. In case the AAI server is unable to receive the JSON traffic, the Connector buffers the data until AAI is available again.
The IWS Connector provides bi-directional connectivity, which allows AAI to request current and updated workload plans from the IWSd server. The workload plans help AAI make its runtime predictions for the related jobstream executions. The plan data is also requested via REST API, and is returned in JSON messages.
Implementing the Integration of IWSd with AAI
There are two basic steps to implementing the integration of an IWSd workload scheduler with AAI:
- Installing and configuring the IWS Connector. For information, see Installing the IWS Connector for AAI.
- Defining a scheduler in AAI for the IWSd instance. For information, see the related section in Configuring IWSz Schedulers.
Multiple Instance Considerations
You can connect multiple IWSd instances to the same IWS Connector as long as they should feed into the same AAI server.