A MAP accesses the services of the UMA facility by first establishing a session and then issuing the appropriate MLI calls. A session is a channel of communication over which the MLI sends messages to the UMA facility to set up and control the reporting of data and to receive status and data messages.
Each session has an associated data source, a data destination,
and property flags that specify certain fixed
characteristics of the session; these constitute the session
A session also has certain changeable attributes. These include a session start time, a session end time, a reporting priority, a reporting interval size, and search control attributes. The start time session attribute determines when reporting is to begin. There is an internally maintained session current time that indicates the time of the data interval currently being reported. Nominally, the session current time is initially set to the session start time (subject to constraints imposed by the settings of the certain session search attributes, as will be later described).
A number of UMA-defined data types are used for specifying UMA objects
such as
classes, subclasses, message flags, etc. The type definitions, their
values and valid operator definitions
are incorporated into a MAP by including header file
<uma.h> (see
To ensure interoperability between various implementations that support such enchanced security, the Generic Security Service API (GSS-API) is to be used as the default security API by the UMA DSL for session establishment, and, where desired by administrators, for ensuring per-message integrity and confidentiality. These enhanced security services are optional for both implementers and administrators. This means that implementations are possible that do not support enhanced security and that administrators may select their use or non-use when available by means of installation or configuration options. GSS-API potentially supports a variety of underlying security mechanisms. (See reference GSS).
Messages divide into two groups: data and control. Both
data and control messages contain data items identified by the class and
subclass.
All messages consist of a header and one or more segments. In addition, data messages have an extension header between the header and segments. The header provides the basic information necessary to start extracting information from the message, including the time stamp of the message, the duration (if an interval message), and offsets into the message body bgcolor="#FFFFFF" for the segments. Additionally, the class and subclass of a message are indicated.
The message, its header and segments, include
The type of data is indicated by a flag in the header.
Data segments for both interval and event data can contain the
following:
Each of the data segments begins with an ASN.1/BER tag-length prefix. The location of each segment is specified in the extension header as an offset from a message global start position.
The UMA configuration data describes which classes, subclasses, and data fields are implemented. The system configuration data describes the hardware and software configuration of the system. It includes system parameters statically defined at boot time and hardware status changes such as disk mounts and unmounts.
The class identifies the major grouping (memory, processor, and so on) and subclass provides a specific grouping within class (virtual memory usage, block I/O counters, and so on). The definitions and grouping of data items by these classes and subclasses are documented in the document, Data Pool Definition (see reference DPD).
A MAP initiates ongoing reporting of data for a class and subclass via a umaStart() call. Depending on the specified destination, data may be directed to the MAP itself, to UMADS, or to a file. A MAP may use the umaRequestConfig() call to request one time event data, that is, UMA or system configuration data.
Because of the flexibility and extensibility of UMA messages, a MAP may need to trace through several fields and data structures in the header and extension header to extract the requested segment.
Contents | Next section | Index |