Tib Be Installation
Tib Be Installation
Tib Be Installation
Installation
Software Release 3.0.1
November 2008
Contents
Preface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . vii
Enterprise Suite and Inference Edition Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . viii
Related Documentation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ix
TIBCO Product Documentation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ix
Other TIBCO Product Documentation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . x
Typographical Conventions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xi
How to Contact TIBCO Support. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xiv
Index . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 67
Preface
Topics
Related Documentation
Typographical Conventions
Convention Use
TIBCO_HOME Many TIBCO products must be installed within the same home directory. This
BE_HOME directory is referenced in documentation as TIBCO_HOME. The value of
TIBCO_HOME depends on the operating system. For example, on Windows
systems, the default value is C:\tibco.
Other TIBCO products are installed into an installation environment.
Incompatible products and multiple instances of the same product are installed
into different installation environments. The directory into which such products
are installed is referenced in documentation as ENV_HOME. The value of
ENV_HOME depends on the operating system. For example, on Windows
systems the default value is C:\tibco.
TIBCO BusinessEvents installs into a version-specific directory within
TIBCO_HOME. This directory is referenced in documentation as BE_HOME. The
value of BE_HOME depends on the operating system. For example on Windows
systems, the default value is C:\tibco\be\3.0.
code font Code font identifies commands, code examples, filenames, pathnames, and
output displayed in a command window. For example:
Use MyCommand to start the foo process.
Convention Use
italic font Italic font is used in the following ways:
• To indicate a document title. For example: See TIBCO BusinessWorks Concepts.
• To introduce new terms For example: A portal page may contain several
portlets. Portlets are mini-applications that run in a portal.
• To indicate a variable in a command or code syntax that you must replace.
For example: MyCommand pathname
Key Key name separated by a plus sign indicate keys pressed simultaneously. For
combinations example: Ctrl+C.
Key names separated by a comma and space indicate keys pressed one after the
other. For example: Esc, Ctrl+Q.
The note icon indicates information that is of special interest or importance, for
example, an additional action required only in certain circumstances.
The tip icon indicates an idea that could be useful, for example, a way to apply
the information provided in the current section to achieve a specific result.
The warning icon indicates the potential for a damaging situation, for example,
data loss or corruption if certain steps are taken or not taken.
Convention Use
[ ] An optional item in a command or code syntax.
For example:
MyCommand [optional_parameter] required_parameter
| A logical ’OR’ that separates multiple items of which only one may be chosen.
For example, you can select only one of the following parameters:
MyCommand param1 | param2 | param3
Convention Use
{ } A logical group of items in a command. Other syntax notations may appear
within each logical group.
For example, the following command requires two parameters, which can be
either the pair param1 and param2, or the pair param3 and param4.
MyCommand {param1 param2} | {param3 param4}
In the next example, the command requires two parameters. The first parameter
can be either param1 or param2 and the second can be either param3 or param4:
MyCommand {param1 | param2} {param3 | param4}
In the next example, the command can accept either two or three parameters.
The first parameter must be param1. You can optionally include param2 as the
second parameter. And the last parameter is either param3 or param4.
MyCommand param1 [param2] {param3 | param4}
For comments or problems with this manual or the software it addresses, please
contact TIBCO Support as follows.
• For an overview of TIBCO Support, and information about getting started
with TIBCO Support, visit this site:
http://www.tibco.com/services/support
• If you already have a valid maintenance or support contract, visit this site:
https://support.tibco.com
Entry to this site requires a user name and password. If you do not have a user
name, you can request one.
Topics
Installer Overview
The installer allows you to run in different modes. Each mode is supported on all
platforms.
• GUI mode
• Console mode
• Silent mode
GUI Mode
In GUI mode, the installer presents panels that allow you to make choices about
product selection, product location, and so on. When you run the installer by
double-clicking on the icon, GUI mode is used.
Console Mode
Console mode allows you to run the installer from the command prompt or
terminal window. This is useful if your machine does not have a Windows
environment.
Silent Mode
Silent mode either installs using default settings or uses a response file that was
saved during an earlier installation. Silent mode installs without prompting you
for information.
• If no response file has been recorded earlier and you run the installer with the
-silent argument, the default installation parameters are used.
• If a response file exists, and the installer is started with -options responseFile as
an argument, the installer uses the values specified by the user when the
response file was generated.
Installer Options
Enterprise Suite
Custom installation is not available in this partial installer release. The installer
installs the following components:
• Server—The BusinessEvents runtime engine.
• Workbench—A TIBCO Designer palette of BusinessEvents resources.
Inference Edition
Custom installation is not available in this partial installer release. The installer
installs the following components:
• Server—The BusinessEvents runtime engine.
• Workbench—A TIBCO Designer palette of BusinessEvents resources.
• TIBCO ActiveMatrix BusinessWorks 5.x Plug-in—A TIBCO Designer palette
of activities that enables communication between BusinessEvents and
ActiveMatrix BusinessWorks. (When you select this option, BusinessEvents
Workbench and Server are also automatically selected.)
• Documentation—TIBCO BusinessEvents documentation. The doc folder
contains an HTML and a PDF folder. If you do not install documentation, this
folder is not included in the installation.
If another product is dependent on the product you wish to uninstall, you are
informed that you must uninstall the other product first.
Microsoft Windows
Use one of the following to uninstall TIBCO BusinessEvents:
• Click Start>Programs>TIBCO>TIBCO BusinessEvents version >Uninstall
• Use Add/Remove Programs from the Control Panel.
• Navigate to the _uninst directory located in the TIBCO BusinessEvents home
directory and run the Tibuninstall.exe program.
UNIX Systems
Navigate to the _uninst directory located in the TIBCO BusinessEvents home
directory and run the Tibuninstall.bin program.
Depending on the tasks you wish to perform, you must install one or more
third-party products and additional TIBCO products.
RDBMS
Backing store is an optional feature. Cache-based object management with a
persistent backing store has been tested with Oracle 10g Enterprise Edition
Release 10.2.0 using the following drivers:
• TIBCO's Oracle driver
• Oracle Thin Driver
Component Purpose
TIBCO Runtime Agent Required for all BusinessEvents installations.
5.5, 5.6
TIBCO Runtime Agent supplies a number of TIBCO and third-party
libraries used by TIBCO BusinessEvents and other TIBCO products
both at design time and runtime. This includes, for example, TIBCO
Rendezvous software.
Note If you are installing on HP-UX and plan to use the hot deployment
feature, you must either download a later version of JRE than the
version provided in TIBCO Runtime Agent 5.5.0, or upgrade to TIBCO
Runtime Agent 5.5.1 See HP-UX Installations—Configuration for Hot
Deployment Feature on page 33 for more details.
BusinessEvents requires JRE 1.5 or JRE 6. (JRE is provided with TIBCO
Runtime Agent.)
Note JRE 6 (also known as 1.6.0) is supported only with TIBCO
Runtime Agent 5.6.0. With JRE 6, buildear works only with TIBCO
Runtime Agent 5.6.0 Hotfix 2.
TIBCO Designer 5.5, 5.6 TIBCO Designer is an easy to use graphical user interface required for
design-time configuration of TIBCO BusinessEvents.
TIBCO Designer is installed as part of the TIBCO Runtime Agent
installation.
Component Purpose
TIBCO Administrator Optional. However, TIBCO Administrator provides additional
5.4, 5.6 functionality such as monitoring.
TIBCO Administrator is available as a separate installation and does not
need to be installed on the same machine as BusinessEvents. You can
install TIBCO Administrator before or after installing BusinessEvents.
TIBCO Administrator includes the following modules:
• User Management. Management of authentication, roles and users,
that is, connecting roles (groups) and users to access control lists
(ACLs). This includes security for deployed applications at runtime.
• Resource Management. Monitoring of machines and of all running
applications in a TIBCO administration domain. Alerts can be
created, for example, to notify an administrator if the number of
processes or disk usage exceed a certain number.
• Application Management. Uploading of Enterprise Archive (EAR)
files, creation, configuration, deployment, and monitoring of
applications. This console is also used to start and stop applications.
TIBCO Enterprise Optional. TIBCO Enterprise Message Service allows you to use the Java
Message Service 4.0 and Messaging Services (JMS) as the message transport.
higher
TIBCO Enterprise Message Service is available as a separate installation
and can be installed after TIBCO BusinessEvents is installed.
Topics
Before starting the installation procedure, review the topics in this section to
determine that your system meets the basic requirements and that you have the
prerequisite software installed.
Also read Chapter 6, Migrating from Earlier Versions, on page 41 for important
steps you may have to take before upgrading.
The installer places all libraries and other products required by TIBCO
BusinessEvents into the TIBCO_HOME directory. During installation, the installer
checks for the availability of all dependent products in the target system. If any of
the dependencies are not available, the installer lists them and gives you the
option to cancel or go back (GUI and console modes) or immediately exits (silent
mode). Otherwise installation proceeds.
Installation Guidelines
Runtime Installations
Select custom installation and select only the Server option.
Installer Account
You must have administrator privileges for the machine on which TIBCO
BusinessEvents is installed.
If you do not have administrator privileges, the installer exits. You must then log
out of the system and log in as a user with the required privileges, or request your
system administrator to assign the privileges to your account.
Alternatively, you can manually change your mode to Install by typing C:\>
change user /install
If you install in the Execute mode, the installation registry is maintained in your
user home directory. If you install in the Install mode, the installation registry is
maintained in the %SystemRoot% folder.
Installation-Related Files
Installation History
The installer and uninstaller creates a file called
TIBCOInstallationHistory.xml in the same location where the installation
registry is created. Each time an installation and uninstallation is performed,
entries are appended to the file.
%SystemRoot%\TIBCOInstallationHistory.xml
Installation Registry
The installer maintains an installation registry. The registry location depends on
platform. This section explains where the registry files are located on Windows.
The files have vpd as a prefix, which stands for Vital Product Database.
Do not edit, modify, rename, move, or remove any of the registry vpd files.
Installation Modes
Use one of the following modes to install TIBCO BusinessEvents:
or
TIB_be-simple_3.0.1_w32.exe
When running in console mode you can move through the installation process as
described next:
Enter Key = Moves forward in the installer
2 = Goes back to previous screen
3 = Cancels the Wizard and exits the installation or uninstallation
4 = Redisplays the current screen
The response file does not record selections at the component level. It does record
all other selections, for example, which products you wished to install.
To install and generate a response file using GUI mode, use the following (using
Enterprise Suite as an example):
TIB_be-epe-simple_3.0.1_w32.exe -options-record responseFile
To install and generate a response file using Console mode use the following
(using Enterprise Suite as an example):
TIB_be-epe-simple_3.0.1_w32.exe -is:javaconsole -console -options-record responseFile
Check the engine properties file to ensure that all settings are appropriate for your
platform.
Decision Manager clients must have direct network connectivity to the RMS
server for RMS.
Connections from clients may not work if the RMS server is behind a fire wall.
Topics
Before starting the installation procedure, review the topics in this section to
determine that your system meets the basic requirements and that you have the
prerequisite software installed.
Also read Chapter 4, After Installing on UNIX, on page 29 and Chapter 6,
Migrating from Earlier Versions, on page 41 for important steps you may have to
take before and after upgrading.
The installer places all libraries and other products required by TIBCO
BusinessEvents into the TIBCO_HOME directory. During installation, the installer
checks for the availability of all dependent products in the target system. If any of
the dependencies are not available, the installer lists them and gives you the
option to cancel or go back (GUI and console modes) or immediately exits (silent
mode). Otherwise installation proceeds.
Supported Platforms
The following is a list of supported platforms for UNIX:
IBM (POWER):
• AIX 5.2 with patch 5200-04 (64-bit)
• AIX 5.3 (64-bit)
Hewlett-Packard:
• HP-UX 11i (v1, v2, v3) (PA-RISC) (32-bit & 64-bit)
• HP-UX 11i (v2, v3) (IA-64/Itanium) (64-bit)
SUSE (x86)
• SUSE Linux Enterprise 10 SP1
Solaris
• Solaris 10 (SPARC and X86) (64-bit)
• Solaris 9 (SPARC) (32-bit)
• Solaris 8 (SPARC) (32-bit)
Within a single cache cluster, you can use a mixture of 64-bit and 32-bit operating
systems.
Disk space required in each case is 160MB. See Installer Disk Space Requirements
in Temporary Area, page 22 for additional disk space requirements.
Installation Guidelines
Runtime Installations
Select custom installation and select only the Server option.
Installer Account
TIBCO 5.x products can be installed by a regular (non-root) user and super-user
(root). Different users can install the same product at different locations.
Product dependencies at install time are resolved at user level through the
installation registry maintained at user's home directory. See Installation Registry
on page 23 for more information.
Windowing Environment
A windowing environment such as CDE (that is, X11 Windows) is required to run
the installer in GUI mode. It is not required for a console installation or silent
installation.
Installation-Related Files
Installation History
The installer and uninstaller creates a file called
TIBCOInstallationHistory.xml in the same location where the installation
registry is created. Each time an installation and uninstallation is performed,
entries are appended to the file.
User’s_Home_Directory/TIBCOInstallationHistory.xml
The file TIBCOInstallationHistory.xml therefore contains the record of all
installation and uninstallation activities of all products, features and components.
Installation Registry
The installer maintains an installation registry. The registry location depends on
platform. This section explains where the registry files are located on UNIX
platforms. The files have vpd as a prefix, which stands for Vital Product Database.
Do not edit, modify, rename, move, or remove any of the registry vpd files.
The installation registry is maintained in the following files in the user's home
directory:
User_Home_Directory/vpd.properties
User_Home_Directory/vpd.properties.tibco.systemName
Installing on UNIX
After unpacking the software and accepting the license agreement, you can
choose to perform a typical install or custom install (full installer only).
• A typical install has minimal prompts and installs standard components in
default locations.
• A custom install prompts you to choose which pieces of the product suite to
install and installs only those components.
Because you have already installed TIBCO products when you install TIBCO
BusinessEvents, an installation home directory for all TIBCO products is
established and must be used. The default installation home depends on who
performs the installation:
• For root users, the default installation directory is /opt/tibco.
• For non-root users, the default installation directory is /myhome/tibco, where
myhome is the home directory of the user.
Enterprise Suite
IBM AIX: TIB_be-epe-simple_3.0.1_aix52_power.bin
Linux: TIB_be-epe-simple_3.0.1_linux24gl23_x86.bin
Solaris 8: TIB_be-epe-simple_3.0.1_sol8_sparc.bin
Inference Edition
IBM AIX: TIB_be-simple_3.0.1_aix52_power.bin
HP-UX: TIB_be-simple_3.0.1_hpux111_hppa.bin
HP-UX: TIB_be-simple_3.0.1_hpux112_ia64.bin
Linux: TIB_be-simple_3.0.1_linux24gl23_x86.bin
Solaris 8: TIB_be-simple_3.0.1_sol8_sparc.bin
Installation Modes
Use one of the following modes to install TIBCO BusinessEvents:
or
% ./TIB_be-simple_3.0.1_platform.bin
When running in console mode, you can move through the installation process as
described next:
The response file does not record selections at the component level. It does record
all other selections, for example, which products you plan to install.
To install and generate a response file using GUI mode, use the following (using
Enterprise Suite as an example):
% ./TIB_be-epe-simple_3.0.1_platform.bin -options-record responseFile
To install and generate a response file using console mode, use the following
(using Enterprise Suite as an example):
% ./TIB_be-epe-simple_3.0.1_platform.bin -is:javaconsole -options-record responseFile
To install using Console mode and a response file, use the following (using
Enterprise Suite as an example):
% ./TIB_be-epe-simple_version_platform.bin -is:javaconsole -console -options responseFile
This chapter explains some post-installation steps you may have to perform in
your UNIX installation.
Topics
This section explains what directory permissions must be set to enable users to
use the system.
For example, if TIBCO BusinessEvents has been installed in /opt/tibco, the user
who installed TIBCO BusinessEvents should execute the following commands:
% chmod 777 /opt/tibco/be/3.0/bin/
% chmod 777 /opt/tibco/be/3.0/bin/logs
% chmod 777 /opt/tibco/tra/3.0/logs
Palettes Directory
In addition, the palettes directory must be writable by all users who will use
TIBCO Designer. Users must have write permission for this directory to be able to
use the Java activity's Compile button.
$TIBCO_HOME/be/3.0/lib/palettes
bin Directory
All Decision Manager and RMS users must have read, write, and execute
permissions for the rms/bin directory.
TIBCO_HOME/be/3.0/rms/bin
See Permissions for BusinessEvents Directories on page 30 for some helpful tips.
RMS directory
The owner of the BE_HOME/rms/ directory must be the user who runs the RMS
server.
To run the server, execute BE_HOME/rms/bin/be-rms.exe (or be-rms.sh,
depending on your operating system).
Check the engine properties file to ensure that all settings are appropriate for your
platform.
Decision Manager clients must have direct network connectivity to the RMS
server for RMS.
Connections from clients may not work if the RMS server is behind a firewall.
The BusinessEvents hot deployment feature requires JRE 1.5.0.05 or later. TIBCO
Runtime Agent 5.5, however, ships with JRE 1.5.0.04. This section explains how to
download and install HP-UX JDK version 1.5.0.05 or later, so you can use the hot
deployment feature.
In the directory paths provided below, substitute the platform variable as follows:
• PA_RISC2.0 if you are running on HP-UX PA-RISC
• IA64N if you are running on HP-UX Itanium
to this:
tibco.env.JVM_LIB_PATH=/opt/java1.5/jre/lib/platform/hotspot/libjvm.sl
to this:
tibco.env.JVM_LIB_DIR=/opt/java1.5/jre/lib/platform
to this:
tibco.env.TIB_JAVA_HOME=/opt/java1.5/jre
5. Verify that tools.jar is in the classpath. You can do this by copying it from
JDK lib to JRE lib.
cp /opt/java1.5/lib/tools.jar /opt/java1.5/jre/lib
The following platforms allow you to run TIBCO BusinessEvents in 64-bit mode:
• AIX
• HP-UX Itanium
• Linux
• Solaris 10 SPARC
• Solaris 10 X86
See Supported Platforms on page 20 for versions supported.
Note that an additional step is required for the HP-UX Itanium platform, if you
use JRE 6 (see HP-UX Itanium with JRE 6 (1.6.0) on page 36).
6. In each file, if you are using either Solaris or HP-UX, make the changes
specified in Table 5, Changes in the RMS Engine Properties File.
7. Save the file. (Remember to update both the be-rms.tra and the
be-engine.tra files.)
and and
client server
This section lists some common errors along with their causes and solutions.
Why and how should I set the DISPLAY variable on UNIX Platforms for GUI
mode?
The installer on UNIX must open an additional window, generally for graphics. It
uses the DISPLAY environment variable to tell it on what computer to open the
window. If the environment variable is not set, the installer will either wait or
abort after displaying:
InstallShield Wizard
Initializing InstallShield Wizard...
Preparing Java(tm) Virtual Machine...
...................................
...................................
........
The DISPLAY variable must be set to the IP address or name of the computer (on
which the installer graphics window are to be displayed), followed by a screen
address, which can be :0.0 as shown in the following example:
# Bourne shell
DISPLAY=ip_address:0.0; export DISPLAY
# Korn shell
export DISPLAY=ip_address:0.0
# C-shell
setenv DISPLAY ip_address:0.0
For example, consider a scenario where you need to install TIBCO BusinessEvents
on a remote HP-UX machine (named itaska). Because you have a Solaris 5.6
machine (named alaska) that has a video card and monitor installed, you can run
an X-window application on it. So you decide to telnet to itaska from alaska.
When you telnet to itaska, you will not get access to itaska's monitor and will
be unable to display an X-window application. That is why you must set the
DISPLAY variable, which instructs the X-server to redirect all windows to the
computer set in the variable. Before doing so, the computer (specified in the
DISPLAY variable) must give permissions to share its monitor.
Solution
While performing installation, avoid running other processes that consume disk
space in product home location.
Error message
If you have not performed configuration for 64-bit environments, and you have
installed the 64-bit version of TIBCO Runtime Agent, you see errors such as the
following.
Lib name
/space/users//tra550/tibco/jre/1.5.0/lib/sparc/client/libjvm.so
Failed to load shared library, library name :
/space/users//tra550/tibco/jre/1.5.0/lib/sparc/client/libjvm.so
Solution
Perform the configuration explained in Configuration for 64-bit Mode on page 35.
Error message
Installation on a HPUX 11.00 64 bit system may crash with the following error
message:
Pid nnn killed due to trashed stack.
Pid nnn was killed due to failure in writing the signal context.
This happens only on HPUX 11.00 64 bit systems. It does not happen on HPUX
11.00 32 bit system and HPUX 11.11 (or 11.i) system.
To determine the OS version on your system, run:
uname -a
Resolution
HPUX kernel patch PHKL_27282, resolves the above crash.
To determine if your system has the kernel patch, run:
/usr/sbin/swlist -l product PHKL_27282
or
what /stand/vmunix | grep PHKL_27282
If your system is an HPUX 11.00 64 bit system and it does not have the patch, first
install HPUX kernel patch PHKL_27282 and then proceed with the installation.
Installation of patch PHKL_27282, will reboot your system.
Read this chapter carefully and follow all migration steps that apply to your case.
If you are migrating from persistence object management to cache object
management, also see Chapter 7, Migrating Persistence Data to Backing Store, on
page 51.
Topics
If you are upgrading from version 3.0.0, and you use Decision Manager, you must
perform some steps before and after installing BusinessEvents.
Task C Act on All Decision Table Change Commitments for All Worklists
Before migrating, clear all worklists.
The format of the data files used to track Worklist items has changed in version
3.0.1. These changes are due to newly added Worklist features and additional
information associated with each commitment request.
As a result, earlier versions of these data files will not work with the current
version of Decision Manager.
The current version of Decision Manager adds additional configuration options to
allow you to customize the location of the data files used to track Worklist items
in the future. (See Changes in The RMS Engine Properties File on page 44).
<resources>
...
<resource id="TABLE" type="DECISIONTABLE"/>
</resources>
<entries>
<entry>
<role name="RULE_ADMINISTRATOR" />
<permissions>
...
<permission resourceref="#TABLE">
<action type="read">ALLOW</action>
</permission>
</permissions>
</entry>
</entries>
Failure to include these new resources in the access configuration file could result
in the following error message:
Project checkout failed. : Insufficient privileges for checkout
For an example of an access configuration file (including these new resources), see
the following config directories:
BE_HOME/rms/examples/CreditCardApplication/config
BE_HOME/rms/examples/AirlineFlightSystem/config
Property Notes
java.property.rms.projects.ba RMS now supports multiple projects. You can keep all of
selocation
your RMS projects in a single projects directory. This new
property define the path to the projects directory.
By default, the path is set to BE_HOME/rms/examples.
Either move RMS projects to this location, or update the
property to point to a different location.
Note Single-project mode is still supported. See TIBCO
BusinessEvents Decision Manager for configuration details.
tibco.env.STD_EXT_CP The standard class path for RMS has been updated.
Property Notes
tibco.clientVar.RMS/hostname As mentioned in After Installing—Check and Update
Properties Files on page 17 and All UNIX Installations—
Check and Update Properties Files on page 32, set the value
of this property to your actual hostname. The value as
shipped is as follows:
tibco.clientVar.RMS/hostname=localhost
Cache OM was improved and simplified in many ways in version 3.0.0 and 3.0.1.
It is strongly recommended that you read relevant sections of the TIBCO
BusinessEvents User’s Guide documentation to understand the new object
management options and reconfigure your projects accordingly. The main items
that require reconfiguration are presented in this migration guide. However, some
impacts of configuration changes may not be not documented here.
To learn about the 3.x Cache object management options use the following
resources:
• Caching and backing store tutorials in TIBCO BusinessEvents Getting Started.
• All object management options documented in TIBCO BusinessEvents User’s
Guide, beginning with Chapter 14, Understanding Object Management and
Fault Tolerance.
be.engine.cluster.multiEngineOn=true
Carefully read all related content in TIBCO BusinessEvents User’s Guide. You may
need to make some changes to the design of your project to account for
concurrently active agents. See Designing With Multiple Active Inference Agents
in TIBCO BusinessEvents User’s Guide.
3. You can also configure the following properties if default values are not
suitable:
Agent.AgentGroupName.l1CacheSize
Agent.AgentGroupName.threadcount
Agent.AgentGroupName.recoveryPageSize
If you use Cache OM, you must reconfigure fault tolerance when you configure
the inference agents.
Fault tolerance in 3.x is set at the inference agent level. Fault tolerance is provided
between agents in an agent group.
In 3.x, the above FT properties are used for In Memory object management
only.
2. If you are using multi-engine mode, configure the following property to the
same value in all nodes:
Agent.AgentGroupName.maxActive
If you deploy more agents in a group than the maxActive number, those
agents are deployed in inactive mode.
3. For both multi-engine and single-engine modes, configure the following
property using a different value in each node:
Agent.AgentGroupName.priority
Priority determines which agents start up first and therefore which agents
remain inactive. Smaller numbers indicate higher priorities (one is the highest
priority).
Each instance of an agent deploys in a different node (engine). Therefore set
the priority as needed in each engine’s property file to determine failover and
failback behavior. Remember to configure the settings for each agent group, if
an EAR file contains more than one BAR.
For example in one TRA file you might have two agent groups configured as
follows:
Agent.AcmeGroup.maxActive=3
Agent.AcmeGroup.priority=1
Agent.Mygroup.maxActive=2
Agent.Mygroup.priority=1
Migration From BusinessEvents Versions Earlier than Version 1.4 You can directly
upgrade from BusinessEvents 1.4 and higher to 3.0.1. If you are upgrading from
an earlier release, first upgrade to 1.4.
BusinessEvents 1.0 and 1.1 required be-tsm.jar to be made available to TIBCO
Administrator. When you uninstall one of these versions, also delete be-tsm.jar
from TRA_HOME/5.x/lib both on the machines that run BusinessEvents and the
machine that runs Administrator.
Your migration path from 1.4 to the current version depends on whether you
want to use Persistence object management or Cache object management in the
current version.
Migrating from 1.4 with Persistence OM to Version 3.0.1 with Cache and
Backing Store
If you use Persistence OM and want use Cache OM in 3.0.1, you can upgrade
directly to 3.0.1. There is no need to upgrade to an intermediate version.
Keep the persistence database for each BAR available for migration. As with any
operation that affects data, also keep a backup copy.
For complete instructions for migrating from the persistence database to a
backing store database, see Chapter 7, Migrating Persistence Data to Backing
Store, on page 51.
Procedures in this chapter enable you to migrate data in a persistence data store to
a backing store used for Cache object management (OM). These procedures are
used when you are changing from the Persistence to a Cache OM option.
You can also use exported data for other purposes. Using the data is outside the
scope of this document. However, a reference to the export file column names is
provided.
Topics
You can change your object management (OM) method from Persistence to Cache
with backing store. To do so, you configure the Cache OM options as explained in
this guide, and you can optionally migrate the data in your persistence database
to a backing store. When you start up your newly configured system, the data
from the backing store is loaded into the cache.
This section explains how to migrate your data from the persistence database, or
databases if you have a multi-BAR project, to the backing store. Each rule session
(BAR) uses a different partition number, which is stored in the CacheID column of
the backing store.
For each BAR (inference agent) in the project, the steps are as follows:
• First you set up the backing store database schema, following standard
procedures given in this guide.
• Then you export ontology object data from the persistence database to text
files.
• Finally, you import the data from the text files into the backing store.
When all the data is migrated, and the Cache OM features are fully configured,
start the system.
The migration utility supports export from persistence databases in
BusinessEvents 1.4 and higher. The utility can then import the data to a 2.x and
higher backing store (but not to a persistence database).
You can use also use the migration utility to export ontology object data from a
persistence database, and then import the files into spread sheets for validating,
analyzing or reporting. See Migration Export Reference Tables on page 59.
BE_HOME/bin/be-migration.tra
2. In the tibco.env.CUSTOM_EXT_PREPEND_CP property, add the path to your
JDBC driver (if it is not already there). For example:
# JDBC drivers
java.property.jdbc.drivers oracle.jdbc.OracleDriver
Property Notes
be.migration.import.multith Specifies if the data migration utility uses multithreading.
reads
Default value is true.
Used by the migration utility, for migrating from the
Persistence to the Cache OM option. See Migrating Data from
Persistence Database to Backing Store on page 52
Each rule session (inference agent) requires a separate database. Repeat the
procedure for each database.
1. Create the directory where you want the text files to be created.
2. Export from persistence database to files using a command that follows this
format:
3. Review the export log file to ensure that the data export was successful. The
summary at the end of the log file provides useful information.
4. If the project has multiple BARs, that is multiple rule sessions (inference
agents), repeat the procedure once for each BAR.
If the project has multiple BARs, that is, multiple rule sessions (inference agents),
each BAR requires a separate backing store. Repeat the tasks below once for each
BAR.
-import -db -input text_files_path -conn "connection_string" -ear EAR_path or repo_path -partition
BAR_Name:partition_id
See Migration Utility Usage and Parameters on page 56 for details on each of the
parameters.
Review the import log file to ensure that the data import was successful.
Run your project in a test environment to test if data recovery is successful before
deploying to the production environment.
Usage
The general syntax for running the utility at the command line is as follows:
Also
Parameter Property Description
Used
-bdb /bdb N/A Indicates that the export is for a persistence
persistence_db_dir database.
-bdb is the default value.
Also
Parameter Used Property Description
-db /db N/A Indicates that the import is for a backing store.
Also
Parameter Used Property Description
Information in the following tables is useful for those who will use the exported
tables for purposes other than migration. Definitions are not provided for files
used only internally by the migration utility.
id Internal Id long
arrayIndex Index of current value in int For properties that are not
a property array. arrays, the index is -1.
SimpleEvent file
File names are based on entity type names. Each file contains details of instances of one simple
event type, including properties.
id Internal Id
extId External Id
id Internal Id long
arrayIndex Index of current value in int For properties that are not
a property array. arrays, the index is -1.
SimpleEvent file
File names are based on entity type names. Each file contains details of instances of one simple
event type, including properties.
id Internal Id
extId External Id
id Internal Id long
Export-control File
Used internally by the migration import. Other internal files are propertiesIndex and
scorecardIds.
lastInternalId the last internal Id used long Used only for data exported
by be-engine from BusinessEvents 1.4
Code Type
0 PropertyAtomBoolean
1 PropertyAtomChar
2 PropertyAtomConceptReference
3 PropertyAtomDateTime
4 PropertyAtomDouble
5 PropertyAtomInt
6 PropertyAtomLong
7 PropertyAtomString
8 PropertyArrayBoolean
9 PropertyArrayChar
10 PropertyArrayConceptReference
11 PropertyArrayDateTime
Code Type
12 PropertyArrayDouble
13 PropertyArrayInt
14 PropertyArrayLong
15 PropertyArrayString
16 PropertyAtomContainedConcept
17 PropertyArrayContainedConcept
Index
Numerics G
64-bit mode, configuration 35 GUI mode installation 2
UNIX 25
Windows 15
GUI mode installation (Windows) 15
A
AIX, configuring for 64-bit mode 36
H
history
B installation on UNIX 23
installation on Windows 12
BE_HOME xi hot deployment
before installing BusinessEvents configuration for on HP-UX installations 33
UNIX 20 HP-UX
Windows 10 configuration for hot deployment feature 33
configuring for 64-bit mode 36
HP-UX 64 bit installation error and solution 39
C
console mode installation 2 I
UNIX 25
Windows 15 installation
customer support xiv console mode 2
frequently asked questions 37
GUI mode 2
on Windows 2000 Terminal Server 11
D required and optional TIBCO products 6
running out of disk space 38
DISPLAY variable 37 See also installer
silent mode 2
installation on UNIX
64-bit configuration 35
after installing on HP-UX, hot deployment
S
silent mode installation 2
UNIX 26
Solaris 10
configuring for 64-bit mode 36
support, contacting xiv
supported UNIX platforms 20
supported Windows platforms 10
T
technical support xiv
TIBCO BusinessEvents
uninstalling 4
upgrading 5
TIBCO Runtime Agent
configuring for 64-bit mode 35
TIBCO Runtime Agent, install first (Windows) 11, 21
TIBCO_HOME xi
U
uninst2 directory 38
uninstalling BusinessEvents 4
UNIX
before installing BusinessEvents 20
installing BusinessEvents 24
supported platforms 20
uninstalling BusinessEvents 4
windowing environment for installation 22
upgrading BusinessEvents 5
W
Windows 2000 Terminal Server, installing on 11
windows. See Microsoft Windows