tibco iprocess engine (db2) for unix and linux … db2 character set support ... and exchange ideas...

202
TIBCO iProcess™ Engine (DB2) for UNIX and Linux Installation Software Release 11.1.3 May 2011

Upload: duongdat

Post on 23-May-2018

229 views

Category:

Documents


1 download

TRANSCRIPT

TIBCO iProcess™ Engine

(DB2) for UNIX and Linux

InstallationSoftware Release 11.1.3May 2011

Important Information

TIBCO Software Inc. Confidential 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 iProcess, TIBCO iProcess Suite and TIBCO Enterprise Message Service 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 © 2001-2011 TIBCO Software Inc. ALL RIGHTS RESERVED.TIBCO Software Inc. Confidential Information

| iii

Contents

Preface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . vii

Product Re-branding . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . viii

Related Documentation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ix

How to Contact TIBCO Support. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . x

Documentation Conventions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xi

Chapter 1 Introduction. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1

Overview of the Installation Process . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2

Determining Your Installation Scenario . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3Single-Server or Node-Cluster? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3Who Needs to be Involved in the Installation? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5Should You Support UTF-8?. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5Interactive or Silent Installation?. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6How Long Will an Upgrade Take?. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7

System Requirements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8Basic System Requirements. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8Additional System Requirements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11DB2 Database Requirements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17

Upgrade Requirements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19

Chapter 2 Pre-Installation Tasks. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21

Pre-Installation Tasks Checklist . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22Check For Any Late Breaking Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25Backup the iProcess Engine File System. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26Backup the iProcess Engine Database Schema . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28Upgrade the Operating System . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29Extract the Installation Set to a Temporary Installation Directory . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30Set the Number of File Descriptors per Process . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32Create iProcess Engine UNIX Users and Groups . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33Set up the iProcess Engine System Directory . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35Record Changes to Tomcat Configuration Files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37Set up DB2 Environment Variables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38Create a DB2 Database . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39Configure a TCP/IP Connection to the Database. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40Configure DB2 Character Set Support . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43Configure Lock Escalation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44

TIBCO iProcess Engine (DB2) for UNIX and Linux Installation

iv | Contents

Remove All User-Defined Constraints, Indexes and Statistics From the iProcess Engine Schema Tables. . 46

Chapter 3 Running the Installation Script . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47

Using swinstall . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48Full Installation or Partial Installation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48

Running swinstall . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51

Gathering Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54Using the Configuration Menus . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54The swinstall.dat Control File. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 55Defining iProcess Engine Location, Identification and OS Accounts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57Defining iProcess Engine Configuration Options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 59Defining JMS Parameters for Activity Monitoring. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 61Defining SMTP Server Parameters for the iProcess EMail Plug-in . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63Defining Backup SMTP Servers for the iProcess EMail Plug-in . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 64Defining DB2 Database Connection and Account Details . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 66

Performing the Installation. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 69

Chapter 4 Completing a Partial Installation - Using the $SWDIR/logs/TODO File . . . . . . . . . . 73

The $SWDIR/logs/TODO File . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 74An Example TODO File . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 74

Run the $SWDIR/util/swinitora Script . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 76

Run the $SWDIR/util/swpostinst Script . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 82

Run the $SWDIR/util/upgr Command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 84

Copy the ssolite Shared Library . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 85

Run the $SWDIR/logs/rootscript Script. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 86

Chapter 5 Carrying Out Post-Installation Tasks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 87

Post-Installation Tasks Checklist . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 88Re-implement Changes to Upgraded Configuration Files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 91Configure Firewall Port Ranges on Slave Nodes. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 92Recreate All User-Defined Constraints, Indexes and Statistics on the iProcess Engine Schema Tables . . . 93Configure Your Hard and Soft Data Size Limits (AIX Only) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 94Set Up the Shared Library Path for the iProcess Engine. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 95Set up iProcess Engine Environment Variables. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 97Re-implement Changes to Tomcat Configuration Files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 98Install the IBM Client for JMS on J2SE with IBM WebSphere Application Server . . . . . . . . . . . . . . . . . . . . . 99Configure IAPJMS Security Settings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 101Configure the Default iProcess Engine Setup . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 102Update the iProcess Objects Server Configuration File. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 103Recreate Prediction Data. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 104Disable or Re-enable Write Access to WebDav. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 105

TIBCO iProcess Engine (DB2) for UNIX and Linux Installation

Contents | v

Configure JMX Ports to Run Through a Firewall . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 106Enable Secure Socket Layer (SSL) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 107Start the iProcess Engine . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 110

Chapter 6 Removing the iProcess Engine. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 111

Running swdel . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 112

Appendix A swinstall Menu Reference . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 115

Location, Identification and OS Accounts Menu . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 116Installation Directory . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 117iProcess Engine Nodename . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 118iProcess Engine Licensee Name . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 119iProcess Engine Background User Name . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 120iProcess Engine Administration User Name. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 122iProcess Engine User Group Name . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 124Redirect Administration Queue. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 125

Configuration Options Menu . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 126iProcess Engine Client RPC Number . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 127iProcess Engine Client Password Required . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 128Enable Case Data Normalization . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 129Enable Prediction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 130Enable Autostart . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 131Enable Activity Publishing. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 132Configure iProcess Email Server Plug-in . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 134Enable iProcess Objects Server . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 135Enable iProcess Objects Director . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 136JMX Port Number . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 137Enable Write Access to WebDav . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 138

IAP Configuration Menu. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 139JMS Provider . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 140Base jar files location . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 142Additional jar files Location. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 143Context Factory Name . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 144URL for JMS Provider. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 145Connection Factory Name . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 146

EAI E-Mail Plug-in Configuration Menu . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 147SMTP Host . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 148SMTP Port Number . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 149Mail From Address . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 150

SMTP Backup Servers Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 151Backup Host . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 152Backup Port Number . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 153Retry Count . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 154

TIBCO iProcess Engine (DB2) for UNIX and Linux Installation

vi | Contents

DB2 Database Connection and Account Details Menu. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 155DB2 Database Alias Name . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 156iProcess Engine DB Schema Owner Name. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 157iProcess Engine DB Schema Owner Password. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 158iProcess Engine DB User Name . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 159iProcess Engine DB User Password . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 160 Support Unicode Encoding . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 161

Appendix B Silent Installation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 163

Performing a Silent Installation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 164

Preparing the Control File . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 165

Control File Format . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 167

Control File Keywords . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 168Example File . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 171

Appendix C Troubleshooting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 173

swinstall Cannot Find a Required Operating System Utility on the System . . . . . . . . . . . . . . . . . . . . . . . . . . . . 174

swinstall Cannot Find a Required Operating System Utility on the Installing User’s PATH. . . . . . . . . . . . . . . . . 175

Files and Directories Under $SWDIR are Non-Writable . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 176

Installing on an Incorrect Platform or Database Version . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 177

Installing on an Unvalidated Platform or Database Version . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 178

Cannot Determine the DB2 Fenced User Name. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 179

Errors Occur on Validating the Installation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 180

Restoring Your Original System if an Upgrade Fails . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 184

Bad Username Or Password. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 185

Appendix D Upgrading TIBCO EMS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 187

Updating EMS. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 188IAPJMS Specific Procedure. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 188TIBCO iProcess Web Services Plug-in Specific Procedure. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 188TIBCO iProcess Technology Plug-in Specific Procedure. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 189

TIBCO iProcess Engine (DB2) for UNIX and Linux Installation

| vii

Preface

This guide explains how to install, upgrade and remove the TIBCO iProcess Engine Version 11.1.3 (DB2) for UNIX or Linux.

Topics

• Product Re-branding, page viii

• Related Documentation, page ix

• How to Contact TIBCO Support, page x

• Documentation Conventions, page xi

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.txt file for the availability of this software version on a specific operating system platform.

TIBCO iProcess Engine (DB2) for UNIX and Linux Installation

viii | Preface

Product Re-branding

Further product re-branding was carried out in the 10.6 release, as follows:

• TIBCO Staffware Process Suite™ has been renamed TIBCO iProcess Suite™

• TIBCO iProcess™ Client (Windows) has been renamed TIBCO iProcess™ Workspace (Windows)

• TIBCO iProcess™ Client (Browser) has been renamed TIBCO iProcess™ Workspace (Browser)

• The term "Staffware" has been replaced by "iProcess".

Until this work is complete you may still see references to Staffware and to the old product names within the software and in some documentation.

TIBCO iProcess Engine (DB2) for UNIX and Linux Installation

Related Documentation | ix

Related Documentation

This section lists documentation resources you may find useful.

You can find more information about the TIBCO iProcess Engine from the following sources:

• TIBCO iProcess Engine Release Notes Read the release notes for a list of new and changed features. This document also contains lists of known issues and closed issues for this release. This document is available in the \docs directory on the iProcess Engine distribution set.

• TIBCO iProcess Suite™ Documentation Library This library contains all the guides for the iProcess Engine and other TIBCO products in the TIBCO iProcess Suite.

• power.tibco.com There is also a useful resource, http://power.tibco.com, that delivers technical content to the TIBCO user community. This site has been developed to foster an open forum where users of TIBCO products can find valuable information, example projects and resources for those projects, and exchange ideas with other users. Entry to this site requires a username and password. If you do not have a username, you can request one.

TIBCO iProcess Engine (DB2) for UNIX and Linux Installation

x | Preface

How to Contact TIBCO Support

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:

http://support.tibco.com

Entry to this site requires a username and password. If you do not have a username, you can request one.

TIBCO iProcess Engine (DB2) for UNIX and Linux Installation

Documentation Conventions | xi

Documentation Conventions

The following conventions are used throughout this guide:

All references to UNIX in this guide also apply to Linux unless explicitly stated otherwise.

Convention Description

SWDIR Indicates the iProcess Engine system directory where the iProcess Engine software is installed. The environment variable $SWDIR should be set up to point to the iProcess Engine system directory for the root user and the user you have selected for the Administrator account.

For example, if $SWDIR is set to /swserver/staffw_nod1 then the full path to the swutil command is /swserver/staffw_nod1/bin/swutil, or $SWDIR/bin/swutil.

italics Indicates emphasis, variables and manual titles.

monospace text Indicates commands and their options, and example output.

monospace italic text

Indicates variables in commands.

monospace green text

Indicates text in example output that can vary from installation to installation (version numbers, script names, user names and similar).

monospace bold

text Indicates text that you must enter from the keyboard.

{ } Indicates a set of choices in a syntax line. The braces should not be entered.

[ ] Indicates optional items in a syntax line. The brackets should not be entered.

Example:

SHOW_ALL_ATTRIBUTES [attribute]

| Indicates mutually exclusive choices in a syntax line i.e. you enter only one of the given choices. You should not enter the symbol itself.

TIBCO iProcess Engine (DB2) for UNIX and Linux Installation

xii | Preface

TIBCO iProcess Engine (DB2) for UNIX and Linux Installation

| 1

Chapter 1 Introduction

Topics

• Overview of the Installation Process, page 2

• Determining Your Installation Scenario, page 3

• System Requirements, page 8

• Upgrade Requirements, page 19

This chapter provides important information that you should read before attempting to install or upgrade the iProcess? Engine.

TIBCO iProcess Engine (DB2) for UNIX and Linux Installation

2 | Chapter 1 Introduction

Overview of the Installation Process

To install or upgrade the iProcess Engine you must perform the following steps:

1. Determine your installation scenario and gather the necessary information. See page 3.

2. Carry out all required pre-installation tasks. See Chapter 2 on page 21.

3. Run the swinstall installation script. See Interactive or Silent Installation? on page 6.

4. If necessary, run any additional commands listed in the $SWDIR/logs/TODO file. See Chapter 4 on page 73.

5. Carry out all required post-installation tasks. See Chapter 5 on page 87.

To avoid unnecessary repetition throughout this guide, the terms "install" and "installation" also mean "upgrade" or "upgrading", unless there is a specific difference. For example, the section Performing the Installation on page 69 describes how you use swinstall to install or upgrade the iProcess Engine.

Where there are specific differences between installation and upgrade, these are noted in the text. For example, see the section Installation Directory on page 117.

TIBCO iProcess Engine (DB2) for UNIX and Linux Installation

Determining Your Installation Scenario | 3

Determining Your Installation Scenario

The exact steps you need to follow when installing the iProcess Engine depend on your installation scenario. The following sections explain how to determine your scenario:

• Single-Server or Node-Cluster? on page 3

• Who Needs to be Involved in the Installation? on page 5

• Should You Support UTF-8? on page 5

• Interactive or Silent Installation? on page 6

• How Long Will an Upgrade Take? on page 7

Single-Server or Node-Cluster?The iProcess Engine can be installed using either of the following architectures:

• single-server. The iProcess Engine node is installed on and runs on a single server.

• node cluster. The iProcess Engine node is distributed across multiple servers, each of which runs iProcess Engine processes. One server acts as the master server; all other servers in the cluster are slave servers.

The master server and all slave servers use the same iProcess Engine database schema. The schema can be hosted on a DB2 database that is either local (to one of the servers in the iProcess node cluster) or remote.

The iProcess Engine architecture is scalable. You can convert from a single-server to a node cluster at any time simply by adding another server to the installation. Refer to the TIBCO iProcess Engine Architecture Guide for more information about the iProcess Engine architecture.

TIBCO iProcess Engine (DB2) for UNIX and Linux Installation

4 | Chapter 1 Introduction

Installing on a Node Cluster

If you want to install a new iProcess Engine using a node cluster architecture, you must:

1. Install the iProcess Engine on the master server (to create the iProcess Engine database schema).

2. Install the iProcess Engine on each slave server (to add the server to the node cluster, using the same database schema).

Upgrading on a Node Cluster

If you want to upgrade an existing version i9, i10, 10 or 11 iProcess Engine, either from or to a node cluster architecture, follow the appropriate instructions shown in the table below.

Make sure that you use the same properties (such as nodename, database name, RPC numbers and UNIX account names) on each slave server as you did on the master server. Any specific differences in the installation process for a slave server are noted in the text.

To upgrade...Do this...

From To

single-server single-server Upgrade the iProcess Engine on the single (master) server, using the instructions in this guide.

node cluster node cluster 1. Upgrade the iProcess Engine on the master server, using the instructions in this guide.

2. Upgrade the iProcess Engine on each slave server, using the instructions in this guide.

single-server node cluster 1. Upgrade the iProcess Engine on the single (master) server, using the instructions in this guide.

2. Install the iProcess Engine on each slave server that you want to add to the node, using the instructions in this guide.

node cluster single-server 1. Remove the iProcess Engine on each slave server, using the instructions in the Installation Guide for that version.

2. Upgrade the iProcess Engine on the master server, using the instructions in this guide.

TIBCO iProcess Engine (DB2) for UNIX and Linux Installation

Determining Your Installation Scenario | 5

Who Needs to be Involved in the Installation?To install the iProcess Engine you will need to perform a number of pre-installation tasks, then run the swinstall installation script, and finally perform a number of post-installation tasks.

Each of these stages requires the involvement of one or more of the organizational roles described in the following table.

Depending on your operational and security environment, these roles can be performed either by the same person or by different departments or individuals.

Should You Support UTF-8?TIBCO iProcess Suite supports Unicode (UTF-8) character encoding natively within its component products.When you install TIBCO iProcess Engine, you have the option to specify whether or not you want your iProcess database to support UTF-8 - see the option Support unicode encoding on page 66.

Role Knowledge required... Permissions required...

iPE installer iProcess Engine configuration (including all optional iProcess Engine components)

To install and configure iProcess Engine files and directories

DBA Database configuration To create or upgrade the iProcess Engine database schema and users

root Certain system-wide parameters

To run certain commands and set file permissions

TIBCO recommend that, if possible, you run the swinstall installation script as a root user who also has full DBA-level access. This allows swinstall to perform all necessary installation tasks.

If you run swinstall without either root and/or DBA-level access, further manual tasks will be required to complete the installation after swinstall has finished. The exact tasks required, and who will need to perform them, will vary according to your installation scenario.

See Full Installation or Partial Installation on page 48 for more information.

TIBCO iProcess Engine (DB2) for UNIX and Linux Installation

6 | Chapter 1 Introduction

Determining whether or not to support UTF-8 is a major decision. Before you start the installation process, TIBCO recommends that you consult the chapter “Using the TIBCO iProcess Suite in a Multilingual Environment” in the TIBCO iProcess Engine: Architecture Guide. This sets out the advantages and costs of using UTF-8 both in new installations and when upgrading existing iProcess installations.

Interactive or Silent Installation?You can choose to run the swinstall installation script in two modes:

• Interactive. In interactive mode swinstall prompts you for any information that it requires and displays messages indicating its progress.

See Chapter 3 on page 47 for more information about running swinstall interactively.

• Silent. You can perform a silent (non-interactive) installation by using a control file, which provides all the information that swinstall would obtain by prompting.

See Appendix B on page 163 for more information about running swinstall silently.

When you run swinstall interactively all the configuration information that you supply is written to a control file ($SWDIR/logs/swinstall.dat). You can use this file as a template to produce a control file and so run a similar installation silently. You may want to do this if, for example, you are installing a master server and multiple slave servers.

TIBCO iProcess Engine (DB2) for UNIX and Linux Installation

Determining Your Installation Scenario | 7

How Long Will an Upgrade Take?Upgrading to Version 11.1.3 can involve significant changes to iProcess Engine data and data structures. The upgrade process is therefore complex, and can take a significant amount of time to complete if the system being upgraded has a large amount of case data.

TIBCO cannot provide an estimate of how long the upgrade will take because of the number of customer-specific factors that could have an impact, and the complexity of their interaction - for example, the amount of data in your system, the configuration of your DB2 system and the hardware setup you are running.

TIBCO therefore strongly recommend that you test the upgrade before performing it on your target system, either on a representative production environment, or using a copy of your production system. This will allow you to determine how long the upgrade is likely to take, and to identify any specific factors that may affect the success or duration of the upgrade. If you require further advice or assistance on this, contact TIBCO Support.

One factor that can significantly impact the duration of an upgrade is enabling case data normalization.

Case data normalization is a feature that is used to make case data searching more efficient and therefore faster, by enabling the database to do simple string comparisons instead of type conversions.

If you are upgrading from an iProcess Engine version that does not already have case data normalization enabled, you can choose to enable case data normalization when you run swinstall (see page 59).

If you choose to enable case data normalization, the upgrade process has to create a value for the field_value_N column for every row in the case_data table. (This column holds a "normalized" value of the field_value contents.) Because the upgrade process has to perform this operation on every case of every procedure in the database, this operation can take a significant period of time if there are large numbers of cases on the system.

TIBCO iProcess Engine (DB2) for UNIX and Linux Installation

8 | Chapter 1 Introduction

System Requirements

To be able to install and run this version of the iProcess Engine, your system must meet the following requirements. See:

• Basic System Requirements below

• Additional System Requirements on page 11

• DB2 Database Requirements on page 17

Basic System Requirements

Sun SPARC

The Disk space column in the following tables indicates the amount of disk space needed for the iProcess Engine distribution set when it is extracted to the temporary installation directory (see page 30).

You should add the following amounts to this figure to obtain the total amount of disk space you will need for the iProcess Engine installation:

• 1 GB for the contents of the $SWDIR (see page 117) directory structure after installation.

• the amount of DB2 tablespace needed for iProcess Engine data.

Operating System Disk space

Solaris 8 (SunOS 5.8)

Solaris 9 (SunOS 5.9)

Solaris 10 (SunOS 5.10)

480 MB

TIBCO iProcess Engine (DB2) for UNIX and Linux Installation

System Requirements | 9

IBM RS/6000

Operating System Disk space

AIX 5L Version 5.2

AIX 5L Version 5.3, Technology Level 5300-04 or later

Note: Both 32-bit and 64-bit versions of AIX 5L are supported.

555 MB

If you are using AIX 5L Version 5.3, you must apply the fix for APAR IY84470. Contact IBM for more information about how to obtain and apply this fix.

TIBCO iProcess Engine (DB2) for UNIX and Linux Installation

10 | Chapter 1 Introduction

Intel Pentium x86

Operating System Disk space

Any Linux implementation with Base Kernel Level 2.4.21 or above.

This release has been validated against:

• Novell SUSE Linux Enterprise 10.0 with Service Pack 1, 64 bit version.

Other Linux implementations using this Base Kernel Level have not been formally validated, but have no known incompatibilities with this version of the iProcess Engine. Later versions of the Base Kernel level have not been validated, but are supported.

This release has also been validated against the following environments which use different kernel levels:

• RedHat Enterprise Linux 4.x AS• RedHat Enterprise Linux 4.x ES• RedHat Enterprise Linux 5.x AS• RedHat Enterprise Linux 5.x ES

You may receive a message that the environment has not been validated if the kernel level is different to that used in the test environment.

In all cases, glibc 2.4 (glibc-2.4-31.30) is supported. Ensure that you have obtained the correct glibc version, from the supplier of your Linux implementation or from http://www.gnu.org/software/libc/

420 MB

Note that iProcess Version 11.1 has been validated with the SELINUX option disabled, and has not been tested with SELINUX enabled. By default, SELINUX is enabled in RedHat Enterprise Linux (from version 5.2).

TIBCO iProcess Engine (DB2) for UNIX and Linux Installation

System Requirements | 11

Additional System Requirements

TIBCO iProcess Objects Server

If you intend to enable the iProcess Objects Server (see page 135), you will need to take account of the following additional runtime disk space requirements.

TIBCO iProcess™ Objects Director

If you intend to enable the iProcess™ Objects Director (see page 136), you will need to take account of the following additional disk space and memory requirements.

Hardware Platform Runtime Disk Spacea

a. The iProcess Objects Server log file defaults to a maximum size of 15 MB. This can be con-figured after installation. See the TIBCO iProcess Objects Server Administrator’s Guide for more information.

Sun SPARC 5 MB + Log

IBM RS/6000 20 MB + Log

Intel Pentium x86 5 MB + Log

Platform Disk Space a

a. The iProcess Objects Director log file defaults to a maximum size of 15 MB. This can be con-figured after installation using the LOG_FILE_MAX_SIZE process attribute. (See the TIBCO iProcess Objects Director Administrator’s Guide for more information.) Note, how-ever, that the log file is not created during the install; it is created the first time the iProcess Objects Director is used.

Memory

Sun SPARC 500 KB + Log 50 MB

IBM RS/6000 500 KB + Log 20 MB

Intel Pentium x86 500 KB + Log 50 MB

TIBCO iProcess Engine (DB2) for UNIX and Linux Installation

12 | Chapter 1 Introduction

iProcess Server Manager

The iProcess Server Manager is a JSP web client application that you can use to start, stop, restart and pause iProcess Engine server processes. It utilizes TIBCO Hawk® to provide a graphical view of the iProcess Engine server processes on a machine or a node cluster.

If you are planning to use the iProcess Server Manager you must have:

• TIBCO Hawk Version 4.9.0 installed on the machine where you intend to install the iProcess Engine.

• TIBCO Rendezvous® Version 8.1.1 installed on the machine where you intend to install the iProcess Engine. (This is the minimum version required to run TIBCO Hawk Version 4.9.0)

• TIBCO Hawk Version 4.9.0 installed on the machines on which you want to administer iProcess Engine processes.

If you have a version of TIBCO Rendezvous earlier than 8.1.1 already installed, you should either remove TIBCO Rendezvous or upgrade it to Version 8.1.1 before installing the iProcess Engine. This is because Setup cannot upgrade an earlier version of TIBCO Rendezvous.

TIBCO iProcess Engine (DB2) for UNIX and Linux Installation

System Requirements | 13

Activity Publishing and Work Queue Delta Publication

If activity publishing is enabled, activity information about auditable objects (for example, procedures and steps) can be published to an external application. (The BG process publishes monitored activities to the IAPJMS process.) This enables real-time monitoring of auditable objects so that mission critical or important business events can be easily monitored.

Enabling activity publishing also enables Work Queue Delta publication. This allows an external application to monitor a work queue and to retrieve only those work items in a given work queue that have changed. In this case the WIS process publishes messages about the monitored queue to the IAPJMS process, and IAPJMS in turn publishes messages to a JMS topic which can be monitored by the external application. See the TIBCO iProcess Engine System Administration guide for configuring activity publishing and work queue delta publication once they are enabled.

If you plan to enable activity publishing, you must ensure that the computer hosting the iProcess Engine has access to the Java Message Service (JMS) provider that you want to use. This must be one of the following.

JMS providerMinimum Supported Versions

Additional Requirements

TIBCO Enterprise Message Service™ (EMS)

4.4.3 None.

TIBCO iProcess Engine has also been tested against Version 5.1.2, which is delivered with iProcess Suite Version 11.1.3.

IBM WebSphere 6.1 The IBM Client for JMS on J2SE with WebSphere Application Server must be installed on the machine hosting the iProcess Engine (see page 99).

5.1 None.

BEA WebLogic Server® 8 There are no additional requirements if you use WebLogic Server Version 8.

TIBCO iProcess Engine (DB2) for UNIX and Linux Installation

14 | Chapter 1 Introduction

Note that:

