Control-M for Apache Airflow
Apache Airflow enables you to monitor and manage Directed Acyclic Graphs (DAGs) workflows in Control-M.
Control-M for Apache Airflow enables you to do the following:
- Manage Apache Airflow credentials in a secure connection profile.
- Connect to any Apache Airflow endpoint.
- Introduce all Control-M capabilities to Control-M for Apache Airflow, including advanced scheduling criteria, complex dependencies, Resource Pools, Lock Resources, and variables.
- Integrate Apache Airflow jobs with other Control-M jobs into a single scheduling environment.
- Monitor the job status, results, and output of Apache Airflow.
- Attach an SLA job to the Apache Airflow jobs.
Setting up Control-M for Apache Airflow
This procedure describes how to install the Apache Airflow plug-in, create a connection profile, and define an Apache Airflow job in Helix Control-M and Automation API.
Before You Begin
- Verify that Automation API is installed, as described in Setting up the API.
- Verify that Agent version 9.0.21.080 or later is installed.
Begin
- On the Agent host, set the Java environment variable by running one of the following commands through a command line:
- Linux:
- Bourne shell/bash: export BMC_INST_JAVA_HOME=<java_11_directory>
- csh/tcsh: setenv BMC_INST_JAVA_HOME <java_11_directory>
- Windows: set BMC_INST_JAVA_HOME="<java_11_directory>"
- Linux:
- Run one of the following API commands:
- For a fresh installation, use the provision image command:
- Linux: ctm provision image Apache_Airflow_plugin.Linux
- Windows: ctm provision image Apache_Airflow_plugin.Windows
- For an upgrade, use the following command:
ctm provision agent::update
- For a fresh installation, use the provision image command:
- Create an Apache Airflow connection profile in Helix Control-M or Automation API, as follows:
- Helix Control-M: Creating a Centralized Connection Profile with Apache Airflow Connection Profile Parameters
- Automation API: ConnectionProfile:Apache Airflow
- Define an Apache Airflow job in Helix Control-M or Automation API, as follows:
- Helix Control-M: Creating a Job with Apache Airflow Job Parameters
- Automation API: Job:Apache Airflow
Change Log
The following table provides details about changes that were introduced in new versions of this plug-in:
Plug-in Version | Details |
---|---|
1.0.01 | Rerun DAG action added. |
Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*