0% found this document useful (0 votes)
224 views4 pages

Bw6 FT Setup

This document describes steps taken to configure a Tibco BusinessWorks application space and app node using the bwadmin tool. It involves: 1. Running SQL scripts to create required tables which failed initially due to missing tables but succeeded after running an Oracle 11g script 2. Configuring an application space called STI_Transactional_New_FT_AS using bwadmin and an app node configuration file 3. Modifying the app node configuration file to add database details and persistence settings before configuring an app node called STI_OrderAck_AN_1157 using bwadmin 4. Notes on using a new database user account and stopping the existing node before configuring the new one.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
224 views4 pages

Bw6 FT Setup

This document describes steps taken to configure a Tibco BusinessWorks application space and app node using the bwadmin tool. It involves: 1. Running SQL scripts to create required tables which failed initially due to missing tables but succeeded after running an Oracle 11g script 2. Configuring an application space called STI_Transactional_New_FT_AS using bwadmin and an app node configuration file 3. Modifying the app node configuration file to add database details and persistence settings before configuring an app node called STI_OrderAck_AN_1157 using bwadmin 4. Notes on using a new database user account and stopping the existing node before configuring the new one.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 4

/opt/tibco/product/bw/6.

4/config/dbscripts/engine/oracle

tibco@peplap01157 [/opt/tibco/product/bw/6.4/config/dbscripts/engine/oracle]
$ ./create.sql
./create.sql: line 1: --: command not found
./create.sql: line 2: --: command not found
./create.sql: line 3: --: command not found
./create.sql: line 4: syntax error near unexpected token `('
./create.sql: line 4: `create table PE_DB_SCHEMA ('

tibco@peplap01157 [/opt/tibco/product/bw/6.4/config/dbscripts/engine/oracle]
$ ./create-scp.sql
./create-scp.sql: line 1: --: command not found
./create-scp.sql: line 2: --: command not found
./create-scp.sql: line 3: --: command not found
./create-scp.sql: line 4: syntax error near unexpected token `('
./create-scp.sql: line 4: `create table PES_PROCESS_CHECKPOINT ('

tibco@peplap01157 [/opt/tibco/product/bw/6.4/config/dbscripts/engine/oracle]
$

Connect to DB using SQL Developer and run the required queries


**********************************************************************
QA DB: qatibcsdbbaq.corp.pep.pvt:65021:ITNTIBAQ
user: TIBFTSTQA_O
password : Oracle_123

TEA URL: http://peplap00551:8777/tea/

Network: BW6QASalesNetwork

BW Servers: peplap01157 & peplap01806

EMS Servers: t01lap00474 & t01lap00476


tcp://qatibemsq3a.corp.pep.pvt:23140
tcp://qatibemsq3b.corp.pep.pvt:23140

DB Account Used
TIBADMSTQA_O - bwagent.ini
TIBFTSTQA_O - bwengine

************************************************************************

and Create the tables and index as needed

DB EMS Setup for BW Agent:

Now as we are using Oracle 11G


We need to run oracle11g_create.sql
at location /opt/tibco/product/bw/6.4/config/dbscripts/admin/oracle
If you are unable to run. Please run it from SQL Developer
Run using TIBADMSTQA_O - bwagent.ini

**************************************************
NOW CONFIG INTO APPSPACE

tibco@peplap01157 [/opt/tibco/product/bw/6.4/bin]
$ bwadmin
TIBCO ActiveMatrix BusinessWorks version 6.4.2, hotfix 7, build V103, 2018-07-18
BusinessWorks Administration Console

Hit '<tab>' for a list of available commands


and 'help command ' for help on a specific command.
Enter 'exit' or Ctrl-D to exit the shell.

bwadmin[admin]> config -d FLNA-STI-FT-T1 -a STI_Transactional_New_FT_AS -cf


/tmp/appspace_config.ini
14:13:50.762 ERROR [main] c.t.b.t.m.p.rdbms.BWRDBMSDataManager - handling error in
operation [createCommandHistory]
14:13:50.762 ERROR [main] c.t.b.t.m.p.rdbms.BWRDBMSDataManager -
SQLState : 42000
ErrorCode: 942
Message : ORA-00942: table or view does not exist

TIBCO-BW-ADMIN-CLI-500215: Configured AppSpace [STI_Transactional_New_FT_AS] in


Domain [FLNA-STI-FT-T1]. Restart AppSpace to apply changes.

bwadmin[admin]> exit

tibco@peplap01157 [/opt/tibco/product/bw/6.4/bin]
$ cd /tmp

tibco@peplap01157 [/tmp]
$ ls -lrt *appspace*
-rwxrwxr-x 1 tibco tibgrp 29080 Aug 27 14:09 appspace_config.ini

tibco@peplap01157 [/tmp]

******
Ran the config second time after running the Oracle 11G script
bwadmin[admin]> config -d FLNA-STI-FT-T1 -a STI_Transactional_New_FT_AS -cf
/tmp/appspace_config.ini
10:53:21.380 ERROR [main] c.t.b.t.m.p.rdbms.BWRDBMSDataManager - handling error in
operation [createCommandHistory]
10:53:21.380 ERROR [main] c.t.b.t.m.p.rdbms.BWRDBMSDataManager -
SQLState : 42000
ErrorCode: 942
Message : ORA-00942: table or view does not exist

TIBCO-BW-ADMIN-CLI-500215: Configured AppSpace [STI_Transactional_New_FT_AS] in


Domain [FLNA-STI-FT-T1]. Restart AppSpace to apply changes.

bwadmin[admin]>

3rd time after making changes

bwadmin[admin]> config -d FLNA-STI-FT-T1 -a STI_Transactional_New_FT_AS -cf


/tmp/appspace_config.ini
12:09:33.677 ERROR [main] c.t.b.t.m.p.rdbms.BWRDBMSDataManager - handling error in
operation [createCommandHistory]
12:09:33.678 ERROR [main] c.t.b.t.m.p.rdbms.BWRDBMSDataManager -
SQLState : 72000
ErrorCode: 12899
Message : ORA-12899: value too large for column
"TIBADMSTQA_O"."COMMANDHISTORY"."COMMANDPARAMS" (actual: 2203, maximum: 2000)
TIBCO-BW-ADMIN-CLI-500215: Configured AppSpace [STI_Transactional_New_FT_AS] in
Domain [FLNA-STI-FT-T1]. Restart AppSpace to apply changes.

bwadmin[admin]> config -d FLNA-STI-FT-T1 -a STI_Transactional_New_FT_AS -cf


/tmp/appspace_config.ini
TIBCO-BW-ADMIN-CLI-500215: Configured AppSpace [STI_Transactional_New_FT_AS] in
Domain [FLNA-STI-FT-T1]. Restart AppSpace to apply changes.

bwadmin[admin]>

*****************************************

Made the changes in the config.ini file from the node level and add DB details and
Persistance=datastore and tried to configure to AppNode level on 1157 server

bwadmin[admin]> config –d myDomain –a myAppNode –cf <temporaryLocation>/config.ini

config –d FLNA-STI-FT-T1 –a STI_OrderAck_AN_1157 –cf /tmp/appnode_1157_config.ini


STI_OrderAck_AN_1157

**
bwadmin[admin]> -config –d FLNA-STI-FT-T1 –a STI_OrderAck_AN_1157 –cf
/tmp/appnode_1157_config.ini
Error executing command *:config: too many arguments specified
bwadmin[admin]> config –d FLNA-STI-FT-T1 –a STI_OrderAck_AN_1157 –cf
/tmp/appnode_1157_config.ini
Error executing command *:config: too many arguments specified
**
bwadmin[admin]> config -d FLNA-STI-FT-T1 -a STI_Transactional_New_FT_AS -n
STI_OrderAck_AN_1157 -cf /tmp/appnode_1157_config.ini
config -d FLNA-STI-FT-T1 -a STI_Transactional_New_FT_AS -n
STI_OrderAck_AN_1157 -cf /tmp/appnode_1157_config.ini
TIBCO-BW-ADMIN-CLI-500311: Configuration of AppNode [/tmp/appnode_1157_config.ini]
in AppSpace [STI_Transactional_New_FT_AS], Domain [FLNA-STI-FT-T1] failed, TIBCO-
BW-ADMIN-500300: The AppNode [/tmp/appnode_1157_config.ini] does not exist in
AppSpace [STI_Transactional_New_FT_AS] and Domain [FLNA-STI-FT-T1].

bwadmin[admin]>
**
bwadmin[admin]> config -d FLNA-STI-FT-T1 -a STI_Transactional_New_FT_AS -n
STI_OrderAck_AN_1157 -cf /tmp/appnode_1157_config.ini
TIBCO-BW-ADMIN-CLI-500310: AppNode [STI_OrderAck_AN_1157] in AppSpace
[STI_Transactional_New_FT_AS] in Domain [FLNA-STI-FT-T1] configured. Restart
AppNode to apply changes.

bwadmin[admin]>
**
jdbc:oracle:thin:@qatibcsdbbaq.corp.pep.pvt:65021:ITNTIBAQ
BW Engine user TIBFTSTQA_O
/opt/tibco/product/bw/6.4/config/dbscripts/engine/oracle

bw.agent.technology.dbems.db.driver=oracle.jdbc.driver.OracleDriver
bw.agent.technology.dbems.db.connectionURL=jdbc:oracle:thin:@qatibcsdbbaq.corp.pep.
pvt:65021:ITNTIBAQ
bw.engine.db.url=
jdbc\:oracle\:thin\:@qatibcsdbbaq.corp.pep.pvt\:65021\:ITNTIBAQ
*****
Have a new DB User Account for other Node US/PW
take a back up of exisitng config.ini file from AppNode and copy to tmp folder and
update with the DB details and datastore
Create table create.sql and create-scp.sql
BW Agent setup is already done. No Changes needed
Run BWadmin for config the AppNode config
If you see '/' Edit your config.ini and remove the '/'
Start the Node only
*****
Note: Before working on the new node. Stop the exisitng node(1157)

You might also like