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.
Control-M for Apache Airflow Compatibility
The following table lists the prerequisites that are required to use the Apache Airflow plug-in, each with its minimum required version.
Component | Version |
---|---|
Control-M/EM | 9.0.21.300 |
Control-M/Agent | 9.0.21.300 |
Control-M Application Integrator | 9.0.21.300 |
Control-M Automation API | 9.0.21.300 |
Control-M for Apache Airflow is supported on Control-M Web and Control-M Automation API, but not on the Control-M client.
To download the required installation files for each prerequisite, see Obtaining-Control-M-Installation-Files.
Setting up Control-M for Apache Airflow
This procedure describes how to deploy the Apache Airflow plug-in, create a connection profile, and define an Apache Airflow job in Control-M Web and Automation API.
Before You Begin
Verify that Automation API is installed, as described in Automation API Installation.
Begin
- Create a temporary directory to save the downloaded files.
- Download the Apache Airflow plug-in from the Control-M for Apache Airflow download page in the EPD site.
- Install the Apache Airflow plug-in using the Automation API Provision service:
- Log in to the Control-M/EM Server machine as an Administrator and store the downloaded zip file in the one of the following locations (within several minutes, the job type appears in Control-M Web):
- Linux: $HOME/ctm_em/AUTO_DEPLOY
- Windows: <EM_HOME>\AUTO_DEPLOY
- Log in to the Control-M/Agent machine and run the provision image command, as follows:
- Linux: ctm provision image Apache_Airflow_plugin.Linux
- Windows: ctm provision image Apache_Airflow_plugin.Windows
- Log in to the Control-M/EM Server machine as an Administrator and store the downloaded zip file in the one of the following locations (within several minutes, the job type appears in Control-M Web):
- Create an Apache Airflow connection profile in Control-M Web or Automation API, as follows:
- Define an Apache Airflow job in Control-M Web or Automation API, as follows:
- Web: 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. |