Beruflich Dokumente
Kultur Dokumente
Database
Installation
Software Release 6.2
January 2012
Important Information
SOME TIBCO SOFTWARE EMBEDS OR BUNDLES OTHER TIBCO SOFTWARE. USE OF SUCH EMBEDDED OR
BUNDLED TIBCO SOFTWARE IS SOLELY TO ENABLE THE FUNCTIONALITY (OR PROVIDE LIMITED
ADD-ON FUNCTIONALITY) OF THE LICENSED TIBCO SOFTWARE. THE EMBEDDED OR BUNDLED
SOFTWARE IS NOT LICENSED TO BE USED OR ACCESSED BY ANY OTHER TIBCO SOFTWARE OR FOR ANY
OTHER PURPOSE.
USE OF TIBCO SOFTWARE AND THIS DOCUMENT IS SUBJECT TO THE TERMS AND CONDITIONS OF A
LICENSE AGREEMENT FOUND IN EITHER A SEPARATELY EXECUTED SOFTWARE LICENSE AGREEMENT,
OR, IF THERE IS NO SUCH SEPARATE AGREEMENT, THE CLICKWRAP END USER LICENSE AGREEMENT
WHICH IS DISPLAYED DURING DOWNLOAD OR INSTALLATION OF THE SOFTWARE (AND WHICH IS
DUPLICATED IN THE LICENSE FILE) OR IF THERE IS NO SUCH SOFTWARE LICENSE AGREEMENT OR
CLICKWRAP END USER LICENSE AGREEMENT, THE LICENSE(S) LOCATED IN THE LICENSE FILE(S) OF
THE SOFTWARE. USE OF THIS DOCUMENT IS SUBJECT TO THOSE TERMS AND CONDITIONS, AND YOUR
USE HEREOF SHALL CONSTITUTE ACCEPTANCE OF AND AN AGREEMENT TO BE BOUND BY THE SAME.
This document contains confidential information that is subject to U.S. and international copyright laws and treaties. No part
of this document may be reproduced in any form without the written authorization of TIBCO Software Inc.
TIBCO, The Power of Now, TIBCO ActiveMatrix BusinessWorks, TIBCO Adapter SDK, TIBCO Administrator, TIBCO
Database Drivers Supplement, TIBCO Designer, TIBCO Enterprise Message Service, TIBCO Hawk, TIBCO Rendezvous,
and TIBCO Runtime Agent are either registered trademarks or trademarks of TIBCO Software Inc. in the United States
and/or other countries.
EJB, Java EE, J2EE, and all Java-based trademarks and logos are trademarks or registered trademarks of Sun Microsystems,
Inc. in the U.S. and other countries.
All other product and company names and marks mentioned in this document are the property of their respective owners and
are mentioned for identification purposes only.
THIS SOFTWARE MAY BE AVAILABLE ON MULTIPLE OPERATING SYSTEMS. HOWEVER, NOT ALL
OPERATING SYSTEM PLATFORMS FOR A SPECIFIC SOFTWARE VERSION ARE RELEASED AT THE SAME
TIME. SEE THE README FILE FOR THE AVAILABILITY OF THIS SOFTWARE VERSION ON A SPECIFIC
OPERATING SYSTEM PLATFORM.
THIS DOCUMENT IS PROVIDED AS IS WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR
IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE, OR NON-INFRINGEMENT.
THIS DOCUMENT COULD INCLUDE TECHNICAL INACCURACIES OR TYPOGRAPHICAL ERRORS. CHANGES
ARE PERIODICALLY ADDED TO THE INFORMATION HEREIN; THESE CHANGES WILL BE INCORPORATED
IN NEW EDITIONS OF THIS DOCUMENT. TIBCO SOFTWARE INC. MAY MAKE IMPROVEMENTS AND/OR
CHANGES IN THE PRODUCT(S) AND/OR THE PROGRAM(S) DESCRIBED IN THIS DOCUMENT AT ANY TIME.
THE CONTENTS OF THIS DOCUMENT MAY BE MODIFIED AND/OR QUALIFIED, DIRECTLY OR
INDIRECTLY, BY OTHER DOCUMENTATION WHICH ACCOMPANIES THIS SOFTWARE, INCLUDING BUT
NOT LIMITED TO ANY RELEASE NOTES AND "READ ME" FILES.
Copyright 1999-2012 TIBCO Software Inc. ALL RIGHTS RESERVED.
TIBCO Software Inc. Confidential Information
| iii
Contents
Tables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .v
Preface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .vii
Changes from the Previous Release of this Guide . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . viii
Related Documentation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ix
TIBCO ActiveMatrix Adapter for Database Documentation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ix
Other TIBCO Product Documentation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ix
Typographical Conventions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . x
Connecting with TIBCO Resources . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
How to Join TIBCOmmunity . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
How to Access TIBCO Documentation. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
How to Contact TIBCO Support . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
xii
xii
xii
xii
Chapter 1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1
Installation Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
Installation Modes. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
Installation Types . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
Installer Account . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
Installer Log File . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
Installation Requirements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
Disk Space Requirements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
System Memory Requirements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
Supported Platforms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
Software Requirements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
Adapter Components . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
Supported Databases and Drivers. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
ODBC Drivers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
JDBC Drivers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
Pre-installation Worksheets . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
Adapter Machine Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
Database Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
iv
| Contents
Console Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
Silent Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
Uninstallation. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
Index . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51
Tables v
Tables
Table 1
Table 2
Supported Platforms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
Table 3
Software Requirements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
Table 4
Table 5
Table 6
Table 7
vi
| Tables
| vii
Preface
This software may be available on multiple operating systems. However, not all
operating system platforms for a specific software version are released at the same
time. Please see the readme file for the availability of this software version on a
specific operating system platform.
TIBCO ActiveMatrix Adapter for Database software is a bidirectional gateway between
databases and applications configured for the TIBCO environment. The adapter supports
publication, subscription, and request-response interactions.
Topics
viii
Preface ix
Related Documentation
This section lists documentation resources you may find useful.
TIBCO ActiveMatrix Adapter for Database Concepts Read this manual to gain an
understanding of adapters in general that you can apply to the various tasks you may
undertake.
TIBCO ActiveMatrix Adapter for Database Installation Read this manual to learn
how to install TIBCO ActiveMatrix Adapter for Database.
TIBCO ActiveMatrix Adapter for Database Examples Read this manual to work
through the examples provided with the adapter.
TIBCO ActiveMatrix Adapter for Database Release Notes Read this manual for
additional information about new features, closed and open issues.
TIBCO Administrator
TIBCO Designer
TIBCO Hawk
TIBCO Rendezvous
| Typographical Conventions
Typographical Conventions
The following typographical conventions are used in this manual.
Table 1 General Typographical Conventions
Convention
Usetr
TIBCO_HOME
Many TIBCO products must be installed within the same home directory. This
directory is referenced in documentation as TIBCO_HOME. The default value of
TIBCO_HOME depends on the operating system. For example, on Windows systems,
the default value is C:\tibco.
TIB_ADADB_HOME
ENV_NAME
CONFIG_HOME
Path The directory into which the product is installed. This directory is
referenced in documentation as TIBCO_HOME. TIBCO ActiveMatrix Adapter
for Database installs into a directory within TIBCO_HOME. This directory is
referenced in documentation as TIB_ADADB_HOME. The default value of
TIB_ADADB_HOME depends on the operating system. For example, on Unix
systems, the default value is TIBCO_HOME/adapter/adadb/version.
Code font identifies commands, code examples, filenames, pathnames, and output
displayed in a command window. For example:
Use MyCommand to start the foo process.
Preface xi
Usetr
In large code samples, to indicate the parts of the sample that are of particular
interest.
italic font
Key combinations
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 names separated by a plus sign indicate keys pressed simultaneously. For
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.
xii
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 username and password. If you do not have a username,
you can request one.
|1
Chapter 1
Introduction
This chapter explains installation modes, requirements, and other options you should be
aware of before starting the installation. Before you install the adapter, read this chapter
and fill out the Pre-installation Worksheets on page 12.
Topics
| Chapter 1
Introduction
Installation Overview
This section gives an overview of the installer.
Installation Modes
Three installation modes are available: GUI, console, and silent.
GUI Mode
In the GUI mode, the installer presents panels that allow you to make choices about
product selection, product location, and so on. To invoke the installer in GUI mode,
double-click the executable.
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 GUI environment.
Silent Mode
Silent mode installs the product using either default or custom settings that are saved in a
response file. Silent mode installs the product without prompting you for information.
Installation Types
Two installation types are available: Profile or Custom.
The Profile installation type installs all the software for a specific profile.
Installer Account
Microsoft Windows
You must have administrator privileges for the machine on which this product 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.
If you intend to install the product on a network drive, ensure that the account used for
installation has permission to access the network drive.
TIBCO ActiveMatrix Adapter for Database Installation
Installation Overview 3
UNIX
Any user can install this product.
Super-user (root).
While installing this product on UNIX platforms, ensure that the same installer account is
used to install all TIBCO Adapters products.
A graphic environment such as CDE or X Windows is required to run the installer in GUI
mode.
| Chapter 1
Introduction
Installation environment details such as user that invoked the installer, host name,
Java home in the environment, operating system details, and so on.
Information related to the Ant scripts that are executed by the installer.
Installation Requirements 5
Installation Requirements
This section describes the disk space requirements, system memory requirements,
software requirements, and supported platforms for this product.
| Chapter 1
Introduction
Supported Platforms
The following table lists supported platforms.
Table 2 Supported Platforms
System
Platform
Hardware Platform
Microsoft Windows
x86
Solaris 9
SPARC
Solaris 10
Solaris 10
x86
(32 and 64 bit platforms)
HP-UX 11i
PA-RISC
(32 and 64 bit platforms)
Itanium
(64 bit platforms)
POWER
(32 and 64 bit platforms)
x86
See the readme file for more details of the supported platforms and versions and required
patches.
Software Requirements
You can install the software on different machines and use them across the network. For
example, you can use TIBCO Designer on one machine to configure a TIBCO
ActiveMatrix Adapter for Database adapter on another machine.
Table 3, Software Requirements lists the required and optional software products. The
software products below are distributed and installed separately from this product. See the
readme file for the supported versions.
Installation Requirements 7
Description
TIBCO Rendezvous
Required. If you are going to use TIBCO Runtime Agent 5.7.1, you need to
install TIBCO Rendezvous 8.3.x separately before installing TIBCO Runtime
Agent.
TIBCO Administrator
| Chapter 1
Introduction
Description
Adapter Components 9
Adapter Components
Table 4, TIBCO Adapter Components describes the components of the adapter installation
package.
Table 4 TIBCO Adapter Components
Component
Description
Runtime
This process does the actual work of passing and converting data to and
from the vendor application.
Design time
Documentation
ODBC drivers
The adapter installation package does not include JDBC drivers. For more information
about required JDBC drivers, see JDBC Drivers on page 11.
10
| Chapter 1
Introduction
ODBC Drivers
TIBCO ActiveMatrix Adapter for Database uses ODBC to access your database during
runtime. The adapter supports the ODBC driver that is supplied with the adapter
installation package as well as ODBC driver that is provided separately by the database
vendor listed in Table 5, ODBC Driver Supported Platform, on page 10.
Connecting to Remote Databases
TIBCO ActiveMatrix Adapter for Database can remotely connect to databases running on
other machines or different platforms, including a DB2 database running on z/OS or
iSeries systems. See Connect to a DB2 z/OS Database on page 28 for details.
TIBCO ActiveMatrix Adapter for Database cannot be installed on an z/OS or iSeries
system.
ODBC Driver Documentation
The DataDirect documentation is available in the TIB_ADADB_HOME/odbc/help directory.
The following table shows the compatibility of the databases and the adapter supported
operating systems. Yes indicates that the adapter is supported on the operation system with
the databases listed. No indicates that the adapter is not supported on the operation system
with the databases listed.
Table 5 ODBC Driver Supported Platform
Adapter Supported Operating Systems
Database
Windows
x861
Solaris
SPARC
Solaris
x86
AIX
Power
Linux
x86
SUSE
x86
HP
PA-RISC
HPUX
IA
Oracle
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Windows
x861
Solaris
SPARC
Solaris
x86
AIX
Power
Linux
x86
SUSE
x86
HP
PA-RISC
HPUX
IA
SQL Server
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Sybase ASE
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Sybase Anywhere
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
DB2 UDB
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
MySQL3
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Teradata4
Yes
Yes
Yes
Yes
Yes
No
Yes
Yes
1. Both vendor drivers included with the server installation and DataDirect drivers are supported.
2. Via remote connection only.
3. Only vendor drivers included with the server installation are supported.
4. Only vendor drivers are supported.
JDBC Drivers
TIBCO ActiveMatrix Adapter for Database uses JDBC to access your database during
design time. The adapter design-time palette supports the JDBC drivers included in
TIBCO Database Drivers Supplement, as well as the JDBC drivers that are provided
separately by the database vendors. When configuring the adapter, you specify the JDBC
URL and the correct driver is automatically loaded.
The JDBC URLs are documented in the TIBCO ActiveMatrix Adapter for Database
Configuration and Deployment.
12
| Chapter 1
Introduction
Pre-installation Worksheets
The most time-consuming part of an adapter installation is the collection of environment
information and parameters. This section helps you complete this process. Use these
forms to gather information from the various system administrators and other sources
within your organization before installing the adapter.
Description
Hostname
IP address
TIBCO home
directory path
Installer user
account
Account to log on to the machine with and run the installer. This
user must have write permission to the TIBCO home directory.
(Example: administrator)
Installer user
password
Installer user
domain (Windows
only)
Pre-installation Worksheets 13
Description
Adapter installation
package
ODBC driver
version
ODBC driver
directory path
The full path of the ODBC driver directory. Drivers are installed
with the adapter or can also be third-party, see Supported
Databases and Drivers on page 10.
(By default, TIB_ADADB_HOME\odbc\Drivers)
Database Information
Most supported databases require you to enter these parameters to configure the adapter.
The specific parameter names and the type of information required depends on the
database and driver you are using. Check with your database administrator to determine
exactly what information will be needed for your system.
If you are connecting to a DB2 for z/OS database, you will need additional information, as
described for Microsoft Windows in Post-installation Tasks on Microsoft Windows
Platform on page 22, or for UNIX in Post-installation Tasks on UNIX Platform on
page 37.
Table 7 Database Information Worksheet
Database
Information
Description
(Example: Accounting)
Port Number
SID
14
| Chapter 1
Introduction
Description
The name, IP address, client connection string, or other
identifier of the database server and database to which the
adapter will connect.
(Example: Oracleserver or 199.226.224.34)
Database administrator
account
Database administrator
password
Service name
Database access
account
Database access
account password
| 15
Chapter 2
Installation Steps
Topics
Installation, page 16
Uninstallation, page 19
16
| Chapter 2
Installation Steps
Installation
The following sections describe the installation process in the available installation
modes:
GUI Mode
To install this product in GUI mode,
1. Open the physical media or download the package.
2. Extract the contents of the package to a temporary directory.
3. Navigate to the temporary directory.
4. Run TIBCOUniversalInstaller. You can do so in one of the following ways:
Double-click the installer icon.
On the command prompt, provide the absolute path of the installer file on without
specifying any options. The installer defaults to GUI mode.
5. Click the Next button on the Welcome dialog.
6. Read through the license text when the License Agreement dialog appears, select the I
Accept The Terms of The License Agreement radio button and then click the Next
button.
7. Select the Typical installation profile from the list on the left to install the following
features:
Runtime Includes the runtime tools for TIBCO ActiveMatrix Adapter for
Database.
Design Includes the palette and samples for TIBCO ActiveMatrix Adapter for
Database.
Documentation Includes the TIBCO ActiveMatrix Adapter for Database
documentation. The documentation is installed in the TIB_ADADB_HOME/doc
directory.
To customize the profile feature settings, check the Customize Installation checkbox
and use the feature tree on the right.
8. Click the Next button. The TIBCO Installation Home dialog displays.
Installation 17
The name is appended to the name of Windows services created by the installer and
is a component of the path to the product in the Windows Start > All Programs
menu.
Use An Existing TIBCO_HOME To install the product into an existing installation
Console Mode
To install this product in console mode:
1. Open the physical media or download the package.
2. Extract the contents of the package to a temporary directory.
3. Using a console window, navigate to the temporary directory.
4. Run TIBCOUniversalInstaller -console.
5. Complete the installation by responding to the console window prompts.
18
| Chapter 2
Installation Steps
Silent Mode
In silent mode, the universal installer does not prompt for any inputs during installation.
Instead, the inputs are read from a response file that can be provided as a command-line
parameter. If no value is specified, the installer uses the default TIBCOUniversalInstaller.silent
file.
The TIBCOUniversalInstaller.silent file is packaged in the directory that contains the universal
installer. Edit the file with information for your environment before launching the silent
installation. The file includes comments that describe the installation properties you can
set. While you can use the TIBCOUniversalInstaller.silent file, its good practice to copy the file
to a different name and use that file for the silent install.
If errors occur during installation, they will be listed in the installation log file located in
the User_Home/.TIBCO directory.
1. Open the physical media or download the package.
2. Extract the contents of the package to a temporary directory.
3. Using a console window, navigate to the temporary directory.
4. Make a copy of the TIBCOUniversalInstaller.silent file and rename the file.
5. Using a text editor, open the copied file and update the install location, ENV_NAME,
and features to install as follows:
Update the install location. TIBCO ActiveMatrix Adapter for Database must be
installed in the same directory where TIBCO Adapters is installed. For example,
update the directory as follows:
<entry key="installationRoot">C:\tibco</entry>
Update ENV_NAME. TIBCO ActiveMatrix Adapter for Database must use the same
ENV_NAME that TIBCO Adapters uses.
For example, update ENV_NAME as follows:
<entry key="createNewEnvironment">false</entry>
<entry key="environmentName">TIBCO_HOME</entry>
Update features to install. Set the features that you want to install to true as follows:
<entry key="feature_Adapter_adadb">true</entry>
<entry key="feature_Palette_adadb">true</entry>
<entry key="feature_Samples_adadb">true</entry>
<entry key="feature_ADB Documentation_adadb">true</entry>
Uninstallation 19
Uninstallation
This section describes how to uninstall this product in the GUI mode and the Console
mode.
GUI Mode
To uninstall this product:
1. Shut down all running TIBCO Adapters applications.
2. Navigate to TIBCO_HOME/tools/universal_installer and run TIBCOUniversalInstaller.
3. In the TIBCO Installation Manager page, perform the following steps:
Select the Uninstall Products From Selected TIBCO Home Location radio
button.
Select the TIBCO_HOME location from the TIBCO Home Location drop-down list.
4. The Welcome dialog appears. Click the Next button.
5. Choose an uninstallation option. The wizard provides two uninstallation options:
Custom Uninstall You can select the products to be removed.
Typical Uninstall The universal uninstaller removes all the products in this
TIBCO_HOME.
6. Click the Next button. Select the TIBCO ActiveMatrix Adapter for Database
checkbox, and click the Next button.
7. Review the Pre-Uninstall Summary and click the Uninstall button to start the
uninstallation process.
8. Review the Post-Uninstall Summary and click the Finish button to exit the uninstall
wizard.
Console Mode
To uninstall this product in Console mode, complete the following steps:
1. Using a command window, navigate to the TIBCO_HOME\tools\universal_installer directory.
2. Type the following command at the command prompt:
TIBCOUniversalInstaller.exe -console
20
| Chapter 2
Installation Steps
| 21
Chapter 3
Post-installation Tasks
Topics
22
| Chapter 3
Post-installation Tasks
Task C, Optionally Install Custom ODBC Drivers and Add to PATH, page 23
2. Using a text editor, change the create_user script to identify the account name and
password for the database user who will run the adapter. If you are using Oracle and
will be using the alerter, also provide the account name to use. For example, for
Oracle:
CREATE USER karlh IDENTIFIED BY adbuser;
GRANT CONNECT, RESOURCE TO karlh IDENTIFIED BY adbuser;
-- For Alerter use only
GRANT EXECUTE on DBMS_AQ to karlh;
GRANT EXECUTE on DBMS_AQADM to karlh;
This account is used to connect to the database and access tables created when
configuring an adapter. Note that a publication source table or subscription destination
table can belong to a different schema than the default specified in the create_user script.
For more information, see the TIBCO ActiveMatrix Adapter for Database
Configuration and Deployment.
3. Execute the create_user script as the database administrator. For example, for Oracle:
TIBCO ActiveMatrix Adapter for Database Installation
4. If you are using Oracle and will be using the alerter, also execute the alerter.sql script.
This script sets up the tables used by the alerter. Use the database user account created
in step 2. For example:
sqlplus dba_user_id/dba_password@service @alerter.sql
When configuring the adapter instance in TIBCO Designer, you need to add the JDBC
driver path to the variable tibco.env.CUSTOM_CP_EXT in the designer.tra file:
tibco.env.CUSTOM_CP_EXT jdbc_driver_path;other_library_file_path
For example:
For MySQL database:
tibco.env.CUSTOM_CP_EXT driver_install_path/mysql-connector-java-5.1.7-bin.jar
Also, you can put the driver file into ADB adapter installation library directory:
TIB_ADADB_HOME/lib
1. Install the ODBC drivers according to the instructions provided by your database
vendor.
2. Add the location of your drivers to the PATH system variable according to the
instructions provided by your database vendor.
TIBCO ActiveMatrix Adapter for Database Installation
24
| Chapter 3
Post-installation Tasks
26
| Chapter 3
Post-installation Tasks
4. In the ODBC Driver Setup dialog, click the General tab and type appropriate values
in the fields. Click the Help button for an explanation of each field.
5. Click the Advanced tab, select the Procedure Returns Results checkbox. This is
necessary for the ODBC driver to return retrieved data from stored procedures for
Request-Reply operations.
Also, the Enable Timestamp with Timezone checkbox should be selected. For more
information, see TIBCO Activematrix Adapter for Database Configuration and
Deployment.
Fill in the other fields as required for your configuration, or accept the defaults.
28
| Chapter 3
Post-installation Tasks
6. Click the Apply button, then click the Test Connect button to test the connection.
7. In the ODBC Driver Setup dialog, click the OK button to save the object, then click
the OK button to exit.
Connect to a DB2 z/OS Database
The adapter can connect to a DB2 database running on z/OS. (The Adapter itself cannot
run on z/OS.)
In order to do so, you need to create ODBC and JDBC packages on the machine where
DB2 z/OS is running. Once the packages are created, they can be used by PUBLIC. The
packages can be used as long as you are using the TIBCO 5.00 DB2 Wire Protocol driver.
If you upgrade to a newer driver, you will need to repeat these procedures with the new
driver.
For this procedure, the z/OS system logon and password must have DB2 BIND authority.
For more information, see the section Configuring and Connecting to Data Sources in
Chapter 5, The DB2 Wire Protocol Driver in the Progress DataDirect Connect Series for
ODBC Users Guide, available in TIB_ADADB_HOME\odbc\help.
To create the ODBC packages on the machine where DB2 z/OS database is running:
1. On the machine where TIBCO ActiveMatrix Adapter for Database is installed,
navigate to the Control Panel, then locate and double-click the Data Sources
(ODBC) icon.
2. Click the System DSN tab, then click the Add... button.
TIBCO ActiveMatrix Adapter for Database Installation
3. At the Create New Data Source dialog, select TIBCO 6.10 DB2 Wire Protocol and
click the Finish button.
30
| Chapter 3
Post-installation Tasks
4. Fill in the fields on the ODBC DB2 Wire Protocol Driver Setup dialog according to
the configuration of the machine where DB2 for z/OS is running. The dialog below
shows sample data. Click the Help button for the field descriptions.
5. Click the Modify Bindings tab. Fill in the fields according to the configuration of the
machine where DB2 for z/OS is running. The dialog below shows sample data. Click
the Help button for field descriptions.
6. Click the Modify Bindings button to generate the ODBC packages on the machine
where DB2 for z/OS is running. You will need your z/OS system logon and password.
A status message displays when the packages are created.
To verify the packages, submit a SQL statement to execute in DB2 for z/OS using, for
example, SPUFI from TSO/ISPF or DB2 Command Center from NT. The following
statement uses the values shown in step 4 above; use values that are appropriate to your
configuration.
TIBCO ActiveMatrix Adapter for Database Installation
32
| Chapter 3
Post-installation Tasks
SELECT * FROM SYSIBM.SYSPACKAGE where name like DEF00% and COLLI = DATADIRECT00
If output similar to the following appears, the packages have been successfully created.
LOCATION
COLLID
NAME
CONTOKEN
---------+---------+---------+---------+---------+------DATADIRECT00
DEF00A .
DATADIRECT00
DEF00B .
DATADIRECT00
DEF00C .
To create the JDBC packages on the machine where DB2 for z/OS is running:
1. On the machine where TIBCO ActiveMatrix Adapter for Database is installed, start
TIBCO Designer and display the Connection tab for the adapter.
2. Enter the following JDBC driver and URL information:
JDBC Driver
JDBC URL
tibcosoftwareinc.jdbc.db2.DB2Driver
jdbc:tibcosoftwareinc:db2://server_name:port;
locationName=DB2_location_name;collectionName=DATADIRECT00;packageName=DEF00;createD
efaultPackage=true;embedded=true
3. Click Test Connection to generate the JDBC packages on the machine where DB2 for
z/OS is running. You will need your z/OS system logon and password.
When the packages are created, a Successful Connection message displays and three
packages are cataloged in DB2 for z/OS.
To verify the packages, submit a SQL statement to execute in DB2 for z/OS using, for
example, SPUFI from TSO/ISPF or DB2 Command Center from NT. The following
statement uses the values shown in step 2 above; use values that are appropriate to your
configuration.
SELECT * FROM SYSIBM.SYSPACKAGE where name like 'DEF00%' and COLLID =
'DATADIRECT00'
If output similar to the following appears, the packages have been successfully created.
LOCATION
COLLID
NAME
CONTOKEN
---------+---------+---------+---------+---------+------DATADIRECT00
DEF00A ..
DATADIRECT00
DEF00B ..
DATADIRECT00
DEF00C ..
3. At the Create New Data Source dialog, select the Teradata item from the Name
column, and click the Finish button.
34
| Chapter 3
Post-installation Tasks
4. Fill in the fields on the ODBC Driver Setup For Teradata Database dialog according to
the configuration of the machine where Teradata database is running. You need to fill
the database name in the Default Database field. The dialog below shows sample data.
Click the Help button for the field descriptions.
5. Click the Options >> button. On the Teradata ODBC Driver Options dialog, complete
the following:
a. Select the Run In Quiet Mode checkbox. This option controls whether message
boxes are displayed.
b. Select the Disable CALL To EXEC Conversion checkbox. This option
implements the CALL statement with an escape clause: CALL name (...).
c. Click the OK button.
6. Click the OK button to save the object, then click the OK button to exit.
Task E Install Additional TIBCO Software
If you will be using any of the following TIBCO products, install them now. These
products are not provided with TIBCO ActiveMatrix Adapter for Database.
TIBCO Administrator
Additional Tasks
If using the SSL feature for ODBC drivers, the path to the driver libraries should be added
to the environment variable PATH.
36
| Chapter 3
Post-installation Tasks
LD_LIBRARY_PATH
SHLIB_PATH
LD_LIBRARY_PATH
LIBPATH
38
| Chapter 3
Post-installation Tasks
Make sure that all adapter users have read, write, and execute permissions for the
following directories where the adapter files and configuration information is stored:
TIB_ADADB_HOME/bin
TIB_ADADB_HOME/logs
TIB_ADADB_HOME/ledger
TIB_ADADB_HOME/sql
TIBCO_HOME/tra/TRA_version/logs
TIBCO_HOME/logs
For example, if you installed the adapter in /opt/tibco, you can make these directories
writable for all other users by executing the following commands:
% chmod a+w /opt/tibco/adapter/adadb/version/bin
% chmod a+w /opt/tibco/adapter/adadb/version/logs
% chmod a+w /opt/tibco/adapter/adadb/version/ledger
% chmod a+w /opt/tibco/adapter/adadb/version/sql
% chmod a+w /opt/tibco/tra/TRA_version/logs
When configuring the adapter instance in TIBCO Designer, you need to add the JDBC
driver path to the variable tibco.env.CUSTOM_CP_EXT in the designer.tra file:
tibco.env.CUSTOM_CP_EXT jdbc_driver_path;other_library_files_path
For example:
For MySQL database:
tibco.env.CUSTOM_CP_EXT MySQL_driver_path/mysql-connector-java-5.1.7-bin.jar
Also, you can put the driver file into the ADB adapter installation library directory:
TIB_ADADB_HOME/lib
The data source on UNIX systems is configured using the odbc.ini file. This file is located in
TIB_ADADB_HOME/odbc.
See the ODBC driver documentation for information on configuring your system data
sources.
For Oracle, the EnableTimestampWithTimeZone parameter in the odbc.ini file should be set
to 1. For more information, see TIBCO ActiveMatrix Adapter for Database Configuration
and Deployment.
The adapter can connect to a DB2 database running on z/OS. (TIBCO ActiveMatrix
Adapter for Database itself cannot run on z/OS.)
In order to connect to the database, you need to create ODBC and JDBC packages on the
machine where DB2 for z/OS is running. Once the packages are created, they can be used
by PUBLIC. The packages can be used as long as you are using the TIBCO 5.30 DB2
Wire Protocol driver. If you upgrade to a newer driver, you will need to repeat these
procedures with the new driver.
To connect to a DB2 for z/OS database, follow the instructions in the section Configuring
and Connecting to Data Sources in Chapter 5, The DB2 Wire Protocol Driver in Progress
DataDirect Connect Series for ODBC Users Guide, available at
TIB_ADADB_HOME/doc/help.
For this procedure, the z/OS system logon and password must have DB2 BIND authority.
40
| Chapter 3
Post-installation Tasks
1. Install unixODBC
a. Download unixODBC source code from http://www.unixodbc.org.
b. Compile and generate unixODBC libraries and programs as follows:
Unzip the source code tar.gz file to a folder, for example:
/home/adb/odbc/installation/unixODBC-2.2.14
Enter into the folder and run the ./Configure command. By default the files are
installed into the /usr/local directory. As is usual with configure, this location can be
changed by altering the prefix option to configure.
./configure --prefix=/home/adb/unixODBC --enable-gui=no
2. Install the MySQL ODBC driver. The following are sample steps for installing the
ODBC driver from MySQL on UNIX.
a. Download MySQL ODBC driver from http://www.mysql.com.
b. Unzip the tar.gz file into a folder, for example:
/home/adb/odbc/installation/mysql/mysql-connector-odbc-5.1.5-linux-x86-32bit
c. Enter the lib directory of this folder, you will find the MySQL ODBC driver
library, libmyodbc5.so, and the MySQL ODBC setup library for ODBCConfig GUI
tool of unixODBC, libmyodbc3S.so.
Use odbcinst tool of unixODBC to register the MySQL ODBC driver.
Go to the $unixODBC_HOME/bin directory, and you will find the odbcinst command
there.
Create an odbcinst_mysql.ini template file for MySQL ODBC driver. For example:
[MySQL ODBC 5.1 Driver]
Description = MySQL 5.1 Driver for Linux
Driver = /home/adb/odbc/installation/mysql/mysql-connector-odbc-5.1.5-linux-x86-32bit/lib/libmyodbc5.so
SETUP =
/home/adb/odbc/installation/mysql/mysql-connector-odbc-5.1.5-linux-x86-32bit/lib/libmyodbc3S.so
42
| Chapter 3
Post-installation Tasks
sslcapath =
sslcert =
sslcipher =
sslkey =
charset =
sslverify =
readtimeout =
writetimeout =
data source
-h
user dsn
-f
library files
On HP-UX IA platform, the adapter uses 64 bit driver, so for all the ODBC driver paths,
you must point to the odbc_64 directory instead of odbc_32.
Task F Install Additional TIBCO Software
If you will be using any of the following TIBCO products, install them now. These
products are not provided with TIBCO ActiveMatrix Adapter for Database.
TIBCO Administrator
44
| Chapter 3
Post-installation Tasks
| 45
Chapter 4
This section lists some common installation errors along with their causes and solutions.
Topics
46
| Chapter 4
You set the DISPLAY variable 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. For 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 the adapter 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.
alaska> xhost + # give permission for all to its share monitor
alaska> telnet itaska
Welcome to HP-UX itaska 11.00
User:
Password:
itaska> export DISPLAY=alaska:0.0 # set display on alaska
itaska> installation_package
For Windows:
installation_package -s -a -is:javahome C:\j2sdk1.6.0
48
| Chapter 4
vpd.properties.tibco.system_name.domain_name
For example:
$ cd ~
$ ln -s vpd.properties.tibco.upside vpd.properties.tibco.upside.tibco.com
For example:
$ cd ~
$ ln -s vpd.properties.tibco.upside.tibco.com vpd.properties.tibco.upside
| 51
Index
Installation Modes
Console Mode 2
GUI Mode 2
Silent Mode 2
Installation Procedure
Console Mode 17
GUI Mode 16
Silent Mode 18
Installation Requirements
Disk Space Requirements 5
Software Requirements 6
Supported Platforms 6
System Memory Requirements 5
Installation Steps 15
Installation Type
Custom 2
Profile 2
Installer Account 2
Installer Log File 4
D
Disk Space Requirements 5
E
ENV_NAME x
O
ODBC drivers documentation 10, 10
G
GUI Mode 2, 16, 20
S
scripts
create_user.sql 24
Silent Mode 2, 18
Software Requirements 6
support, contacting xii
Supported Platforms 6
System Memory Requirements 5
TIBCO ActiveMatrix Adapter for Database Installation
52
| Index
T
technical support xii
TIB_ADADB_HOME x
TIBCO_HOME x
Typical 16
U
Uninstallation
Console Mode 20
GUI Mode 20
Uninstallation Procedure 20