• The JMS provider can be hosted either on the local machine or on a remote machine. If the JMS provider is hosted remotely, appropriate client application .jar files must be installed on the machine hosting the iProcess Engine. (Refer to your JMS provider documentation for more information about required client .jar files.) You specify the location of these .jar files when you run swinstall (see page 142).

Oracle WebLogic Server® 9.2 However, if you use WebLogic Server Version 9.2 instead of Version 8, the following additional requirements apply.

If the WebLogic Server is hosted remotely, one of the following WebLogic client types must be installed on the machine hosting the iProcess Engine:

• WebLogic T3 client (weblogic.jar), or

• WebLogic JMS Thin Client (wljmsclient.jar and wlclient.jar)

These .jar files are located in the WL_HOME/server/lib subdirectory of the WebLogic Server installation directory, where WL_HOME is the top-level installation directory for the entire WebLogic Platform.

Note also that if you do use WebLogic Server Version 9.2, you must select Other ( not BEA WebLogic Server) in the JMS Provider entry of the IAP Configuration menu. See JMS Provider on page 140.

Oracle WebLogic was previously known as BEA WebLogic. References to BEA WebLogic may still appear in the software and documentation.

JBoss 4.0.0 None

JBoss Messaging 1.0.1 SP2

Other See the notes below.

JMS providerMinimum Supported Versions

Additional Requirements

TIBCO iProcess Engine (DB2) for UNIX and Linux Installation

System Requirements | 15

• The JMS provider must support one of the following Java Virtual Machines (JVM):

Platform Operating System Distributed JVM (in $SWDIR/java)

Supported JVM

Sun SPARC Solaris 8, 9 or 10 1.6.0_12 1.6

IBM RS/6000 AIX 5L Version 5.2 or 5.3

5.0.0.76 5.0.0.76

x86 Novell SUSE Linux Enterprise 10.0orRedHat Linux AS or ES, 4.0 or 5.0

1.6.0_12 1.6

TIBCO iProcess Engine (DB2) for UNIX and Linux Installation

16 | Chapter 1 Introduction

Java Runtime Environment (JRE)

The following table lists:

• the iProcess Engine components and other dependant iProcess products that use Java and so need access to a JVM or other JRE libraries on the computer hosting the iProcess Engine.

• the default JRE that each component or product uses to locate the libraries that it needs.

• the configuration tool provided to allow you to configure the location of the JRE used by each component/product (if applicable).

Component/Product Default JRE Location Configuration Tool

IAPJMS process $SWDIR/java SWLIB_PATH process attribute value

See "Administering Process Attributes" in the TIBCO iProcess Engine Administrator’s Guide for more information.

iProcess Server Manager $SWDIR/java None

JMX engine $SWDIR/java None

TIBCO EMS $SWDIR/java None

TIBCO Hawk $SWDIR/java None

TIBCO iProcess BusinessWorks Connector™ Server Plug-in

Selectable when you install the plug-in

TIBCO iProcess™ Technology Plug-ins installer

See TIBCO iProcess Technology Plug-ins Installation for more information.

TIBCO iProcess™ Java Server Plug-in

Selectable when you install the plug-in

TIBCO iProcess Technology Plug-ins installer

See TIBCO iProcess Technology Plug-ins Installation for more information.

Note: On some platforms, if you are installing iProcess Java Server Plug-in to use with this version of iProcess Engine, you cannot run the installer with Java 1.6, you must use an earlier version such as Java 1.5. However, you can use Java 1.6 at run-time.

TIBCO iProcess Engine (DB2) for UNIX and Linux Installation

System Requirements | 17

TIBCO strongly recommend that you use one of the JREs listed in the following table (in order of preference) to provide the necessary Java functionality when using the components and products listed in the table above:

1. The Distributed JVM version, which is distributed with this version of the iProcess Engine and installed into the $SWDIR/java directory.

2. The Supported JVM version, which TIBCO have validated for compatibility with this version of the iProcess Engine:

DB2 Database RequirementsThe DB2 requirements depend on whether you intend to use a local or remote database with the iProcess Engine:

TIBCO iProcess Engine Web Services Server Plug-in

Selectable when you install the plug-in

TIBCO iProcess Engine Web Services Plug-in installer

See TIBCO iProcess Engine Web Services Plug-in Installation for more information.

Component/Product Default JRE Location Configuration Tool

Platform Operating System Distributed JVM

Supported JVM

Sun SPARC Solaris 8, 9 or 10 1.6.0_12 1.6

IBM RS/6000 AIX 5L Version 5.2 or 5.3

5.0.0.76 5.0.0.76

x86 Novell SUSE Linux Enterprise 10.0orRedHat Linux AS or ES, 4.x or 5.x

1.6.0_12 1.6

If you need to use a different version of the JRE for any reason, TIBCO strongly recommend that you contact TIBCO Support before doing so, to determine if the JRE you want to use is fully compatible with this version of the iProcess Engine.

TIBCO iProcess Engine (DB2) for UNIX and Linux Installation

18 | Chapter 1 Introduction

• A local database is a database that is hosted on the computer where you will install the iProcess Engine.

If you intend to use a local database:

a. You must have a DB2 Server installed on the computer where you will install or upgrade the iProcess Engine.

b. The TCP/IP communications protocol must be enabled.

• A remote database is a database that is hosted on a different computer to the one where you will install the iProcess Engine.

If you intend to use a remote database:

a. You must have a DB2 Run-Time Client or Administration Client installed on the computer where you will install or upgrade the iProcess Engine.

b. The DB2 client must be configured to access the remote DB2 server using TCP/IP.

The following table shows the required DB2 server and client versions.

Please see your DB2 documentation for more information about how to install DB2 servers and clients, and how to configure communications between them.

Platform DB2 Version Required Release Level

Required Patch(es)

Solaris DB2 Universal Database for Solaris (Server and/or Client)

9.1 or 9.5 None

AIX DB2 Universal Database for AIX (Server and/or Client)

9.1 or 9.5 None

x86 DB2 Universal Database for Linux (Server and/or Client)

9.1 or 9.5 None

If you are using a DB2 release (Server or Client) that is later than Version 9.1, please contact TIBCO Support to confirm whether or not that release is supported by your iProcess Engine version.

TIBCO iProcess Engine (DB2) for UNIX and Linux Installation

Upgrade Requirements | 19

Upgrade Requirements

You can upgrade directly to the Version 11.1.3 iProcess Engine (DB2) from an earlier Version 10.x or 11.x iProcess Engine .

Note that:

• Direct upgrade is not possible from a SQL Server, Oracle or Classic variant of the iProcess Engine or Process Engine, or from a Version 8 or earlier Staffware server. If you wish to upgrade from such a system to Version 11.1.3, please contact TIBCO Support for further advice and assistance.

• The Version 11.1.3 iProcess Engine requires specific operating system and DB2 versions - see System Requirements on page 8 for more information.

If your current iProcess Engine is running against an operating system and/or DB2 version that does not meet these requirements, you will need to upgrade your operating system and/or DB2 database to a supported version before you can upgrade the iProcess Engine - see Chapter 2 on page 21.

If you are upgrading iProcess Engine, you must ensure that your version of EMS is updated. See Appendix D, Upgrading TIBCO EMS, on page 187.

TIBCO iProcess Engine (DB2) for UNIX and Linux Installation

20 | Chapter 1 Introduction

TIBCO iProcess Engine (DB2) for UNIX and Linux Installation

| 21

Chapter 2 Pre-Installation Tasks

This chapter describes the tasks that you need to perform before you run the swinstall script to install the iProcess Engine.

Topics

• Pre-Installation Tasks Checklist, page 22

Make sure that you have read the information in Chapter 1 on page 1 before starting on these tasks!

TIBCO iProcess Engine (DB2) for UNIX and Linux Installation

22 | Chapter 2 Pre-Installation Tasks

Pre-Installation Tasks Checklist

The table on the next page provides a checklist of the different tasks that you must or may need to do before running the swinstall installation script. The table shows:

• which user(s) need to perform each task - the root, iProcess Engine (iPE) installer or DBA user(s) (see page 5).

• the task’s status according to whether you are installing a new iProcess Engine or upgrading an existing one. This is either:

— Required - You must perform this task before running swinstall.

— Check - You may need to perform this task before running swinstall, depending on your installation scenario.

— Optional - You may wish to perform this task before running swinstall, but it is not essential.

— n/a - You can run swinstall without performing this task.

Consult the indicated section for more detailed information about a particular task.

You may want to print this table as a useful quick reference when carrying out the pre-installation tasks. The Done? column in the table provides a place for you to tick off tasks that have been done.

TIBCO iProcess Engine (DB2) for UNIX and Linux Installation

Pre-Installation Tasks Checklist | 23

Task To be done by

InstallStatus

UpgradeStatus See Done?

1. Check For Any Late Breaking Information

iPE installer, DBA

Required Required page 25

2. Backup the iProcess Engine File System

root n/a Required page 26

3. Backup the iProcess Engine Database Schema

DBA n/a Required page 28

4. Upgrade the Operating System root Check Check page 29

5. Extract the Installation Set to a Temporary Installation Directory

iPE installer Required Required page 30

6. Set the Number of File Descriptors per Process

root Required Check page 32

7. Create iProcess Engine UNIX Users and Groups

root Required n/a page 33

8. Set up the iProcess Engine System Directory

iPE installer Optional Check page 35

9. Record Changes to Tomcat Configuration Files

iPE installer n/a Check page 37

10. Set up DB2 Environment Variables

iPE installer, DBA

Required Check page 38

11. Create a DB2 Database DBA Required n/a page 39

12. Configure a TCP/IP Connection to the Database

DBA Required n/a page 40

13. Configure DB2 Character Set Support

DBA Check Check page 43

14. Configure Lock Escalation DBA Required n/a page 44

TIBCO iProcess Engine (DB2) for UNIX and Linux Installation

24 | Chapter 2 Pre-Installation Tasks

15. Remove All User-Defined Constraints, Indexes and Statistics From the iProcess Engine Schema Tables

DBA n/a Check page 46

Task To be done by

InstallStatus

UpgradeStatus See Done?

TIBCO iProcess Engine (DB2) for UNIX and Linux Installation

Check For Any Late Breaking Information | 25

Check For Any Late Breaking Information

Status

Description Before you install the iProcess Engine you should check if there are any restrictions, known issues or other late-breaking information that may affect your installation, but that was not known about when this Installation Guide was published.

Procedure To check for late-breaking information:

1. Read the Release Notes and Readme documents that are supplied with the iProcess Engine software.

If you are installing from the physical media, you can find these files in the docs directory on the physical media.

If you are installing from a network server, you should ask your network administrator where these files are stored.

2. Consult the "Late Breaking News" section of the TIBCO Support Web, at (http://www.tibco.com/services/support/supportweb.jsp).

If you are... This task is...

Installing a new iProcess Engine Required

Upgrading from any Version i10, 10 or 11 iProcess Engine Required

TIBCO iProcess Engine (DB2) for UNIX and Linux Installation

26 | Chapter 2 Pre-Installation Tasks

Backup the iProcess Engine File System

Status

Description

Procedure To backup the iProcess Engine:

1. Log in as root.

2. Get all users to log out of the iProcess Engine.

3. Issue the following commands to stop the iProcess Engine processes and Process Sentinels:

$SWDIR/bin/swstop

$SWDIR/bin/swstop -p

4. Using your operating system backup utility, make a secure off-line copy of the entire $SWDIR directory structure and any other files you would want to restore if a failure occurs during upgrade.

Note that if you have made any changes to the following files since they were installed, you will need to manually re-implement those changes after you have upgraded:

— $SWDIR/etc/language.lng/staffico

— $SWDIR/etc/language.lng/auditusr.mes.

If you are... This task is...

Installing a new iProcess Engine Not applicable

Upgrading from any Version i10, 10 or 11 iProcess Engine Required

You must backup your iProcess Engine system before an upgrade!

Make sure that you backup the entire $SWDIR directory structure, and any other files you would want to restore if a failure occurs during upgrade. The upgrade process has no undo capability. If it fails for any reason, you will require a full backup of your $SWDIR filesystem to be able to restore your original iProcess Engine system.

You must also back up your database schema - see page 28.

TIBCO iProcess Engine (DB2) for UNIX and Linux Installation

Backup the iProcess Engine File System | 27

This is because the files are overwritten during the upgrade and any changes to the original files are not automatically merged into the new files. See Re-implement Changes to Upgraded Configuration Files on page 91.)

See Also See the TIBCO iProcess Engine Administrator's Guide and your operating system documentation for more information about the procedures described in this section.

TIBCO iProcess Engine (DB2) for UNIX and Linux Installation

28 | Chapter 2 Pre-Installation Tasks

Backup the iProcess Engine Database Schema

Status

Description

In some circumstances, it is possible that an upgrade may fail and leave the iProcess Engine in an unusable condition. If this happens, you will need your schema backup to restore the system to its previous condition before you can either use it or attempt to upgrade it again.

Procedure Refer to your DB2 documentation for more information about how to backup the iProcess Engine database schema.

If you are... This task is...

Installing a new iProcess Engine Not applicable

Upgrading from any Version i10, 10 or 11 iProcess Engine Required

You must backup your iProcess Engine database schema before an upgrade!

TIBCO iProcess Engine (DB2) for UNIX and Linux Installation

Upgrade the Operating System | 29

Upgrade the Operating System

Status

Description This version of the iProcess Engine requires a specific operating system version- see Basic System Requirements on page 8 for more information.

Node-Cluster The operating system version used must be the same on the master server and on each slave server.

Procedure If you are using an operating system version that does not meet the specified requirements, you must upgrade it now.

See Also Refer to your operating system documentation for more information about how to perform the upgrade.

If you are... This task is...

Installing a new iProcess Engine Possibly required

Upgrading from any Version i10, 10 or 11 iProcess Engine Possibly required

TIBCO iProcess Engine (DB2) for UNIX and Linux Installation

30 | Chapter 2 Pre-Installation Tasks

Extract the Installation Set to a Temporary Installation Directory

Status

Description The installation set for the iProcess Engine is supplied as a tar file on the physical media. You must extract the installation set from the tar file before you can run the swinstall installation script.

Procedure To extract the installation set from the tar file to a temporary installation directory:

1. Log in as the user who will run swinstall. This must be either root or the iProcess Engine background user (see page 120).

2. Create a temporary installation directory and cd into it.

3. Mount the physical media

4. If you are installing on an HP-Itanium system:

a. Copy the staffwar.tar.gz file from the physical media into your temporary installation directory.

b. Run the following command to extract the staffwar.tar file into the temporary installation directory.

gunzip staffwar.tar.gz

If you are... This task is...

Installing a new iProcess Engine Required

Upgrading from any Version i10, 10 or 11 iProcess Engine Required

Unlike in previous iProcess Engine versions, the installation script does not modify the contents of the installation set in the temporary directory, or delete the installation set from the temporary directory at the end of the installation process.

This means that you can, if required, perform multiple installations from the same temporary directory.

The full pathname of this temporary installation directory must be no longer than 200 characters. Installation problems may occur if you attempt to install the iProcess Engine from a directory with a longer pathname.

TIBCO iProcess Engine (DB2) for UNIX and Linux Installation

Extract the Installation Set to a Temporary Installation Directory | 31

5. Use the following tar command to extract the installation set from the staffwar.tar file into your temporary installation directory:

where:

— mount_point or MOUNT_POINT is the location at which your physical media is mounted.

— TAR_LOC is the location of the staffwar.tar file, which is either the pathname of your temporary installation directory (if you are installing on an HP-Itanium system), or the location at which your physical media is mounted (if you are installing on an HP 9000 system).

6. Un-mount the physical media.

See Also For more information about how to mount and un-mount the physical media, refer to your operating system documentation.

Platform Command

AIX tar xvf /mount_point/staffwar.tar

SunOS/Solaris tar xvf /mount_point/staffwar.tar

Sun x86 Solaris tar xvf /mount_point/staffwar.tar

Linux tar xvf /mount_point/staffwar.tar

TIBCO iProcess Engine (DB2) for UNIX and Linux Installation

32 | Chapter 2 Pre-Installation Tasks

Set the Number of File Descriptors per Process

Status

Description When the iProcess Engine is started, it must have a sufficient number of available file descriptors per process, based upon the number of iProcess Engine users.

The number of files per user that will be needed by the iProcess Engine will vary depending on a number of factors that are unique to each site’s procedures and transactions. However, as a guideline, the minimum number of file descriptors per process needed will be the highest of the following three values:

• 1024

• (Number of iProcess Engine users) * 2

• Number of file descriptors required by the TIBCO iProcess Objects Server, if an iProcess Objects Server is also installed on this machine. Please see the iProcess Objects Server Release Notes for details of how to calculate the number of required file descriptors per process.

When the iProcess Engine is started, it attempts to set the number of files from the system default number to the maximum number allowed. You can display:

• the default value by using the UNIX ulimit -n or ulimit -Sn commands (S indicating the “soft” or default limit).

• the maximum value by using the UNIX ulimit -Hn command (H indicating the “hard” or maximum limit).

Procedure If your current per process file limit is less than the number needed, you must either raise the number of open files for the entire system, or use a script with root execute permissions to set the file handle limit. For more information about how to do this, please refer to your operating system documentation.

If you are... This task is...

Installing a new iProcess Engine Required

Upgrading from any Version i10, 10 or 11 iProcess Engine May be required

It is highly recommended that you set the per process file limit as high as possible; the iProcess Engine may exhibit unpredictable behavior or even fail if there are no more file descriptors available. Running the command ulimit -n unlimited will set the file limit to the operating system design limits; this command will only be successful if the system limits allow this.

TIBCO iProcess Engine (DB2) for UNIX and Linux Installation

Create iProcess Engine UNIX Users and Groups | 33

Create iProcess Engine UNIX Users and Groups

Status

Description The iProcess Engine needs the following UNIX user accounts and groups:

1. iProcess Engine Background user account. This is the UNIX user account that owns most iProcess Engine files and is used to run the iProcess Engine background processes - see page 120. You may choose to create this account before you run swinstall. If you choose not to, the installation process will create the account (if you are installing as the root user) or create a script to do so.

2. iProcess Engine Administration user account. This is the UNIX user account that is used to administer the iProcess Engine - see page 122. You can either create this account now or let swinstall create it for you. You may choose to create this account before you run swinstall. If you choose not to, the installation process will create the account (if you are installing as the root user) or create a script to do so.

3. iProcess Engine User group. This is the UNIX group to which all iProcess Engine users must belong - see page 124. You may choose to create this group before you run swinstall. If you choose not to, the installation process will create the group (if you are installing as the root user) or create a script to do so.

The iProcess Engine also needs the following UNIX user accounts to communicate with DB2:

1. iProcess Engine DB Schema Owner account. This is the UNIX user account that owns the iProcess Engine database schema - see page 157. You must create this account before you run swinstall.

2. iProcess Engine DB User account. This is the UNIX user account that the iProcess Engine uses to access to the iProcess Engine database schema. This user has the REFERENCES, SELECT, DELETE, and UPDATE permissions.

3. with the REFERENCES, SELECT, DELETE, and Update permissions - see page 159. You must create this account before you run swinstall.

If you are... This task is...

Installing a new iProcess Engine Required

Upgrading from any Version i10, 10 or 11 iProcess Engine Not applicable

You can, if you wish, use the same UNIX account as both the iProcess Engine Background user and iProcess Engine Administration user.

TIBCO iProcess Engine (DB2) for UNIX and Linux Installation

34 | Chapter 2 Pre-Installation Tasks

Node-Cluster You must use the same UNIX account names on the master server and each slave server.

Procedure To set up these users and groups:

1. Log in as the root user.

2. Create the iProcess Engine Background user account.

3. (Optional) Create the iProcess Engine Administration user account. Make sure that logins are enabled and that the account is password-protected.

4. Create the iProcess Engine User group.

5. Add the following user accounts as members of the Staffware group:

— iProcess Engine Background user account

— iProcess Engine Administration user account

— all other users who will require access to any files under $SWDIR (for example, to run $SWDIR/bin/swutil commands, or to use a SERVERRUN command that accesses a file under $SWDIR).

6. Create the iProcess Engine DB Schema Owner account.

7. Create the iProcess Engine DB User account.

See Also Please refer to your operating system documentation for more information about how to create UNIX user accounts and groups.

TIBCO iProcess Engine (DB2) for UNIX and Linux Installation

Set up the iProcess Engine System Directory | 35

Set up the iProcess Engine System Directory

Status

Description SWDIR is the iProcess Engine system directory, where the iProcess Engine software is installed. Note that:

• SWDIR must not be the temporary installation directory, a user's home directory or a directory in a temporary or read-only filesystem.

• If you are upgrading and you want to run swinstall as the iProcess Engine background user (see page 120), this user must have the necessary permissions to the $SWDIR directory structure. The root user will need to grant these permissions - see below.

Node-Cluster SWDIR must be setup on the master server and on each slave server.

Procedure1. Log in as the user who will run swinstall (either root or the iProcess Engine

background user).

2. Set the SWDIR environment variable to the directory where you wish to install (or upgrade) the iProcess Engine. For example:

export SWDIR=/iProcess/swnod1

3. If you are upgrading and you want to run swinstall as the iProcess Engine background user:

a. Log in as root.

b. Use the following command to make sure that all files in $SWDIR and all of its sub-directories have full read/write permissions (rw-rw-rw).

chmod -R a+rw $SWDIR

If you are... This task is...

Installing a new iProcess Engine Optional.

Upgrading from any Version i10, 10 or 11 iProcess Engine Required

TIBCO iProcess Engine (DB2) for UNIX and Linux Installation

36 | Chapter 2 Pre-Installation Tasks

c. Use the following commands to change the ownership of certain files under $SWDIR, to the iProcess Engine background user.

chown pro $SWDIR/bin/fixperms chown pro $SWDIR/util/swinitorachown pro $SWDIR/util/upgrchown pro $SWDIR/util/swpostinst

where pro is the name of the iProcess Engine background user.

See Also Please refer to your operating system documentation for more information about how to set environment variables.

TIBCO iProcess Engine (DB2) for UNIX and Linux Installation

Record Changes to Tomcat Configuration Files | 37

Record Changes to Tomcat Configuration Files

Status

Description When you run swinstall, the Apache Tomcat application server is installed into the $SWDIR/tomcat directory. (Tomcat is used by the iProcess Server Manager.)

Version 11.1.3 of the iProcess Engine installs Tomcat version 5.5.31. Pre-10.6 versions of the iProcess Engine installed Tomcat version 4.1 (or earlier).

The format of Tomcat’s .xml configuration files has changed in version 5.5.31. As a result, any changes you have made to existing Tomcat configuration files will be lost when you upgrade from a pre-10.6 version of the iProcess Engine. If you want to keep those changes, you need to record what they are and then manually re-implement them after you have upgraded.

Procedure Record any changes (either directly, or by making backup copies) that you have made to .xml configuration files under the $SWDIR/tomcat directory.

If you want to keep these configuration changes after you have upgraded the iProcess Engine you will need to manually re-implement them in the Tomcat version 5.5.31 configuration files - see page 98.

If you are... This task is...

Installing a new iProcess Engine Not applicable

Upgrading from any Version i10, 10 or 11 iProcess Engine

Required if upgrading from a pre-10.6 version

TIBCO iProcess Engine (DB2) for UNIX and Linux Installation

38 | Chapter 2 Pre-Installation Tasks

Set up DB2 Environment Variables

Status

Description The iProcess Engine uses the following environment variables for communication with the DB2 database:

• DB2PATH - the directory where the DB2 software is installed.

• DB2INSTANCE - the name of the DB2 instance that will hold the iProcess Engine database. (If you want to use a new instance for the iProcess Engine database you should create the instance now.)

• DB2CONNECT_IN_APP_PROCESS - this DB2 system environment variable must be either set to Yes, or not set (the default setting). If this variable is set to No the iProcess Engine will fail to start.

Node-Cluster These environment variables must be setup on the master server and on each slave server.

Procedure

1. Set DB2PATH and DB2INSTANCE in the shell of the user who is going to run swinstall (either root or the iProcess Engine background user).

2. Make sure that DB2CONNECT_IN_APP_PROCESS is either set to Yes, or is not set (the default setting). Use the DB2 db2set command to check and, if necessary, reset the value of this variable.

Exampleexport DB2PATH=/opt/IBM/db2/V8.2 export DB2INSTANCE=db2inst1

See Also Please refer to your operating system documentation for more information about how to set environment variables.

If you are... This task is...

Installing a new iProcess Engine Required

Upgrading from any Version i10, 10 or 11 iProcess Engine Required

TIBCO iProcess Engine (DB2) for UNIX and Linux Installation

Create a DB2 Database | 39

Create a DB2 Database

Status

Description You must create an empty DB2 database to hold iProcess data before you install the iProcess Engine. The installation script (swinstall) will populate this database with the necessary iProcess data.

Procedure To create the database:

1. Log in as a user who has the necessary permissions to create a database in the $DB2INSTANCE instance.

2. Make sure that $DB2INSTANCE points to the correct instance.

3. Use the following DB2 command to create the database.

db2 create database db_name

where db_name is the name you want to use for the iProcess Engine database.

