Execution Modes
The execution mode is set using the bwadmin command line console or in the bwagent's configuration file.
The execution mode determines whether bwadmin communicates with the bwagent. There are two modes: local and enterprise. The default mode is set to local, meaning that there is no communication with the bwagent.
Local mode
In local mode, bwadmin modifies the local file system directly instead of delegating the work to a bwagent. Local mode does not provide data storage and runtime entities are created in the file system. This mode is useful for developers during development and testing cycles. For more information, see Running in Local Mode.
Enterprise mode
In enterprise mode, bwadmin communicates with the bwagent. bwagents can communicate across machines and can be configured to form a bwagent network. Instead of working on the file system directly, bwadmin sends commands to the bwagent. The bwagent dispatches the command to targeted agent. That agent then completes the command on the local file system. For more information, see Running in Enterprise Mode Using the Command Line. In enterprise mode, the bwagent can be registered with the TEA server.
To change the mode, navigate to BW_HOME\bin (Windows) or ${BW_HOME}/bin (Unix) and issue the following command: bwadmin mode local (to switch to local mode) or bwadmin mode enterprise (to switch to enterprise mode).
Changing the mode sets the bw.admin.mode property in the bwagent configuration file. This file is called bwagent.ini and is located in the BW_HOME\config folder (Windows) or ${BW_HOME}/config folder (Unix).