KBThe Opalis Integration Pack for IBM Tivoli Enterprise Console requires that new classes and rules be incorporated into IBM Tivoli Enterprise Console to function properly. This article will review how to install the required rules and classes.

More Information

The IBM Tivoli Enterprise Console application leverages custom rules and classes by providing the ability to create a Rule Base and then import desired classes and rules into that Rule Base. For the purposes of the Integration Pack for IBM Tivoli Enterprise Console it is recommended to create a new Rule Base and to import the Opalis Event classes and rules into that new Rule Base by leveraging the following two files:
opalis.baroc - Provides the class definitions for Opalis Events that are to be created in IBM Tivoli Enterprise Console.
opalis.rls - Provides the rule definitions for Opalis Events that are to be created and updated in IBM Tivoli Enterprise Console.
NOTE: The current release of the Opalis Integration Pack for IBM Tivoli Enterprise Console does not have these files included. This is scheduled to be corrected in the next release. In the meantime, these files can be acquired by opening a Service Request with Microsoft Product Support.


Creating a New Rule Base

To create a new rule base using the Tivoli Command Shell, follow the steps below:

1. On the IBM Tivoli Enterprise Console server, create a new folder where the Opalis Rule Base will be saved (e.g. C:\Opalis_RB).
2. Open a Tivoli Command Shell instance (typically available by clicking on Start->Programs->Tivoli->Tivoli Command Shell).
3. Type wrb -crtrb -path <Rule Base Path> <Rule Base Name> and press Enter (e.g. wrb -crtrb -path C:\Opalis_RB Opalis_RB).
To create a new Rule Base using the Tivoli Desktop, follow the steps below:

1. On the IBM Tivoli Enterprise Console server, create a new folder where the Opalis Rule Base will be saved (e.g. C:\Opalis_RB).
2. Open the Tivoli Desktop application (typically available by clicking on Start->Programs->Tivoli->Tivoli Desktop). Login when prompted.
3. Right-click on EventServer then click on Rule Bases....
4. From the menu bar, click on Create then click on Rule Base....
5. Type in a name for the Rule Base (e.g. Opalis_RB) and a folder path where the Rule Base will be saved (e.g. C:\Opalis_RB).
6. Click on Create & Close.


Importing Class and Rule Definitions

To import Rule and Class definitions using the Tivoli Command Shell, follow the steps below:

1. Copy the opalis.baroc and opalis.rls files to a temporary folder (e.g. C:\Temp).
2. Open a Tivoli Command Shell instance (typically available by clicking on Start->Programs->Tivoli->Tivoli Command Shell).
3. Type wrb -imprbclass <Class File> <Rule Base> and press Enter (e.g. wrb -imprbclass C:/Temp/opalis.baroc Opalis_RB).
4. Type wrb -imprbrule <Rule File> <Rule Base> and press Enter (e.g. wrb -imprbrule C:/Temp/opalis.rls Opalis_RB).
5. Type wrb -imptgtrule opalis EventServer <Rule Base> and press Enter (e.g. wrb -imptgtrule opalis EventServer Opalis_RB).
6. Type wrb -comprules <Rule Base> and press Enter (e.g. wrb -comprules Opalis_RB).
7. Type wrb -loadrb -use <Rule Base> and press Enter (e.g. wrb -loadrb -use Opalis_RB).
8. Restart the EventServer by typing wstopesvr and press Enter then type wstartesvr and press Enter.


To import Rule and Class definitions using the Tivoli Desktop, follow the steps below:

1. Ppen the Tivoli Desktop application (typically available by clicking on Start->Programs->Tivoli->Tivoli Desktop). Login when prompted.
2. Right-click on EventServer then click on Rule Bases....
3. Right-click on the desired Rule Base and click on Import....
4. Under Rule Sets, type in a folder path where the opalis.rls file is located (e.g. C:/Temp/opalis.rls) and click on Import Rule Set.
5. Under Class Definitions, type in a folder path where the opalis.baroc file is located (e.g. C:/Temp/opalis.baroc) and click on Import Class Definitions.
6. Click on Import & Close.
7. Right-click on the desired Rule Base and click on Compile....
8. Click on Compile then when completed, click on Close.
9. Right-click on the desired Rule Base and click on Load....
10. Click on Load and activate the rule base then click on Load & Close.
11. Close the Event Server Rule Bases window.
12. Right-click on EventServer then click on Shut Down.
13. Right-click on EventServer then click on Start-up.

=====

For the latest version of this article see the link below:

KB2491953 - How to install Opalis Integration Pack for IBM Tivoli Enterprise Console Class and Rule definitions

J.C. Hornbeck | System Center Knowledge Engineer

The App-V Team blog: http://blogs.technet.com/appv/
The WSUS Support Team blog: http://blogs.technet.com/sus/
The SCMDM Support Team blog: http://blogs.technet.com/mdm/
The ConfigMgr Support Team blog: http://blogs.technet.com/configurationmgr/
The SCOM 2007 Support Team blog: http://blogs.technet.com/operationsmgr/
The SCVMM Team blog: http://blogs.technet.com/scvmm/
The MED-V Team blog: http://blogs.technet.com/medv/
The DPM Team blog: http://blogs.technet.com/dpm/
The OOB Support Team blog: http://blogs.technet.com/oob/
The Opalis Team blog: http://blogs.technet.com/opalis

clip_image001 clip_image002