Give the iProcess Engine DB Schema Owner account the necessary permissions to create and write to any Explain tables on the database.

See Also See your DB2 documentation for detailed information about how to create a database and the CREATE DATABASE command.

If you are... This task is...

Installing a new iProcess Engine Required

Upgrading from any Version i10, 10 or 11 iProcess Engine Not applicable.

If you intend to use the SQL Explain facility with the iProcess Engine database, you must ensure that the iProcess Engine DB Schema Owner account (see page 33) has the necessary permissions to create and write to the Explain tables.

If the account does not have these permissions, swinstall will not be able to create the iProcess Engine stored procedures when it populates the database. Any application that uses these stored procedures, such as the TIBCO iProcess Web Services Plug-in, will not work.

Refer to your DB2 documentation for more information about explain tables and how to grant create/write access to them.

TIBCO iProcess Engine (DB2) for UNIX and Linux Installation

40 | Chapter 2 Pre-Installation Tasks

Configure a TCP/IP Connection to the Database

Status

Description The iProcess Engine, acting as a DB2 client, needs to communicate with the DB2 server over a TCP/IP connection. This applies whether the DB2 database is hosted on a local or remote machine.

Shared memory connections cannot be used for communication with the DB2 server.

Procedure To configure a TCP/IP connection:

1. Add a TCP/IP node entry to the DB2 node directory. This entry defines that the TCP/IP communications protocol is used to access the specified DB2 node. To do this, use the following DB2 command.

db2 catalog tcpip node nodename remote hostname server svcename

where:

— nodename is the name you want to use for this entry.

— hostname is the TCP/IP host name or IP address of the node where the iProcess Engine database resides. If you are using a local database, hostname should be the localhost address (127.0.0.1).

— svcename is the Connection Service name used by the DB2 instance where the iProcess Engine database resides.

This name defines the TCP/IP port used by the instance to listen for client requests, and is defined in the /etc/services file. For example:

db2c_db2inst1 50000/tcp # Connection port for DB2# instance db2inst1

If you are... This task is...

Installing a new iProcess Engine Required

Upgrading from any Version i10, 10 or 11 iProcess Engine Not applicable.

TIBCO iProcess Engine (DB2) for UNIX and Linux Installation

Configure a TCP/IP Connection to the Database | 41

2. Add an alias for the iProcess Engine database to the system database directory. This alias uses the TCP/IP node entry you specified above. To do this, use the following DB2 command.

db2 catalog database db_name as alias at node nodename

where:

— db_name is the name of the iProcess Engine database you created earlier (see page 39).

— alias is an alternative name for this database. You will use this name to identify the database when you run swinstall (see page 66).

— nodename is the TCP/IP node entry you defined above.

3. If the database manager configuration file for this DB2 instance is not already using the svcename Connection Service name you specified above, update it so that it does by using the following command.

db2 update database manager configuration using svcename svcename

4. Enable the use of the TCP/IP protocol for the instance using the following command:

db2set DB2COMM=protocol

where protocol is either TCPIP or, if the instance needs to use multiple communication protocols, a comma-separated list of the appropriate keywords. See your DB2 documentation for more information.

5. Stop and restart the DB2 instance to apply the configuration changes. Use the following commands.

db2stop forcedb2start

You can use the db2 get database manager configuration command to check what Connection Service name the DB2 instance is currently using.

TIBCO iProcess Engine (DB2) for UNIX and Linux Installation

42 | Chapter 2 Pre-Installation Tasks

Example 1:Using a Local

Database

The following example shows the commands needed to set up TCP/IP connections to an iProcess Engine database called swnod501 that is on the same computer as the iProcess Engine.

The alias r_sw501 will be used to identify this database to the iProcess Engine.

db2 catalog tcpip node loopfix remote 127.0.0.1 server db2c_db2inst1db2 catalog database swnod501 as r_sw501 at node loopfix db2 update database manager configuration using svcename db2c_db2inst1db2set DB2COMM=TCPIPdb2stop forcedb2start

Example 2:Using a Remote

Database

The following example shows the commands needed to set up TCP/IP connections to an iProcess Engine database called swnod502 that is installed on a remote computer called llama3.

The alias r_sw502 will be used to identify this database to the iProcess Engine.

db2 catalog tcpip node db24sw1 remote llama3 server db2cdb2inst2db2 catalog database swnod502 as r_sw502 at node db24sw1 db2 update dbm cfg using svcename db2cdb2inst2db2set DB2COMM=TCPIPdb2stop forcedb2start

TIBCO iProcess Engine (DB2) for UNIX and Linux Installation

Configure DB2 Character Set Support | 43

Configure DB2 Character Set Support

Status

Description Ensure that the language, territory and character set that the iProcess Engine uses to communicate with the DB2 database are set correctly.

See Also For more information about configuring the DB2 Character set, please refer to your DB2 documentation.

If you are... This task is...

Installing a new iProcess Engine May be required

Upgrading from any Version i10, 10 or 11 iProcess Engine May be required

TIBCO iProcess Engine (DB2) for UNIX and Linux Installation

44 | Chapter 2 Pre-Installation Tasks

Configure Lock Escalation

Status

Description DB2 maintains a lock list for the iProcess Engine database, which contains the locks held by all applications concurrently connected to the database. Both rows and tables can be locked.

Lock escalation is the process of replacing row locks with table locks, so reducing the total number of locks in the list. The following DB2 database configuration parameters control lock escalation:

• locklist indicates the amount of storage that is allocated to the database lock list.

• maxlocks defines the percentage of the lock list that an application can hold before the database manager performs lock escalation. (Lock escalation also occurs if the lock list runs out of space.)

If you use the default maxlocks and locklist, iProcess Engine performance may be affected. The iProcess Engine Background (BG) process locks multiple rows as part of its normal operations, and the number of locked rows can exceed the maxlocks percentage. Some or all of these row locks are therefore escalated to table locks, which blocks access to those tables by other iProcess Engine processes or applications.

Procedure To prevent row locks from being escalated to table locks, you should increase the values of the locklist and maxlocks parameters. Use the following commands:

db2 update database configuration for db_name using maxlocks 40db2 update database configuration for db_name using locklist 1000

where db_name is the name of the iProcess Engine database you created earlier (see page 39).

If you are... This task is...

Installing a new iProcess Engine Required

Upgrading from any Version i10, 10 or 11 iProcess Engine Not applicable.

TIBCO recommend values of 40 for maxlocks and 1000 for locklist. However, these values are only a guide as the amount of locks in a BG process transaction depends on the amount of data being written to various tables. You should modify these values to suit your particular requirements.

TIBCO iProcess Engine (DB2) for UNIX and Linux Installation

Configure Lock Escalation | 45

See Also For more information about these parameters and commands, please refer to your DB2 documentation.

TIBCO iProcess Engine (DB2) for UNIX and Linux Installation

46 | Chapter 2 Pre-Installation Tasks

Remove All User-Defined Constraints, Indexes and Statistics From the iProcess Engine Schema Tables

Status

Description As part of the upgrade process swinstall needs to modify certain columns in the iProcess Engine schema tables. To do this it has to remove all constraints, indexes and statistics from the tables. It recreates these constraints, indexes and statistics later in the upgrade process, after it has changed the necessary columns.

However, swinstall cannot remove any user-defined constraints, indexes and statistics that you have added to iProcess Engine schema tables. You will need to remove these yourself, and then manually recreate them after the upgrade has finished.

Procedure Using an appropriate SQL utility, remove all user-defined constraints, indexes and statistics that you have added to iProcess Engine schema tables.

You can manually recreate them after the upgrade has finished - see page 93.

If you are... This task is...

Installing a new iProcess Engine Not applicable

Upgrading from any Version i10, 10 or 11 iProcess Engine May be required

TIBCO iProcess Engine (DB2) for UNIX and Linux Installation

| 47

Chapter 3 Running the Installation Script

This chapter describes how to use the swinstall installation script to install the iProcess Engine.

Topics

• Using swinstall, page 48

• Running swinstall, page 51

• Gathering Information, page 54

• Performing the Installation, page 69

TIBCO iProcess Engine (DB2) for UNIX and Linux Installation

48 | Chapter 3 Running the Installation Script

Using swinstall

The swinstall script performs the installation process in two phases:

1. Configuration information collection. In this phase swinstall displays a series of menus that allow you to specify the information that swinstall needs to install the iProcess Engine. See page 54 for general information about the configuration menus and how to use them.

2. Installation. In this phase swinstall performs the required installation tasks, using the configuration information supplied in the previous phase. See page 69 for more information about this phase.

Full Installation or Partial InstallationIf you want swinstall to install the iProcess Engine in a single, automated operation (full installation):

• you must run swinstall as the root user, and

• root must have DBA-level access to the DB2 database.

However, you do not have to do this. You can, if you wish, split the installation into separate tasks according to its component roles (as discussed on page 5). If you split the installation roles in this way, swinstall will only be able to perform a partial installation. The users acting in the different roles will need to run further commands to complete the installation after swinstall has finished.

If a partial installation is performed, swinstall creates a $SWDIR/logs/TODO file which lists the tasks that must be performed manually, the order in which they must be done and who needs to do them - see page 74 for more information.

TIBCO recommend that you read the configuration menus section (see page 54) and collect the necessary information to enter into the menus before you run swinstall.

Depending on the installation scenario, you may need to run further commands to complete the installation after swinstall has finished. If this is necessary, swinstall creates a $SWDIR/logs/TODO file - see page 74 for more information.

If granting this level of access (for the duration of the installation process) is compatible with your site’s security policies, TIBCO strongly recommend doing so, as this considerably simplifies the installation task.

TIBCO iProcess Engine (DB2) for UNIX and Linux Installation

Using swinstall | 49

The following table summarizes the available installation options

If you run swinstall as...

and...

You have DBA-level access...You do not have DBA access, or you want to populate/upgrade the database later...

root swinstall performs a full installation.

It uses the specified database and sets all necessary file permissions.

swinstall performs a partial installation.

The DBA will need to populate/upgrade the database to complete the installation, as specified in the $SWDIR/logs/TODO file.

the iProcess Engine background user

swinstall performs a partial installation.

root will need to run certain commands and set file permissions to complete the installation, as specified in the $SWDIR/logs/TODO file.

swinstall performs a partial installation.

To complete the installation:

• The DBA will need to populate/upgrade the database, and

• root will need to run certain commands and set file permissions

as specified in the $SWDIR/logs/TODO file.

In addition, if you run swinstall as a non-root user, the following warning message is displayed:

The version of the Database cannot be validated when against DB2 as a non root install.

You can proceed with the installation, provided that your version of DB2 is one of the required versions listed on page 18. However, if you need to be absolutely certain that the version of DB2 you are using is correct, run the following command as the root user or the db2 user:

/home/db2inst2/sqllib/adm/db2licm -v

TIBCO iProcess Engine (DB2) for UNIX and Linux Installation

50 | Chapter 3 Running the Installation Script

For example, suppose that you want to install a new iProcess Engine, and the iPE installer, DBA and root user roles are each performed by different users. In this case, the following sequence is required to perform the installation:

1. The iPE installer user:

a. logs in as the iProcess Engine background user and runs swinstall.

b. enters all the necessary configuration information except for the database details.

c. accepts the prompt to perform a partial installation.

swinstall installs iProcess Engine files, performs basic configuration tasks and creates a $SWDIR/logs/TODO file.

2. The DBA runs the $SWDIR/util/swinitora script, to supply the database configuration information and create the iProcess Engine database schema.

3. The iPE installer runs the $SWDIR/util/swpostinst script, to populate the database with the appropriate initial values.

4. The root user runs the $SWDIR/logs/rootscript script, to set file permissions and perform any other configuration activities that require root access.

TIBCO iProcess Engine (DB2) for UNIX and Linux Installation

Running swinstall | 51

Running swinstall

To run the swinstall installation script:

1. Log in as either root or as the iProcess Engine background user (see page 120).

2. Enter the following commands to run swinstall:

cd DistDir ./swinstall

where DistDir is the temporary installation directory containing the iProcess Engine distribution set (see page 30).

3. The installation utility banner and the following prompts are displayed.

==================================================================

TIBCO iProcess Engine 11.1.3 Installation Utility Copyright (c) 2001-2011, TIBCO Software Inc.

==================================================================

Please read the following License Agreementand confirm your acceptance...

License Agreement text is displayed here

To install the TIBCO iProcess Engine, you must accept the preceding agreement.Do you accept all the terms of the License Agreement? (Y/N - default N) :

Enter Y to accept the terms of the License Agreement and continue with the installation. If you enter N, swinstall aborts the installation.

4. If you have already set the SWDIR environment variable (see page 35), swinstall displays the directory in which it will install the iProcess Engine:

TIBCO iProcess Engine installation directory taken from environment : /TIBCO/iProcess/swnod1

swinstall first checks that it can find the operating system utilities that it needs on the installing user’s PATH. If any are missing, appropriate WARNING and/or ERROR messages are displayed - see page 173 for more information.

TIBCO iProcess Engine (DB2) for UNIX and Linux Installation

52 | Chapter 3 Running the Installation Script

5. If you have not already set SWDIR, the following prompt is displayed instead:

In which directory will TIBCO iProcess Engine reside?Enter the full path name (blank to quit) : /iProcess/swnod1

Enter the full pathname of the directory where you want to install the iProcess Engine. (This must not be the temporary installation directory, a user's home directory or a directory in a temporary or read-only filesystem.)

One of the following prompts is then displayed:

— If the specified directory already exists:

Directory /iProcess/swnod1 already exists.Do you wish to install TIBCO iProcess Engine into it? (Y/N - default N) : y

— If the specified directory does not exist:

Directory /iProcess/swnod1 does not exist.Do you wish to create this directory?

Make sure that the correct directory is displayed, then enter Y to continue.

6. If a $SWDIR/logs/swinstall.dat configuration file exists (see page 55), because swinstall has previously been run, the following prompt is displayed:

A complete version 11.1.3 configuration for an install already exists.Use this information for the current install (Y/N - default N) : y

Enter Y if you want to populate the swinstall menus with the existing configuration information from the swinstall.dat file. Enter N if you want to use swinstall’s default menu item values.

7. If you have logged in as the iProcess Engine background user, the following prompt is displayed.

You are running this install as the user pro.To complete the install, the root user will be required to executea script generated by this install.

Do you want to continue with this non-root install? (Y/N - default N) :

TIBCO iProcess Engine (DB2) for UNIX and Linux Installation

Running swinstall | 53

(See page 86 for more information about this script.) Enter Y if you wish to continue. If you enter N, swinstall exits.

8. If you are upgrading, the following prompt is displayed:

This is an upgrade of an existing TIBCO iProcess Engine installationfrom version 10.3.0 to version 11.1.3WARNING : You should NOT CONTINUE until you have backed up your system.

As part of the upgrade process swinstall needs to change certain columns in the iPE database tables. For this to be successful you must remove any custom constraints, indexes or statistics you have added before the upgrade can continue. You can add these constraints or indexes back when the upgrade has completed.

Do you wish to continue with this upgrade (Y/N - default N) :

9. If you have backed up your system (see page 26 and page 28), and removed any custom constraints or indexes from your existing iProcess Engine database schema (see page 46) enter Y to continue.

10. The Location, Identification and OS Accounts Menu is displayed - see page 57.

If you have not backed up your system do not proceed with the upgrade! In the event of a failure during the upgrade process you will not be able to recover your existing iProcess Engine system.

Enter N to quit the installation, back up your system and make sure that you have performed all the pre-installation tasks (see Chapter 2 on page 21), then run swinstall again.

TIBCO iProcess Engine (DB2) for UNIX and Linux Installation

54 | Chapter 3 Running the Installation Script

Gathering Information

swinstall displays the following series of menus that allow you to specify the information that swinstall needs to install the iProcess Engine.

Using the Configuration MenusEach configuration menu has the following basic structure and controls.

Installing TIBCO iProcess Engine version 11.1.3

Menu Title

n. Menu Item : value

Enter Number of Item to Edit, (C)ontinue, (B)ack or (Q)uit :

• To change the value of a menu item, enter its number. A prompt for the new value is then displayed. If you want to leave the value unchanged just press ENTER at this prompt.

Menu Title Description See...

Location, Identification and OS Accounts

iProcess Engine location, name and operating system accounts

page 57

Configuration Options iProcess Engine configuration options page 59

IAP Configuration Java Message Service (JMS) parameters that are required if Activity Monitoring is enabled

page 61

iProcess EMail Server Plug-in Configuration

Parameters for the SMTP server that the iProcess EMail Server Plug-in should connect to

page 63

SMTP Backup Servers Parameters for backup SMTP servers that the iProcess EMail Server Plug-in uses if the primary server fails

DB2 Database Connection and Account Details

Connection parameters and accounts for the iProcess Engine database

page 66

TIBCO iProcess Engine (DB2) for UNIX and Linux Installation

Gathering Information | 55

• If a menu item is preceded by an asterisk (*) instead of a number, you cannot change its value.

• Press C to move to the next menu, or B to return to the previous menu. Any changes you have made to the current menu items are saved at this point, so will be visible if you subsequently return to this menu.

• Press Q if you want to quit from swinstall. The following prompt is displayed.

Configuration information entered will be saved to the control file :/iProcess/swnod1/logs/swinstall.datAre you sure you want to quit this install ? (Y/N - default N) :

Enter Y to quit from swinstall.

Exiting install. Configuration saved as /iProcess/swnod1/logs/swinstall.dat

See below for more information about the swinstall.dat control file.

The swinstall.dat Control FileWhen you run swinstall, all the configuration items are written to the $SWDIR/logs/swinstall.dat control file when swinstall finishes - either by being allowed to run to completion, or if you Quit from any of the configuration menus.

You can use the swinstall.dat control file in two ways:

• as a short-cut when you next run swinstall. You can populate the configuration menus with the values from the control file (see step 6 on page 52).

• as a template to produce a control file to run a similar installation silently. You may want to do this if, for example, you are installing a master server and

Any changes that you have made to the current menu are lost if you choose to Quit at this point. If you want to save those changes before quitting, you should first press B to return to the previous menu, then C to return to this one.

If you quit from swinstall any changes you have made to items on the current menu are not saved to the swinstall.dat file. If you want to save these changes you must first press Continue or Back to move to a different menu before Quitting.

TIBCO iProcess Engine (DB2) for UNIX and Linux Installation

56 | Chapter 3 Running the Installation Script

multiple slave servers. See Appendix B on page 163 for more information about silent installation and the format of the control file.

If the $SWDIR/logs/swinstall.dat file already exists, the existing file is renamed as $SWDIR/logs/oldswins.nnn, where nnn is a unique sequence starting from 001.

For example, if you have run swinstall three times $SWDIR/logs will contain the following files:

Filename Contains configuration information from...

swinstall.dat the most recent (i.e. third) execution of swinstall

oldswins.002 the second execution of swinstall

oldswins.001 the first execution of swinstall

TIBCO iProcess Engine (DB2) for UNIX and Linux Installation

Defining iProcess Engine Location, Identification and OS Accounts | 57

Defining iProcess Engine Location, Identification and OS Accounts

The Location, Identification and OS Accounts Menu allows you to define the basic operating system level information needed by swinstall.

Installing TIBCO iProcess Engine version 11.1.3

Location, Identification and OS Accounts Menu

* ) Installation Directory : /TIBCO/iProcess/swnod1

2 ) iProcess Engine Nodename : swnod0013 ) iProcess Engine Licensee Name : iProcess0014 ) iProcess Engine Background User Name : pro5 ) iProcess Engine Administration User Name : swadmin6 ) iProcess Engine User Group Name : staffwar

Enter Number of Item to Edit, (C)ontinue or (Q)uit :

To complete this menu:

1. Review and edit the individual menu items as required.

Item Description See

Installation Directory The directory where this iProcess Engine is installed. page 117

iProcess Engine Nodename

The logical name of this iProcess Engine. page 118

iProcess Engine Licensee Name

The descriptive name used to identify this iProcess Engine. page 119

iProcess Engine Background User Name

The UNIX account that is used to run the iProcess Engine. page 120

Administration User Name

The UNIX account that is used to administer the iProcess Engine.

page 122

iProcess Engine User Group Name

The UNIX group to which all iProcess Engine users must belong.

page 124

Redirect Administration queue

Whether (Y) or not (N) work items from the original Administration User Name should be redirected to the new account.

Note - This item is only displayed if you are upgrading and you change the Administration User Name.

page 125

TIBCO iProcess Engine (DB2) for UNIX and Linux Installation

58 | Chapter 3 Running the Installation Script

2. When you are happy with the choices displayed, enter C to continue.

3. swinstall now checks whether the operating system users and groups you have specified are valid.

Checking OS User and Group Accounts ...

If either of these users or the iProcess Engine group does not exist, you are prompted to create them.

4. The Configuration Options Menu is displayed. See page 59.

See the relevant sections in swinstall Menu Reference on page 115 for specific information about these prompts.

TIBCO iProcess Engine (DB2) for UNIX and Linux Installation

Defining iProcess Engine Configuration Options | 59

Defining iProcess Engine Configuration Options

The Configuration Options Menu allows you to specify basic iProcess Engine configuration details.

Installing TIBCO iProcess Engine version 11.1.3

Configuration Options Menu

1 ) iProcess Engine Client RPC Number : 3918752 ) iProcess Engine Client Password Required : Y3 ) Enable Case Data Normalization : Y4 ) Enable Prediction : N5 ) Enable Autostart : N6 ) Enable Activity Publication : N7 ) Configure Email Server Plug-in : N8 ) Enable iProcess Objects Server : N9 ) Enable iProcess Objects Director : N10) JMX Port Number : 1002511) Enable Write Access to WebDav : N

Enter Number of Item to Edit, (C)ontinue, (B)ack or (Q)uit :

To complete this menu:

1. Review and edit the individual menu items as required.

Item Description See

iProcess Engine Client RPC Number

The RPC number that iProcess Workspaces use to communicate with this iProcess Engine.

page 127

iProcess Engine Client Password Required

Whether (Y) or not (N) users must supply a password when they log in to this iProcess Engine from an iProcess Workspace.

page 128

Enable Case Data Normalization

Whether (Y) or not (N) case data normalization should be enabled to make case data searching more efficient and faster.

page 129

Enable Prediction Whether (Y) or not (N) the case prediction server process (BGPREDICT) should be enabled.

page 130

Enable Autostart Whether (Y) or not (N) the Process Sentinels automatically start the server processes after the Process Sentinels have started.

page 131

TIBCO iProcess Engine (DB2) for UNIX and Linux Installation

60 | Chapter 3 Running the Installation Script

2. When you are happy with the choices displayed, enter C to continue. Depending on the options you have chosen, the next relevant menu in the following list is displayed:

— the IAP Configuration Menu. See page 61.

— the iProcess EMail Server Plug-in Configuration Menu. See page 63.

— the DB2 Database Connection and Account Details menu. See page 66.

Enable Activity Publication Whether (Y) or not (N) the IAPJMS process should be enabled and started. The IAPJMS process is required to enable both iProcess Activity Publication, if configured, and Work Queue Delta Publication if requested. See Enable Activity Publishing on page 132).

page 132

Configure iProcess EMail Server Plug-in

Whether (Y ) or not (N) you want to configure SMTP server parameters for the iProcess EMail Server Plug-in as part of the installation.

You can configure SMTP server parameters at this point or you can configure them after you have installed the iProcess Engine.

page 134

Enable iProcess Objects Server

Whether (Y) or not (N) the iProcess Objects Server process (SPO) should be enabled.

page 135

Enable iProcess Objects Director

Whether (Y) or not (N) the iProcess Objects Director process (DIRECTOR) should be enabled.

page 136

JMX Port Number The port number on which the Java Management Extensions (JMX) engine should run.

page 137

Enable Write Access to WebDav

Whether (Y) or not (N) WebDav is enabled. page 138

Item Description See

TIBCO iProcess Engine (DB2) for UNIX and Linux Installation

Defining JMS Parameters for Activity Monitoring | 61

Defining JMS Parameters for Activity Monitoring

The IAP Configuration Menu allows you to configure the necessary Java Message Service (JMS) parameters if you wish to enable Activity Monitoring and Work Queue Delta publication on the iProcess Engine.

Installing TIBCO iProcess Engine version 11.1.3

IAP Configuration Menu

1 ) JMS Provider : TIBCO EMS2 ) Base jar files location :

/opt/tibco/ems/<version_no>/lib/3 ) Additional jar files location :4 ) Context Factory Name : com.tibco.tibjms.naming.

TibjmsInitialContextFactory5 ) URL for JMS Provider : tibjmsnaming://localhost:

72226 ) Connection Factory Name : TopicConnectionFactory

Enter number of item to edit, (C)ontinue, (B)ack or (Q)uit :

To complete this menu:

1. Review and edit the individual menu items as required.

The IAP Configuration Menu is only displayed if you have set Enable Activity Publication to Y on the Configuration Options menu.

You should consult the administrator of your JMS Provider software to obtain the necessary information to fill in the items on this menu.

Item Description See

JMS Provider The name of the JMS provider that the iProcess Engine publishes messages to.

Note - If you change this value, appropriate default values are automatically displayed for all the other items in this menu.

