Copyright © TIBCO Software Inc. All Rights Reserved
Copyright © TIBCO Software Inc. All Rights Reserved


Chapter 1 Scripting Deployment : TIBCO BusinessConnect Scripting Deployment’s Tasks

TIBCO BusinessConnect Scripting Deployment’s Tasks
The two major tasks performed by the TIBCO BusinessConnect Scripting Deployment consist of the following:
Preparation for Deployment
This task exports the TIBCO BusinessConnect configuration repository CSX export and the deployment configuration XML after completing all the configurations necessary for deployment. It serves as the basis for deploying the TIBCO BusinessConnect application on an TIBCO Administrator domain without the application service containers. Repeat this task when there are any changes in the configurations.
For all TIBCO BusinessConnect configuration related tasks, the JDBC connection parameters for the TIBCO BusinessConnect configuration store need to be specified. These connection parameters are picked up by default from the file commonConfig.properties, a regular Java properties file located in the current working directory BC_HOME/tools/bcappmanage. The location of this file can also be specified with the argument -configRepoURL.
Manage Configuration Repository Commands
The following commands are used to prepare for deployment:
-createInstallation   Create configuration repository for object models, base metadata, and schemas.
-createTables   Create the audit, non-repudiation, and runtime database tables.
-activateProtocol   Activate the installed protocol plugins, by performing protocol metadata activation and by creating schemas and supporting runtime tables.
-exportConfigRepo    Export the TIBCO BusinessConnect configuration repository into a CSX file with options to allow full installation export or by certificates, operations or participants only.
-importConfigRepo   Import the previously exported configuration repository saved as a CSX file.
Argument
The connection parameters are picked up by default from the file comonConfig.properties, a regular Java properties file located in the current working directory BC_HOME/tools/bcappmanage. The location of this file can also be specified with the argument -configRepoURL.
-configRepoURL   The URL of the configuration repository. This argument follows the syntax file://file path.
Deploying and Managing TIBCO BusinessConnect Application
This task uses the service instance binding map file to bind service instances dynamically as application service containers for machines managed by a TIBCO Administrator domain at deployment time. Optionally, dynamic assignments of the fault tolerant groups and the public Smart Routing clusters are allowed using the fault tolerant cluster map file.
Deployment tasks require that the administrative domain and authentication credentials are specified. In addition to the listed commands, the command line arguments are also needed. See Deployment Arguments.
Manage Deployment Configuration Commands
-exportDeployConfig   Export deployment configuration in XML format.
-importDeployConfig   Import deployment configuration in XML format with machine bindings. To learn more, see Binding Maps.
-configFTClusterMap   Fault-tolerant and load-balanced mapping for Public Smart Routing.
Manage Application Service Deployment Commands
-createApp   Create a TIBCO BusinessConnect application service.
-deleteApp   Delete a TIBCO BusinessConnect application service.
-deployApp   Deploy a TIBCO BusinessConnect application service.
-undeployApp   Undeploy a TIBCO BusinessConnect application service.
Manage Application Service Instances Commands
-startApp   Start TIBCO BusinessConnect service instances.
-stopApp   Stop TIBCO BusinessConnect service instances.
-killApp   Kill TIBCO BusinessConnect service instances.
Deployment Arguments
The mandatory arguments (parameters) for all deployment tasks are as follows:
-user   Administrative domain user name
-pw   Administrative domain password for the machine
-cred   Credentials file. See Credentials File.
-domain   Administrative domain
These arguments are not contained in the file commonConfig.properties.

Copyright © TIBCO Software Inc. All Rights Reserved
Copyright © TIBCO Software Inc. All Rights Reserved