414 IBM Tivoli Storage Resource Manager: A Practical Introduction
Figure 8-2 Tivoli Lab environment
The machines used in the setup are:
򐂰 To nga
Windows 2000 SP3
Tivoli Management Framework 4.1
Tivoli Enterprise Console 3.8 FP1
Tivoli Configuration Manager 4.2
Tivoli Monitoring 5.1.1 FP3
򐂰 Palau
Windows 200 SP3
Tivoli Enterprise Data Warehouse 1.1 FP2
All the other machines in the lab are running the Tivoli Light Client Framework (LCF) code,
which is the basis for all Tivoli Management activities.
8.3 Configuring the Rule Base
In order to receive events from IBM Tivoli Storage Resource Manager in a TEC server, the
event class definitions which IBM Tivoli Storage Resource Manager uses must be imported to
the TEC server. If you do not import them, events will not show up on your TEC console and
parsing errors will appear in the TEC reception log. You can determine if your events are
received by the TEC server (but the definitions are not there) by issuing the
wtdumprl
command on your TEC server. If you see any parsing errors (Example 8-1) on IBM Tivoli
Storage Resource Manager events, then you have not imported the class definitions.
ibm.com/redbooks
Component placement
Component placement
Ethernet
Tivoli Desktop
Tivoli Enterprise Console Console
Tivoli SAN Manager Agent
Win2k
Tivoli SAN Manager Agent
AIX
Tivoli Managed Region Server (TMR)
DB2
Tivoli Configuration Manager
Tivoli Monitoring
Tivoli Enterprise Data Warehouse
Tivoli SAN Manager Agent
Win2k
Tivoli Enterprise Console
Tivoli Light Client
Framework (LCF)
Tivoli Light Client
Framework (LCF)
Tivoli Light Client
Framework (LCF)
Chapter 8. Integration with Tivoli Enterprise Console 415
Example 8-1 Output of wtdumprl when baroc has not been imported
1~3467~1~1054831782(Jun 05 09:49:42 2003)
### EVENT ###
JobFailure;adapter_host=wisla;messageID=ALR1339W;scheduleRun='9';scheduleName='T
ivoli.Default Probe';alertType='Scheduled Job Failed';scheduleType='Probe';msg='
A scheduled job has failed.';END
### END EVENT ###
PARSING FAILED
To import the event class definitions, open the Tivoli Desktop and double click the Event
Server
icon. In the window (Figure 8-3) you see the defined rule bases, with the active one
highlighted by an arrow.
Figure 8-3 Active Rule Base
Choose the active rule base and right-click it. Select Import (Figure 8-4).
Figure 8-4 Import Rule Base
Select the check-box Import Class Definitions and enter the fully qualified path to the
definitions file. This file is on the IBM Tivoli Storage Resource Manager CD and is called
tivoliSRM.baroc. (Our example uses a copy of this file on disk.)
416 IBM Tivoli Storage Resource Manager: A Practical Introduction
The Position to insert depends on how many events you expect to receive from IBM Tivoli
Storage Resource Manager, and on the hierarchical dependencies inside the class structure.
Since the IBM Tivoli Storage Resource Manager classes depend only on the root EVENT, you
can put it right after that event class. However, since classes are matched from the top to
bottom, put the busiest event classes higher in the hierarchy rather than the less busy
classes. For example, we put it at the very bottom, because we do not expect very many
events (Figure 8-5).
Figure 8-5 Import Class Definitions
After the class definitions are imported, we must compile the rule base to incorporate the
changes (as shown in Figure 8-6).
To compile, right-click the active rule base icon and select
Compile.
Chapter 8. Integration with Tivoli Enterprise Console 417
Figure 8-6 Compile Rule Base
Carefully check the output for any compilation errors. If there were none, load the rule base
(Figure 8-7). You must recycle the event server whenever you make any changes to the class
definitions. If you only changed rules, then recycling the event server is not necessary.
Figure 8-7 Load Rule Base
Stop and start the Event Server by right-clicking the icon on your Tivoli Desktop (Figure 8-8).

Get IBM Tivoli Storage Resource Manager: A Practical Introduction now with O’Reilly online learning.

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