page 140

Base jar files location The full path (or comma-separated paths) of the .jar files required by this JMS provider.

page 142

Additional jar files location

The full path (or comma-separated paths) of any additional .jar files that are required for your configuration.

page 147

TIBCO iProcess Engine (DB2) for UNIX and Linux Installation

62 | Chapter 3 Running the Installation Script

2. When you are happy with the choices displayed, enter C to continue:

— If you have set Configure iProcess EMail Server Plug-in to Y on the Configuration Options menu, the iProcess EMail Server Plug-in Configuration menu is displayed. See page 63.

— Otherwise, the DB2 Database Connection and Account Details menu is displayed. See page 66.

Context Factory Name The name of the context factory that produces context instances for this JMS Provider.

page 144

URL for JMS Provider The URL that the iProcess Engine uses to connect to this JMS Provider.

page 145

Connection Factory Name

The name of the object that the iProcess Engine uses to create a connection to this JMS Provider.

page 146

Item Description See

TIBCO iProcess Engine (DB2) for UNIX and Linux Installation

Defining SMTP Server Parameters for the iProcess EMail Plug-in | 63

Defining SMTP Server Parameters for the iProcess EMail Plug-in

The iProcess EMail Server Plug-in Configuration menu allows you to define the parameters for the SMTP server that you want your iProcess EMail Server Plug-in to connect to.

Installing TIBCO iProcess Engine version 11.1.3

iProcess EMail Server Plug-in Configuration Menu

1 ) SMTP Host :2 ) SMTP Port Number : 253 ) Mail From Address :

Enter Number of Item to Edit, (C)ontinue, (B)ack or (Q)uit :

To complete this menu:

1. Review and edit the individual menu items as required.

2. When you are happy with the choices displayed, enter C to continue: The SMTP Backup Servers Configuration menu is displayed - see Defining Backup SMTP Servers for the iProcess EMail Plug-in on page 64.

The iProcess EMail Server Plug-in Configuration is only displayed if you have set Configure iProcess EMail Server Plug-in to Y on the Configuration Options menu.

Item Description See

SMTP Host The IP address or the name of the machine hosting your SMTP server.

page 148

SMTP Port Number The port number of the SMTP server. page 149

Mail From Address The email address that you want to send iProcess Email messages from.

page 150

TIBCO iProcess Engine (DB2) for UNIX and Linux Installation

64 | Chapter 3 Running the Installation Script

Defining Backup SMTP Servers for the iProcess EMail Plug-in

The SMTP Backup Servers Configuration menu allows you to define parameters that the iProcess EMail Server Plug-in will use to locate backup servers in case of a failure in the primary SMTP server. See the TIBCO iProcess Email Plug-in User’s Guide for more information on backup servers.

To complete this menu:

1. Review and edit the individual menu items as required:

The values you specify in this dialog are written as parameters to the SWDIR\libs\eai_mail.cfg file. For more information about these parameters, see the TIBCO iProcess Email Plug-in User’s Guide.

Item Description See

Backup Host 1Backup Host 2Backup Host 3

For each backup server in turn, you can specify the machine name or the IP address of the machine hosting the backup SMTP server. You can specify up to three Backup Host entries.

page 152

Backup Port Number 1Backup Port Number 2Backup Port Number 3

The port number on which the preceding Backup Host is running. There must be one Backup Port entry for each Backup Host server.

page 153

Retry Count Specify how many times the plug-in should use a backup server before retrying the primary host. Enter a non-zero numeric value. The default is 3.

Note that:

• If a negative value is entered, it is interpreted as 50.

• If zero or a non-numeric value is entered, the configuration of backup servers has no effect and the plug-in reverts to the primary host.

If a successful connection is made on retrying the primary host, the plug-in reverts to using that host. If not, the plug-in continues with the backup server that is currently in use.

page 154

TIBCO iProcess Engine (DB2) for UNIX and Linux Installation

Defining Backup SMTP Servers for the iProcess EMail Plug-in | 65

2. When you are happy with the choices displayed, enter C to continue:

— Otherwise, the DB2 Database Connection and Account Details menu is displayed. See page 66.

TIBCO iProcess Engine (DB2) for UNIX and Linux Installation

66 | Chapter 3 Running the Installation Script

Defining DB2 Database Connection and Account Details

The DB2 Database Connection and Account Details menu allows you to provide the information that swinstall needs to be able to communicate with the database and create the iProcess Engine database schema.

Installing TIBCO iProcess Engine version 11.1.3

DB2 Database Connection and Account Details

1 ) DB2 Database Alias Name : 2 ) iProcess Engine DB Schema Owner Name : swpro3 ) iProcess Engine DB Schema Owner Password : staffpro14 ) iProcess Engine DB User Name : swuser5 ) iProcess Engine DB User Password : swuser16 ) Support unicode encoding : Y

Enter Number of Item to Edit, (C)ontinue, (B)ack or (Q)uit :

To complete this menu:

1. Review and edit the individual menu items as required.

Item Description See

DB2 Database Alias Name

The alias of the DB2 iProcess Engine database. page 159

iProcess Engine DB Schema Owner Name

The name of the DB2 user that owns the iProcess Engine database schema.

page 157

iProcess Engine DB Schema Owner Password

The password for the iProcess Engine database schema owner.

page 158

iProcess Engine DB User Name

The name of the DB2 user that the iProcess Engine uses to access the iProcess Engine database schema. This user has the REFERENCES, SELECT, DELETE, and UPDATE permissions.

page 159

iProcess Engine DB User Password

The password for the iProcess Engine database user. page 160

Support unicode encoding

Whether the iProcess database should support UTF-8 encoding.

page 161

TIBCO iProcess Engine (DB2) for UNIX and Linux Installation

Defining DB2 Database Connection and Account Details | 67

2. When you are happy with the choices displayed, enter C to continue.

3. The following prompt is displayed:

Checking DB connectivity and users ...

swinstall now performs a series of checks to validate that it can create (or upgrade) the iProcess Engine database schema using the supplied information.

If swinstall encounters any problems it displays appropriate messages, error codes and/or further prompts. See:

— the relevant sections in swinstall Menu Reference on page 115 for information about additional prompts on specific menu items.

— Troubleshooting on page 173 for more information about other messages and prompts that may occur.

4. If validation succeeds, the Configuration Summary screen is displayed. See page 69.

If validation fails, the following prompt is displayed:

You may continue and install the TIBCO iProcess Engine files, however,as the Database configuration information is not complete, furtherinstallation tasks will be required before the server can be run.Continue with partial installation? (Y/N - default Y) :

Enter:

— Y, if you want to continue with the installation. The Configuration Summary screen is displayed. See page 69.

This prompt is also displayed if you enter Q from this menu at any time.

In this case, swinstall will install the iProcess Engine directory structure and files, but will be unable to create (or upgrade) the iProcess Engine database schema. You will therefore need to do this after swinstall has finished. swinstall will create a $SWDIR/logs/TODO file which contains all the commands that you will need to run - see page 74 for more information.

TIBCO iProcess Engine (DB2) for UNIX and Linux Installation

68 | Chapter 3 Running the Installation Script

— N, if you want to cancel the installation and quit swinstall. The following prompt is displayed.

Configuration information entered will be saved to the control file :/iProcess/swnod1/logs/swinstall.datAre you sure you want to quit this install ? (Y/N - default N) :

Enter Y to quit from swinstall.

Exiting install. Configuration saved as /iProcess/swnod1/logs/swinstall.dat

See page 55 for more information about the swinstall.dat control file.

TIBCO iProcess Engine (DB2) for UNIX and Linux Installation

Performing the Installation | 69

Performing the Installation

The Configuration Summary screen summarizes the information that you have provided in the preceding menus, allowing you to review it before proceeding with the installation or upgrade. For example:

==============================================Configuration Summary==============================================

General===============================================Install type: install (MASTER)Version: 11.1.3Target location: /iProcess/swnod1Licensee: iProcess001iProcess Objects Server Version: 11.1.3iProcess Objects Director Version: 11.1.3

Node Details===============================================Node name: swnod001Client-Server RPC port: 391875

Environment Settings===============================================iProcess Engine User group: staffwariProcess Engine bkg. account: proiProcess Engine admin. account: swadmin

Optional Settings===============================================Autostart Server: NPasswords required for login: YEnable Prediction (Global): NEnable Case Data Normalization: YEnable Activity Publishing: YConfigured Email Server Plug-in: YEnable iProcess Objects Server: YEnable iProcess Objects Director: NInstall TIBCO Hawk 4.9.0: N

DataBase Settings===============================================Database Type: DB2Database Alias: TIBDB1

DB Schema Owner: swproDB User: swuser

Ready to install TIBCO iProcess Engine - continue (Y/N - default Y) :

TIBCO iProcess Engine (DB2) for UNIX and Linux Installation

70 | Chapter 3 Running the Installation Script

To install the iProcess Engine:

1. Carefully review the information displayed, then enter:

— N, if you want to return to either the DB2 Database Connection and Account Details menu (see page 66).

— Y, if you want to proceed with the installation.

2. swinstall now performs the necessary installation tasks, using the supplied configuration information. A number of messages are displayed informing you of the progress of the installation.

3. If you are installing a new iProcess Engine, the following prompt is displayed:

At this point you may run an installation verification test.Run the verification test now? (Y/N - default Y) :

Enter Y if you want swinstall to run tests to verify that the installation has succeeded. (If you want to skip these tests enter N instead.) If all these tests pass successfully the following messages are displayed.

TIBCO iProcess Engine Nodename ( swnod001 ) checked OK.TIBCO iProcess Engine RPC Number ( 391875 ) checked OK.TIBCO iProcess Engine service ports checked OKTIBCO iProcess Engine process entries OK

If any of the tests fail a suitable error message is displayed. See page 180 for more information about possible causes of any problems and how to resolve them.

swinstall writes the port numbers used by the iProcess Engine watcher and worker process sentinels to the /etc/services file. The entries are:

nodename_worker nnn/tcp nodename_watcher mmm/tcp

where:

— node_name is the nodename of this iProcess Engine.

— nnn and mmm are unique numbers in the services file depending on what port numbers are already being used on the server.

For example:

staffw_nod1_watcher 1500/tcpstaffw_nod1_worker 1501/tcp

TIBCO iProcess Engine (DB2) for UNIX and Linux Installation

Performing the Installation | 71

4. swinstall now exits. If it has been unable to perform all necessary installation tasks it displays the following message:

===========================================================** IMPORTANT: See $SWDIR/logs/TODO for outstanding tasks **===========================================================

If a $SWDIR/logs/TODO file exists, you must now perform all the commands listed in that file to complete the installation. See Chapter 4 on page 73 for more information.

TIBCO iProcess Engine (DB2) for UNIX and Linux Installation

72 | Chapter 3 Running the Installation Script

TIBCO iProcess Engine (DB2) for UNIX and Linux Installation

| 73

Chapter 4 Completing a Partial Installation - Using the $SWDIR/logs/TODO File

This chapter explains what you need to do to complete a partial iProcess Engine installation, using the information supplied in the $SWDIR/logs/TODO file.

Topics

• The $SWDIR/logs/TODO File, page 74

• Run the $SWDIR/util/swinitora Script, page 76

• Run the $SWDIR/util/swpostinst Script, page 82

• Run the $SWDIR/util/upgr Command, page 84

• Copy the ssolite Shared Library, page 85

• Run the $SWDIR/logs/rootscript Script, page 86

TIBCO iProcess Engine (DB2) for UNIX and Linux Installation

74 | Chapter 4 Completing a Partial Installation - Using the $SWDIR/logs/TODO File

The $SWDIR/logs/TODO File

swinstall creates a $SWDIR/logs/TODO file if it cannot perform all the tasks necessary to complete the installation itself. This will be the case if you have run swinstall as:

• the iProcess Engine background user (see page 120). In this case swinstall cannot run certain commands or set certain file permissions that need root access.

• a user who either does not have DBA access to the database, or does not have complete and/or correct database configuration information. In this case, swinstall cannot create (or upgrade) the database, or perform any of the tasks that must be performed after the database has been created/upgraded.

1The $SWDIR/logs/TODO file provides a list of all commands that need to be run to complete the installation. Commands are listed in the order that they need to be performed, and the user that needs to run them (either root, the DBA or the user who ran swinstall) is identified.

The sections on the following pages describe in more detail each of the tasks that you may need to perform.

An Example TODO FileThe following example TODO file was created following an installation of a new iProcess Engine, where swinstall was run by user pro (the iProcess Engine background user), who did not have DBA access to the database. swinstall was therefore unable to create the database or set permissions. Three further tasks must therefore be carried out to complete the installation:

1. A DBA must run the indicated swinitora command to create the iProcess Engine database schema.

2. The pro user must run the indicated swpostinst command, to populate the database tables with the required values.

3. A root user must run the indicated rootscript shell script.

You must perform all tasks shown in the $SWDIR/logs/TODO file before moving on to do the Carrying Out Post-Installation Tasks discussed in Chapter 5 on page 87.

The list of required commands will vary according to your installation scenario and whether swinstall did not have root and/or DBA permissions.

TIBCO iProcess Engine (DB2) for UNIX and Linux Installation

The $SWDIR/logs/TODO File | 75

# Script to complete iProcess Engine Installation# Created by the swinstall script Wednesday January 27 10:21:29 GMT 2007

# The TIBCO iProcess Engine files have been installed and configured.# Before the TIBCO iProcess Engine server can be run however, the# DB2 Database schema must be created and populated.# To do this, the following command must be executed so that the # Database Administrator can create/upgrade the Database Schema./iProcess/swnod1/util/swinitora INSTALL "i11.0-o(2.0)"#

# When the Database Schema has been created/upgraded, the# user pro must run the following commands to# populate/upgrade the TIBCO iProcess Engine Database table values./iProcess/swnod1/util/swpostinst -c#

# For this non-root install you must have a root user run the# shell script stored in the file:# /iProcess/swnod1/logs/rootscript# Before you attempt to start this TIBCO iProcess Engine installation.#

TIBCO iProcess Engine (DB2) for UNIX and Linux Installation

76 | Chapter 4 Completing a Partial Installation - Using the $SWDIR/logs/TODO File

Run the $SWDIR/util/swinitora Script

The $SWDIR/util/swinitora script is used to install (or upgrade) the iProcess Engine database schema.

To run swinitora:

1. Login as a user who has DBA access to the DB2 database

2. Make sure that the DB2 database is running and that all the necessary database-related pre-installation tasks have been carried out (see page 21).

3. Run the swinitora command exactly as shown in the $SWDIR/logs/TODO file. For example:

swinitora INSTALL "i11.0-o(2.0)"

4. The following prompt is displayed:

An installation configuration file already exists.Do you want to proceed using those details (Y/N - default N) :

This question allows you to choose which set of values swinitora will use as defaults when it prompts you for the database configuration information that it needs.

Enter:

— Y, to use the database configuration values saved in the swinstall.dat configuration file. (These are the values that were entered in the DB2 Database Connection and Account Details menu when swinstall was run - see page 66).

Only run this script if you are instructed to do so in the $SWDIR/logs/TODO file.

Some swinitora prompts offer default options, shown in square brackets in the prompt. For example:

Enter the iProcess Engine DB Schema Owner name [swpro] :

If you want to accept the default value for a prompt, press ENTER instead of entering a value.

TIBCO iProcess Engine (DB2) for UNIX and Linux Installation

Run the $SWDIR/util/swinitora Script | 77

— N, to use the system default values. (These are the values taken either from the distribution set or from the current installation, as appropriate. Appendix A on page 115 describes these default values.)

5. The following prompt is displayed:

Do you want to run the database scripts now? (Recommended)(Y/N - default Y) :

Enter Y to continue.

6. swinitora now checks that the DB2 Database Alias Name you supplied earlier is valid (see page 156).

If validation fails, an error message is displayed and you are given the opportunity to re-enter the alias name. For example:

Database alias: DB2nod1 not found in databaseWould you like to try again? YEnter DB2 Database Alias Name [default swnod001] :

Enter the alias name that you used when creating the DB2 iProcess Engine database (see page 40).

7. If you are installing a new iProcess Engine, the following prompt is displayed.

Enter the iProcess Engine DB Schema Owner name [swpro] :

Enter the name of the DB2 iProcess Engine DB Schema Owner user (see page 157).

8. The following prompt is displayed.

Enter the password for iProcess Engine DB Schema Owner(swpro) :

Enter (and then confirm) the password for the DB2 iProcess Engine DB Schema Owner (see page 158).

The name must be the database alias name, not the actual database name.

TIBCO iProcess Engine (DB2) for UNIX and Linux Installation

78 | Chapter 4 Completing a Partial Installation - Using the $SWDIR/logs/TODO File

9. If you are installing a new iProcess Engine, the following prompt is displayed.

Enter the iProcess Engine DB User name [swuser] :

Enter the name of the DB2 iProcess Engine DB user (see page 159).

10. The following prompt is displayed.

Enter the password for iProcess Engine DB User (swpro) :

Enter (and then confirm) the password for the DB2 DB User (see page 160).

11. The following prompt is displayed.

Enter the name of the DB2 fenced user [db2fenc1] :

Enter the name of the UNIX account that is used to run "fenced" stored procedures, or press ENTER to accept the default value. (The installer obtains this value from the DB2 database.)

If you are using a remote database, make sure that you specify the name of the DB2 fenced user on the DB2 server, not the DB2 client.

12. If you are installing on a slave server in an existing node cluster, the following prompt is displayed.

Warning - iProcess tables already exist for user swpro.This node (cerberus) is not in the NODE_CLUSTER table.Do you want to proceed with installing it as another machinein this cluster (Y/N) :

Enter Y, then go to step 13.

"Fenced" stored procedures are run outside of the address space used by the DB2 database, to protect the database if a problem occurs in the stored procedure.

The iProcess Engine uses the DB2 fenced user account to run the SW_GET_SEQ_TRANS() stored procedure, which is used to obtain sequence numbers from the sequences table. The procedure calls a function in the ssolite shared library, which swinstall copies to the $DB2INSTANCE/sqllib/function directory (see page 85).

TIBCO iProcess Engine (DB2) for UNIX and Linux Installation

Run the $SWDIR/util/swinitora Script | 79

13. If you are:

— installing a new iProcess Engine, swinitora now calls the $SWDIR/util/init2Kdb2.sql script, to create the iProcess Engine database schema.

— upgrading an existing iProcess Engine installation, swinitora now calls one or more $SWDIR/util/udb2Version.sql scripts, to upgrade the iProcess Engine database schema. Multiple scripts are used to upgrade the database schema in stages, depending on the version that you are upgrading from.

A message is displayed when each script has completed, and each SQL session is logged to a uniquely named tablelog log file.

The following examples show the sort of output you will see:

— If you are installing a new iProcess Engine:

Creating DB2 Tables (This may take some time) ...

Created DB2 Tables (log in $SWDIR/logs/init2Kdb2-9713.tablelog).

— If you are upgrading (in this example, from Version 10.3.0):

Upgrading DB2 Tables (This may take some time) ...

