Using real-time analysis to select a target region for workload routing

Use CICSPlex® SM's real-time analysis functions to produce data that will help in the selection of a target region during workload routing.

The number of items on the temporary storage queue will be monitored for each target region to which work can be routed. When the number of items rises above 50, a real-time analysis event notification (severity HS) and an external message will be issued. When an event notification is issued, CICSPlex SM's workload-routing function is notified and uses the information, in addition to the standard queue algorithm criteria, in selecting the best target region.

A CICS system group CSGTGTS3 has already been created and contains four target regions (CICSPA01, CICSPA02, CICSPA03, and CICSPA04). The target regions are currently running. Work is currently being routed among these target regions by the routing region CICSPT03.
  1. Create a real-time analysis evaluation definition:
    • From the main menu, click Administration > RTA MAS resource monitoring > Evaluations. This opens the Evaluation definitions tabular view, listing any evaluation definitions already created in PLXPROD1.

      If the current context is not PLXPROD1, specify PLXPROD1 in the Context field and click Refresh.

    • Click the Create... button, and provide the following information:
    • Click Yes to create the new evaluation definition.
  2. Create a real-time analysis action definition:
    • From the main menu, click Administration > RTA MAS resource monitoring > Actions. This opens the Action definitions view.
    • Click the Create... button, and provide the following information:
    • Click Yes to create the new RTA action definition. The Action definitions tabular view is redisplayed.
  3. Create an analysis definition:
    • From the main menu, click Administration > RTA MAS resource monitoring > Definitions. This opens the RTA definitions view.
    • Click the Create... button, and provide the following information:
    • Click Yes to create the new analysis definition. The Analysis definitions tabular view is redisplayed.
  4. Create an analysis group:
    • From the main menu, clickAdministration > RTA MAS resource monitoring > Groups. This opens the RTA groups tabular view.
    • Click the Create... button, and provide the following information:
    • Click Yes to create the new analysis group. The RTA groups tabular view is redisplayed.
  5. Add the analysis definition to the analysis group:
    • From the main menu, click Administration > RTA MAS resource monitoring > Definitions. This opens the RTA definitions view.
    • Click the record check box beside the entry for RTDPAY15 and click the Add to RTA group... button. The Add to RTA group view is displayed
    • In the Resource group name field type RTGPAY09 and click Yes. The RTA definitions tabular view is redisplayed
  6. Create an analysis specification:
    • From the main menu, click Administration > RTA MAS resource monitoring > Specifications. This opens the RTA specifications tabular view.
    • Click the Create... button, and provide the following information:
    • Click Yes and the RTA specifications tabular view is redisplayed, listing the new RTA specification.
  7. Add the analysis group to the analysis specification:
    • From the main menu, click Administration > RTA MAS resource monitoring > Groups. This opens the RTA groups tabular view.
    • Click the record check box beside the entry for RTGPAY09 and click the Add to RTA specification... button. The Add to RTA specification view is displayed
    • In the RTA specname field, type RTSPAY09 and click Yes. The RTA groups tabular view is redisplayed
  8. Set the scope of the analysis specification.:
    • From the main menu, click Administration > RTA MAS resource monitoring > Specifications. This opens the RTA specifications tabular view.
    • Click the record check box beside the entry for RTGPAY09 and click the Associate CICS group... button. The Associate CICS group view is displayed
    • In the CICS system group field, type CSGTGTS3 and select the Force option. Click Yes and the RTA specifications tabular view is redisplayed.
  9. Activate real-time analysis in the target regions in CSGTGTS3:
    • From the main menu, click Administration > RTA system availability monitoring > CICS system definitions. This opens the CICS system definitions tabular view.
    • Click the record check box beside the entry for CICS system CICSPA01, click the Update... button, and provide the following information:
    • Click Yes to confirm the change. The CICS system definition is updated and the change, which is permanent, takes immediate effect. You do not have to restart CICS® system CICSPA01. Repeat this step for the target regions CICSPA02, CICSPA03, and CICSPA04.
  10. The workload specification WLSPAY02 is already being used for workload routing among the target regions in CSGTGTS3. You must update the specification to add the real-time analysis data to the standard target region selection criteria. To update the workload specification:
    • From the main menu, click Administration > Workload manager administration > Specifications. This opens theWLM specifications tabular view.
    • Click the record check box beside the entry for WLSPAY02, click the Update... button, and provide the following information:
    • Click Yes to update the specification.

    Notice that the RTA event field value is the name of the analysis definition you created in step 3.

When the routing region CICSPT03 and the target regions in CICS system group CSGTGTS3 are next started, the routing region routes transactions among the target regions using both the standard queue algorithm criteria and the analysis definition RTDPAY15 to select a target region.