Control-M for GCP Batch
Google Cloud Platform (GCP) Batch enables you to manage, schedule, and execute batch computing workloads on a virtual machine that is provisioned to accommodate your resource and capacity needs.
Control-M for GCP Batch enables you to do the following:
- Execute script or container GCP Batch jobs.
- Manage GCP Batch credentials in a secure connection profile.
- Connect to any GCP Batch endpoint.
- Integrate GCP Batch jobs with other Control-M jobs into a single scheduling environment.
- Monitor the status, results, and output of GCP Batch jobs in the Monitoring domain.
- Attach an SLA job to your GCP Batch jobs.
- Introduce all Control-M capabilities to Control-M for GCP Batch including advanced scheduling criteria, complex dependencies, Resource Pools, Lock Resources, and variables.
- Run 50 GCP Batch jobs simultaneously per Agent.
Setting up Control-M for GCP Batch
This procedure describes how to install the GCP Batch plug-in, create a connection profile, and define a GCP Batch 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 GBA_plugin.Linux
- Windows: ctm provision image GBA_plugin.Windows
- For an upgrade, use the following command:
ctm provision agent::update
- For a fresh installation, use the provision image command:
- Create a GCP Batch connection profile in Helix Control-M or Automation API, as follows:
- Helix Control-M: Creating a Centralized Connection Profile with GCP Batch Connection Profile Parameters.
- Automation API: ConnectionProfile:GCP Batch
- Define a GCP Batch job in Helix Control-M or Automation API, as follows:
- Helix Control-M: Creating a Job with GCP Batch Job parameters.
- Automation API: Job:GCP Batch
Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*