Running upgrade script udb2i104_00.sqlUpgrade stage complete (log in /tmp/udb2i104_00-7924.tablelog

swinitora checks the output from each sql script when it has run it. If it detects any errors a warning message and prompt are displayed. For example:

**********************************************Possible errors located in logfile /tmp/udb2i104_00-7619.tablelog**********************************************Please check the logfile before continuing. Abort upgrade?

These scripts may take a long time to run. TIBCO cannot provide an estimate here because of the number of factors that could have an impact, and the complexity of their interaction - for example, the configuration of your DB2 system and the hardware setup you are running. You can use DB2’s SQL tools to monitor the progress of the scripts.

TIBCO iProcess Engine (DB2) for UNIX and Linux Installation

80 | Chapter 4 Completing a Partial Installation - Using the $SWDIR/logs/TODO File

You should check the indicated log file to see what errors have occurred, then decide whether or not to continue with the installation. Enter:

— N, to continue with the installation. You should only do this if the errors in the log file are minor and you are certain that they will not have a serious impact on the installation.

TIBCO iProcess Engine (DB2) for UNIX and Linux Installation

Run the $SWDIR/util/swinitora Script | 81

— Y, to exit from the installation. The following message is displayed.

Errors found during database configuration. Exiting.

14. swinitora copies the ssolite shared library file to the $DB2INSTANCE/sqllib/function directory. For example:

Copying SSOLite shared library, ssolite.so, to inst1/sqllib/function/ssolite

15. swinitora runs the $SWDIR/util/swconfig utility to update the iProcess Engine license file with the passwords for the DB2 iProcess Engine DB Schema Owner and iProcess Engine DB User accounts.

Configuring DB Users ...==================================================================

TIBCO iProcess Engine 11.1.3 Installation Configuration Utility Copyright (c) 2001-2009, TIBCO Software Inc.

=================================================================

16. swinitora now displays the following message, then exits.

The DB2 database schema for this iProcess Engine installationhas been successfully created.Further tasks may be required before you may start this installation.Please consult your Installation Guide for more information.

17. Refer to the $SWDIR/logs/TODO file to see what you need to do next.

If you terminate the installation at this point, you should contact TIBCO Support for further assistance in resolving the problem and completing the upgrade.

If you are using a remote DB2 database, swinitora cannot do this and reports the following error:

cp: inst1/sqllib/function/ssolite: A file or directory in thepath name does not exist.

You will need to manually copy the ssolite shared library to the machine that hosts the remote DB2 database. See page 85 for more information.

TIBCO iProcess Engine (DB2) for UNIX and Linux Installation

82 | Chapter 4 Completing a Partial Installation - Using the $SWDIR/logs/TODO File

Run the $SWDIR/util/swpostinst Script

The $SWDIR/util/swpostinst script is used to populate (or update) the database tables with the necessary iProcess Engine configuration data.

To run swpostinst:

1. Login as the user shown in the $SWDIR/logs/TODO file.

2. Make sure that the DB2 database is running.

3. Run the swpostinst command exactly as shown in the $SWDIR/logs/TODO file. For example:

/iProcess/swnod1/util/swpostinst -c

4. The following prompt is displayed:

An installation configuration file already exists.Do you want to proceed using those details (Y/N - default N) :

This question allows you to choose which set of values swpostinst will use as defaults for the database configuration information that it creates or modifies.

Enter:

— Y, to use the database configuration values saved in the swinstall.dat configuration file. (These are the values that were entered in the DB2 Database Connection and Account Details menu when swinstall was run - see page 66).

— N, to use the system default values. (These are the values taken either from the distribution set or from the current installation, as appropriate. Appendix A on page 115 describes these default values.)

5. If you are installing:

— on a single-node system, or on a master server in a node cluster, swpostinst sets up a default iProcess Engine system (processes, queues, mbox sets and process attributes).

Only run this script if you are instructed to do so in the $SWDIR/logs/TODO file.

TIBCO iProcess Engine (DB2) for UNIX and Linux Installation

Run the $SWDIR/util/swpostinst Script | 83

The following information is displayed about the system.

Finished configuring database

Your TIBCO iProcess Engine installation has now been configured as follows:

-------------------------------------------------------------------------Machine ID Machine Name Master Check Error Files Machine Comment -------------------------------------------------------------------------1 CERBERUS Y Y cerberus

— on a slave server in a node cluster, swpostinst simply adds the server to the node. You will need to manually configure any processes that you want to run on the node later - see page 102.

The following information is displayed about the system.

Finished configuring database for Clustered NodeYou will need to manually configure processes to run on thismachine with the 'swadm' utility"

Your TIBCO iProcess Engine installation has now been configured as follows:

-------------------------------------------------------------------------Machine ID Machine Name Master Check Error Files Machine Comment -------------------------------------------------------------------------1 CERBERUS Y Y cerberus 2 PERSEUS N N perseus

6. swpostinst now exits. Refer to the $SWDIR/logs/TODO file to see what you need to do next.

TIBCO iProcess Engine (DB2) for UNIX and Linux Installation

84 | Chapter 4 Completing a Partial Installation - Using the $SWDIR/logs/TODO File

Run the $SWDIR/util/upgr Command

The $SWDIR/util/upgr program is used to upgrade the iProcess Engine system.

To run upgr:

1. Login as the user shown in the $SWDIR/logs/TODO file.

2. Run the upgr command exactly as shown in the $SWDIR/logs/TODO file. For example:

/iProcess/swnod1/util/upgr "i10.3-o(0.0)" "i11.0-o(2.0)"

3. When upgr completes successfully, the following message is displayed.

Upgrade completed successfully

Refer to the $SWDIR/logs/TODO file to see what you need to do next.

If upgr encounters an error it exits and displays the following message:

Upgrade failed with return code: nnnAborting upgrade. Errors from logfile:<Error details are shown here>

A debug log of the upgr session is available in the /tmp/upgrfullnnnn.log log file (where nnnn is a unique identifier for the log file).

Only run this command if you are instructed to do so in the $SWDIR/logs/TODO file.

The upgr program may take a long time to run, depending on your upgrade scenario (see page 7). Messages are displayed indicating the program’s overall progress, and a progress bar gives an indication of the progress of each individual upgrade task.

You can also use standard UNIX process monitoring tools to check the program’s progress.

If you terminate the installation at this point, you should contact TIBCO Support for further assistance in resolving the problem and completing the upgrade.

TIBCO iProcess Engine (DB2) for UNIX and Linux Installation

Copy the ssolite Shared Library | 85

Copy the ssolite Shared Library

The ssolite library is needed by the iProcess Engine SW_GET_SEQ_TRANS() stored procedure, which is used to obtain sequence numbers from the sequences table.

To copy the ssolite library:

1. Login as the user shown in the $SWDIR/logs/TODO file.

2. If you are using:

— a local DB2 database, run the cp command exactly as shown in the $SWDIR/logs/TODO file. For example:

cp /iProcess/swnod1/libs/ssolite.so db2inst1/sqllib/function/ssolite

— a remote DB2 database, copy the ssolite library file shown in the cp command to the indicated destination on the machine hosting the DB2 database.

Only run this command if you are instructed to do so in the $SWDIR/logs/TODO file.

If the machine that hosts your remote DB2 database uses a different operating system to the machine that hosts the iProcess Engine (for example, AIX instead of Solaris, or a 64-bit version instead of a 32-bit version), you will need to use a different version of the ssolite shared library file. Please contact TIBCO Support to obtain the correct version of the file for the operating system that hosts the remote DB2 database.

TIBCO iProcess Engine (DB2) for UNIX and Linux Installation

86 | Chapter 4 Completing a Partial Installation - Using the $SWDIR/logs/TODO File

Run the $SWDIR/logs/rootscript Script

The $SWDIR/logs/rootscript script sets the necessary file permissions in the iProcess Engine directory structure and performs other configuration activities that require root-level access.

To run rootscript:

1. Login as the root user.

2. Run the rootscript command exactly as shown in the $SWDIR/logs/TODO file. For example:

/TIBCO/iPE/swnod001/logs/rootscript

An example rootscript file is shown below (created in the example discussed on page 74).

#!/bin/ksh#### This is a script of commands that must be run by the root user## to complete the installation of this TIBCO iProcess Engine server.##crle -u -s "/iProcess/swnod1/libs"crle -u -s "/iProcess/swnod1/java/lib/sparc"crle -u -s "/iProcess/swnod1/java/lib/sparc/server"# The following commands add entries for the process sentinels# to the system's /etc/services file.echo "swnod001_watcher 55796/tcp" >> /etc/servicesecho "swnod001_worker 55799/tcp" >> /etc/services## the following commands are required to correctly set# directory and file permissions in the TIBCO iProcess Engine server.## Permission commands for: /iProcess/swnod1etc/swrpcudp

chown 0:106 /iProcess/swnod1/etc/swrpcudpchmod 06550 /iProcess/swnod1/etc/swrpcudp

# Permission commands for: /iProcess/swnod1etc/chgpwd

chown 0:106 /iProcess/swnod1/etc/chgpwdchmod 04550 /iProcess/swnod1/etc/chgpwd

Only run this script if you are instructed to do so in the $SWDIR/logs/TODO file.

TIBCO iProcess Engine (DB2) for UNIX and Linux Installation

| 87

Chapter 5 Carrying Out Post-Installation Tasks

This chapter describes the tasks you need to carry out after you have installed the iProcess Engine using the instructions in Chapters 3 and 4, but before you start it.

Topics

• Post-Installation Tasks Checklist, page 88

TIBCO iProcess Engine (DB2) for UNIX and Linux Installation

88 | Chapter 5 Carrying Out Post-Installation Tasks

Post-Installation Tasks Checklist

The following table provides a checklist of the different tasks that you must or may need to do before starting the iProcess Engine. The table shows:

• which user(s) need to perform each task - the root, iPE installer or DBA user(s) (see page 5).

• the task’s status according to whether you are installing a new iProcess Engine or upgrading an existing one. This is either:

— Required - You must perform this task before you start the iProcess Engine.

— Check - You may need to perform this task before you start the iProcess Engine, depending on your installation scenario.

— Optional - You may wish to perform this task before you start the iProcess Engine, but it is not essential.

Consult the indicated section for more detailed information about a particular task.

You may want to print this table as a useful quick reference when carrying out the post-installation tasks. The Done? column in the table provides a place for you to tick off tasks that have been done.

TIBCO iProcess Engine (DB2) for UNIX and Linux Installation

Post-Installation Tasks Checklist | 89

Task To be done by

InstallStatus

UpgradeStatus See Done?

1. Re-implement Changes to Upgraded Configuration Files

iPE installer n/a Optional page 91

2. Configure Firewall Port Ranges on Slave Nodes

iPE installer Check Check page 92

3. Recreate All User-Defined Constraints, Indexes and Statistics on the iProcess Engine Schema Tables

DBA n/a Check page 93

4. Configure Your Hard and Soft Data Size Limits (AIX Only)

root Check Check page 94

5. Set Up the Shared Library Path for the iProcess Engine

root Required Check page 95

6. Set up iProcess Engine Environment Variables

root Required Check page 97

7. Re-implement Changes to Tomcat Configuration Files

iPE installer n/a Required page 98

8. Install the IBM Client for JMS on J2SE with IBM WebSphere Application Server

iPE installer Check Check page 99

9. Configure IAPJMS Security Settings

iPE installer Optional Optional page 101

10. Configure the Default iProcess Engine Setup

iPE installer Optional Optional page 102

11. Update the iProcess Objects Server Configuration File

iPE installer n/a Optional page 103

12. Recreate Prediction Data iPE installer n/a Optional page 104

13. Disable or Re-enable Write Access to WebDav

iPE installer Optional Optional page 105

TIBCO iProcess Engine (DB2) for UNIX and Linux Installation

90 | Chapter 5 Carrying Out Post-Installation Tasks

14. Configure JMX Ports to Run Through a Firewall

iPE installer Optional Optional page 106

15. Enable Secure Socket Layer (SSL)

iPE installer Optional Optional page 106

16. Start the iProcess Engine iPE installer Optional Optional page 110

Task To be done by

InstallStatus

UpgradeStatus See Done?

TIBCO iProcess Engine (DB2) for UNIX and Linux Installation

Re-implement Changes to Upgraded Configuration Files | 91

Re-implement Changes to Upgraded Configuration Files

Status

Description If you made any changes to the default values in the following files on your original system, you should now manually re-implement any of those changes that you want to keep in the upgraded files:

• $SWDIR/etc/language.lng/staffico

• $SWDIR/etc/language.lng/auditusr.mes

See Also For more information about the default contents of these files, and how to edit them, please see the following references:

If you are... This task is...

Installing a new iProcess Engine Not applicable.

Upgrading from any Version i10, 10 or 11 iProcess Engine Optional

For information about... See...

$SWDIR/etc/language.lng/staffico: “Using the iProcess Engine Configuration Files”, in the TIBCO iProcess Engine Administrator’s Guide

$SWDIR/etc/language.lng/auditusr.mes “Defining Audit Trail Entries”, in the TIBCO iProcess swutil and swbatch Reference Guide.

TIBCO iProcess Engine (DB2) for UNIX and Linux Installation

92 | Chapter 5 Carrying Out Post-Installation Tasks

Configure Firewall Port Ranges on Slave Nodes

Status

Description From Version 10.6 onwards firewall port range configuration data is stored in the port_range database tables, and can be configured by using the $SWDIR/util/swadm utility. In pre-10.5.0 iProcess Engine versions, this data was stored in and managed using the $SWDIR/etc/staffcfg file.

If you are installing or upgrading an iProcess Engine as:

• a slave server in a node-cluster (see page 3), you must now manually configure any required firewall port range data.

• a master server or single server, you do not need to do anything. swinstall automatically creates the necessary port range configuration data in this case, either using default values (for a new installation), or using the values from the $SWDIR/etc/staffcfg file (for an upgrade).

Procedure If you are either:

• installing a new slave server, or

• upgrading an existing (pre-version 10.5) slave server,

you should use the swadm utility to create the necessary port range configuration data for your firewall configuration.

See Also See Chapter 9, “Administering Firewall Port Ranges”, in the TIBCO iProcess Engine Administrator’s Guide for more information about using the iProcess Engine with a firewall, and how to use the $SWDIR/util/swadm utility to configure firewall port ranges.

If you are... This task is...

Installing a new iProcess Engine Required

Upgrading from any Version i10, 10 or 11 iProcess Engine Required

TIBCO iProcess Engine (DB2) for UNIX and Linux Installation

Recreate All User-Defined Constraints, Indexes and Statistics on the iProcess Engine Schema Tables | 93

Recreate All User-Defined Constraints, Indexes and Statistics on the iProcess Engine Schema Tables

Status

Description After the upgrade has finished you need to recreate any user-defined constraints, indexes and statistics that you deleted before upgrading the iProcess Engine (see page 46).

Procedure Using an appropriate SQL utility, recreate all user-defined constraints, indexes and statistics on iProcess Engine schema tables that you deleted before you upgraded.

If you are... This task is...

Installing a new iProcess Engine Not applicable

Upgrading from any Version i10, 10 or 11 iProcess Engine May be required

TIBCO iProcess Engine (DB2) for UNIX and Linux Installation

94 | Chapter 5 Carrying Out Post-Installation Tasks

Configure Your Hard and Soft Data Size Limits (AIX Only)

Status

Description On AIX, the iProcess Engine processes are built to use the large address-space data model, which allows them to access the larger data areas that they require.

When the iProcess Engine is started, the system attempts to modify the soft limit on data size to accommodate the requirement for large data. If the modified soft limit is greater than the hard limit, the initial iProcess Engine processes are killed during exec processing. (The only message you receive is killed, which informs you that a process was killed.)

Procedure If this occurs, you must either raise the hard limit, or reduce the soft limit, on data size for the shell that you use to start the iProcess Engine.

See Also For more information about the AIX large address-space data model, see the chapter on “Large Program Support” in the AIX book General Programming Concepts: Writing and Debugging Programs.

If you are... This task is...

Installing a new iProcess Engine Required

Upgrading from any Version i10, 10 or 11 iProcess Engine Required

You can display the default value by using the UNIX ulimit -d or ulimit -Sd commands (S indicating the “soft” or default limit). You can display the maximum value by using the ulimit -Hd command (H indicating the “hard” or maximum limit).

TIBCO iProcess Engine (DB2) for UNIX and Linux Installation

Set Up the Shared Library Path for the iProcess Engine | 95

Set Up the Shared Library Path for the iProcess Engine

Status

Description To allow the iProcess Engine to operate correctly, the shared library path environment variable must be correctly set up for the following UNIX users:

— All users who wish to use iProcess Engine administration utilities such as $SWDIR/util/swadm.

— The iProcess Engine background user, to allow the BG process to start and function correctly.

You can check the current value of the shared library path variable using the following command:

Procedure Make sure that the following string is included in the shared library path variable for each user that needs it:

$DB2PATH/lib:$SWDIR/libs

If you are... This task is...

Installing a new iProcess Engine Required

Upgrading from any Version i10, 10 or 11 iProcess Engine Required

Platform Command

AIX echo $LIBPATH

Sun SPARC Solaris

echo $LD_LIBRARY_PATH

Sun x86 Solaris

echo $LD_LIBRARY_PATH

Linux echo $LD_LIBRARY_PATH

TIBCO iProcess Engine (DB2) for UNIX and Linux Installation

96 | Chapter 5 Carrying Out Post-Installation Tasks

You must also ensure that the libdb2 library is in a standard directory such as /usr/lib.

When you use the $SWDIR/bin/swstart -p command to start the iProcess Engine, the RPC_UDP_LI process fails to start up if it cannot find the libdb2 library in a standard directory such as /usr/lib. This is because it is a SUID process, and so ignores the LD_LIBRARY_PATH environment variable.

TIBCO iProcess Engine (DB2) for UNIX and Linux Installation

Set up iProcess Engine Environment Variables | 97

Set up iProcess Engine Environment Variables

Status

Description To allow the iProcess Engine to operate correctly, the iProcess Engine Background and Administrator accounts must have the following environment variables set:

• SWDIR - the iProcess Engine system directory, where the iProcess Engine software is installed.

• DB2PATH - the directory where the DB2 software is installed.

• DB2INSTANCE - the name of the DB2 instance where the iProcess Engine database is installed.

Procedure Make sure that the SWDIR, DB2PATH and DB2INSTANCE environment variables are included in the login profiles of the following users:

• the iProcess Engine Background account.

• the iProcess Engine Administrator account.

Exampleexport DB2PATH=/opt/IBM/db2/V8.2 export DB2INSTANCE=db2inst1

See Also Please refer to your operating system documentation for more information about how to set environment variables.

If you are... This task is...

Installing a new iProcess Engine Required

Upgrading from any Version i10, 10 or 11 iProcess Engine Required

TIBCO iProcess Engine (DB2) for UNIX and Linux Installation

98 | Chapter 5 Carrying Out Post-Installation Tasks

Re-implement Changes to Tomcat Configuration Files

Status

Description If you have upgraded from a pre-10.6 version of the iProcess Engine, any changes you made to the default values in the Tomcat configuration files in the $SWDIR/tomcat directory on your original system have been lost (see page 37).

If you want to keep any of those changes, you should now manually re-implement them in the new Tomcat version 5.5.31 .xml configuration files.

Procedure Manually re-implement the desired changes in the Tomcat version 5.5.31 configuration files in the $SWDIR/tomcat directory.

For more information about how to re-implement the changes using the new configuration file format, please see your Tomcat version 5.5.31 documentation.

If you are... This task is...

Installing a new iProcess Engine Not applicable

Upgrading from any Version i10, 10 or 11 iProcess Engine

Required if upgrading from a pre-10.6 version

TIBCO iProcess Engine (DB2) for UNIX and Linux Installation

Install the IBM Client for JMS on J2SE with IBM WebSphere Application Server | 99

Install the IBM Client for JMS on J2SE with IBM WebSphere Application Server

Status

Description If you intend to use Websphere 6.x as your JSP provider for Activity Publication, and you do not already have the IBM Client for JMS on J2SE with WebSphere Application Server (referred to as the "IBM JMS Client" in the rest of this section) installed on your system, you must install it now.

The IBM Client is an embeddable technology that provides JMS V1.1 connections to a service integration bus messaging engine in WebSphere Application Server V6.0.2 (or above). It is available from the following IBM URL:

http://www-1.ibm.com/support/docview.wss?uid=swg24012804

Procedure To do this:

1. Download the IBM Client download file (sibc_install-<build>.jar) from the above URL.

2. Use the following command to install the IBM Client:

java –jar sibc_install-<build>.jar jms_jndi_platform directory

where:

— platform is ibm if you are installing on AIX, or sun if you are installing on Solaris, HP-UX or Linux. (jms_jndi_platform is the installation option for JMS + JNDI for the JRE that is distributed with the iProcess Engine.)

If you are... This task is...

Installing a new iProcess Engine Required if you use Websphere 6.x

Upgrading from any Version i10, 10 or 11 iProcess Engine

Required if you use Websphere 6.x

You must install the IBM JMS Client into the directory you specified for it when you ran swinstall (see page 142).

TIBCO iProcess Engine (DB2) for UNIX and Linux Installation

100 | Chapter 5 Carrying Out Post-Installation Tasks

— directory is the same path name that you entered in the Base jar files location field on the IAP Configuration Menu (see page 142). You must install to this directory because that is where the iProcess Engine will look for the client .jar files.

TIBCO iProcess Engine (DB2) for UNIX and Linux Installation

Configure IAPJMS Security Settings | 101

Configure IAPJMS Security Settings

Status

Description If you chose to enable Activity Publication when you ran swinstall (see page 59), default values for the JNDI/JMS user name and password are written to the SecurityPrinciple and SecurityCredentials properties (respectively), in the $SWDIR/etc/iapjms.properties file. (This file contains all the configuration information for the IAPJMS library.)

If you want to change these values for security reasons, you should do so now.

See Also For more information about how to change the default values for the JNDI/JMS user name and password, see "Updating the IAP Security Principle and Credentials" in the TIBCO iProcess Engine Administrator’s Guide.

If you are... This task is...

Installing a new iProcess Engine Optional

Upgrading from any Version i10, 10 or 11 iProcess Engine Optional

Enabling activity publishing does not result in events being automatically published by the iProcess Engine - see page 132 for more information.

TIBCO iProcess Engine (DB2) for UNIX and Linux Installation

102 | Chapter 5 Carrying Out Post-Installation Tasks

Configure the Default iProcess Engine Setup

Status

Description swinstall creates a default set of server processes, process attributes, message queues and Mbox sets for the iProcess Engine. You can, if you wish, change this default setup to suit your particular requirements.

Node Cluster The default processes are all set up on the master server. When a slave server is added no processes are initially configured to run on it.

Procedure Use the $SWDIR/util/swsvrmgr and/or $SWDIR/util/swadm utilities to set up server processes, process attributes, message queues and Mbox sets according to your requirements.

See Also See the following references in the TIBCO iProcess Engine Administrator's Guide for more information.

If you are... This task is...

Installing a new iProcess Engine Optional

Upgrading from any Version i10, 10 or 11 iProcess Engine Optional

For information about configuring... See this chapter...

processes Administering iProcess Engine Server Processes

process attributes Administering Process Attributes

message queues and Mbox sets Administering Message Queues and Mbox Sets

TIBCO iProcess Engine (DB2) for UNIX and Linux Installation

Update the iProcess Objects Server Configuration File | 103

Update the iProcess Objects Server Configuration File

Status

Description If you have upgraded an existing iProcess Engine installation, swinstall does not overwrite the $SWDIR/seo/data/swentobjsv.cfg iProcess Objects Server configuration file, because you may have customized it for your particular needs. Instead, swinstall installs a sample.cfg file in the $SWDIR/seo/data directory.

The newly installed configuration file (swentobjsv.cfg and/or sample.cfg) is the configuration file for the version to which you have upgraded. It may contain new configuration parameters or other changes, see the iProcess Objects Server Release Notes. Note, however, that all configuration parameters in the new configuration file(s) are commented out — if used as is, the iProcess Objects Server will use the default values for all parameters.

Procedure If the new configuration file contains new or modified information, you can copy that information and paste it into your existing configuration file.

You can use the diff program (diff swentobjsv.cfg sample.cfg) to determine what is different between your configuration file and the new configuration file.

Note that:

• Whether or not you make any modifications, the $SWDIR/seo/data directory must contain a swentobjsv.cfg file, which will be used to configure the iProcess Objects Server when it is started.

• If any of the configuration parameters contain invalid values, the iProcess Objects Server will not start. Since the iProcess Objects Server log file is not opened until after the configuration file is read, if there is an error in the configuration file, it is not written to the log file. Instead, it is written to the $SWDIR/logs/seo_error file. (This file is created when the iProcess Objects Server starts, so the presence of the file does not mean there were errors.)

See Also For more information about how to configure and use the iProcess Objects Server, see the following guides:

• TIBCO iProcess Objects Server Administrator’s Guide

• TIBCO iProcess Objects Programmer’s Guide

If you are... This task is...

Installing a new iProcess Engine n/a

Upgrading from any Version i10, 10 or 11 iProcess Engine Optional

TIBCO iProcess Engine (DB2) for UNIX and Linux Installation

104 | Chapter 5 Carrying Out Post-Installation Tasks

Recreate Prediction Data

Status

Description During the upgrade process the predict and predict_lock tables are dropped and then recreated. Accordingly, any prediction data contained in those tables is lost.

Procedure You can recreate the data in these tables (for any procedures that you want to) by using the following command:

$SWDIR/bin/swutil PREDICT procname ALL_CASES

where procname is the name of the procedure that you want to recreate prediction data for.

See Also For more information about:

• case prediction, see "Using Case Prediction to Forecast Outstanding Work Items" in the TIBCO iProcess Modeler Advanced Design Guide.

• the swutil PREDICT command, see "Updating Prediction for Cases" in the TIBCO iProcess swutil and swbatch Reference Guide.

If you are... This task is...

Installing a new iProcess Engine Not applicable

Upgrading from any Version i10, 10 or 11 iProcess Engine Optional

TIBCO iProcess Engine (DB2) for UNIX and Linux Installation

Disable or Re-enable Write Access to WebDav | 105

Disable or Re-enable Write Access to WebDav

Status

Description You may find, once you have installed or upgraded the iProcess Engine, that you want to disable or re-enable write access to WebDav on the Apache Tomcat Application Server installed with the iProcess Engine. To do this, you must edit the $SWDIR/tomcat/webdav/WEB-INF/web.xml file.

Procedure To disable or re-enable write access to WebDav on the Apache Tomcat Application Server installed with the iProcess Engine, do the following:

1. In a text editor, open the $SWDIR/tomcat/webdav/WEB-INF/web.xml file.

2. Depending on your requirements, either uncomment or comment out the following section:<init-param><param-name>readonly</param-name><param-value>false</param-value></init-param>

3. Save the file.

If you are... This task is...

Installing a new iProcess Engine Optional

Upgrading from any Version i10, 10 or 11 iProcess Engine Optional

Upgrading from any Version 9 Process Engine Optional

TIBCO iProcess Engine (DB2) for UNIX and Linux Installation

106 | Chapter 5 Carrying Out Post-Installation Tasks

Configure JMX Ports to Run Through a Firewall

Status

Description JMX relies on a JAVA technology called RMI which uses dynamic ports to be able to communicate between a client and a server. Firewalls cannot handle dynamic ports as they need to know the port number. iProcess overcomes this problem by statically assigning a listening port for the RMI server.

To do this you need to configure the $SWDIR\etc\swjmx.properties file.

Procedure To configure the swjmx.properties file, do the following:

1. Open $SWDIR\etc\swjmx.properties and you will see lines similar to the following:

SWJMXConfig.location=C:/swserver/staffw_nod1/etc/swjmx_config.xml

SWJMXConfig.port=10025

2. The default port is 10025 but you can change this to a port of your choosing.

The RMI server port number will then be automatically set to the value of SWJMXConfig.port +1.

3. Save the file.

If you are... This task is...

Installing a new iProcess Engine Optional

Upgrading from any Version i10, 10 or 11 iProcess Engine Optional

Upgrading from any Version 9 Process Engine Optional

TIBCO iProcess Engine (DB2) for UNIX and Linux Installation

Enable Secure Socket Layer (SSL) | 107

Enable Secure Socket Layer (SSL)

Status

Description SSL provides a secure connection between a client and a server based on the SSL configurations at the client and server sides.

One, or both the communicating applications has a public-private key pair; these keys are symmetric. Data encrypted with the public key can be decrypted with the private key, and vice versa.

To use SSL on all supported directory servers, the server's key pair must be pre generated and configured in the server.

Procedure To enable Secure Socket Layer (SSL), you must set up the connection to the LDAP server:

1. Select the following option from the LDAPCONF menu:

[1] Set Connection Information

The following prompt is displayed:

Enter name of host on which the LDAP server resides (localhost):

2. Enter the name of the machine where the LDAP server is running, either as a host name specified in your local machine’s hosts file, or as an IP address.

The following prompt is displayed:

Enter port number on host to connect to (389):

3. Enter the TCP port number (a valid numeric value greater than 1) to connect to on the specified host. The default value for LDAP servers is 389.

The following prompt is displayed:

If you are... This task is...

Installing a new iProcess Engine Optional

Upgrading from any Version i10, 10 or 11 iProcess Engine Optional

Upgrading from any Version 9 Process Engine Optional

TIBCO iProcess Engine (DB2) for UNIX and Linux Installation

108 | Chapter 5 Carrying Out Post-Installation Tasks

Enter the distinguished name of the entry to bind as (NULL):

4. Enter the distinguished name (DN) of the entry which will be used to authenticate this connection to the LDAP server. (If you accept the default option LDAPCONF will connect as a default LDAP user.)

The following prompt is displayed:

Do you wish to change the password (Y/N):

5. Enter:

— Y, if you want to change the password associated with this entry. You will then be prompted to enter and confirm the new password.

— N, if you want to use the existing password.

SSL is enabled, do you wish to disable it (Y/N):

or

SSL is disabled, do you wish to enable it (Y/N):

6. Enter:

— Y, if you want to change the status of SSL.

— N, if you want to keep the current status of SSL.

If you enable SSL, the following prompt is displayed:

PATH to the Certificate Database for SSL(/home/certs/):

7. Enter the path to the Certificate Database.

8. If you have enabled SSL, the following prompt is displayed:

Is the target LDAP provider Microsoft Active Directory [No] (Y/N):

This is necessary because Microsoft Active Directory handles password changes differently from other LDAP providers.

TIBCO iProcess Engine (DB2) for UNIX and Linux Installation

Enable Secure Socket Layer (SSL) | 109

Enter:

— Y, if the LDAP server to which you are connecting uses Microsoft Active Directory.

— N, if the LDAP server does not use Microsoft Active Directory. This is the default value.

The LDAPCONF main menu is re-displayed.

Once you have enabled SSL, the iProcess Engine must be restarted for the change to take effect.

For more information about LDAPCONF, refer to LDAPCONF Utility User's Guide.

TIBCO iProcess Engine (DB2) for UNIX and Linux Installation

110 | Chapter 5 Carrying Out Post-Installation Tasks

Start the iProcess Engine

Status

Description The iProcess Engine is now properly installed, configured and ready to start up.

Node Cluster Install each node in the cluster before trying to start the iProcess Engine.

Procedure To start the iProcess Engine:

1. Login as the iProcess Engine background user.

2. Enter the following command to start the process sentinels:

$SWDIR/bin/swstart -p

If you selected Enable Autostart on the Configuration Options Menu (see page 131), the process sentinels automatically start all of the iProcess Engine processes.

3. If you did not select Enable Autostart on the Configuration Options Menu, enter the following command to start the iProcess Engine processes:

$SWDIR/bin/swstart

See Also See "Controlling the TIBCO iProcess Engine" in the TIBCO iProcess Engine Administrator's Guide for more information.

If you are... This task is...

Installing a new iProcess Engine Optional

Upgrading from any Version i10, 10 or 11 iProcess Engine Optional

TIBCO iProcess Engine (DB2) for UNIX and Linux Installation

| 111

Chapter 6 Removing the iProcess Engine

You can use the $SWDIR/bin/swdel utility to remove the iProcess Engine from your system if it is no longer required.

Note that:

• If you have a node cluster in which you have the iProcess Engine installed on several servers, you will need to run swdel on each server.

• You should not attempt to delete iProcess Engine files directly, as some may remain on the system, causing problems if you wish to re-install the iProcess Engine later.

• swdel does not remove any configuration changes that were made prior to installation (for example, the number of file descriptors per process). Any changes made must be manually changed back to their original values.

TIBCO iProcess Engine (DB2) for UNIX and Linux Installation

112 | Chapter 6 Removing the iProcess Engine

Running swdel

To remove the iProcess Engine installation from your computer:

1. Make sure that all iProcess Engine users are logged out, then stop the iProcess Engine and Process Sentinels. See "Stopping the TIBCO iProcess Engine" in the TIBCO iProcess Engine

2. Administrator's Guide for more information about how to do this.

3. Log in as root.

4. Make sure that:

— $SWDIR points to the directory containing the iProcess Engine that you want to remove

— $SWDIR/bin is on root's PATH.

— $DB2PATH and $DB2INSTANCE are set up correctly.

5. If necessary, cd to a directory that is not under the $SWDIR that you want to remove.

6. Enter the following command to delete the iProcess Engine:

swdel

7. The following information and prompt is displayed.

WARNING - THIS SCRIPT WILL REMOVE ALL TRACES OFTIBCO iProcess Engine FROM THIS NODE

SWDIR=/iProcess/swnod1Installation=cerberus

Version=11.1.3

Press <CR> to continue

It is essential that if you have TIBCO iProcess Technology Plug-ins installed, you run the uninstaller for these before deleting $SWDIR via the swdel script. See TIBCO iProcess Technology Plug-ins Installation guide for information on how to do this.

TIBCO iProcess Engine (DB2) for UNIX and Linux Installation

Running swdel | 113

Check the details to make sure that this is the iProcess Engine you want to delete, then press ENTER.

8. The following prompt is displayed, asking you to confirm the deletion request.

Are you sure you want to do this ?

If you want to delete this iProcess Engine installation, enter Y, then go to step 9.

If you do not want to delete this iProcess Engine installation, enter N. The program terminates and the following message is displayed.

Aborting swdel

9. The following prompt is displayed, asking you to confirm the deletion request again.

Are you really sure ?

If you want to continue, enter Y, then go to step 10.

If you want to change your mind and cancel the deletion, enter N. The program terminates and the following message is displayed.

Aborting swdel

10. The swdel utility now deletes the iProcess Engine installation, then exits.

Removing main TIBCO iProcess Engine directories... Done

The database data will have to be removed by dropping the databaseusers: swpro and swuser.

You will have to remove the UNIX users 'swadmin' and 'pro'users with operating system utilities.

TIBCO iProcess Engine is no longer on this system.#

TIBCO iProcess Engine (DB2) for UNIX and Linux Installation

114 | Chapter 6 Removing the iProcess Engine

11. If you have added commands to start and stop the iProcess Engine to your system startup and shutdown scripts, you should remove these.

12. Remove the entries for the Process Sentinel processes from the /etc/services file.

13. Delete the iProcess Engine database and database users from the DB2 database. Refer to your DB2 documentation for more information about how to do this.

14. Finally, delete the iProcess Engine user accounts from UNIX (unless they are required for other iProcess Engine installations on this computer).

Refer to your UNIX documentation for more information about how to do this.

TIBCO iProcess Engine (DB2) for UNIX and Linux Installation

| 115

Appendix A swinstall Menu Reference

This appendix provides complete reference information about all the configuration items in the swinstall menus described in Chapter 3 on page 47.

Topics

• Location, Identification and OS Accounts Menu, page 116

• Configuration Options Menu, page 126

• IAP Configuration Menu, page 139

• EAI E-Mail Plug-in Configuration Menu, page 147

• SMTP Backup Servers Configuration, page 151

• DB2 Database Connection and Account Details Menu, page 155

TIBCO iProcess Engine (DB2) for UNIX and Linux Installation

116 | Appendix A swinstall Menu Reference

Location, Identification and OS Accounts Menu

The Location, Identification and OS Accounts Menu allows you to define the basic operating system level information needed by swinstall.

It provides the following menu items:

• Installation Directory (see page 117)

• iProcess Engine Nodename (see page 118)

• iProcess Engine Licensee Name (see page 119)

• iProcess Engine Background User Name (see page 120)

• iProcess Engine Administration User Name (see page 122)

• iProcess Engine User Group Name (see page 124)

• Redirect Administration Queue (see page 125)

TIBCO iProcess Engine (DB2) for UNIX and Linux Installation

Installation Directory | 117

Installation DirectoryLocation, Identification and OS Accounts Menu

Description The directory where the iProcess Engine is to be installed or upgraded.

Value

Control FileKeyword

IPEI_SWDIR

If you are installing a new iProcess Engine...

Value Either:

• the current $SWDIR value (if set), or

• the directory specified when running swinstall (see page 52)

You cannot change this value.

If you are upgrading an existing iProcess Engine...

Value The current $SWDIR value

You cannot change this value.

TIBCO iProcess Engine (DB2) for UNIX and Linux Installation

118 | Appendix A swinstall Menu Reference

iProcess Engine NodenameLocation, Identification and OS Accounts Menu

Description The logical identifier for this iProcess Engine node.

Value

Control FileKeyword

IPEI_NODENAME

If you are installing a new iProcess Engine...

Value Any name that:

• is between 1 and 24 lowercase, alphanumeric characters long.

• begins with an alpha character (a-z).

• is unique on the network.

Default Value Either:

• the machine name, if this is the first iProcess Engine installation on this computer, or

• swnodnnn, if this is a subsequent iProcess Engine installation on this computer

where nnn is the number of worker/watcher entries in the /etc/services file.

For example, if this is the second iProcess Engine installation on this computer, the default nodename is swnod001.

Node-cluster If you are installing a slave server, the nodename used must be the same name used for the master server.

If you are upgrading an existing iProcess Engine...

Value The current nodename, as defined on line 2 of the $SWDIR/swdefs file.

You cannot change this value.

TIBCO iProcess Engine (DB2) for UNIX and Linux Installation

iProcess Engine Licensee Name | 119

iProcess Engine Licensee NameLocation, Identification and OS Accounts Menu

Description The descriptive name used to identify this iProcess Engine.

Value Any name that is between 1 and 30 printable characters long.

Default Value If you are:

• installing a new iProcess Engine: the text "TIBCO iProcess Engine installed by user", where user is the account name that you are running swinstall as.

• upgrading an existing iProcess Engine: the current licensee name.

Control FileKeyword

IPEI_LICENSEE

TIBCO iProcess Engine (DB2) for UNIX and Linux Installation

120 | Appendix A swinstall Menu Reference

iProcess Engine Background User NameLocation, Identification and OS Accounts Menu

Description The UNIX user account that owns most iProcess Engine files and is used to run the iProcess Engine background processes.

Value

Node-Cluster You must use the same UNIX account name on the master server and each slave server.

If you are installing a new iProcess Engine...

Value Any name that:

• is between 1 and 8 characters long.

• contains only alphanumeric, period (.), underscore (_) and hyphen (-) characters.

Default Value The name of the user account that is being used to run swinstall.

If you are logged in as the background user, you cannot change this name.

Node-cluster If you are installing a slave server, the account name used must be the same name used on the master server.

If you are upgrading an existing iProcess Engine...

Value The current account name, taken from line 2 of the $SWDIR/swdefs file.

You cannot change this value.

TIBCO iProcess Engine (DB2) for UNIX and Linux Installation

iProcess Engine Background User Name | 121

Notes You can, if you wish, use the same UNIX account for both the iProcess Engine Background user and iProcess Engine Administration user.

If the account name you specify does not already exist, you are prompted to create it. For example:

Installing TIBCO iProcess Engine version 11.1.3

Location, Identification and OS Accounts Menu

* ) Installation Directory : /iProcess/swnod12 ) iProcess Engine Nodename : swnod0013 ) iProcess Engine Licensee Name : iProcess0014 ) iProcess Engine Background User Name : pro5 ) iProcess Engine Administration User Name : swadmin6 ) iProcess Engine User Group Name : staffwar

