AppNodes

An AppNode is a JVM process that hosts applications created in TIBCO Business Studio™ for BusinessWorks™. An AppNode can belong to only one AppSpace.

Each application that is deployed to an AppSpace runs on all of its AppNodes. AppNodes allow vertical and horizontal scaling. When AppNodes are added to an AppSpace, more processing capacity becomes available for the deployed application to handle a higher load of requests. AppNodes can be added to an AppSpace even after an application has been deployed, allowing the deployed application to scale dynamically across all the AppNodes.

The following diagram shows Domain1, with three AppSpaces and four AppNodes. AppSpace1 and AppSpace2 contain one AppNode each, while AppSpace3 contains two AppNodes. AppSpace3 spans two machines, with AppNodes on each machine.

An AppNode manifests as a folder, appnode_name, in the file system and is located in the <TIBCO_HOME>\bw\domains\domain_name\appnodes directory, where domain_name is the domain it belongs to.

The appnodes folder contains a subfolder for each AppNode in the AppSpace in the domain, identified by the AppNode name (unique for each AppSpace).

The appnode_name folder contains the executable binaries and corresponding tra files, the AppNode's configuration file, and the log file.
File System Manifestation of an AppNode

Understanding the TRA File Structure

The AppNode and AppSpace tra files are read in the order that they are listed below, and can override each other.

  • bwappnode-AppNodeName.tra
  • bwappnode-AppSpaceName.tra
  • bwappnode.tra
For more information, refer to the following table.
File Description
bwappnode-AppNodeName.tra This file can be found in thebin folder at <TIBCO_HOME>\bw\domains\<DomainName>\appnodes\<AppSpaceName>\<AppNodeName>\bin\bwappnode-AppNodeName.tra.

The configurations in this file apply to an individual AppNode in an AppSpace.

bwappnode-AppSpaceName.tra This file can be found in the appspace folder at <TIBCO_HOME>\bw\domains\<DomainName>\appspaces\<AppSpaceName>\bwappnode-AppSpaceName.tra.

The configurations in this file apply to all AppNodes in the given AppSpace.

bwappnode.tra This file can be found in the bin folder at <TIBCO_HOME>\bw\bin\bwappnode.tra

The configurations in this file apply to all AppSpaces on a given machine.