Availability Guide for Application Design
Instrumenting an Application for Availability
Availability Guide for Application Design—525637-004
8-26
The DSM Subsystem Environment
•
Measure programming uses counters to gather statistics about application
resource usage, enabling integrated reporting of application and system statistics.
Using EMS FastStart to Generate Events
The EMS FastStart product provides a simple, cost-effective way for programmers to
develop and test EMS event messages. The advantage of using EMS FastStart is that
you do not have to understand how to build an EMS tokenized event message to
generate events; you simply generate events as application-level messages that are
converted into EMS messages for you. This technique saves you time and reduces the
chance of errors in creating the messages.
The following paragraphs provide a brief overview of using EMS FastStart to improve
application availability through event generation. For more information on EMS
FastStart, refer to the EMS FastStart Manual.
When to Use EMS FastStart
EMS FastStart provides a comprehensive subset of EMS functions and is suitable for
most application needs. In some cases, however, you might need to use the full
capabilities of EMS instead. You should, for example, generate events using SPI
programming techniques, rather than by using EMS FastStart, if your application has
events with more than one subject, has events that include error lists or tokens from
other subsystems (known as foreign tokens), or uses multiple occurrences of a specific
token in the same event. Refer to Using SPI Programming to Generate Events on
page 8-27 for details.
How EMS FastStart Works
EMS FastStart provides an application configuration file (ACF) in which you set up the
parameters for each event. It uses these parameters to generate EMS event
messages when events occur in your application.
EMS FastStart is a code generator based on TACL that generates and compiles a
number of source files based on your input in the ACF. These source files include:
EGEN A TAL routine that is bound into your application to provide a
high-level interface between your application and EMS. EGEN
uses the information provided in the ACF to generate EMS
event messages and send them to the EMS subsystem in
response to events in your application.
Test program A program that lets you enter event values based on the ACF. It
calls EGEN to generate EMS event messages, allowing you to
try out EGEN and test your filters and templates with your ACF
before your application goes into production.