Enter Number of Item to Edit, (C)ontinue or (Q)uit : 4Enter new value for iProcess Engine Background User Name : pro1User ( pro1 ) does not exist on this system.Create user? (Y/N - default N) : Y

If you enter Y the user is flagged for creation and the new user name is displayed in the menu.

Installing TIBCO iProcess Engine version 11.1.3

Location, Identification and OS Accounts Menu

* ) Installation Directory : /iProcess/swnod12 ) iProcess Engine Nodename : swnod0013 ) iProcess Engine Licensee Name : iProcess0014 ) iProcess Engine Background User Name : pro15 ) iProcess Engine Administration User Name : swadmin6 ) iProcess Engine User Group Name : staffwar

Enter Number of Item to Edit, (C)ontinue or (Q)uit :

If you enter N the old name is shown.

Control FileKeyword

IPEI_BGUSER

The user account is not actually created until swinstall performs the installation - see Performing the Installation on page 69.

TIBCO iProcess Engine (DB2) for UNIX and Linux Installation

122 | Appendix A swinstall Menu Reference

iProcess Engine Administration User NameLocation, Identification and OS Accounts Menu

Description The UNIX account that is used to administer the iProcess Engine.

Value

Notes You can, if you wish, use the same UNIX account for both the iProcess Engine Background user and iProcess Engine Administration user.

If the account name you specify does not already exist, you are prompted to create it. For example:

Installing TIBCO iProcess Engine version 11.1.3

Location, Identification and OS Accounts Menu

* ) Installation Directory : /iProcess/swnod12 ) iProcess Engine Nodename : swnod0013 ) iProcess Engine Licensee Name : iProcess0014 ) iProcess Engine Background User Name : pro5 ) iProcess Engine Administration User Name : swadmin6 ) iProcess Engine User Group Name : staffwar

Enter Number of Item to Edit, (C)ontinue or (Q)uit : 5Enter new value for iProcess Engine Administration User Name:swadmin2

If you are installing a new iProcess Engine...

Value Any name that:

• is between 1 and 8 characters long.

• contains only alphanumeric, period (.), underscore (_) and hyphen (-) characters.

Default Value swadmin

Node-cluster If you are installing a slave server, the account name used must be the same name used on the master server.

If you are upgrading an existing iProcess Engine...

Value The current account name, taken from line 3 of the $SWDIR/swdefs file.

Note: If you change this value the Redirect Administration Queue menu item is displayed.

TIBCO iProcess Engine (DB2) for UNIX and Linux Installation

iProcess Engine Administration User Name | 123

User ( swadmin2 ) does not exist on this system.Create user? (Y/N - default N) : Y

If you enter Y the user is flagged for creation and the new user name is displayed in the menu.

Installing TIBCO iProcess Engine version 11.1.3

Location, Identification and OS Accounts Menu

* ) Installation Directory : /iProcess/swnod12 ) iProcess Engine Nodename : swnod0013 ) iProcess Engine Licensee Name : iProcess0014 ) iProcess Engine Background User Name : pro5 ) iProcess Engine Administration User Name : swadmin26 ) iProcess Engine User Group Name : staffwar

Enter Number of Item to Edit, (C)ontinue or (Q)uit :

If you enter N the old name is shown.

Control FileKeyword

IPEI_ADMUSER

The user account is not actually created until swinstall performs the installation - see Performing the Installation on page 69.

TIBCO iProcess Engine (DB2) for UNIX and Linux Installation

124 | Appendix A swinstall Menu Reference

iProcess Engine User Group NameLocation, Identification and OS Accounts Menu

Description The UNIX group to which all iProcess Engine users must belong.

Value

Notes You must ensure that all iProcess Engine users are members of this group.

Control FileKeyword

IPEI_USRGROUP

If you are installing a new iProcess Engine...

Value Any name that:

• is between 1 and 8 lower-case, alphanumeric characters long.

• begins with an alpha character.

Default Value staffwar

Node-cluster If you are installing a slave server, the group name used must be the same name used on the master server.

If you are upgrading an existing iProcess Engine...

Value The current iProcess Engine group name, taken from the $SWDIR/etc/staffpms file.

You cannot change this value.

TIBCO iProcess Engine (DB2) for UNIX and Linux Installation

Redirect Administration Queue | 125

Redirect Administration QueueConfiguration Options Menu

Description Whether work items from the original iProcess Engine Administration User Name should be redirected to the new account.

Value Either:

• Y, if work items from the original iProcess Engine Administration User Name should be redirected to the new account, or

• N, if work items from the original iProcess Engine Administration User Name should be left in that queue.

Notes This menu item is only displayed if you are upgrading and you change the iProcess Engine Administration User Name.

ExampleUpgrading TIBCO iProcess Engine version 11.1.3

Location, Identification and OS Accounts Menu

* ) Installation Directory : /iProcess/swnod12 ) iProcess Engine Nodename : swnod0013 ) iProcess Engine Licensee Name : iProcess0014 ) iProcess Engine Background User Name : pro5 ) iProcess Engine Administration User Name : swadmin6 ) iProcess Engine User Group Name : staffwar7 ) Redirect Administration Queue : Y

Enter Number of Item to Edit, (C)ontinue or (Q)uit :

Control FileKeyword

IPEF_REDIRADM

TIBCO iProcess Engine (DB2) for UNIX and Linux Installation

126 | Appendix A swinstall Menu Reference

Configuration Options Menu

The Configuration Options menu allows you to specify basic iProcess Engine configuration details.

It provides the following menu items:

• iProcess Engine Client RPC Number (see page 127)

• iProcess Engine Client Password Required (see page 128)

• Enable Case Data Normalization (see page 129)

• Enable Prediction (see page 130)

• Enable Autostart (see page 131)

• Enable Activity Publishing (see page 132)

• Configure iProcess Email Server Plug-in (see page 134)

• Enable iProcess Objects Server (see page 135)

• Enable iProcess Objects Director (see page 136)

• JMX Port Number (see page 137)

• Enable Write Access to WebDav (see page 138)

TIBCO iProcess Engine (DB2) for UNIX and Linux Installation

iProcess Engine Client RPC Number | 127

iProcess Engine Client RPC NumberConfiguration Options Menu

Description The RPC service number that iProcess Workspaces use to communicate with this iProcess Engine.

Value

Control FileKeyword

IPEI_RPCNUM

If you are installing a new iProcess Engine...

Value Any valid 1-6 digit RPC number.

Note: 391875 to 391879 is the reserved iProcess Engine client-server RPC program number range. Using a number in this range should prevent any clash with other applications using the same number, provided that other applications also use legitimate RPC numbers.

Default Value 391875 + n

where n is the number of existing iProcess Engine installations on this computer, calculated from the number of worker/watcher entries in the /etc/services file.

For example, if this is the first iProcess Engine installation on this computer, the default client RPC number is 391875.

Node-cluster If you are installing a slave server, the client RPC number used must be the same number used on the master server.

If you are upgrading an existing iProcess Engine...

Value The current client RPC number, taken from the $SWDIR/swdefs file.

You cannot change this value.

TIBCO iProcess Engine (DB2) for UNIX and Linux Installation

128 | Appendix A swinstall Menu Reference

iProcess Engine Client Password RequiredConfiguration Options Menu

Description Whether iProcess Workspace users must enter their passwords to login to this iProcess Engine.

Value Either:

• Y, if iProcess Workspace users must enter their passwords to login to this iProcess Engine or

• N, if iProcess Workspace users can login to this iProcess Engine without supplying their passwords.

Default Value If you are:

• installing a new iProcess Engine: the value Y.

• upgrading an existing iProcess Engine: the current setting, taken from character 4 of line 4 of the $SWDIR/etc/staffpms file.

Control FileKeyword

IPEF_CLNTPASSWD

TIBCO iProcess Engine (DB2) for UNIX and Linux Installation

Enable Case Data Normalization | 129

Enable Case Data NormalizationConfiguration Options Menu

Description Whether case data normalization should be enabled.

Value Either:

• Y, if case data normalization should be enabled, or

• N, if case data normalization should be disabled.

Default Value

Notes Case data normalization is a feature used to make case data searching more efficient and therefore faster. It uses the field_value_N column in the case_data table in the iProcess Engine database. This column provides a “normalized” value of the value in the field_value column, allowing the database to do simple string comparisons, instead of having to do type conversions.

If you are upgrading, note that creating the data for the field_value_N column can significantly increase the time taken to perform the upgrade if the system has a large number of cases. See page 7 for more information.

Control FileKeyword

IPEF_ENABLECDN

If you are... the default value is...

Installing a new iProcess Engine Y

Upgrading an existing version 11, 10, i10 or i9 iProcess Engine

The current setting, as defined by the value of the NORMALISE_CASE_DATA process attribute.

If this setting is Y, you cannot change it. If it is N, you can change it to Y if you wish.

If you intend to use iProcess Objects to perform case data searches, TIBCO strongly recommends that you enable case data normalization. If you do not do this, you will be able to view and start procedures, but you will not be able to view the cases until you normalize the data.

You can either enable case data normalization as part of the installation/upgrade process by setting this menu item, or you can do so afterwards by using the Case Data Normalization Utility. See "Administering Case Data Normalization" in the TIBCO iProcess Engine Administrator's Guide for more information about this utility.

TIBCO iProcess Engine (DB2) for UNIX and Linux Installation

130 | Appendix A swinstall Menu Reference

Enable PredictionConfiguration Options Menu

Description Whether the case prediction server process (BGPREDICT) should be enabled.

Value Either:

• Y, if BGPREDICT should be enabled, or

• N, if BGPREDICT should be disabled.

Default Value

Notes The case prediction server process only affects background case prediction. It has no effect on live case prediction or case simulation.

See Also For more information about the use of case prediction, see “Using Case Prediction to Forecast Outstanding Work Items” in the TIBCO iProcess Modeler Advanced Design Guide.

Control FileKeyword

IPEF_PREDICT

If you are... the default value is...

Installing a new iProcess Engine N

Upgrading an existing version 11, 10 iProcess Engine

The current setting, as defined by the value of the ENABLE_CASE_PREDICTION process attribute.

If this setting is Y, you cannot change it. If it is N, you can change it to Y if you wish.

TIBCO iProcess Engine (DB2) for UNIX and Linux Installation

Enable Autostart | 131

Enable AutostartConfiguration Options Menu

Description Whether the Process Sentinels automatically start the server processes after the Process Sentinels have started.

Value Either:

• Y, if the server processes should be automatically started by the Process Sentinels, or

• N, if the server processes should be manually started.

Default Value

See Also For more information about the PM_AUTO_BOOT process attribute see "Administering Process Attributes" in the TIBCO iProcess Engine Administrator’s Guide.

Control FileKeyword

IPEF_AUTOSTART

If you are... the default value is...

Installing a new iProcess Engine Y

Upgrading an existing version 11, 10 iProcess Engine

The current setting, as defined by the value of the PM_AUTO_BOOT process attribute.

TIBCO iProcess Engine (DB2) for UNIX and Linux Installation

132 | Appendix A swinstall Menu Reference

Enable Activity PublishingConfiguration Options Menu

Description Whether the BG process should be enabled to publish monitored activities to the IAPJMS process and the WIS process should publish Work Queue Deltas.

Value Either:

• Y, to enable publishing of monitored activities and work queue deltas, or

• N, to disable publishing of monitored activities and work queue deltas.

Default Value

Node-Cluster If you enable activity publishing on the master server, you must also enable it on each slave server.

Notes swinstall writes this value to the IAPJMS_PUBLISH process attribute and enables the IAPJMS process.

If activity publishing is enabled, activity information about auditable objects (for example, procedures and steps) can be published to an external application. This enables real-time monitoring of auditable objects so that mission critical or important business events can be easily monitored.

To get the iProcess Engine to actually monitor and publish events, you must also:

1. configure the activities and events that you want to monitor and publish. See "Configuring Activity Monitoring" in the TIBCO iProcess Modeler Integration Techniques Guide for more information about how to do this.

2. configure how the iProcess Engine will handle and publish monitored events. See "Administering Activity Monitoring" in the TIBCO iProcess Engine Administrator’s Guide for more information about how to do this.

If you are... the default value is...

Installing a new iProcess Engine

N

Upgrading an existing version 11, 10 iProcess Engine

The current setting, as defined by the value of the IAPJMS_PUBLISH process attribute.

If this setting is Y, you cannot change it. If it is N, you can change it to Y if you wish.

Enabling activity publishing does not result in events being automatically published by the iProcess Engine.

TIBCO iProcess Engine (DB2) for UNIX and Linux Installation

Enable Activity Publishing | 133

Similarly, details of a work item are provided whenever the work item changes on a queue that the subscribing application is subscribed to.

Control FileKeyword

IPEF_ENABLEIAP

TIBCO iProcess Engine (DB2) for UNIX and Linux Installation

134 | Appendix A swinstall Menu Reference

Configure iProcess Email Server Plug-inConfiguration Options Menu

Description Whether you want to configure SMTP server parameters for the iProcess EMail Plug-in as part of the installation.

Value Either:

• Y, to configure SMTP server parameters, or

• N, to leave SMTP server parameters unconfigured.

Default Value N

Notes You can either configure the SMTP server parameters as part of the installation process, or do so after you have installed the iProcess Engine.

See Also See the TIBCO iProcess Email Plug-in User’s Guide for more information about the SMTP server parameters.

Control FileKeyword

IPEF_EAIMAIL_ENABLECONFIG

TIBCO iProcess Engine (DB2) for UNIX and Linux Installation

Enable iProcess Objects Server | 135

Enable iProcess Objects ServerConfiguration Options Menu

Description Whether you want to enable the iProcess Objects Server process (SPO).

Value

Notes Prior to Version 10.5, the iProcess Objects Server was available from and installed separately from the iProcess Engine.

If you are upgrading an iProcess Engine you cannot change this setting as part of the upgrade process - you must do so after you have upgraded the iProcess Engine.

See Also For more information about how to configure and use the iProcess Objects Server, see the following guides:

• TIBCO iProcess Objects Server Administrator’s Guide

• TIBCO iProcess Objects Programmer’s Guide

Control FileKeyword

IPEF_SPOSERVER_ENABLED

If you are installing a new iProcess Engine...

Value Either:

• Y, to enable the SPO process, or

• N, to disable the SPO process.

Default Value Y

If you are upgrading an existing iProcess Engine...

Value Either:

• Y, if the iProcess Objects Server is already installed and enabled.

or

• N, if the iProcess Objects Server is not already installed, or is installed but disabled.

You cannot change this value.

TIBCO iProcess Engine (DB2) for UNIX and Linux Installation

136 | Appendix A swinstall Menu Reference

Enable iProcess Objects DirectorConfiguration Options Menu

Description Whether you want to enable the iProcess Objects Director process (DIRECTOR).

Value

Notes Prior to Version 10.5, the iProcess Objects Director was available from and installed separately from the iProcess Engine.

If you are upgrading an iProcess Engine you cannot change this setting as part of the upgrade process - you must do so after you have upgraded the iProcess Engine.

See Also For more information about how to configure and use the iProcess Objects Director, see the TIBCO iProcess Objects Director Administrator’s Guide.

Control FileKeyword

IPEF_SPODIRECTOR_ENABLED

If you are installing a new iProcess Engine...

Value Either:

• Y, to enable the DIRECTOR process, or

• N, to disable the DIRECTOR process.

Default Value N

If you are upgrading an existing iProcess Engine...

Value Either:

• Y, if the iProcess Objects Director is already installed and enabled.

or

• N, if the iProcess Objects Director is not already installed, or is installed but disabled.

You cannot change this value.

TIBCO iProcess Engine (DB2) for UNIX and Linux Installation

JMX Port Number | 137

JMX Port NumberConfiguration Options Menu

Description The port number on which the Java Management Extensions (JMX) engine should run.

Value The port number must be:

• an integer value between 0 and 65535.

• unique across all iProcess Engine installations on this computer.

Default Value

Node-Cluster You must use the same value on the master server and each slave server.

Notes The iProcess Engine includes a JMX engine that enables Business Studio™ to deploy procedures to the iProcess Engine.

