Coldstart Workflow

  • Published on
    03-Apr-2015

  • View
    103

  • Download
    2

Embed Size (px)

Transcript

<p>Monitoring Workflows By PenchalaRaju.YanamalaThis chapter includes the following topics: Monitoring Workflows Overview Using the Workflow Monitor Customizing Workflow Monitor Options Using Workflow Monitor Toolbars Working with Tasks and Workflows Workflow and Task Status Using the Gantt Chart View Using the Task View Workflow Monitor Tips Monitoring Workflows Overview You can monitor workflows and tasks in the Workflow Monitor. A workflow is a set of instructions that tells an Integration Service how to run tasks. Integration Services run on nodes or grids. The nodes, grids, and services are all part of a domain. With the Workflow Monitor, you can view details about a workflow or task in Gantt Chart view or Task view. You can also view details about the Integration Service, nodes, and grids. The Workflow Monitor displays workflows that have run at least once. You can run, stop, abort, and resume workflows from the Workflow Monitor. The Workflow Monitor continuously receives information from the Integration Service and Repository Service. It also fetches information from the repository to display historic information. The Workflow Monitor consists of the following windows: Navigator window. Displays monitored repositories, Integration Services, and repository objects. Output window. Displays messages from the Integration Service and the Repository Service. Properties window. Displays details about services, workflows, worklets, and tasks. Time window. Displays progress of workflow runs. Gantt Chart view. Displays details about workflow runs in chronological (Gantt Chart) format. Task view. Displays details about workflow runs in a report format, organized by workflow run. The Workflow Monitor displays time relative to the time configured on the Integration Service machine. For example, a folder contains two workflows. One workflow runs on an Integration Service in the local time zone, and the other runs on an Integration Service in a time zone two hours later. If you start both workflows at 9 a.m. local time, the Workflow Monitor displays the start time as 9 a.m. for one workflow and as 11 a.m. for the other workflow.</p> <p>Using the Workflow Monitor The Workflow Monitor provides options to view information about workflow runs. After you open the Workflow Monitor and connect to a repository, you can view dynamic information about workflow runs by connecting to an Integration Service. You can customize the Workflow Monitor display by configuring the maximum days or workflow runs the Workflow Monitor shows. You can also filter tasks and Integration Services in both Gantt Chart and Task view. Complete the following steps to monitor workflows: 1.Open the Workflow Monitor. 2.Connect to the repository containing the workflow. 3.Connect to the Integration Service. 4.Select the workflow you want to monitor. 5.Select Gantt Chart view or Task view. Opening the Workflow Monitor You can open the Workflow Monitor in the following ways: Select Start &gt; Programs &gt; Informatica PowerCenter [version] &gt; Client &gt;Workflow Monitor from the Windows Start menu. Configure the Workflow Manager to open the Workflow Monitor when you run a workflow from the Workflow Manager. Click Tools &gt; Workflow Monitor from the Designer, Workflow Manager, or Repository Manager. Or, click the Workflow Monitor icon on the Tools toolbar. When you use a Tools button to open the Workflow Monitor, PowerCenter uses</p> <p>the same repository connection to connect to the repository and opens the same folders. You can open multiple instances of the Workflow Monitor on one machine using the Windows Start menu. To open the Workflow Monitor when you start a workflow: 1.In the Workflow Manager, click Tools &gt; Options. 2.In the General tab, select Launch Workflow Monitor When Workflow Is Started. To open the Workflow Monitor from the Workflow Manager: 1.In the Workflow Manager, connect to a repository. In the Navigator, right-click an Integration Service or a repository and select 2.Run Monitor. The Workflow Monitor appears. Connecting to a Repository When you open the Workflow Monitor, you must connect to a repository. Connect to repositories by clicking Repository &gt; Connect. Enter the repository name and connection information. After you connect to a repository, the Workflow Monitor displays a list of Integration Services available for the repository. The Workflow Monitor can monitor multiple repositories, Integration Services, and workflows at the same time. Note: If you are not connected to a repository, you can remove the repository from the Navigator. Select the repository in the Navigator and click Edit &gt; Delete. The Workflow Monitor displays a message verifying that you want to remove the repository from the Navigator list. Click Yes to remove the repository. You can connect to the repository again at any time. Connecting to an Integration Service When you connect to a repository, the Workflow Monitor displays all Integration Services associated with the repository. This includes active and deleted Integration Services. To monitor tasks and workflows that run on an Integration Service, you must connect to the Integration Service. In the Navigator, the Workflow Monitor displays a red icon over deleted Integration Services. To connect to an Integration Service, right-click it and select Connect. When you connect to an Integration Service, you can view all folders that you have permission for. To disconnect from an Integration Service, right-click it and select Disconnect. When you disconnect from an Integration Service, or when the Workflow Monitor cannot connect to an Integration Service, the Workflow Monitor displays disconnected for the Integration Service status. The Workflow Monitor is resilient to the Integration Service. If the Workflow Monitor loses connection to the Integration Service, LMAPI tries to reestablish</p> <p>the connection for the duration of the PowerCenter Client resilience time-out period. After the connection is reestablished, the Workflow Monitor retrieves the workflow status from the repository. Depending on your Workflow Monitor advanced settings, you may have to reopen the workflow to view the latest status of child tasks. You can also ping an Integration Service to verify that it is running. Right-click the Integration Service in the Navigator and select Ping Integration Service. You can view the ping response time in the Output window. Note: You can also open an Integration Service in the Navigator without connecting to it. When you open an Integration Service, the Workflow Monitor gets workflow run information stored in the repository. It does not get dynamic workflow run information from currently running workflows. Filtering Tasks and Integration Services You can filter tasks and Integration Services in both Gantt Chart view and Task view. Use the Filters menu to hide tasks and Integration Services you do not want to view in the Workflow Monitor. Filtering Tasks You can view all or some workflow tasks. You can filter tasks you do not want to view. For example, if you want to view only Session tasks, you can hide all other tasks. You can view all tasks at any time. You can also filter deleted tasks. To filter deleted tasks, click Filters &gt; Deleted Tasks. To filter tasks: 1.Click Filters &gt; Tasks. The Filter Tasks dialog box appears. 2.Clear the tasks you want to hide, and select the tasks you want to view. 3.Click OK. Note: When you filter a task, the Gantt Chart view displays a red link between tasks to indicate a filtered task. You can double-click the link to view the tasks you hid. Filtering Integration Services When you connect to a repository, the Workflow Monitor displays all Integration Services associated with the repository. You can filter out Integration Services to view only Integration Services you want to monitor. When you hide an Integration Service, the Workflow Monitor hides the Integration Service from the Navigator for the Gantt Chart and Task views. You can show the Integration Service again at any time.</p> <p>You can hide unconnected Integration Services. When you hide a connected Integration Service, the Workflow Monitor asks if you want to disconnect from the Integration Service and then filter it. You must disconnect from an Integration Service before hiding it. To filter Integration Services: In the Navigator, right-click a repository to which you are connected and select 1.Filter Integration Services. -orConnect to a repository and click Filters &gt; Integration Services. The Filter Integration Services dialog box appears. Select the Integration Services you want to view and clear the Integration 2.Services you want to filter. Click OK. If you are connected to an Integration Service that you clear, the Workflow Monitor prompts you to disconnect from the Integration Service before filtering. 3.Click Yes to disconnect from the Integration Service and filter it. The Workflow Monitor hides the Integration Service from the Navigator. Click No to remain connected to the Integration Service. If you click No, you cannot filter the Integration Service. Tip: To filter an Integration Service in the Navigator, right-click it and select Filter Integration Service. Opening and Closing Folders You can select which folders to open and close in the Workflow Monitor. When you open a folder, the Workflow Monitor displays the number of workflow runs that you configured in the Workflow Monitor options. You can open and close folders in the Gantt Chart and Task views. When you open a folder, it opens in both views. To open a folder, right-click it in the Navigator and select Open. Or, you can double-click the folder. Related Topics: Configuring General Options Viewing Statistics You can view statistics about the objects you monitor in the Workflow Monitor. Click View &gt; Statistics. The Statistics window displays the following information: Number of opened repositories. Number of repositories you are connected to in the Workflow Monitor. Number of connected Integration Services. Number of Integration Services you connected to since you opened the Workflow Monitor. Number of fetched tasks. Number of tasks the Workflow Monitor fetched from the repository during the period specified in the Time window. You can also view statistics about nodes and sessions. Related Topics: Viewing Integration Service Properties</p> <p>Viewing Session Statistics Viewing Properties You can view properties for the following items: Tasks. You can view properties, such as task name, start time, and status. For more information about viewing Task progress, see Viewing Task Progress Details. For information about viewing command task details, see Viewing Command Task Run Properties. For information about viewing session task details, see Viewing Session Task Run Properties. Sessions. You can view properties about the Session task and session run, such as mapping name and number of rows successfully loaded. You can also view load statistics about the session run. For more information about session details, see Viewing Session Task Run Properties. You can also view performance details about the session run. For more information, see Viewing Performance Details. Workflows. You can view properties such as start time, status, and run type. For more information about viewing workflow details, see Viewing Workflow Run Properties. Links. When you double-click a link between tasks in Gantt Chart view, you can view tasks that you filtered out. Integration Services. You can view properties such as Integration Service version and startup time. You can also view the sessions and workflows running on the Integration Service. For more information about viewing Integration Service details, see Viewing Integration Service Properties. Grid. You can view properties such as the name, Integration Service type, and code page of a node in the Integration Service grid. You can view these details in the Integration Service Monitor. For more information about the Integration Service Monitor, see Viewing Integration Service Properties. Folders. You can view properties such as the number of workflow runs displayed in the Time window. For more information about viewing folder details, see Viewing Repository Folder Details. To view properties for all objects, right-click the object and select Properties. You can right-click items in the Navigator or the Time window in either Gantt Chart view or Task view. To view link properties, double-click the link in the Time window of Gantt Chart view. When you view link properties, you can double-click a task in the Link Properties dialog box to view the properties for the filtered task. Customizing Workflow Monitor Options You can configure how the Workflow Monitor displays general information, workflows, and tasks. You can configure general tasks such as the maximum number of days or runs that the Workflow Monitor appears. You can also configure options specific to Gantt Chart and Task view. Click Tools &gt; Options to configure Workflow Monitor options. You can configure the following options in the Workflow Monitor:</p> <p>General. Customize general options such as the maximum number of workflow runs to display and whether to receive messages from the Workflow Manager. See Configuring General Options. Gantt Chart view. Configure Gantt Chart view options such as workspace color, status colors, and time format. See Configuring Gantt Chart View Options. Task view. Configure which columns to display in Task view. See Configuring Task View Options. Advanced. Configure advanced options such as the number of workflow runs the Workflow Monitor holds in memory for each Integration Service. See Configuring Advanced Options. Configuring General Options You can customize general options such as the maximum number of days to display and which text editor to use for viewing session and workflow logs. Table 21-1 describes the options you can configure on the General tab: Table 21-1. Workflow Monitor General Tab Setting Maximum Days Maximum Workflow Runs per Folder Receive Messages from Workflow Manager Receive Notifications from Repository Service Description Number of tasks the Workflow Monitor displays up to a maximum number of days. Default is 5. Maximum number of workflow runs the Workflow Monitor displays for each folder. Default is 200. Select to receive messages from the Workflow Manager. The Workflow Manager sends messages when you start or schedule a workflow in the Workflow Manager. The Workflow Monitor displays these messages in the Output window. Select to receive notification messages in the Workflow Monitor and view them in the Output window. You must be connected to the repository to receive notifications. Notification messages include information about objects that another user creates, modifies, or delete. You receive notifications about folders and Integration Services. The Repository Service notifies you of the changes so you know objects you are working with may be...</p>