How to skip creation of resource templates and resource instances when executing deployment scripts generated from TIBCO Business Studio.

How to skip creation of resource templates and resource instances when executing deployment scripts generated from TIBCO Business Studio.

book

Article ID: KB0092758

calendar_today

Updated On:

Products Versions
TIBCO ActiveMatrix Service Grid -
Not Applicable -

Description

Description:
When deployment scripts for an application are generated using TIBCO Business Studio, targets to create resource templates and resource instances will be generated as well. These resource templates and instances will be created in application scope. If a user would like to create required resource templates and resources in advance under Environment/Global scope, and  share them with other applications, then do the following.

Issue/Introduction

How to skip creation of resource templates and resource instances when executing deployment scripts generated from TIBCO Business Studio.

Resolution

  • Create resource templates in Environment/Global scope in advance using TIBCO Active Matrix (AMX) Administrator Graphic User Interface (GUI) or TIBCO ActiveMatrix Administrator Command Line Interface(CLI).
  • Install corresponding resource instances to preferred nodes.
  • Execute build script for deploying applications by passing the argument "ignoreResourceInstances=true". 

          ant -f <build.xml> -DignoreResourceInstances=true