In Business Studio, a Deployment Server can use this port number to deploy processes to this iProcess Engine (using the JMX Remote Method Invocation (RMI) interface).

The port number will be written to the SWJMXConfig.port entry in the $SWDIR/etc/swjmx.properties file, and can be changed after installation if desired. See the TIBCO iProcess Engine Administrator’s Guide for more information.

See Also For more information about how to deploy processes from Business Studio, see the TIBCO Business Studio Implementation guide.

Control FileKeyword

IPEI_JMX_PORT

If you are... the default value is...

Installing a new iProcess Engine 10025

Upgrading an existing version 10.6 or later iProcess Engine

The current port number, as defined in the SWDIR\etc\swjmx.properties file.

Upgrading an existing pre-10.6 version iProcess Engine

10025

TIBCO iProcess Engine (DB2) for UNIX and Linux Installation

138 | Appendix A swinstall Menu Reference

Enable Write Access to WebDavConfiguration Options Menu

Description Whether or not write access to WebDav is enabled on the Apache Tomcat application server that is installed with the iProcess Engine.

Value Either:

• Y, to enable write access to WebDav, or

• N, to disable write access to WebDav.

Default Value N

Notes Selecting this option enables you to easily deploy your TIBCO Forms using TIBCO Business Studio. If you want to use TIBCO Forms and do not want to enable this option, then you must install the forms manually on this or your own web server.

There are security issues around enabling WebDav and if you select this option, the following warning message is displayed:

You have enabled write access to WebDAV, which allows you to make your own deployed forms for the browser client. This may cause your server potential security issues and/or cause your deployed forms for the browser client to fail. TIBCO Software Inc. is not responsible for these or any other consequences caused by your use of the write access to WebDAV.

If you do not want to use TIBCO Forms then TIBCO recommend that you do not enable write access to WebDav. See the documentation supplied with the Apache Tomcat Application Server for more information about security.

See Also For more information about TIBCO Forms, refer to the TIBCO Forms documentation.

Control FileKeyword

IPEF_WEBDAV_ENABLED

TIBCO iProcess Engine (DB2) for UNIX and Linux Installation

IAP Configuration Menu | 139

IAP Configuration Menu

The IAP Configuration Menu allows you to configure the necessary Java Message Service (JMS) parameters if you wish to enable Activity Monitoring on the iProcess Engine.

It provides the following menu items:

• JMS Provider (see page 140)

• Base jar files location (see page 142)

• Additional jar files Location (see page 143)

• Context Factory Name (see page 144)

• URL for JMS Provider (see page 145)

• Connection Factory Name (see page 146)

The IAP Configuration Menu is only displayed if you have changed Enable Activity Publication from N to Y on the Configuration Options menu.

If you are upgrading a system where activity monitoring is already enabled you cannot reconfigure it as part of the upgrade. In this situation, Enable Activity Publication is set to Y on the Configuration Options menu and you cannot change it, and the IAP Configuration Menu is not available.

You should consult the administrator of your JMS Provider software to obtain the necessary information to fill in the items on this menu.

TIBCO iProcess Engine (DB2) for UNIX and Linux Installation

140 | Appendix A swinstall Menu Reference

JMS ProviderIAP Configuration Menu

Description The name of the JMS provider that the iProcess Engine publishes messages to.

Value One of the following:

• TIBCO EMS

• IBM WebSphere V5.1.x

• IBM WebSphere V6.x

• BEA Weblogic Server

• JBoss

• Other

Default Value TIBCO EMS

Notes If you want to change the default value:

1. Enter 1 to edit the JMS Provider entry. The following menu is displayed:

Select from the list JMS Provider

1 ) TIBCO EMS 2 ) IBM WebSphere V5.13 ) IBM Websphere V6.x4 ) BEA Weblogic Server5 ) JBoss6 ) Other

Enter selection, or Q(uit) :

2. Enter the number of the JMS Provider that you wish to use.

The IAP Configuration Menu is displayed, with appropriate default values for your chosen JMS Provider.

If you want to use BEA WebLogic Server Version 8 you should enter 4 for BEA WebLogic Server. If you want to use any other version of BEA WebLogic Server you should enter 6 for Other instead.

Similarly, if you want to use JBoss 4.0.0 you should enter 5 for JBoss. If you want to use any other version of JBoss or JBoss Messaging you should enter 6 for Other instead.

TIBCO iProcess Engine (DB2) for UNIX and Linux Installation

JMS Provider | 141

For example:

Installing TIBCO iProcess Engine version 11.1.3

IAP Configuration Menu1 ) JMS Provider : Tibco EMS2 ) Base jar files location :

/opt/tibco/ems/<version_no>/lib3 ) Additional jar files location :5 ) Context Factory Name : com.tibco.tibjms.naming.

TibjmsInitialContextFactory6 ) URL for JMS Provider : tibjmsnaming://localhost:

72227 ) Connection Factory Name : TopicConnectionFactory

Enter Number of Item to Edit, (C)ontinue, (B)ack or (Q)uit :

The JMS provider software does not need to be installed on the same machine as the iProcess Engine.

See Also For more information about the use of this parameter, see "Administering Activity Monitoring" in the TIBCO iProcess Engine Administrator’s Guide.

Control FileKeyword

IPEI_JMSPROVIDER

If you select Other as the JMS Provider, no defaults are entered. You must supply appropriate values for the other menu items.

If you are upgrading iProcess Engine, you must ensure that your version of EMS is updated. See Appendix D, Upgrading TIBCO EMS, on page 187

TIBCO iProcess Engine (DB2) for UNIX and Linux Installation

142 | Appendix A swinstall Menu Reference

Base jar files locationIAP Configuration Menu

Description If your chosen JMS provider is:

• IBM Websphere 6.x: the full path of the directory containing the IBM Client for JMS on J2SE with WebSphere Application Server. (The iProcess Engine IAPJMS process must use this client to communicate with the WebSphere 6.x Application Server.)

If you do not already have this client installed on this computer, TIBCO recommend that you use the default location ($SWDIR/jmsclient). You must then install this client into the specified directory after you have installed the iProcess Engine. See page 99 for more information about how to do this.

• anything else: the full path (or comma-separated paths) of the .jar files required by this JMS provider.

Default Value /opt/tibco/ems/<version_no>/lib

Notes The default value shown is for the default JMS Provider (which is TIBCO EMS). If you change the JMS Provider, the default value is automatically changed to the appropriate value for that JMS Provider.

swinstall writes this value to the IAPJMS configuration file $SWDIR/etc/iapjms_classpath.properties.

See Also For more information about the use of this parameter, see "Administering Activity Monitoring" in the TIBCO iProcess Engine Administrator’s Guide.

Control FileKeyword

IPEI_JMSLOCATION

TIBCO iProcess Engine (DB2) for UNIX and Linux Installation

Additional jar files Location | 143

Additional jar files LocationIAP Configuration Menu

Description The full path (or comma-separated paths) of any additional .jar files that are required for your JMS configuration.

Default Value None.

Notes swinstall writes this value to the IAPJMS configuration file $SWDIR/etc/iapjms_classpath.properties.

See Also For more information about the use of this parameter, see "Administering Activity Monitoring" in the TIBCO iProcess Engine Administrator’s Guide.

Control FileKeyword

IPEI_ADDJARLOC

TIBCO iProcess Engine (DB2) for UNIX and Linux Installation

144 | Appendix A swinstall Menu Reference

Context Factory NameIAP Configuration Menu

Description The name of the context factory that produces context instances for this JMS Provider.

Default Value com.tibco.tibjms.naming.TibjmsInitialContextFactory

Notes The default value shown is for the default JMS Provider (which is TIBCO EMS V5.1). If you change the JMS Provider, the default value is automatically changed to the appropriate value for that JMS Provider.

swinstall writes this value to the IAPJMSConnect.InitialContextFactory property in the IAPJMS configuration file $SWDIR/etc/iapjms.properties.

See Also For more information about the use of this parameter, see "Administering Activity Monitoring" in the TIBCO iProcess Engine Administrator’s Guide.

Control FileKeyword

IPEI_CTXTFACTORY

TIBCO iProcess Engine (DB2) for UNIX and Linux Installation

URL for JMS Provider | 145

URL for JMS ProviderIAP Configuration Menu

Description The URL that the iProcess Engine uses to connect to this JMS Provider.

Default Value tibjmsnaming://localhost:7222

Notes The default value shown is for the default JMS Provider (which is TIBCO EMS V5.1). If you change the JMS Provider, the default value is automatically changed to the appropriate value for that JMS Provider.

swinstall writes this value to the IAPJMSConnect.InitialURL property in the IAPJMS configuration file $SWDIR/etc/iapjms.properties.

See Also For more information about the use of this parameter, see "Administering Activity Monitoring" in the TIBCO iProcess Engine Administrator’s Guide.

Control FileKeyword

IPEI_JMSURL

TIBCO iProcess Engine (DB2) for UNIX and Linux Installation

146 | Appendix A swinstall Menu Reference

Connection Factory NameIAP Configuration Menu

Description The name of the object that the iProcess Engine uses to create a connection to this JMS Provider.

Default Value TopicConnectionFactory

Notes The default value shown is for the default JMS Provider (which is TIBCO EMS V5.1). If you change the JMS Provider, the default value is automatically changed to the appropriate value for that JMS Provider.

swinstall writes this value to the IAPJMSConnect.TopicConnectionFactory property in the IAPJMS configuration file $SWDIR/etc/iapjms.properties.

See Also For more information about the use of this parameter, see "Administering Activity Monitoring" in the TIBCO iProcess Engine Administrator’s Guide.

Control FileKeyword

IPEI_CONNFACTORY

TIBCO iProcess Engine (DB2) for UNIX and Linux Installation

EAI E-Mail Plug-in Configuration Menu | 147

EAI E-Mail Plug-in Configuration Menu

The EAI E-Mail Plug-in Configuration menu allows you to define the parameters that the iProcess EMail Server Plug-in will use to connect to an SMTP server.

It provides the following menu items:

• SMTP Host (see page 148)

• SMTP Port Number (see page 149)

• Mail From Address (see page 150)

The EAI E-Mail Plug-in Configuration is only displayed if you have set Configure EAI E-Mail Plug-in to Y on the Configuration Options menu.

TIBCO iProcess Engine (DB2) for UNIX and Linux Installation

148 | Appendix A swinstall Menu Reference

SMTP HostEAI E-Mail Plug-in Configuration Menu

Description The name or IP address of the machine hosting the SMTP server that you want to use.

Default Value

Node-Cluster You must use the same value on the master server and each slave server.

Notes swinstall writes this value to the global SMTP parameter file $SWDIR/libs/eai_mail.cfg.

See Also For more information about the use of this parameter, see the TIBCO iProcess EMail Plug-in User’s Guide.

Control FileKeyword

IPEI_EAIMAIL_SMTPHOST

If you are... the default value is...

Installing a new iProcess Engine Null (i.e., no default value)

Upgrading an existing version 10.3 or later iProcess Engine on which the iProcess EMail Server Plug-in has been installed

The current value, taken from the $SWDIR/libs/eai_mail.cfg file.

Upgrading any other iProcess Engine version

Null (i.e., no default value)

TIBCO iProcess Engine (DB2) for UNIX and Linux Installation

SMTP Port Number | 149

SMTP Port NumberEAI E-Mail Plug-in Configuration Menu

Description The TCP port number on which the SMTP server is running.

Default Value

Node-Cluster You must use the same value on the master server and each slave server.

Notes swinstall writes this value to the global SMTP parameter file $SWDIR/libs/eai_mail.cfg.

See Also For more information about the use of this parameter, see the TIBCO iProcess EMail Plug-in User’s Guide.

Control FileKeyword

IPEI_EAIMAIL_SMTPPORT

If you are... the default value is...

Installing a new iProcess Engine 25

Upgrading an existing version 10.3 or later iProcess Engine on which the iProcess EMail Server Plug-in has been installed

The current value, taken from the $SWDIR/libs/eai_mail.cfg file.

Upgrading any other iProcess Engine version

25

TIBCO iProcess Engine (DB2) for UNIX and Linux Installation

150 | Appendix A swinstall Menu Reference

Mail From AddressEAI E-Mail Plug-in Configuration Menu

Description The default email address that you want to use to send EAI Mail messages from.

Default Value

Node-Cluster You must use the same value on the master server and each slave server.

Notes swinstall writes this value to the global SMTP parameter file $SWDIR/libs/eai_mail.cfg.

See Also For more information about the use of this parameter, see the TIBCO iProcess EMail Plug-in User’s Guide.

Control FileKeyword

IPEI_EAIMAIL_MAILFROM

If you are... the default value is...

Installing a new iProcess Engine Null (i.e., no default value)

Upgrading an existing version 10.3 or later iProcess Engine on which the iProcess EMail Server Plug-in has been installed

The current value, taken from the $SWDIR/libs/eai_mail.cfg file.

Upgrading any other iProcess Engine version

Null (i.e., no default value)

TIBCO iProcess Engine (DB2) for UNIX and Linux Installation

SMTP Backup Servers Configuration | 151

SMTP Backup Servers Configuration

MTP Backup Servers Configuration define the parameters for the backup SMTP servers that the iProcess EMail Server Plug-in will use in case the primary SMTP server fails.

It provides the following menu items:

• Backup Host (see page 152)

• Backup Port Number (see page 153)

• Retry Count (see page 154)

It is only displayed if you have set Configure EAI E-Mail Plug-in to Y on the Configuration Options menu.

TIBCO iProcess Engine (DB2) for UNIX and Linux Installation

152 | Appendix A swinstall Menu Reference

Backup HostSMTP Backup Servers Configuration Menu

Description Backup Hosts 1 to 3 are the names or IP addresses of the machines hosting the backup SMTP servers that you want to use.

Default Value

Node-Cluster You must use the same value on the master server and each slave server.

Notes swinstall writes this value to the global SMTP parameter file $SWDIR/libs/eai_mail.cfg.

See Also For more information about the use of this parameter, see the TIBCO iProcess EMail Plug-in User’s Guide.

Control FileKeyword

IPEI_EAIMAIL_BAKSMTPHOST1IPEI_EAIMAIL_BAKSMTPHOST2IPEI_EAIMAIL_BAKSMTPHOST3

If you are... the default value is...

Installing a new iProcess Engine Null (i.e., no default value)

Upgrading an existing version 10.3 or later iProcess Engine on which the iProcess EMail Server Plug-in has been installed

The current value, taken from the $SWDIR/libs/eai_mail.cfg file.

Upgrading any other iProcess Engine version

Null (i.e., no default value)

TIBCO iProcess Engine (DB2) for UNIX and Linux Installation

Backup Port Number | 153

Backup Port NumberSMTP Backup Servers Configuration Menu

Description Backup Ports 1 to 3 are the TCP port numbers on which the associated backup SMTP server is running.

Default Value

Node-Cluster You must use the same value on the master server and each slave server.

Notes swinstall writes this value to the global SMTP parameter file $SWDIR/libs/eai_mail.cfg.

See Also For more information about the use of this parameter, see the TIBCO iProcess EMail Plug-in User’s Guide.

Control FileKeyword

IPEI_EAIMAIL_BAKSMTPPORT1 IPEI_EAIMAIL_BAKSMTPPORT2IPEI_EAIMAIL_BAKSMTPPORT3

If you are... the default value is...

Installing a new iProcess Engine Null (i.e., no default value)

Upgrading an existing version 10.3 or later iProcess Engine on which the iProcess EMail Server Plug-in has been installed

The current value, taken from the $SWDIR/libs/eai_mail.cfg file.

Upgrading any other iProcess Engine version

Null (i.e., no default value)

TIBCO iProcess Engine (DB2) for UNIX and Linux Installation

154 | Appendix A swinstall Menu Reference

Retry CountSMTP Backup Servers Configuration Menu

Description How many times the plug-in should use a backup server before retrying the primary host.

Enter a non-zero numeric value. Note that:

• If a negative value is entered, it is interpreted as 50.

• If zero or a non-numeric value is entered, the configuration of backup servers has no effect and the plug-in reverts to the main Host.

Default Value

Node-Cluster You must use the same value on the master server and each slave server.

Notes swinstall writes this value to the global SMTP parameter file $SWDIR/libs/eai_mail.cfg.

See Also For more information about the use of this parameter, see the TIBCO iProcess EMail Plug-in User’s Guide.

Control FileKeyword

IPEI_EAIMAIL_RETRYCOUNTS

If you are... the default value is...

Installing a new iProcess Engine 3

Upgrading an existing version 10.3 or later iProcess Engine on which the iProcess EMail Server Plug-in has been installed

3

Upgrading any other iProcess Engine version

3

TIBCO iProcess Engine (DB2) for UNIX and Linux Installation

DB2 Database Connection and Account Details Menu | 155

DB2 Database Connection and Account Details Menu

The DB2 Database Connection and Account Details menu allows you to provide the information that swinstall needs to be able to communicate with the database.

It provides the following menu items:

• DB2 Database Alias Name (see page 156)

• iProcess Engine DB Schema Owner Name (see page 157)

• iProcess Engine DB Schema Owner Password (see page 158)

• iProcess Engine DB User Name (see page 159)

• iProcess Engine DB User Password (see page 160)

TIBCO iProcess Engine (DB2) for UNIX and Linux Installation

156 | Appendix A swinstall Menu Reference

DB2 Database Alias NameDB2 Database Connection and Account Details

Description The alias of the DB2 iProcess Engine database.

Value

Control FileKeyword

IPEI_DBIDSTR

If you are installing a new iProcess Engine...

Value The alias of the DB2 iProcess Engine database you created before running swinstall (see page 41). The alias must:

• be between 1 and 8 characters long.

• contain only alphanumeric and underscore (_) characters.

• have a leading alphanumeric character.

Default Value None

Node-cluster If you are installing a slave server, the alias used must be the same number used on the master server.

If you are upgrading an existing iProcess Engine...

Value The current DB2 iProcess Engine database alias.

You cannot change this value.

TIBCO iProcess Engine (DB2) for UNIX and Linux Installation

iProcess Engine DB Schema Owner Name | 157

iProcess Engine DB Schema Owner NameDB2 Database Connection and Account Details

Description The name of the UNIX account that owns the iProcess Engine database schema.

Value

Control FileKeyword

IPEI_DBSONAME

If you are installing a new iProcess Engine...

Value A UNIX account name that:

• is between 1 and 8 characters long.

• contains only alphanumeric and underscore (_) characters.

• has a leading alphanumeric character.

• is a member of the DB2 SYSADM_GROUP OS group.

Default Value swpro

Node-cluster If you are installing a slave server, the account name used must be the same name used on the master server. (Conversely, if you are installing separate instances of iPE in the same database then the schema owners must be different.)

If you are upgrading an existing iProcess Engine...

Value The name of the existing iProcess Engine database schema owner, taken from the second entry (after the first backslash character) on line 9 of the $SWDIR/etc/staffpms file.

You cannot change this value.

TIBCO iProcess Engine (DB2) for UNIX and Linux Installation

158 | Appendix A swinstall Menu Reference

iProcess Engine DB Schema Owner PasswordDB2 Database Connection and Account Details

Description The password for the iProcess Engine DB Schema Owner Name account.

Value

Notes The default value is displayed on initial installation. Once you change this default, asterisks are subsequently displayed.

Control FileKeyword

IPEI_DBSOPASSWD

If you are installing a new iProcess Engine...

Value A string that is between 1 and 24 characters long.

Default Value None

If you are upgrading an existing iProcess Engine...

Value The password for the current iProcess Engine DB Schema Owner Name account.

The value is displayed as a string of asterisks.

This keyword is encrypted in the control file.

TIBCO iProcess Engine (DB2) for UNIX and Linux Installation

iProcess Engine DB User Name | 159

iProcess Engine DB User NameDB2 Database Connection and Account Details

Description The name of the UNIX user that the iProcess Engine uses to access the iProcess Engine database schema. This user has the REFERENCES, SELECT, DELETE, and UPDATE permissions.

Value

Control FileKeyword

IPEI_DBUSRNAME

If you are installing a new iProcess Engine...

Value A UNIX account name that:

• is between 1 and 8 characters long.

• contains only alphanumeric and underscore (_) characters.

• has a leading alphanumeric character.

Default Value swuser

Node-cluster If you are installing a slave server, the account name used must be the same name used on the master server.

If you are upgrading an existing iProcess Engine...

Value The name of the existing iProcess Engine database user account, taken from the third entry (after the second backslash character) on line 9 of the $SWDIR/etc/staffpms file.

You cannot change this value.

TIBCO iProcess Engine (DB2) for UNIX and Linux Installation

160 | Appendix A swinstall Menu Reference

iProcess Engine DB User PasswordDB2 Database Connection and Account Details

Description The password for the iProcess Engine DB User Name account.

Value

Notes The default value is displayed on initial installation. Once you change this default, asterisks are subsequently displayed.

Control FileKeyword

IPEI_DBUSRPASSWD

If you are installing a new iProcess Engine...

Value A string that is between 1 and 24 characters long.

Default Value None

If you are upgrading an existing iProcess Engine...

Value The password for the current iProcess Engine DB Schema User Name account.

The value is displayed as a string of asterisks.

This keyword is encrypted in the control file.

TIBCO iProcess Engine (DB2) for UNIX and Linux Installation

Support Unicode Encoding | 161

Support Unicode EncodingDB2 Database Connection and Account Details

Description Whether the iProcess database should support Unicode (UTF-8) encoding.

Value Either:

• Y, if you want the iProcess database to support Unicode encoding, or

• N, if you do not want the iProcess database to support Unicode.

Notes The default value is displayed on initial installation.

Control FileKeyword

If you want TIBCO iProcess Engine to support Unicode (UTF-8) encoding, run the following command to set the NLS_LANG property before running TIBCO iProcess Engine:export NLS_LANG=Language_Territory.AL32UTF8

For example, export NLS_LANG=American_America.AL32UTF8

TIBCO iProcess Engine (DB2) for UNIX and Linux Installation

162 | Appendix A swinstall Menu Reference

TIBCO iProcess Engine (DB2) for UNIX and Linux Installation

| 163

Appendix B Silent Installation

This appendix describes how to use swinstall to perform a silent (non-interactive) installation of the iProcess Engine.

Topics

• Performing a Silent Installation, page 164

• Preparing the Control File, page 165

• Control File Format, page 167

• Control File Keywords, page 168

TIBCO iProcess Engine (DB2) for UNIX and Linux Installation

164 | Appendix B Silent Installation

Performing a Silent Installation

To perform a silent installation:

1. Carry out all the necessary pre-installation tasks (see page 21).

2. Prepare a control file to use for the silent installation (see page 168).

3. Log in as either root or as the iProcess Engine background user (see page 120).

4. Enter the following commands to run swinstall silently:

cd DistDir ./swinstall CtrlFile

where:

— DistDir is the temporary installation directory containing the iProcess Engine distribution set (see page 30).

— CtrlFile is the (absolute or relative) pathname of the control file that contains the necessary configuration information for this installation.

5. Check the log file to make sure that the installation succeeded.

6. Carry out all the necessary post-installation tasks (see page 87).

You should redirect standard output (stdout) and standard error (stderr) from swinstall to a log file. Any errors or warnings that would be displayed during an interactive installation will be sent to this log file.

Redirection syntax for stdout and stderr depends on the shell you are using. See your UNIX documentation for information.

I You can run swinstall interactively using the values from your CtrlFile by using the command:

swinstall CtrlFile -i

You may find this useful if you want to test or troubleshoot a control file that is intended to be used for silent installation.

TIBCO iProcess Engine (DB2) for UNIX and Linux Installation

Preparing the Control File | 165

Preparing the Control File

Although it is possible to create a control file from scratch, TIBCO recommend that you generate a template control file by running swinstall interactively, and then edit this generated file as required. To do this:

1. Run swinstall interactively (see page 51).

2. Fill in the configuration menus (see page 54). When you reach the Configuration Summary screen, the following prompt is displayed:

Ready to install TIBCO iProcess Engine - continue (Y/N -default Y) :

Enter N. The DB2 Database Connection and Account Details menu is displayed again.

3. Enter Q to quit from swinstall without actually performing the installation (see page 66). The following prompt is displayed:

Continue with partial installation? (Y/N - default Y) :

4. Enter N. swinstall writes your configuration information to the $SWDIR/logs/swinstall.dat file (see page 55).

5. Open the $SWDIR/logs/swinstall.dat file in a text editor, and make any changes that you need. Make sure that the file conforms to the required format (see page 167).

TIBCO iProcess Engine (DB2) for UNIX and Linux Installation

166 | Appendix B Silent Installation

With one exception, swinstall performs the same checks and validation during a silent installation as it does during an interactive one. If it encounters a decision point where the installing user needs to confirm something to continue, and the answer is not provided in the control file, it assumes a default answer of N and quits the installation. This could occur, for example, if an existing iProcess Engine database schema is found when installing a new iProcess Engine.

You must therefore ensure that your control file is complete and accurate.

The exception is that swinstall does not check that you are installing on an operating system and/or database version that TIBCO have validated for use with this version of the iProcess Engine (see Installing on an Unvalidated Platform or Database Version on page 178). The following message is displayed on your screen:

