Chapter 6. Autonomic Management Engine and resource models 199
6.2 Resource models
A resource model is a package defining how an Autonomic Management Engine
should handle a specific resource. It contains information about how to collect
data about the resource and how to handle the possible events relating to the
resource.
Before starting to create resource models, you should consider how much the
resource models will cover. Figure 6-5 shows a high-level overview of different
components. The advantage of gathering everything in one resource model is
that all relevant information can be taken into consideration when analyzing a
problem. However, the resource model might become difficult to develop and
maintain as it handles several different situations.
Figure 6-5 Resource model components
The resource model is a combination of various conditions, criteria, and
information about the target to be monitored, trigger conditions, events, and
actions based on the events. The resource model retrieves information about a
monitored resource through various interfaces such as Common Information
Model (CIM) and ShellCmd (shell commands). A resource model acts as a
bridge between sensors and effectors in the autonomic architecture. In fact, a
resource model defines and provides the logic for the monitoring, analysis, plan,
and execute phases of the MAPE control loop. Higher-level facilities can be used
to provide these services for solutions or complex combinations of individual
resources.
Figure 6-6 on page 200 shows how the resource model (RM) components relate
to the Autonomic Management Engine (AME) structure.
Resource Model Template
General Settings
CIM Classes
Thresholds
Logging
Dependencies
Parameters
Class Probes
Events
Source (Decision Tree Script)
MOF File
ILT class definition
200 Problem Determination Using Self-Managing Autonomic Technology
Figure 6-6 Autonomic Management Engine and resource model relationship
The Resource Model Builder has the following building blocks, which are
described in the following sections:
򐂰 General settings
򐂰 Common Information Model (CIM) classes
򐂰 Classic probes
򐂰 Events
򐂰 Thresholds
򐂰 Parameters
򐂰 Logging
򐂰 Dependencies
򐂰 Source (decision tree script)
The relationship between the components of the resource model and the building
blocks of the Resource Model Builder is shown in Figure 6-7 on page 201.
AME
Action Laucher Decision Algorithms
CIM M12 / ILT
Analyzer
Message BUS
Aggregator
Event Sinks
CIMOM
ShellCmd
Service Objects
Embedded
DB
Logging
Aggregation
Events
Action
Data
Source
Action
Data
Source
Dependencies
Parameters Thresholds
Action Manager
Action
Events Dispatcher
Notifications
Chapter 6. Autonomic Management Engine and resource models 201
Figure 6-7 Resource model components and Resource Model Builder
To create a resource model, the IBM Autonomic Computing Toolkit provides the
Resource Model Builder, as described in 6.2.1, “Resource Model Builder” on
page 202. All the components of the resource model are described from the
Resource Model Builder point of view.
The following sections provide descriptions of the different components of the
resource model and the Resource Model Builder. Refer to 8.2.1, “Creating the
Eclipse project” on page 261 for implementation information.
When the resource model is completed, it has to be bundled into a package that
can be installed in an Autonomic Management Engine. This is described in
Chapter 8, “Problem Determination scenario one” on page 259.
Data Source
Thresholds
Parameters
Logging
Dependencies
Events
Notifications
Actions
Aggregations
Decision
Algorithms
Resource Model
Builder
Resource Model
Components
Events
Thresholds
Parameters
Logging
Dependencies
CIM Classes
Classic Probes
Decision
Algorithms
General Settings
Name
Platform
Cycle Time
202 Problem Determination Using Self-Managing Autonomic Technology
6.2.1 Resource Model Builder
The Resource Model Builder provided with the IBM Autonomic Computing Toolkit
is used to build resource models. The IBM Autonomic Computing Toolkit provides
an Eclipse-based editor plug-in that can be installed onto an Eclipse framework.
The Resource Model Builder (RMB) plug-in tool can be used for creating,
modifying, and packaging resource models for use with the Autonomic
Management Engine (AME).
Installation
After installing the Eclipse V3.0.1, EMF Plug-in V2.0.1, XSD Plug-in V2.0.1
development kit, install the editor plug-ins provided by the IBM Autonomic
Computing Toolkit for the Resource Model Builder.
To install these plug-ins, perform the following steps:
1. Extract the contents of the RMB_v1-1-3_win32.zip file into your Development
Kit folder from the prerequisite installation.
2. Click Yes to All when prompted to overwrite the files.
The installation of the plug-ins is complete when the copying finishes.
The following sections focus on different components of a resource model in the
Resource Model Builder. For a full description of what the Resource Model
Builder is capable of and how it works, see IBM Tivoli Monitoring Resource
Model Builder Users Guide, SC32-1391.
Resource Model Builder general settings
To create an empty resource model using the Resource Model Builder, follow
these steps:
1. To start the Eclipse, select Start Programs IBM Autonomic
Computing Toolkit Developmentkit Start Eclipse.
2. Open the Tivoli Management Perspective by selecting Window Open
Perspective Other Tivoli Management Perspective.
3. Create a new Tivoli Management Project by selecting File New Project
and then selecting Tivoli Management Project, as shown in Figure 6-8 on
page 203.

Get Problem Determination Using Self-Managing Autonomic Technology now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.