
Task Manager utility for IDMC
Posted by: Informatica Success Portal
This utility is a Python-based task manager for orchestrating and managing groups of real-time CDI tasks in IDMC. It allows you to group multiple tasks, start/stop them as a group, and fetch their status. This is useful for tasks that cannot be executed as part of a Taskflow.
Overview
Mapping Tasks within a Taskflow has a limitation on runtime limited to 7 days. The Mapping Task would be stopped after a 7-day period. Most users add Realtime Mapping Tasks into Taskflows to group a set of real time jobs together so they could be started in parallel, stopped and monitored together. But, due to the 7-day limitation of Taskflows, it is not possible to use Taskflows to group tasks that run forever or more than 7 days.
This utility is built to solve this use case. You can group multiple tasks (is not limited to realtime tasks) into groups. These groups of tasks can be started, stopped, and monitored together. You have options to startAll, startGroup, stopAll, stopGroup, StatusAll, StatusGroup. You can fetch extended status which returns the status of currently running jobs along with the status of their previous runs, can choose to cleanStop a task or abort it.
Features
- Start all MCTs: task-manager -op startAll
- Stop a group with clean stop: task-manager -op stopGroup -gn Group1 -cs Yes
- Get status for all groups: task-manager -op statusAll
- Get extended status for all groups: task-manager -op statusAll -ef
- Enable debug mode: task-manager -op startAll -d