WARNING : Skipping Platform Validation Tests (silent install)

The silent installation then continues.

TIBCO iProcess Engine (DB2) for UNIX and Linux Installation

Control File Format | 167

Control File Format

Each line in the control file consists of a keyword/value pair in the following format:

Keyword="Value"

where:

• Keyword is one of the keywords listed in the table on page 168.

• Value is a valid value for that keyword.

The file can also contain comment lines, which must start with a hash (#) character in the first column.

A number of passwords can be stored in the control file. If the control file is generated by swinstall these passwords are encrypted. When reading the control file, swinstall can read both encrypted and unencrypted passwords.

Note that the entire password string (Keyword and Value) is encrypted. You cannot therefore distinguish which password an encrypted string defines.

TIBCO iProcess Engine (DB2) for UNIX and Linux Installation

168 | Appendix B Silent Installation

Control File Keywords

The following table lists all the keywords that can appear in the control file.

The Configuration Menu Item / Description column provides either:

• a description of the possible values the keyword can take, or

• a link to the description of the equivalent configuration menu item, which describes the item and its possible values in more detail.

The Status column indicates whether the keyword is:

• M - Mandatory. The keyword must appear in the control file and must have a valid value.

• O - Optional. The keyword can be omitted from the control file, in which case swinstall uses the appropriate default value.

• R - Reserved. The keyword is automatically generated by swinstall as required. TIBCO recommend that you do not change its value.

Keyword Configuration Menu Item / Description Status

General

IPEI_INSTALLUSER Name of the UNIX user account that is running swinstall.

Note: This value is written to the control file by swinstall for information only. It is not actually used by swinstall.

R

IPEI_DEFSYSLANG Default system language O

IPEF_INTERACTIVE "Y" for Interactive installation R

Location, Identification and OS Accounts Menu

IPEI_SWDIR Installation Directory M

IPEI_NODENAME iProcess Engine Nodename M

IPEI_LICENSEE iProcess Engine Licensee Name O

IPEI_BGUSER iProcess Engine Background User Name O

IPEI_ADMUSER iProcess Engine Administration User Name O

TIBCO iProcess Engine (DB2) for UNIX and Linux Installation

Control File Keywords | 169

IPEI_USRGROUP iProcess Engine User Group Name O

IPEF_REDIRADM Redirect Administration Queue O

IPEF_CREATBGUSR "Y" to Create OS iPE BG User O

IPEF_CREATADMUSR "Y" to Create OS Admin User O

IPEF_CREATGROUP "Y" to Create iPE Group O

IPEF_ATGBGUSR "Y" to add OS iPE BG User to iPE Group R

IPEF_ATGADMUSR "Y" to add OS Admin User to iPE Group R

Configuration Options Menu

IPEI_RPCNUM iProcess Engine Client RPC Number O

IPEF_CLNTPASSWD iProcess Engine Client Password Required O

IPEF_ENABLECDN Enable Case Data Normalization O

IPEF_PREDICT Enable Prediction O

IPEF_AUTOSTART Enable Autostart O

IPEF_ENABLEIAP Enable Activity Publishing O

IPEF_EAIMAIL_ENABLECONFIG Configure iProcess Email Server Plug-in O

IPEF_SPOSERVER_ENABLED Enable iProcess Objects Server O

IPEF_SPODIRECTOR_ENABLED Enable iProcess Objects Director O

IPEI_JMX_PORT JMX Port Number O

IPEF_DOCRLE Either Y or N - whether to run crle commands (only relevant on Solaris).

R

IAP Configuration Menu

IPEI_JMSPROVIDER JMS Provider O

IPEI_JMSLOCATION Base jar files location O

IPEI_ADDJARLOC Additional jar files Location O

Keyword Configuration Menu Item / Description Status

TIBCO iProcess Engine (DB2) for UNIX and Linux Installation

170 | Appendix B Silent Installation

IPEI_CTXTFACTORY Context Factory Name O

IPEI_JMSURL URL for JMS Provider O

IPEI_CONNFACTORY Connection Factory Name O

EAI E-Mail Plug-in Configuration Menu

IPEI_EAIMAIL_SMTPHOST SMTP Host O

IPEI_EAIMAIL_SMTPPORT SMTP Port Number O

IPEI_EAIMAIL_MAILFROM Mail From Address O

DB2 Database Connection and Account Details Menu

IPEI_DBIDSTR DB2 Database Alias Name M

IPEI_DBSONAME iProcess Engine DB Schema Owner Name O

IPEI_DBSOPASSWD iProcess Engine DB Schema Owner Password O

IPEI_DBSBGNAME Reserved for internal use. R

IPEI_DBUSRNAME iProcess Engine DB User Name O

IPEI_DBUSRPASSWD iProcess Engine DB User Password O

IPEI_DB2FENCEUSR DB2 specific Fenced User name O

IPEF_DBSOUCREATE "Y" to Create iProcess Engine DB Schema Owner account

R

IPEF_DBFUCREATE "Y" to Create iProcess Engine DB User account R

IPEF_DBDTSCREATE "Y" to Create Database Tablespace R

IPEF_DBTTSCREATE "Y" to Create Temporary Tablespace R

IPEF_GOTDBINFO "Y" if DB Information Complete and Validated R

IPEF_CLUSTERINST "Y" if sub-node in existing cluster R

IPEF_DELETETABLES "Y" if existing DB schema to be deleted R

Keyword Configuration Menu Item / Description Status

TIBCO iProcess Engine (DB2) for UNIX and Linux Installation

Control File Keywords | 171

Example FileThe following example shows a $SWDIR/logs/swinstall.dat file created by running swinstall interactively.

# TIBCO_iPE_CTRLFILE_ID# TIBCO iProcess Engine ( 11.1.3 ) install# Configuration Data# Wed Apr 4 17:21:52 CDT 2007# INSTALLPHASE=1#IPEI_SWDIR="/iProcess/swnod1"IPEI_NODENAME="swnod001"IPEI_LICENSEE="TIBCO iPE 11.1.3"IPEI_BGUSER="pro"IPEI_ADMUSER="swadmin"IPEI_USRGROUP="staffwar"IPEF_REDIRADM="Y"IPEI_DBSONAME="swpro"545e282266275d7c742e5e5c576a5e692d5e4f5f676a5d616970582a2d51482f362c4c3c5676212a3734504a33267d232734656e30293b78426a7c7c2a22775821627e36IPEI_DBSBGNAME="swpro"IPEI_DBUSRNAME="swuser"3c3c53536059423745322b32444f5e67562f5036505b796a2c7a723a575964344e37395e5b2a3128422a3f513220434a363e665871233b6e7b6b4948745924472e472b30IPEI_RPCNUM="391875"IPEI_JMX_PORT="10025"IPEF_NEEDCLNTPASSWD="N"IPEF_ENABLECDN="Y"IPEF_PREDICT="N"IPEF_AUTOSTART="Y"IPEF_ENABLEIAP="Y"IPEF_EAIMAIL_ENABLECONFIG="N"IPEI_EAIMAIL_SMTPPORT="25"IPEF_SPOSERVER_ENABLED="Y"IPEF_SPODIRECTOR_ENABLED="N"IPEF_DOCRLE="Y"IPEI_JMSPROVIDER="TIBCO EMS V4.4.3"IPEI_JMSLOCATION="/opt/tibco/ems/clients/java"IPEI_JMSBASECP="EMS"IPEI_JMSCP="classpath.EMS.base=jms.jar,tibjms.jar,tibjmsadmin.jar,tibcrypt.jar"IPEI_CTXTFACTORY="com.tibco.tibjms.naming.TibjmsInitialContextFactory"IPEI_JMSURL="tibjmsnaming://localhost:7222"IPEI_CONNFACTORY="TopicConnectionFactory"IPEF_CREATBGUSR="N"IPEF_CREATADMUSR="N"IPEF_CREATGROUP="N"IPEF_ATGBGUSR="N"IPEF_ATGADMUSR="N"IPEF_DBSOUCREATE="Y"

The password entries IPEI_DBAPASSWD, IPEI_DBSOPASSWD and IPEI_DBUSRPASSWD are encrypted.

TIBCO iProcess Engine (DB2) for UNIX and Linux Installation

172 | Appendix B Silent Installation

IPEF_DBFUCREATE="Y"IPEF_DBDTSCREATE="N"IPEF_DBTTSCREATE="Y"IPEI_DEFSYSLANG="english"IPEF_INTERACTIVE="Y"IPEF_GOTDBINFO="N"IPEI_INSTALLUSER="pro"IPEF_CLUSTERINST="N"IPEF_DELETETABLES="N"IPEI_DBSCHEMA_SIZE="Small"IPEI_DBINSTMODEL="Install database now"

TIBCO iProcess Engine (DB2) for UNIX and Linux Installation

| 173

Appendix C Troubleshooting

This appendix describes how to deal with errors that you may encounter when installing the iProcess Engine.

Topics

• swinstall Cannot Find a Required Operating System Utility on the System, page 174

• swinstall Cannot Find a Required Operating System Utility on the Installing User’s PATH, page 175

• Files and Directories Under $SWDIR are Non-Writable, page 176

• Installing on an Incorrect Platform or Database Version, page 177

• Installing on an Unvalidated Platform or Database Version, page 178

• Cannot Determine the DB2 Fenced User Name, page 179

• Errors Occur on Validating the Installation, page 180

• Restoring Your Original System if an Upgrade Fails, page 184

• Bad Username Or Password, page 185

If the information in this appendix does not help you to resolve the problem, or if you are in any way unsure as to how to proceed, contact TIBCO Support for further assistance.

TIBCO iProcess Engine (DB2) for UNIX and Linux Installation

174 | Appendix C Troubleshooting

swinstall Cannot Find a Required Operating System Utility on the System

ProblemDescription

When you run swinstall, it checks that it can find all operating system utilities that it needs, either on the installing user’s PATH or elsewhere on the system. If it cannot find a particular utility the following message is displayed:

ERROR: the OS utility 'UtilityName’ cannot be located, and isrequired for the TIBCO iProcess Engine installer to run.

where UtilityName is the name of the missing utility.

swinstall then exits.

What To Do To resolve this problem:

1. Make sure that the UtilityName utility is available on the system. Install it if required.

2. If necessary, update the installing user’s PATH to include the location where the UtilityName utility is installed.

3. Re-run swinstall.

See Also Refer to your operating system documentation for more information.

TIBCO iProcess Engine (DB2) for UNIX and Linux Installation

swinstall Cannot Find a Required Operating System Utility on the Installing User’s PATH | 175

swinstall Cannot Find a Required Operating System Utility on the Installing User’s PATH

ProblemDescription

When you run swinstall, it checks that it can find all operating system utilities that it needs, either on the installing user’s PATH or elsewhere on the system. If it cannot find a particular utility on the installing user’s PATH, the following message is displayed:

WARNING: utility UtilityName is not on the PATH, but has beenlocated as:

UtilityLocationPress ENTER to continue.

where UtilityName is the name of the missing utility, and UtilityLocation is the location where swinstall has found it.

What To Do No specific action is required to resolve this problem, as swinstall has found the utility it needs. Press ENTER to continue with the installation.

TIBCO iProcess Engine (DB2) for UNIX and Linux Installation

176 | Appendix C Troubleshooting

Files and Directories Under $SWDIR are Non-Writable

ProblemDescription

When you run swinstall to upgrade the iProcess Engine and you are logged in as the background user, messages are displayed informing you that directories and files under $SWDIR cannot be written to. For example:

There are 1 directories and 98 files under $SWDIRthat cannot be written by the current user.

When running an upgrade as a non-root user, all directories and files that are located under $SWDIR must be writable by the non-root user.

Do you want to view the non-writable directories/files ? (Y/N - default Y) :

What To Do To resolve this problem:

1. Enter Y to see the list of directories and files that swinstall cannot write to. If the list includes iProcess Engine system directories or files, you will need to correct the problem before continuing with the upgrade. However, if only user data files (for example, .xfr procedure files, user-written utilities or similar), these will not impact the upgrade and you can continue.

2. The following prompt is displayed:

ERROR: non-writable directories/files under $SWDIR.Please correct and re-run the upgrade.Continue with upgrade anyway ? (Y/N - default N) :

3. If you are certain that the non-writable files and directories will not impact the success of the upgrade, enter Y to continue.

4. If you need to correct the problem before continuing:

a. Enter N to quit from swinstall.

b. Make sure that all directories and files in and under $SWDIR are writable. See page 35 for more information about how to do this.

c. Re-run swinstall.

TIBCO iProcess Engine (DB2) for UNIX and Linux Installation

Installing on an Incorrect Platform or Database Version | 177

Installing on an Incorrect Platform or Database Version

ProblemDescription

If you try to install or upgrade the iProcess Engine using a distribution set intended for a different operating system and/or database, swinstall detects this and displays an appropriate warning message. For example:

This distribution is for SunOS, but is being run on HP-UX

swinstall then exits.

What To Do Obtain the correct distribution set for your operating system and/or database and then re-run swinstall.

TIBCO iProcess Engine (DB2) for UNIX and Linux Installation

178 | Appendix C Troubleshooting

Installing on an Unvalidated Platform or Database Version

ProblemDescription

If you try to install or upgrade the iProcess Engine using an operating system and/or database version that TIBCO have not validated for use with this version of the iProcess Engine, swinstall detects this and displays an appropriate warning message. For example:

The version of the OS you are running ( SunOS 5.7) is nota validated platform for this version of the TIBCO iProcessEngine.

What To Do The following prompt is displayed immediately after the error message:

Do you wish to continue with this install (Y/N - default N) :

If you want to continue with the installation, enter Y.

If you do not want to continue with the installation, enter N. The following message is displayed:

The required pre-requisite conditions for this install have NOTbeen met. Terminating the TIBCO iProcess Engine install

and swinstall exits. Upgrade your operating system and/or database to a validated version (see page 8) and then re-run swinstall.

TIBCO recommend that you install the iProcess Engine using a validated platform and database version - see System Requirements on page 8 for details of these platforms and versions.

If you are installing iProcess Engine silently, these message are not displayed. Instead, a warning is displayed to the screen, but you do not need to respond and the silent installation continues. See Appendix B, Silent Installation, on page 163.

TIBCO iProcess Engine (DB2) for UNIX and Linux Installation

Cannot Determine the DB2 Fenced User Name | 179

Cannot Determine the DB2 Fenced User Name

ProblemDescription

swinstall displays the following error message and prompt when you enter C to continue from the DB2 Database Connection and Account Details menu.

ERROR: Cannot determine the DB2 Fenced User name - check this isconfigured.

If this is a remote DB2 installation, enter the remote FencedUser name (Return if none) :

The DB2 Database Connection and Account Details menu is then re-displayed.

swinstall has been unable to determine the name of the UNIX account that is used to run "fenced" stored procedures from the DB2 database, either because it cannot contact the database, or because the database is remote.

What To Do To resolve this problem:

1. Make sure that the DB2 database is running and that your computer has a network connection to it.

2. Enter the name of the UNIX account that is used to run "fenced" stored procedures, or press ENTER to accept the default value.

"Fenced" stored procedures are run outside of the address space used by the DB2 database, to protect the database if a problem occurs in the stored procedure.

TIBCO iProcess Engine (DB2) for UNIX and Linux Installation

180 | Appendix C Troubleshooting

Errors Occur on Validating the Installation

ProblemDescription

swinstall displays one or more error messages when it attempts to validate that the installation has succeeded (see page 70). For example:

ERROR: process information unobtainable.

What To Do To resolve this problem, locate the error message in the following table and follow the instructions there.

Error Message What to Do...

Process information unobtainable.

swinstall cannot access the process_config table in the database schema (using the $SWDIR/util/swadm show_processes command), which appears to be incomplete or corrupt.

To resolve this problem:

1. Remove the iProcess Engine (see page 111) or, if you were upgrading, restore the original version (see page 184).

2. Re-install the iProcess Engine.

TIBCO iProcess Engine (DB2) for UNIX and Linux Installation

Errors Occur on Validating the Installation | 181

Sentinel service port (portNumber) already used, in state state

Another application appears to be using the portNumber service port selected for use by the indicated Sentinel (either Watcher or Worker) Process Sentinel process.

To resolve this error:

1. Restart the UNIX system and check if these ports are still in use. (You can use the system netstat utilities to check which ports are in use.)

2. If the problem persists, assign different port numbers to be used by the iProcess Engine watcher and worker process sentinels by editing the relevant entries in the /etc/services file. The entries are:

nodename_worker nnn/tcp nodename_watcher mmm/tcp

where:

— node_name is the nodename of this iProcess Engine.

— nnn and mmm must be unique numbers in the services file depending on what port numbers are already being used on the server.

For example:

staffw_nod1_watcher 1500/tcpstaffw_nod1_worker 1501/tcp

Failed to find Sentinel entry for this node in the /etc/services file.

swinstall has been unable to update the /etc/services file with the port number to be used by the indicated Sentinel (either Watcher or Worker) Process Sentinel process.

This is not a fatal error as the iProcess Engine can still run without these entries. However, TIBCO recommend that you manually add the port numbers used by the iProcess Engine watcher and worker process sentinels to the /etc/services file before starting the iProcess Engine.

See the entry above for details of the /etc/services file entries you need to add.

Error Message What to Do...

TIBCO iProcess Engine (DB2) for UNIX and Linux Installation

182 | Appendix C Troubleshooting

RPC Number <RPCNum> is already registered with the system's portmapper.

The RPCNum RPC service number selected for iProcess Workspaces to use to communicate with this iProcess Engine appears to be in use by another application.

To resolve this problem:

1. Restart the UNIX system and check if the indicated RPCNum is still in use. (You can use the system rpcinfo utility to see which numbers are registered with the portmapper.)

2. If the problem persists, change the RPCNum used by the iPro-cess Engine by editing line 11 of the $SWDIR/swdefs file.

See the TIBCO iProcess Engine Administrator’s Guide for more information about the $SWDIR/swdefs file.

Failed to get nodename from Database.

swinstall cannot read the iProcess Engine nodename from the nodes table in the database (using the $SWDIR/util/plist -n command).

To resolve this problem:

1. Check that the database is running.

2. Check that the iProcess Engine database users (see page 157) have been created, and that these users can successfully connect to the database using the login credentials given during the installation process. (See page 183 for more information about how to change the passwords used by these users to connect to the database.)

Nodenames from Database (nodeName1) and swdefs file (nodeName) do not match.

To resolve this problem:

1. Remove the iProcess Engine (see page 111) or, if you were upgrading, restore the original version (see page 184).

2. Re-install the iProcess Engine.

Error Message What to Do...

If the procedures described above do not resolve the problem you should contact TIBCO Support for further assistance.

TIBCO iProcess Engine (DB2) for UNIX and Linux Installation

Errors Occur on Validating the Installation | 183

Changing Database Connection Passwords

If you need to change the passwords that the iProcess Engine database schema owner (see page 158) or iProcess Engine database user (see page 160) use to connect to the database, follow this procedure:

1. Login as the iProcess Engine Administration user (see page 122).

2. Enter the following command:

SWDIR\util\swconfig -u

The following prompt is displayed:

============================================================TIBCO(R) iProcess Suite - Configuration Utility

Copyright (c) 2001-2007, TIBCO Software Inc.============================================================

Please enter a new Background User Password, ('Q' to quit) :

3. Enter the new password for the iProcess Engine database schema owner.

The following prompt is displayed.

Please enter a new Foreground User Password, ('Q' to quit) :

4. Enter the new password for the iProcess Engine database user.

The swconfig utility terminates and displays the following message.

Now log onto the Database and change the passwords

5. Change the corresponding UNIX passwords for these users. See your UNIX documentation for more information about how to do this.

TIBCO iProcess Engine (DB2) for UNIX and Linux Installation

184 | Appendix C Troubleshooting

Restoring Your Original System if an Upgrade Fails

ProblemDescription

In some circumstances, it is possible that an upgrade can fail and leave the iProcess Engine system in an unusable condition. If this happens:

1. You must restore your original system to its previous condition before you can either use it or attempt to upgrade it again.

2. If you suspect that:

— the error was caused by an external factor (for example, a system hardware failure while the upgrade was in progress), you can, if you wish, attempt to upgrade the system again.

— the error was connected with the upgrade process itself (for example, swinstall crashes for unknown reasons), TIBCO recommend that you do not attempt to upgrade again. Instead, you should contact TIBCO Support for further assistance.

What to Do To restore your original system:

1. Restore the backup of the iProcess Engine database schema that you made earlier (see page 28). Refer to your DB2 documentation for more information about how to do this.

2. Make sure that $SWDIR points to the correct iProcess Engine installation, then delete the $SWDIR directory and its contents. (If you are not logged in as root, you should ask the root user to perform this task.)

3. Restore the backup of the $SWDIR directory structure that you made earlier (see page 26). Refer to your operating system documentation for more information about how to do this.

4. Use the following command to grant appropriate permissions on all files in and under $SWDIR. Use the command:

$SWDIR/bin/fixperms -r -y $SWDIR

Your original system should now be restored to the same state it was in before you attempted to upgrade it.

TIBCO iProcess Engine (DB2) for UNIX and Linux Installation

Bad Username Or Password | 185

Bad Username Or Password

ProblemDescription

The following message:

L024 SECURITY ERROR: Bad username or password

is returned on a new installation, even though the username and password specified have been validated as correct.

What to Do Check the permissions of etc/swrpcudp. The setuid flag should be set for both the owner and the group:

-r-sr-s--- 1 root staffwar 484904 Mar 26 2008 swrpcudp

If this is set correctly, also check the mount options of the file system, using the mount -p command. This example shows the mount output for a /tibco file system:

dev/vgtibco/lvtibco /tibco vxfs nosuid,ioerror=mwdisable,delaylog,nodatainlog,dev=40010001 0 0

The file system in this case has disabled the ability of the iProcess Engine to use setuid, which is a requirement for password verification on UNIX. Remount the file system without the nosuid limitation to enable iProcess logins with password verification.

TIBCO iProcess Engine (DB2) for UNIX and Linux Installation

186 | Appendix C Troubleshooting

TIBCO iProcess Engine (DB2) for UNIX and Linux Installation

| 187

Appendix D Upgrading TIBCO EMS

TIBCO iProcess Engine version 10.6.x was shipped with a version of TIBCO EMS which contains a security vulnerability (EMS 4.4.1 or earlier). See the following link for more information.

http://www.tibco.com/resources/mk/ems_security_advisory_20080115.txt

In order to fix the vulnerability EMS must be updated to version 4.4.2 or later. It is therefore fixed by upgrading EMS to the version required for TIBCO iProcess Engine Version 11.1.3.

TIBCO iProcess Engine (DB2) for UNIX and Linux Installation

188 | Appendix D Upgrading TIBCO EMS

Updating EMS

The EMS installer does not currently offer an upgrade option. The install process removes any queues, topics, factories or other configuration that has been applied to the EMS server and restores a default configuration.

In order to backup and restore all your existing EMS queues, factories, topics, queue messages, topic messages and configuration use the following process:

1. Stop your EMS application(s).

2. Stop tibemsd and tibemsadmin.

3. Make a copy of all .conf files and .db files found under the ems/bin directory and its sub-directories.

4. Uninstall the old EMS version.

5. Install the new EMS version.

6. Replace your .conf and .db files from step 3.

For more detailed instructions on how to install and uninstall EMS, please refer to the TIBCO Enterprise Message Service Installation guide.

It is important that this configuration is maintained because iProcess features such as IAPJMS, Technology Plug-ins and Web Services Plug-in rely on various EMS queues and topics to function correctly.

IAPJMS Specific ProcedureWith a basic iProcess Engine installation, EMS can be used by the IAPJMS process for activity publication.

After the upgrade IAPJMS will continue to function. IAPJMS uses client jar files found in the EMS install directory to connect to EMS. As long as the configuration is correct no other update should be needed.

TIBCO iProcess Web Services Plug-in Specific ProcedureThe TIBCO iProcess Web Services Plug-in can be configured to use EMS as the JMS provider; in this case an additional step is required after the EMS upgrade.

• Update the tibjms.jar file stored under $SWDIR/jetty-6.1.1/jms/tibco to the new version supplied with the updated EMS server.

TIBCO iProcess Engine (DB2) for UNIX and Linux Installation

Updating EMS | 189

TIBCO iProcess Technology Plug-in Specific ProcedureThe TIBCO iProcess Technology Plug-in uses EMS to communicate with the BusinessWorks Engine when iProcess Engine ->BusinessWorks EAI steps are being defined. The following additional step is required after EMS has been updated.

• Update the tibjms.jar file stored under $SWDIR/jmslib/ems to the new version supplied with the updated EMS server.

If the new EMS is installed in a different folder to the old one (different versions have different default locations), then you will need to reconfigure the location of the EMS jar files in $SWDIR/etc/iapjms_classpath.properties). See the entry:

classpath.basedir.EMS=/opt/tibco/ems/5.1/lib

TIBCO iProcess Engine (DB2) for UNIX and Linux Installation

190 | Appendix D Upgrading TIBCO EMS

TIBCO iProcess Engine (DB2) for UNIX and Linux Installation