Oracle® Business Activity Monitoring Administrator's Guide 10g (10.1.3.1.0) Part Number B28991-01 |
|
|
View PDF |
This chapter describes the tools you can use to keep track of Plan Monitors.
This chapter contains the following topics:
Using Plan Monitors, you can monitor Plans that you created in Design Studio. In Administrator, you can view the status of monitored Plans, view information about the Data Flow Service that runs the monitored Plans, and stop Plans that are running.
You can also view the status of the Plan Monitor Service. This shows how many Plans the Plan Monitor Service is monitoring and how many monitored Plans are currently running. This information is saved in a system data object named Plan Monitor Service Status.
You can install multiple Plan Monitors for implementations that run large numbers of Plans. For more information see the Oracle Business Activity Monitoring Installation Guide.
Before running the Plan Monitor Service, you must start the following services:
Oracle BAM Data Flow Service
Oracle BAM Active Data Cache
Database service containing the Enterprise Link Repository
If you start or restart the Data Flow Service, you must go to Control Panel > Services and restart the Oracle BAM Plan Monitor Service.
To view the Plan Monitor status:
Select Plan Monitor from the list.
You can view the Plan Monitor Status information as described in Table 9-1.
Click Refresh status display to update the display after changes occur.
You can view the status of monitored Plans. This information is saved in a system data object named Plan Monitor Plan Status.
To view Plan status:
Select Plan Monitor from the list.
Click Status of monitored Plans.
The Plan Status window opens. Table 9-2 describes the Plan status information displayed on the screen.
Table 9-2 Plan Status
Item | Description |
---|---|
Last status change |
Time of last status change |
Plan name |
Plan name |
Current Status |
Most recent results of monitoring the Plan, such as New, Running, StartFailed, RestartFailed, Failed, Completed, AwaitingRestart, StopRequested, StopFailed. |
DFS Request ID |
Identifies the current running of the Plan. Use this number in the Data Flow Service Status page to stop a Plan from running. |
Restarts after completion |
The number of times the Plan has restarted by the Plan Monitor after completion. |
Restarts after failure |
The number of times the Plan has been restarted by the Plan Monitor after failure. |
Message |
Displays a status message or error message related to latest event. |
You can select Plans to be monitored in the Plan settings windows. After you enable Plan monitoring for a specific Plan, you can select other options such as the action to take after a Plan completes or fails.
To enable Plan Monitoring for a specific Plan:
Select Plan Monitor from the list.
Click Plan settings.
The Plan Settings window displays.
Next to a Plan name, click the Mon check box to turn on monitoring for that Plan.
In the Completion Action column, select an action such as Always restart on completion, Do not restart on completion, Limit restart on completion to X times, maximum.
In the Failure Action column, select an action such as Always restart on failure, Do not restart on failure, Limit restart on failure to X times, maximum.
In the Max Restart Frequency column, select either No limit on frequency or Limit frequency to no more than once every X minutes.
This setting does not give you control over the plan execution frequency. There is no way to do this from a Plan Monitor level because you cannot predict how long the Data Flow Service needs to run the Plan (based on plan structure and Data Flow Service resource usage, and so on). However, you can create alerts in Architect or Active Studio to run a plan every x minutes. This will start a new instance of a Plan, which means there could be more than one instance of a Plan running if their execution times are longer than their alert trigger times.
In the Monitor Service column, select the name of the Plan Monitor service you want this Plan to use. This is useful in the case of multiple Plan monitors.
Click Save Changes and close the window.
You can view the status and connection information about the Data Flow Service. You cannot edit Data Flow Service configuration from Administrator.
To view the Data Flow Service status:
Select Plan Monitor from the list.
Select Data Flow Service status.
The Data Flow Service Status window displays.
Table 9-3 Data Flow Service Status Information
Item | Description |
---|---|
Client Sessions |
The users connected, including the Plan Monitor Service. |
Executions |
Lists the manual and monitored Plans that have been run or are currently running. |
Cached Result |
Each entry shows the Plan that was run, the Plan ID, and the status of running the Plan. |
You can stop a Plan that is running. You must identify the Plan that you want to stop by its Request ID. You locate the Request ID if the Plan has recently run by viewing the information in the Data Flow Service status window, the Plan Monitor Journal window, or the Status of Monitored Plans window.
To stop a running Plan:
Select Plan Monitor from the list.
Click Data Flow Service status.
Click Request that a running Plan be stopped.
A dialog displays.
Enter the Request ID for the Plan, and click OK. For example, {E57092EB-0799-4A2C-A321-AC20A7BA2DC0} including the curly brackets.
A message displays in the Data Flow Service status window that a stop has been requested. To confirm that the Plan stopped, check the Data Flow Service Status window. If it is a monitored Plan, you can also view the Plan Monitor Journal or the Status of Monitored Plans.
You can request a Plan settings check to check for new settings. Depending on the number of Plans in the system, Plan settings check may take several minutes.
To request a Plan settings check:
Select Plan Monitor from the list.
Click Request Plan settings check.
A confirmation window displays.
Click Close to close the window.
You can open the Plan Monitor journal to view summary information on Plans, such as when they were run and if they failed or completed without errors. When Plans fail, the error text is displayed in the Plan Monitor journal. The Plan Monitor journal also records the status changes of the Plan Monitor Service, such as starting, stopping, and errors. This information is saved in a system data object named Plan Monitor Journal.
To view the Plan Monitor journal:
Select Plan Monitor from the list.
Select Plan Monitor Journal.
The Plan Monitor Journal window displays. Table 9-4 describes the information displayed in the Plan Monitor Journal.
Table 9-4 Plan Monitor Journal Information
Item | Description |
---|---|
Event Time |
The time the event occurred. |
Event Code |
The code that describes the event type, such as Normal, Error, PlanStartFailed, PlanRestartFailed, PlanStarted, PlanRestarted, PlanFailed, PlanCompleted, PlanRestartMax, PlanStopFailed, PlanStopRequested. |
Event Text |
Status message or error message information. |
You can create Alerts against the system data objects for Plan Monitor which are very useful because they immediately notify you of a plan failure or Plan Monitor service failure and you can take action right away. This is very useful with real time plans where the plans must always be running. Otherwise, there is no visibility to these occurrences, other than the administrator periodically checking the statuses of Plan Monitor in Administrator. For more information about configuring Alerts see the Oracle Business Activity Monitoring Architect User's Guide or the Oracle Business Activity Monitoring Active Studio User's Guide.