Vous êtes sur la page 1sur 3

1. bash script #!/bin/sh : location of the file and if possible script please.

-bash-4.2$ more init.sh


PATH=$PATH:/local/app/tibco/tra/5.10/bin

/local/app/tibco/tra/5.10/bin/AppManage -stop -app


"STG_CLUSTER4/OpportunityServices4" -cred
/local/app/tibco/deployment/AdminCredentials.txt -domain TIBLNX_STG2
/local/app/tibco/tra/5.10/bin/AppManage -undeploy -app
"STG_CLUSTER4/OpportunityServices4" -cred
/local/app/tibco/deployment/AdminCredentials.txt -domain TIBLNX_STG2
/local/app/tibco/tra/5.10/bin/AppManage -delete -app
"STG_CLUSTER4/OpportunityServices4" -cred
/local/app/tibco/deployment/AdminCredentials.txt -domain TIBLNX_STG2
/local/app/tibco/tra/5.10/bin/AppManage -deploy -ear
../ear/OpportunityServices.ear -deployConfig ../xml/OpportunityServices_STG4.xml -app
"STG_CLUSTER4/OpportunityServices4" -cred
/local/app/tibco/deployment/AdminCredentials.txt -domain TIBLNX_STG2

2. installation path for all activities. like this : export TIBCO_HOME=/opt/tibco


$TIBCO_HOME/designer/5.6/bin
local/app/tibco/bw/5.13/bin
/local/app/tibco/administrator/5.10/bin
local/app/tibco/hawk/5.2/bin
/local/app/tibco/tra/5.10/bin

drwx------ 3 tibcouser users 4096 Sep 26 2016 InstallShield


drwx------ 3 tibcouser users 4096 Sep 26 2016 tibrv
drwx------ 3 tibcouser users 4096 Sep 26 2016 designer
drwx------ 3 tibcouser users 4096 Sep 26 2016 hawk
drwx------ 3 tibcouser users 4096 Sep 26 2016 tibcojre64
drwx------ 3 tibcouser users 4096 Sep 26 2016 tpcl
drwx------ 3 tibcouser users 4096 Sep 26 2016 ems
drwx------ 3 tibcouser users 4096 Sep 26 2016 components
drwx------ 3 tibcouser users 4096 Sep 26 2016 Adapters
drwx------ 4 tibcouser users 4096 Sep 26 2016 adapter
drwx------ 2 tibcouser users 4096 Sep 26 2016 log
-rw------- 1 tibcouser users 0 Sep 26 2016 vpd.properties
-rw------- 1 tibcouser users 8255 Sep 26 2016 TIBCOInstallationHistory.xml
drwx------ 9 tibcouser users 4096 Sep 26 2016 tools
drwx------ 3 tibcouser users 4096 Sep 26 2016 smartmapper
drwx------ 4 tibcouser users 4096 Sep 26 2016 bw
-rw------- 1 tibcouser users 17923 Sep 26 2016 vpd.properties.tibco.ussclsetibadm02
drwx------ 4 tibcouser users 4096 Sep 26 2016 as
drwx------ 3 tibcouser users 4096 Sep 26 2016 tea
drwx------ 5 tibcouser users 4096 Sep 26 2016 cfgmgmt
drwx------ 2 tibcouser users 4096 Sep 27 2016 release_notes
drwx------ 4 tibcouser users 4096 Sep 27 2016 _installInfo
drwx------ 4 tibcouser users 4096 Oct 3 2016 tra
drwx------ 4 tibcouser users 4096 Oct 3 2016 administrator

2. etc\init.d\ this is floder permission and what to do here.

drwxr-xr-x. 88 root root 4096 Jun 20 11:55 etc


lrwxrwxrwx 1 root root 11 Mar 21 11:53 init.d -> rc.d/init.d
drwxr-xr-x. 10 root root 4096 Jun 20 10:57 rc.d
-rw-r--r-- 1 root root 511 Feb 16 14:20 inittab
-rw-------. 1 root root 451 Dec 27 2013 crontab

4.any other configuration need to do..

5, for all the above steps related any docx............

6. Configuration linux and tibco end any steps please.

Deployment Process through Appmanage Script


The following step by step procedure to be followed to deploy an application through appmanage
script. You have to be in sudo root user.

Login to the appropriate box with putty.

The following folders should be created with required permission (in root user)

/local/app/tibco/deployment -- This will be a root folder for deployment of application. This


folder contain 3 subfolders ears,scripts and xmls

/local/app/tibco/deployment/ears -- This is a place folder for keeping archive (ear) file.

/local/app/tibco/deployment/xmls -- This is a place folder to keep configuration (xml) file

/local/app/tibco/deploym ent/scripts -- The following files need to kept under this folder with
required (read/write/execute) permission

AdminCredentials.txt --> The appropriate username and password for the TIBCO
adminitrator domain for the respective environment should be updated in this file.

<CatalogueName>_DeployScript.sh --> This file needs to be created by running the


below command in the unix command window.
cp /local/app/tibco/deployment/scripts/CS.sh
/local/app/tibco/deployment/scripts/<CatalogueName>_DeployScript.sh

Open the <CatalogueName>_DeployScript.sh file,update the tibco installable path and domain
and folder name accordingly as mentioned below.

The following parameters in the xml configuration file( in /local/app/tibco/deployment/xmls


path) must be updated.

EMS parameters like EMS server url, port username and password
Database parameters like DB server url, port, username and password
TIBCO BW installable path

After updating the above scripts, Run the below command:


./<CatalogueName>_DeployScript.sh

After successful deployment, the application will be up and running.

Vous aimerez peut-être aussi