TryBMC Expert GitLab

Final Version
davrodri authored
bd94c23d
Name Last commit Last update
images Final Version
README.md Final Version

Lab 03 - Execute our plug-in in Control-m

Into this Lab we will execute our first JobType in Control-M, in which we will get the knowledge about how to view our new Plug-In in Control-M and execute it.

This exercise will walk through:

  1. View the Plug-In in Control-M.
  2. Define a workflow in which we execute this new JobType.
  3. View JobType execution

Step 1 - View the Plug-In in Control-M.

Into the previous Lab we have defined, publish and deployed a new Plug-In, now in order to see this Plug-In in Control-M we need to perform the following steps.

  1. Close the Application Integrator web Tab.
  2. Into the Control-M Web Console click on our user icon (top right corner) and click on Log Out

workspace

  1. Login again into the Control-M Web with your credentials.
  2. Go to your Configuration domain and select Plug-Ins

workspace

  1. We will see our JobType deployed into the selected agent as the image below.

workspace

Step 2 - Define a Connection Profile.

  1. Click on Configuration Tab and select Centralized Connection Profiles

workspace

  1. Click on Add Connection Profile and select the Plug-In created

workspace

  1. Include the following information:
    • Connection Profile Name: AAPICLI
    • Run As: bdcuser
    • Password: password

workspace

Step 3 - Define a workflow in which we execute this new JobType.

Verified that our JobType is properly deployed, let's go to our planning domain to see its execution.

  1. Select the Planning domain and Add a New Workspace

workspace

  1. Into the new tab leave add the following configuration and click on Create
    • SiteStandard: Empty
    • Server: bdcctm
    • Folder: SMART Folder

workspace

  1. Into our Workspace select the folder and put the following configuration under the General tab:
    • Folder Name: user01-my-first-AI
    • Run Method: Change the configuration to Manual

workspace

  1. Into Add Job button click on it and into the Search option type AI AAP select our JobType drag and drop into our folder.

workspace

  1. Select the JobType and into the General Tab include the following information.
    • Job Name: user01-ai-aapi-cli
    • Host/Host group: put the name of the agent with your JobType deployed
    • Connection Profile: put the name of your connection profile created previously

workspace

  1. Select the Tab Prerequisites and enable the option Requires user confirmation

workspace

  1. We proceed to Check-In our WorkSpace click on Check In and confirm our submission.

workspace

  1. Now let's run our Workspace, click on Run and select Run Workspace (New tab will be opened)

workspace

  1. Into our new tab leave the default parameters and click on Run

workspace

Step 4 - View JobType execution

  1. Click on Monitoring domain and under Viewpoints Tab select the option Add Viewpoint (New tab will be opened)

workspace

  1. Into the new tab, add the following information:
    • Folder Name: user01*
  2. Click on Open (New Tab will be opened)

workspace

  1. Under the Viewpoint 1 Tab, click on Save

workspace

  1. Under the new window put the following configuration.
    • Name: user01_folders
  2. Click on Save

workspace

  1. Under this viewpoint we will see our folder defined into the previous steps, but we see our JobType pending to be confirmed before to be executed.

workspace

  1. Select the AI JobType right click and choose the option Confirm

workspace

  1. Our AI JobType will be executing.

workspace

  1. Finished the execution of our AI Jobtype click on the Tab Output and we will see the output of our Job.

workspace

Summary

In completing this lab, now you have the knowledge to run your Application Integrator JobTypes in Control-M. Please continue to Lab 04 Applitation Integrator using REST API functions.