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:
- View the Plug-In in Control-M.
- Define a workflow in which we execute this new JobType.
- 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.
- Close the Application Integrator web Tab.
- Into the Control-M Web Console click on our user icon (top right corner) and click on Log Out
- Login again into the Control-M Web with your credentials.
- Go to your Configuration domain and select Plug-Ins
- We will see our JobType deployed into the selected agent as the image below.
Step 2 - Define a Connection Profile.
- Click on Configuration Tab and select Centralized Connection Profiles
- Click on Add Connection Profile and select the Plug-In created
- Include the following information:
- Connection Profile Name: AAPICLI
- Run As: bdcuser
- Password: password
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.
- Select the Planning domain and Add a New Workspace
- Into the new tab leave add the following configuration and click on Create
- SiteStandard: Empty
- Server: bdcctm
- Folder: SMART Folder
- 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
- Into Add Job button click on it and into the Search option type AI AAP select our JobType drag and drop into our folder.
- 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
- Select the Tab Prerequisites and enable the option Requires user confirmation
- We proceed to Check-In our WorkSpace click on Check In and confirm our submission.
- Now let's run our Workspace, click on Run and select Run Workspace (New tab will be opened)
- Into our new tab leave the default parameters and click on Run
Step 4 - View JobType execution
- Click on Monitoring domain and under Viewpoints Tab select the option Add Viewpoint (New tab will be opened)
- Into the new tab, add the following information:
- Folder Name: user01*
- Click on Open (New Tab will be opened)
- Under the Viewpoint 1 Tab, click on Save
- Under the new window put the following configuration.
- Name: user01_folders
- Click on Save
- 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.
- Select the AI JobType right click and choose the option Confirm
- Our AI JobType will be executing.
- Finished the execution of our AI Jobtype click on the Tab Output and we will see the output of our Job.
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.