Download Distributed Application Control System (DACS)

Transcript
I D C
Chapter 4:
▼
D O C U M E N T A T I O N
Software
Detailed Design
ticron_server processing is straightforward and creates intervals as a function of
time. The ticron_server interval creation algorithm includes determination of a start
time for the next interval it will create. This start time is a function of the most
recent end time of the last created interval/value noted optionally in the timestamp
table (process 2 in Figure 21 on page 64). Associated end times for each interval
are computed as a function of the target interval size and a user-defined time setback value (process 3 in Figure 20 on page 62). One or more intervals are created
by ticron_server depending on whether the computed new interval of time exceeds
the target interval length (process 4 in Figure 21 on page 64). Completed interval(s) are written to the database and then enqueued into a Tuxedo queue to initiate pipeline processing of the intervals.
ticron_server generates output to log files, the database, Tuxedo queues, and the
scheduler server. Output to the database includes new intervals and updates to the
timestamp table. Upon interval creation, ticron_server enqueues a message contain-
ing interval information into a Tuxedo queue for initiation of a pipeline processing
sequence on the interval. ticron_server completes its interval creation cycle by
sending an acknowledgement SETTIME command to the scheduler server, which
results in rescheduling for the next ticron_server service call.
tin_server
Figure 22 on page 66 shows data and processing flow for tin_server. tin_server
receives input from user-defined parameter files, the database, and the scheduler
server. The parameter files specify all processing details for a given instance of the
data monitor server. Details include database account, class, name, and size of target intervals to be created (for example, HAE, WAKE_GRP, 10 minutes), database
queries, and arrays of time and data count values. These values define the time/
data threshold function for interval creation. The user parameters are used to construct the recurring database queries to determine the time and duration of the last
interval created so that the start time and end time of the next interval can be
established. Initial database input to tin_server includes timestamp and interval
information used to establish the times of the next interval.
Distributed Application Control System (DACS)
72
June 2001
IDC-7.3.1