This section describes the command-line interface (CLI) used
to manage nodes. This CLI is invoked using the epadmin
command.
The epadmin
command line interface uses a
combination of a command and a
target, possibly including
parameters, to specify an
action. A command is
generally a verb, and the target is generally a
noun.
There are two types of parameters - global and command specific. Global parameters are valid for all commands, with a few exceptions. Different mandatory and optional command specific parameters are implied by the action. Global parameters are always specified to the left of the command. Command specific parameters are always specified to the right of the target.
This is the general epadmin
syntax:
epadmin global-parameters command target action-specific-parameters
Global and command specific parameters use this syntax:
--
<name>
=
<value>
or --
<name>
<value>
. Both forms, with and without
the =
sign, may be used interchangeably, even in
the same command.
Boolean true
values are optional. They can
either be specified as
--
<name>
=true
or just
--
<name>
.
Partial parameter names are supported. The partial parameter name must be unambiguous across both the global and action specific parameters for a command.
For example, for the display partition
command,
--z
could be used for the zone name parameter and
--n
could be used for the partition name
parameter.
display partition [ --name=<String> ] Partition name. [ --zone=<String> ] Zone name
The epadmin CLI uses the return code to indicate success or failure. The return code values have these meanings:
0 - command succeeded on all target nodes.
-1 - command failed on all target nodes.
1..N - command failed on a subset of nodes. The returned value indicates the number of nodes on which the command failed.
The epadmin
executable is located in the
TIBCO StreamBase® Runtime
installation at:
<product-installation-location>
/distrib/tibco/bin/epadmin
It is convenient to include this path in the
variable to save typing it
every time.PATH
The product version is displayed using epadmin
--version
. --version
is an
alias for the display version
command which would display the same value.
epadmin --version TIBCO StreamBase Runtime 10.3.0-SNAPSHOT (build 1804101348) epadmin display version TIBCO StreamBase Runtime 10.3.0-SNAPSHOT (build 1804101348)
epadmin
has extensive built-in help.
Help is accessed using epadmin help
, or its alias
epadmin --help
.
![]() | |
Help information on application specific administration targets is only available when help commands are executed against a running node. It is not available when running help commands without a node. |
epadmin --help epadmin [<--global-parameter>=<value>,...] <command> <target> [<--parameter>=<value>,...] Execute a command. epadmin [global-parameters...] help targets Display all available administration targets. If no --servicename or --adminport global parameter is provided show the targets known to the offline help. epadmin [global-parameters...] help <target> Help for a specific administration target. If no --servicename or --adminport global parameter is provided show the target from the offline help. epadmin --help [global-parameters...] <command> <target> Help for a specific administration target command. If no --servicename or --adminport global parameter is provided show the target command from the offline help. epadmin help globals Help for the global parameters. When specifying global or command parameters the '=' is optional. --parameter=value is equivalent to --parameter value
These help options are available
List of all available targets using help
targets
. See Example 8.1, “Target list help”.
Example 8.1. Target list help
epadmin help targets adapter Manage adapters. application Display application information. artifact Artifact Distribution Service management. authentication Node authentication administration commands. availabilityzone Manage availability zones. breakpoint Manage transaction breakpoints. cache Manage named caches. cluster Manage the high-availability cluster. configuration Manage configuration. connection Manage connections. container Manage containers. dynvar Manage dynamic variables. engine Manage application engines. globaltransaction Manage global transactions for a node. history Performance metrics history. logging Manage engine Logback logging configurations. node Manage nodes. object Load and export objects in csv, xml, or json file formats. operator Manage operators. partition Manage object partitions. password Change user passwords in a local authentication realm. playback Manage playback of application data. querytable Manage query tables. realm Authentication realm management commands. record Manage recording of data from application. router Manage router. secret Master secret commands. services Services commands. snapshot Create diagnostic snapshot. statistics Control and display statistics. stream Manage streams. systemservice Windows system service commands. trusted Trusted host management. tunable Manage runtime tunable parameters. user Manage users in a local authentication realm. version Product version.
Help for a specific target using help
<target>
. See Example 8.2, “Specific target help”.
Example 8.2. Specific target help
epadmin help password Change user passwords in a local authentication realm. change password [--realm=<String>] --username=<String> --password=<String> Change a user password in a local authentication realm. [--realm=<String>] local authentication realm name. Default: default-realm --username=<String> user name. --password=<String> password.
Help for a specific command using --help
<command> <target>
. See Example 8.3, “Command specific help”.
Example 8.3. Command specific help
epadmin --help display engine display engine [--name=<String>] [--detailed=<Boolean>] Display one or all engines [--name=<String>] Engine name. Default: none [--detailed=<Boolean>] Detailed output. Default: none
Global parameter help using help globals
.
See Example 8.4, “Global parameters help”.
Example 8.4. Global parameters help
epadmin help globals --adminport: Administration port (no default). --debug: Enable low level debug tracing for the command. Valid values are true or false (default is false). --delimiter: Enable delimited tabular output using parameter value as delimiter. Default is formatted text output. --discoveryport: Service discovery port (default is 54321). --discoveryhosts: A comma separated list of DNS host names and or IP addresses, which specify which network interfaces to use for sending the discovery request (default is the system's host name). --discoverytimeout: Seconds to wait for a service discovery request to complete. Sub-second precision is is supported, for example 1.25 (default is 1). --help: Display help for the current command. Valid values are true or false (default is false). --hostname: DNS host name or IP address (default localhost). --password: User password (no default). --schema: Enable schema row in delimited tabular output. Valid values are true or false (default is false). --servicename: Service name. Partially qualified service names may resolve to multiple nodes (no default). --serviceprefix: Enable or disable service name prefix of command output. Valid values are true or false (default is true). --username: User name (default login name).
The target list, target specific, and command specific help options can be run with and without a node. For built-in administrative targets, these two options are equivalent. Application specific administrative targets are only available when the help command is targeted at a node.
Accessing a node to perform an administrative action requires:
Valid credentials, i.e. a user name and password
Network addressing information
Credentials and network address information are specified using global parameters. See the section called “Global parameters” for details.
If a username is specified but a password is not, then
epadmin
prompts for a password. If username is not
specified, the user name in the shell environment in which
epadmin
is executed is used as the user name. See
Chapter 5, Security to learn how to configure access
control.
Node address information is required for most commands (those that apply to a node). You can specify an explicit hostname and port number, or alternatively you can use a service name to access a node. See the section called “Service discovery” for details on using a service name.
Administration actions can also be addressed to multiple nodes simultaneously. This is supported by specifying a partially-qualified service name when executing a command that should be targeted at all nodes in a cluster, a subset of the nodes, or a specific node.
You do not need to supply a specific host name or port
to address a node; you can use the node's published service name. If
you need to find the nodes running on the network, you can perform
discovery manually using the display services
command.
Here is example output from the display
services
command using the servicetype
filter to only return node
service records.
epadmin display services --servicetype=node Service Name = B.X Service Type = node Network Address = dtm-adm://Kapoho.local:43011 Service Name = A.X Service Type = node Network Address = dtm-adm://Kapoho.local:43005
This output indicates that there are two nodes running and that
administration commands could be targeted at the node named
A.X
using a service name of
A
.X
instead of using a host name
of Kapoho.local
and a port number of
43005
.
When a service name is used to execute an administrative
command, the output from the command is prefixed by the service name
returning the response. For example, executing display
node
on all nodes in cluster X
returns:
epadmin --servicename=X display node // // Node B.X output // [B.X] Node Name = B.X [B.X] Node Description = No description [B.X] Node State = Stopped [B.X] Host Name = Kapoho.local [B.X] Administration Port = 43011 [B.X] Discovery Service = running on port 54321 [B.X] Container = tibco/sb [B.X] Node Directory = /opt/kabira/users/djs/RUN/./B.X [B.X] Deployment Directories = /opt/kabira/users/djs/RUN/./B.X/deploy [B.X] Install Time = 2016-07-29 16:58:44 -0700 UTC [B.X] Last Start Time = [B.X] Build Type = DEVELOPMENT [B.X] Product Version = TIBCO StreamBase Runtime 10.0.0-SNAPSHOT (build 160729) [B.X] Product Installation Directory = /opt/kabira/users/djs [B.X] Web Server State = Started [B.X] Web Server URLs = http://Kapoho.local:60780 // // Node A.X output // [A.X] Node Name = A.X [A.X] Node Description = No description [A.X] Node State = Stopped [A.X] Host Name = Kapoho.local [A.X] Administration Port = 43005 [A.X] Discovery Service = running on port 54321 [A.X] Container = tibco/sb [A.X] Node Directory = /opt/kabira/users/djs/RUN/./A.X [A.X] Deployment Directories = /opt/kabira/users/djs/RUN/./A.X/deploy [A.X] Install Time = 2016-07-29 16:58:33 -0700 UTC [A.X] Last Start Time = [A.X] Build Type = DEVELOPMENT [A.X] Product Version = TIBCO StreamBase Runtime 10.0.0-SNAPSHOT (build 160729) [A.X] Product Installation Directory = /opt/kabira/users/djs [A.X] Web Server State = Started [A.X] Web Server URLs = http://Kapoho.local:60747
Some administration commands use EventFlow path notation to filter which entity is displayed. The EventFlow path notation has the following syntax, with a period separator between each element:
[containerName.][moduleRefName[[.moduleRef2Name].[..]]entityName
where:
containerName - the name of
the container hosting the top-level module. Container names are
either system
, default
, or a
name you assign when creating a container. If
containerName
is omitted, it defaults to
the container name default
.
moduleRefName - child (aka a module reference) module name. Child modules can be nested.
entityName - the name of an individual stream, operator, or adapter.
The container name is an alias for the top-level module name. Top-level module names are never included in a path.
Other than the top-level container name, all path elements must be specified from the most significant element to the least significant element. It is illegal to omit more significant elements. For example:
// // Fully scoped operator path // default.childModule.grandChildModule.myOperator // // Illegal path specifier for myOperator // grandChildModule.myOperator // // Legal path specifier for myOperator // childModule.grandChildModule.myOperator
Here are some additional examples of valid paths:
// // Fully scoped path to myOperator // default.childModule.grandChildModule.myOperator // // Resolves to default.childModule.grandChildModule.myOperator // childModule.grandChildModule.myOperator // // Resolves to all entities and modules contained in default.childModule // childModule // // Resolves to all entities and modules contained in default.childModule.grandChildModule // childModule.grandChildModule
Table 8.2, “Global parameters” summarizes the supported global parameters.
Table 8.2. Global parameters
Name | Example | Description |
adminport | --adminport=2001 | Administration port on target node. Required if
servicename not specified. No
default. |
debug | --debug=true|false | Enable low level debug tracing for the command. Valid
values are true or false .
The default value is false. |
delimiter | --delimiter=| | Format output as a table with the first row containing column names, and all other rows containing the columnar data. The delimiter character is used to separate all columns in all rows. Default is to output formatted plain text. |
| --discoveryport=54321 | Port to use for service discovery. Default value is 54321. |
| --discoveryhosts=myhost | A comma separated list of simple host names, fully qualified DNS names, or IP addresses, which specify which network interfaces to use for sending the discovery request. Default is the system's host name. |
discoverytimeout | --discoverytimeout=1.25 | The number of seconds to wait for a service discovery request to complete. Sub-second precision is supported, for example 1.25. Default is 1 second. |
| --help=true|false | Display help for the current command. Valid values are
true or false . Default
value is false . |
| --hostname=venus | Target node's host name. This can be a simple host name,
a fully qualified DNS name, or an IPv4 or IPv6 address. If a
simple host name or fully qualified DNS name is specified, an
IPv6 address is used if available. Default value is
localhost . |
| --password=guest | User password to access target node. Cannot be specified when using trusted host authentication mechanism. It is strongly recommended that passwords never be specified on the command line. See the section called “Accessing a node” for details on specifying a password. No default. |
| --schema=true | Enable the addition of a schema row after the header row
to delimited tabular output. Valid values are
true or false . A value of
true can only be specified if the
delimiter global parameter is also set. The
default value is false . |
| --servicename=A.X | The service name of the target node. See the section called “Service discovery” for details on using service
discovery. If servicename is specified,
hostname and adminport are
not required. No default. |
| --serviceprefix=false | Enable or disable service name prefixing of command
output. Valid values are true or
false . Default value is
true . |
| --username=guest | User name to access target node. Required if not using
the trusted host authentication mechanism. Default value is the
login name of the user executing epadmin . The
default value requires that the host on which the command is
being executed is a trusted host to the target host on which the
node is running. |
epadmin
supports both built-in targets
and application specific targets. Application targets may be added
during development of an application. See the TIBCO StreamBase® Runtime
Transactional Memory Developers Guide for
details. Application specific targets are not discussed further
here.
The supported built-in targets are show in Table 8.3, “Built-in administration targets”.
Table 8.3. Built-in administration targets
Target | Description |
adapter | Adapter management. See the section called “adapter target”. |
application | Application details. See the section called “application target”. |
artifact | Artifact Distribution Service (ADS) management. See the section called “artifact target”. |
authentication | Reset node authentication. See the section called “authentication target”. |
availabilityzone | Availability zone management. See the section called “availabilityzone target”. |
breakpoint | Transaction breakpoint support. See the section called “breakpoint target”. |
cache | Named cache management. See the section called “cache target”. |
cluster | Cluster management. See the section called “cluster target”. |
configuration | Configuration management. See the section called “configuration target”. |
connection | Manage client and JDBC connections. See the section called “connection target”. |
container | EventFlow container management. See the section called “container target”. |
dynvar | Dynamic variable management. See the section called “dynvar target”. |
engine | Manage application engines. See the section called “engine target”. |
globaltransaction | Manage global transactions for a node. See the section called “globaltransaction target”. |
history | Performance metrics history. See the section called “history target”. |
logging | Logging configuration management. See the section called “logging target”. |
node | Node management. See the section called “node target”. |
operator | EventFlow operator management. See the section called “operator target”. |
partition | Partition management. See the section called “partition target”. |
password | Manage user passwords in a local authentication realm. See the section called “password target”. |
playback | Manage playback of recorded application data. See the section called “playback target”. |
querytable | Display and read query tables. See the section called “querytable target”. |
realm | Authentication realm management. See the section called “realm target”. |
record | Mange recording of application data. See the section called “record target”. |
router | Router management. See the section called “router target”. |
secret | Master secret management and data encryption. See the section called “secret target”. |
services | Discover nodes using service discovery. See the section called “services target”. |
snapshot | Create a diagnostic snapshot of a node. See the section called “snapshot target”. |
statistics | Capture and display runtime statistics. See the section called “statistics target”. |
stream | Interact with EventFlow streams. See the section called “stream target”. |
systemservice | Windows system service management. See the section called “systemservice target”. |
trusted | Trusted host management. See the section called “trusted target”. |
tunable | Manage runtime tunable parameters. See the section called “tunable target”. |
user | Manage users in a local authentication realm. See the section called “user target”. |
version | Display product version. See the section called “version target”. |
Details on each of these targets can be found in the following sections. These sections provide a brief description of the supported commands and targets, along with any parameters. Examples are provided to help clarify a command's usage.
![]() | |
Global parameters are not shown in the examples unless they are required to clarify command usage. |
display adapter display adapter --engine=an-engine-name display adapter --path=default.myModule.myAdapter
Table 8.4. display command parameters
Name | Description | Required |
---|---|---|
engine | Engine name filter. | No. Default display all adapters on all engines. |
path | Path filter. See the section called “Path notation”. | No. Default display all adapters at all paths. |
resume adapter resume adapter --engine=an-engine-name resume adapter --path=default.myModule.myAdapter
Table 8.5. resume command parameters
Name | Description | Required |
---|---|---|
engine | Engine name filter. | No. Default resume all adapters on all engines. |
path | Path filter. See the section called “Path notation”. | No. Default resume all adapters at all paths. |
start adapter start adapter --engine=an-engine-name start adapter --path=default.myModule.myAdapter
Table 8.6. start command parameters
Name | Description | Required |
---|---|---|
engine | Engine name filter. | No. Default start all adapters on all engines. |
path | Path filter. See the section called “Path notation”. | No. Default start all adapters at all paths. |
stop adapter stop adapter --engine=an-engine-name stop adapter --path=default.myModule.myAdapter
Table 8.7. stop command parameters
Name | Description | Required |
---|---|---|
engine | Engine name filter. | No. Default stop all adapters on all engines. |
path | Path filter. See the section called “Path notation”. | No. Default stop all adapters at all paths. |
suspend adapter suspend adapter --engine=an-engine-name suspend adapter --path=default.myModule.myAdapter
Table 8.8. suspend command parameters
Name | Description | Required |
---|---|---|
engine | Engine name filter. | No. Default suspend all adapters on all engines. |
path | Path filter. See the section called “Path notation”. | No. Default suspend all adapters at all paths. |
Manage artifacts in the Artifact Distribution Service
(ADS). artifact
commands always ensure that the
cluster-wide state of the artifacts being managed is consistent, no
matter if the command is sent to a single node, multiple nodes, or all
nodes in a cluster.
Activate a previously loaded artifact.
activate artifact --type=my-artifact-type --name=my-artifact-name --version=1.0.0 activate artifact --type=my-artifact-type --name=my-artifact-name --version=2.0.0 --latest
Table 8.9. activate command parameters
Name | Description | Required |
---|---|---|
latest | A boolean value indicating whether this artifact should
be marked as the latest version, possibly replacing another
artifact marked latest. true tags the
artifact version as latest, false does not
tag the artifact as latest. | No. Default is false . |
name | Artifact name. | Yes. |
type | Artifact type. | Yes. |
version | Artifact version. | Yes. |
Deactivate a previously activated artifact.
deactivate artifact --type=my-artifact-type --name=my-artifact-name --version=1.0.0
Table 8.10. deactivate command parameters
Name | Description | Required |
---|---|---|
name | Artifact name. | Yes. |
type | Artifact type. | Yes. |
version | Artifact version. | Yes. |
The type
, name
, and
version
parameters are used as filters to control
which artifacts are displayed. The parameters have this precedence -
type
, name
,
version
. To specify a lower precedent parameter,
all higher precedent parameters must be specified. For example, if
name
is specified, type
also
must be.
display artifact display artifact --filter=required display artifact --filter=operator display artifact --type=my-artifact-type display artifact --type=my-artifact-type --name=my-artifact-name display artifact --type=my-artifact-type --name=my-artifact-name --version=1.0.0 --verbose
Table 8.11. display command parameters
Name | Description | Required |
---|---|---|
filter | An enumeration value controlling the type of
information to display. Valid values are
loaded , required , and
operator . | No. Default value is loaded . |
name | Artifact name. Cannot be specified if
filter value is
operator . | No. Default display all artifact names. |
type | Artifact type. | No. Default display all artifact types. |
verbose | Boolean controlling detailed output.
true enables detailed output,
false disables detailed output. | No. Default value is false . |
version | Artifact version. Can only be specified if
filter value is
loaded . | No. Default display all artifact versions. |
Export artifacts. Exported data is written to standard output.
export artifact --type=my-artifact-type --name=my-artifact-name --version=1.0.0 --file=artifact-data-file-name export artifact --type=my-artifact-type --name=my-artifact-name --version=1.0.0 --metadata --file=artifact-metadata-file-name
Table 8.12. export command parameters
Name | Description | Required |
---|---|---|
file | Export file name. If file exists it is overwritten. | Yes. |
metadata | Boolean controlling whether to export artifact data or
metadata. true exports metadata,
false exports artifact data. | No. Default value is false . |
name | Artifact name. | Yes. |
type | Artifact type. | Yes. |
version | Artifact version. | Yes. |
Load artifacts. Loading an already loaded artifact (same
type
, name
, and
version
) follows these rules:
if the artifact data, metadata, and encoding are the same, no action is taken.
if the artifact data, metadata, or encoding is different,
and force=false
, the load fails.
if the artifact data, metadata, or encoding is different,
and force=true
, the artifact is
reloaded.
load artifact --type=my-artifact-type --name=my-artifact-name --version=1.0.0 --source="xxx" --metadata="yyy" load artifact --type=my-artifact-type --name=my-artifact-name --version=1.0.0 --source="xxx" --encoding="ascii" load artifact --type=my-artifact-type --name=my-artifact-name --version=1.0.0 --sourcefile=my-artifact.file --metadatafile=my-artifact-metadata.file load artifact --type=my-artifact-type --name=my-artifact-name --version=1.0.0 --source="zzz" --force
Table 8.13. load command parameters
Name | Description | Required |
---|---|---|
encoding | Artifact encoding specifier. | No. No default. |
force | Boolean controlling whether a load should succeed if an
artifact with the same type ,
name , and version is
already loaded with different data, metadata, or encoding.
true reloads the artifact if the data,
metadata, or encoding is different, false
causes the load to fail if the data, metadata, or encoding is
different. | No. Default is false . |
metadata | Artifact metadata. Only one of the
metadata or metadatafile
parameters can be specified. | No. No default. |
metadatafile | Artifact metadata file. Only one of the
metadata or metadatafile
parameters can be specified. | No. No default. |
name | Artifact name. | Yes. |
source | Artifact data. One of the source or
sourcefile parameters must be
specified. | No. No default. |
sourcefile | Artifact data file. One of the
source or sourcefile
parameters must be specified. | No. No default. |
type | Artifact type. | Yes. |
version | Artifact version. | Yes. |
Send a message notification to registered operators.
notify artifact --type=my-artifact-type --name=my-artifact-name --severity=INFO --message=hello notify artifact --type=my-artifact-type --name=my-artifact-name --version=1.0.0 --severity=ERROR --source=an-administrator --messagecode="ERROR-10" message="something very bad"
Table 8.14. notify command parameters
Name | Description | Required |
---|---|---|
message | Message text. | Yes. |
messagecode | Message code. | No. No default. |
name | Artifact name. | Yes. |
severity | An enumeration value indicating the severity of the
notification. Valid values are ERROR ,
WARN , INFO ,
DEBUG , and
TRACE . | Yes. |
source | Notification source. | No. No default. |
type | Artifact type. | Yes. |
version | Artifact version. | No. Default is latest version. |
Update or create an operator's artifact registration.
register artifact --operator=default.myModule.myOperator --type=my-artifact-type --name=my-artifact-name register artifact --operator=default.myModule.myOperator --type=my-artifact-type --name=my-artifact-name --version=1.0.0 register artifact --engine=my-engine --operator=default.myModule.myOperator --type=my-artifact-type register artifact --operator=default.myModule.myOperator --type=my-artifact-type --action=restore register artifact --engine=my-engine --operator=default.myModule.myOperator --type=my-artifact-type --action=restore
Table 8.15. register command parameters
Name | Description | Required |
---|---|---|
action | Enumeration controlling registration action. Valid
values are register and
restore . The register
action updates or creates a registration for the operator. The
restore action resets the operator's
registration to any initial value (may be no
registration). | No. Default is register . |
engine | Engine containing the target operator. | No. All engines containing the target operator. |
name | Artifact name. Required if action is
register . Cannot be specified if action is
restore . | No. No default. |
operator | Fully-qualified path to the target operator. | Yes. |
type | Artifact type. | Yes. |
version | Artifact version. Cannot be specified if
action is
restore . | No. Default is latest version. |
Reset node authentication to the initial authentication state after node installation which is:
Use default
local realm for
authentication.
Define the operating system user executing the
reset
command as a node user.
Password is set to the value specified when executing the
reset
command. This password never
expires.
New node user is assigned the
administrator
role which has administration
privileges.
The reset
command can be executed remotely or
locally. If executed remotely by specifying the
servicename
or
adminport
/hostname
global
parameters, the installpath
parameter does not need
to be specified.
reset authentication reset authentication --installpath=A.X reset authentication --installpath=A.X --password=supersecret
Table 8.17. reset command parameters
Name | Description | Required |
---|---|---|
installpath | Node installation path. If specified, user executing command must have operating system write privileges to the node installation path. | No. Required if command is executed locally. |
password | New administrator password. | No. If not specified a password prompt is displayed. |
Display availability zone information.
display availabilityzone display availabilityzone --name=cluster-wide-availability-zone
Table 8.18. display command parameters
Name | Description | Required |
---|---|---|
name | The name of an availability zone to display. | No. Default is display all availability zones. |
Rebalance availability zone data.
rebalance availabilityzone rebalance availabilityzone --wait rebalance availabilityzone --name=cluster-wide-availability-zone rebalance availabilityzone --threads=4 --chunksize=500
Table 8.19. rebalance command parameters
Name | Description | Required |
---|---|---|
chunksize | The number of objects to lock per transaction when sending data to remote nodes. | No. Default value is set in data distribution policy. |
name | The name of an availability zone to rebalance | No. Default is rebalance all availability zones. |
threads | The number of threads to use when sending data to remote nodes. | No. Default value is set in data distribution policy. |
wait | Boolean value controlling whether to wait for the
rebalance to complete before returning. A value of
false causes the command to return
immediately with the rebalance completing asynchronously. A
value of true causes the command to block
until the rebalance completes. | No. Default value is false . |
Restore an availability zone following a multi-master event.
restore availabilityzone restore availabilityzone --name=cluster-wide-availability-zone restore availabilityzone --threads=4 --chunksize=500 restore availabilityzone --action=replace --from=B.X
Table 8.20. restore command parameters
Name | Description | Required |
---|---|---|
action | One of combine ,
replace , or merge .
combine copies all data from a remote node
to the local node, any data conflicts causes the restore to
fail. replace removes all data on the local
node and replaces it with data from the remote node.
merge compares the data on the local and
remote nodes and resolves any conflicts. | No. Default is merge . |
chunksize | The number of objects to lock per transaction when sending data to remote nodes. | No. Default value is set in data distribution policy. |
from | Restore data from this node. | No. Default is determined using a cluster wide broadcast to locate an active node to restore from. |
name | The name of the availability zone being restored. | No. Default is restore all availability zones. |
threads | The number of threads to use when sending data to remote nodes. | No. Default value is set in data distribution policy. |
Transaction breakpoint support.
Support for pausing and examining transactions is provided by the
breakpoint
target, which is available in both
production and development mode nodes.
Supported breakpoints are defined in Table 8.21, “Supported transaction breakpoints”. The columns in the table have these meanings:
Type - Breakpoint type
Description - Brief description.
Table 8.21. Supported transaction breakpoints
Type | Description |
---|---|
begin | Transaction begin. |
deadlock | After a deadlock has occurred but before the transaction has rolled back. |
destroyed | After a lock on an object has failed because the object was destroyed in another transaction while waiting for it. |
promotion | A write lock was promoted to a write lock. |
contention | Contention occurred which caused blocking waiting to acquire the lock. |
distribution | A cluster scope query or remote method invocation was done. |
A breakpoint my be set for all transactions or for transactions with a specified name.
Browse for breakpoints. The browse command does not exit - it continues to look for newly hit breakpoints until it is explicitly terminated with an interrupt. As breakpoints are hit they are displayed.
browse breakpoint
The browse
command does not take any
parameters.
Display the transaction and thread call stacks for transactions at breakpoints.
callstack breakpoint callstack breakpoint --identifier=8:110 callstack breakpoint --name=MyTransaction
Table 8.22. callstack command parameters
Name | Description | Required |
---|---|---|
| The transaction identifier of a transaction at a breakpoint to display. | No. Default is all transactions at breakpoints. |
name | The name of a transaction at a breakpoint to display. | No. Default is all transactions at breakpoints. |
The identifier
and name
parameters are mutually exclusive.
Clear transaction breakpoints.
clear breakpoint clear breakpoint --type=deadlock clear breakpoint --type=begin --name=MyTransaction
Table 8.23. clear command parameters
Name | Description | Required |
---|---|---|
| The type of transaction breakpoint to clear. See Table 8.21, “Supported transaction breakpoints” for a list of supported breakpoint types. | No. Default is all breakpoint types. |
name | The name of the transaction breakpoint to clear. | No. Default is all breakpoints. |
Continue transactions from breakpoints.
continue breakpoint continue breakpoint --identifier=8:110 continue breakpoint --name=MyTransaction
Table 8.24. continue command parameters
Name | Description | Required |
---|---|---|
| The transaction identifier of a transaction at a breakpoint to continue. | No. Default is all transactions at breakpoints. |
name | The name of a transaction at a breakpoint to continue. | No. Default is all transactions at breakpoints. |
The identifier
and name
parameters are mutually exclusive.
Display information about transactions at breakpoints.
display breakpoint display breakpoint --identifier=8:110 display breakpoint --name=MyTransaction display breakpoint --name=MyTransaction --locklimit=400 display breakpoint --name=MyTransaction --locklimit=0
Table 8.25. display command parameters
Name | Description | Required |
---|---|---|
| The transaction identifier of a transaction at a breakpoint to display. | No. Default is all transactions at breakpoints. |
name | The name of a transaction at a breakpoint to display. | No. Default is all transactions at breakpoints. |
locklimit | The maximum number of object locks to show. A value of 0 indicates no limit. | No. Default is 100. |
The identifier
and name
parameters are mutually exclusive.
Display the locks held by transactions at breakpoints.
locks breakpoint locks breakpoint --identifier=8:110 locks breakpoint --name=MyTransaction locks breakpoint --name=MyTransaction --locklimit=400 locks breakpoint --name=MyTransaction --locklimit=0
Table 8.26. locks command parameters
Name | Description | Required |
---|---|---|
| The transaction identifier of a transaction at a breakpoint to display. | No. Default is all transactions at breakpoints. |
name | The name of a transaction at a breakpoint to display. | No. Default is all transactions at breakpoints. |
locklimit | The maximum number of object locks to show. A value of 0 indicates no limit. | No. Default is 100. |
set breakpoint --type=deadlock set breakpoint --type=begin --name=MyTransaction
Table 8.27. set command parameters
Name | Description | Required |
---|---|---|
| The type of transaction breakpoint to set. See Table 8.21, “Supported transaction breakpoints” for a list of supported breakpoint types. | Yes. |
name | The name of the transaction to set the breakpoint for. | No, except for begin . Default is all
transactions. |
Add a new type to an existing named cache.
add cache --name=MyCache --type=managed.Type
Table 8.28. add command parameters
Name | Description | Required |
---|---|---|
name | Cache name. | Yes. |
type | Fully scoped type name. | Yes. |
Create a named cache. Cache names are unique on a node. If the cache being created already exists, this command quietly does nothing. Newly created caches have an unlimited cache size.
create cache --name=MyCache
Display information about named caches on a node. If
name
is not specified, information about all caches
is displayed.
display cache display cache --name=MyCache
Remove a named cache. All objects in the cache are restored to their default caching behavior.
remove cache --name=MyCache
Set or change cache size. When changing a cache size, any required object flushing will occur asynchronously.
Cache sizes can be set as a percentage of total shared memory in the node, or as an absolute size. When setting size using an absolute size these suffixes are supported:
None - size in bytes.
K
- size in kilobytes.
M
- size in megabytes.
G
- size in gigabytes.
Percentage values are specified using a %
suffix.
set cache --name=MyCache --size=0% // Disables caching set cache --name=MyCache --size=100% // Unlimited cache size set cache --name=MyCache --size=50% // Size cache to 50% of node shared memory set cache --name=MyCache --size=0 // Disables caching set cache --name=MyCache --size=25000 // Set cache size to 25000 bytes set cache --name=MyCache --size=25K // Set cache size to 25 kilobytes set cache --name=MyCache --size=2M // Set cache size to 2 megabytes set cache --name=MyCache --size=1G // Set cache size to 1 gigabyte
Table 8.32. set command parameters
Name | Description | Required |
---|---|---|
| Cache name. | Yes. |
size | Cache size - percentage of shared memory or an absolute value. | Yes. |
The type
controls the information displayed.
Valid values are:
classmismatches - Display class mismatch information between the local and discovered remote nodes.
configuration - Display local node configuration information.
local - Display local node status information.
remote - Display information about discovered remote nodes.
display cluster display cluster --type=configuration display cluster --type=local display cluster --type=remote display cluster --type=classmismatches
Table 8.33. display command parameters
Name | Description | Required |
---|---|---|
type | Optional information type to display. Valid values are
one of classmismatches ,
configuration , local , or
remote . | No. Default value is remote . |
This command allows a node to removed from a cluster if it is never going to be part of the cluster again, for example if it was permanently removed from service.
remove cluster --remotenode=A
If there is already an active configuration with the same
type
and name
, it is deactivated
as part of activating the current configuration.
activate configuration --type=MyConfigurationType --name=myConfiguration --version="1.0"
Table 8.36. activate command parameters
Name | Description | Required |
---|---|---|
type | Configuration type. | Yes. |
name | Configuration name. | Yes. |
version | Configuration version. | Yes. |
Clear configuration state change history.
Configuration change history that meets the specified filter
criteria defined using the parameters to this command is cleared. The
filter parameters have this precedence - type
,
name
, version
,
date
. To specify a lower precedent filter value,
all higher precedent values must be specified. For example, if
name
is specified, type
also
must be.
The date
parameter is used to remove
configuration history older than the specified date.
clearhistory configuration clearhistory configuration --type=MyConfigurationType clearhistory configuration --type=MyConfigurationType --name=myConfiguration clearhistory configuration --type=MyConfigurationType --name=myConfiguration --version="1.0" clearhistory configuration --type=MyConfigurationType --name=myConfiguration --version="1.0" --date="2005-07-31-23:59:59"
Table 8.37. clearhistory command parameters
Name | Description | Required |
---|---|---|
type | Configuration type. | No. No default value. |
name | Configuration name. | No. No default value. |
version | Configuration version. | No. No default value. |
date | Older than date. Format is
%Y - %m - %d - %H : %M : %S
where month (%m) is specified as a number (1-12), hour (%H) is
between 0 and 23 inclusive, and a dash separates the date and
time. For example, 2005-07-31-23:59:59 .
Time value must be specified in the local timezone of the
node. | No. No default value. |
This command will leave the node with no active configuration.
It is generally recommended to use the activate
command to atomically deactivate and activate new
configuration.
deactivate configuration --type=MyConfigurationType --name=myConfiguration --version="1.0"
Table 8.38. deactivate command parameters
Name | Description | Required |
---|---|---|
type | Configuration type. | Yes. |
name | Configuration name. | Yes. |
version | Configuration version. | Yes. |
The type
, name
, and
version
parameters are used as filters to control
which configuration is displayed. The parameters have this precedence
- type
, name
,
version
. To specify a lower
precedent parameter, all higher precedent parameters must be
specified. For example, if
name
is specified,
type
also must be.
display configuration display configuration --type=MyConfigurationType display configuration --type=MyConfigurationType --name=myConfiguration display configuration --type=MyConfigurationType --name=myConfiguration version="1.0" display configuration --history
Table 8.39. display command parameters
Name | Description | Required |
---|---|---|
type | Configuration type. | No. No default value. |
name | Configuration name. | No. No default value. |
version | Configuration version. | No. No default value. |
history | Boolean to control display of configuration state
change history. A value of true will
display the history. | No. Default value is false . |
Export configuration data to a file.
The exported configuration is in format that can be reloaded after making any required changes.
export configuration --type=MyConfigurationType --name=myConfiguration --version="1.0" --file=./myConfiguration.conf
Table 8.40. export command parameters
Name | Description | Required |
---|---|---|
type | Configuration type. | Yes. |
name | Configuration name. | Yes. |
version | Configuration version. | Yes. |
file | Client-side output file. | Yes. |
Generate a sample configuration.
generate configuration --rootobject=OIDCAuthenticationRealm --file=example.conf generate configuration --rootobject=OIDCAuthenticationRealm --file=example.conf --requiredonly generate configuration --type=com.tibco.ep.dtm.configuration.security --rootobject=OIDCAuthenticationRealm --file=example.conf
Table 8.41. generate command parameters
Name | Description | Required |
---|---|---|
file | Client-side output file. | Yes. |
requiredonly | Boolean to control which properties the generated
sample contains. A value of true will
generate a sample with only required properties, a value of
false will generate a sample with all
properties. | No. Default value is false . |
rootobject | Configuration root object name. | Yes. |
| Configuration type. | No. No default value. |
List available configuration types and root objects.
list configuration list configuration --type "^com.tibco.ep.dtm.configuration.*" list configuration --rootobject "^Secure.*" list configuration --type "^com.tibco.ep.dtm.configuration.*" --rootobject "^OIDC.*"
The configuration file has been loaded into shared memory after
this command completes - but it is not active. It needs to be
activated using the activate
command to take
affect.
load configuration --source=myConfiguration.conf load configuration --source=myConfiguration.conf --ignorethrottle load configuration --source=myConfiguration.conf --substitutions="foo=bar,bar=foo" load configuration --source=myConfiguration.conf --substitutionfile=mysubstitutions.prop
Here are the example contents of a substitution file.
# # Substitution properties for myConfiguration.conf # foo=bar bar=foo
Table 8.43. load command parameters
Name | Description | Required |
---|---|---|
source | Configuration file. | Yes. |
substitutions | Comma separated list of
<name> = <value>
pairs used to replace substitution variables in the
configuration file. A value specified in
substitutions takes precedence over a value
specified in substitutionfile if they both
specify a value for the same name. | No. No default value. |
substitutionfile | A file containing new-line terminated
<name> = <value>
pairs used to replace substitution variables in the
configuration file. Blank lines, and lines beginning with a
# , are ignored. A value specified in
substitutions takes precedence over a value
specified in substitutionfile if they both
specify a value for the same name. | No. No default value. |
ignorethrottle | By default configuration files cannot be loaded if a
node's shared memory utilization exceeds the configured
throttle threshold. Setting this parameter to
true will load the configuration file even
if shared memory utilization exceeds the configured throttle
value. Set this value to true with caution
since it can cause memory exhaustion on a running
system. | No. Default is false . |
Remove configuration data from shared memory.
The configuration being removed cannot be active. Configuration
that is removed from shared memory must be reloaded using the
load
command.
remove configuration --type=MyConfigurationType --name=myConfiguration --version="1.0"
Table 8.44. remove command parameters
Name | Description | Required |
---|---|---|
| Configuration type. | Yes. |
name | Configuration name. | Yes. |
version | Configuration version. | Yes. |
close connection close connection --engine=an-engine-name close connection --type=jdbc close connection --type=jdbc --name="my-data-source"
Table 8.45. close command parameters
Name | Description | Required |
---|---|---|
engine | Engine name filter. | No. Default close all connections on all engines. |
name | Connection or datasource name filter. | No. Default value is all connections. |
type | Connection type filter. An enumeration with these valid
values - client ,
jdbc . | No. Default value is client . |
Display connection information.
display connection display connection --engine=an-engine-name display connection --type=jdbc display connection --type=jdbc --name="my-data-source"
Table 8.46. display command parameters
Name | Description | Required |
---|---|---|
engine | Engine name filter. | No. Default display all connections on all engines. |
name | Connection or datasource name filter. | No. Default value is all connections. |
type | Connection type filter. An enumeration with these valid
values - client ,
jdbc . | No. Default value is client . |
EventFlow container management.
Add a container to a running engine.
add container --module=mymodule.sbapp --name=myContainer --connections="myContainer.anotherModule.inputStream=default.myModule.outputStream" add container --engine=an-engine --module=mymodule.sbapp --name=myContainer --dequeue=disabled --enqueue=droptuples --suspend add container --module=mymodule.sbapp --name=myContainer --moduleparameters="a=b,c=d" --modulesearchpaths="module-directory" --resourcesearchpaths="resources-directory" add container --module=mymodule.sbapp --name=myContainer --trace --tracebuffered=false --tracecompress --tracefilebase="trace_" --traceoverwrite --tracestreampattern="value=Yo!"
Table 8.47. add command parameters
Name | Description | Required |
---|---|---|
connections | Comma separated list of cross-container connections to
establish. Cross-container connections are specified as
. | No. No default. |
dequeue | Dequeue status for the container. An enumeration with
these valid values - enabled ,
disabled ,
droptuples . | No. Default value is
enabled . |
engine | Engine name filter. | No. Default is all engines. |
enqueue | Enqueue status for the container. An enumeration with
these valid values - enabled ,
disabled ,
droptuples . | No. Default value is
enabled . |
module | File containing module to execute in the container. | Yes. |
moduleparameters | Comma separated list of module parameters. The module
parameters are specified as
<name> =<value>
pairs. | No. No default. |
modulesearchpaths | Comma separated list of module search paths. The module search paths are evaluated on the node machine. | No. No default. |
name | Container name. | Yes. |
resourcesearchpaths | Comma separated list of resource search paths. The resource search paths are evaluated on the node machine. | No. No default. |
suspend | Boolean value to control whether container is suspended
or not. A value of true will suspend the
container. | No. Default value is false . |
trace | Boolean value to enable runtime tracing. A value of
true will enable runtime tracing. | No. Default value is false . |
tracebuffered | Boolean value controlling whether trace output is
buffered. A value of true buffers the trace
output for improved performance with the trade-off that trace
output lags module execution and may be lost on a hard
failure. | No. Default value is true . |
tracecompress | Boolean value controlling trace file compression. A
value of true causes the trace files to be
compressed. | No. Default value is false . |
tracefilebase | String value that is the base name for trace files.
Setting this parameter to a value causes trace output to be
redirected to files. There is one trace file generated per
module, including one trace file for each parallel region in a
module. Trace file names are generated as
<tracefilebase+containername> .sbtrace .
For modules running with parallel execution enabled, the
module's path becomes part of the trace file name, i.e.
<tracefilebase+containername.modulepath> .sbtrace .
Tracing also creates a file with extension
.sbtrace.meta . This file contains a
metadata description of the traced modules that is used by the
Trace Debugger Studio perspective when
processing .sbtrace files. | No. Default is trace output is written to standard out. |
traceoverwrite | Boolean value controlling whether trace files are
overwritten on engine restart. A value of
true causes the trace files to be
overwritten. | No. Default value is false . |
tracestreampattern | Enable stream tracing using the specified pattern as a
filter. The pattern value uses the
java.util.regex.Pattern syntax. Stream
tracing requires that the module was compiled with the
streambase.codegen.trace-tuples system
property set to true . | No. No default. |
Establish cross-container connections. Cross-container connections must be between containers in the same engine.
connect container --connections="myContainer.anotherModule.inputStream=default.myModule.outputStream" --where="value=5" connect container --engine=an-engine-name --connections="myContainer.anotherModule.inputStream=default.myModule.outputStream"
Table 8.48. connect command parameters
Name | Description | Required |
---|---|---|
connections | Comma separated list of cross-container connections to
establish. Cross-container connections are specified as
. | Yes. |
engine | Engine name filter. | No. Default all containers on all engines. |
where | Predicate expression that filters the tuples sent over the connections. The predicate expression must resolve to true or false, and should match against one or more fields in the schema of the connection's stream. Tuples are only sent over the connection if they match the predicate with a value of true. | No. No default. |
Disconnect cross-container connections.
disconnect container --connections="myContainer.anotherModule.inputStream=default.myModule.outputStream" disconnect container --engine=an-engine-name --connections="myContainer.anotherModule.inputStream=default.myModule.outputStream"
Table 8.49. disconnect command parameters
Name | Description | Required |
---|---|---|
connections | Comma separated list of cross-container connections to
disconnect. Cross-container connections are specified as
. | Yes. |
engine | Engine name filter. | No. Default all containers on all engines. |
Display container information.
display container display container --detailed display container --engine=an-engine-name display container --name=myContainer
Table 8.50. display command parameters
Name | Description | Required |
---|---|---|
detailed | A boolean value controlling whether to display details about a container. | No. Default is false . |
engine | Engine name filter. | No. Default display all containers on all engines. |
name | Container name filter. | No. Default display all containers. |
modify container --engine=an-engine --name=myContainer --dequeue=disabled --enqueue=droptuples modify container --name=myContainer --trace --tracebuffered=false --tracecompress --tracefilebase=trace-directory --traceoverwrite --tracestreampattern="value=Yo!"
Table 8.51. modify command parameters
Name | Description | Required |
---|---|---|
dequeue | Dequeue status for the container. An enumeration with
these valid values - enabled ,
disabled ,
droptuples . | No. Default value is
enabled . |
engine | Engine name filter. | No. Default is all engines. |
enqueue | Enqueue status for the container. An enumeration with
these valid values - enabled ,
disabled ,
droptuples . | No. Default value is
enabled . |
name | Container name filter. | No. Default is all containers. |
trace | Boolean value to enable runtime tracing. A value of
true will enable runtime tracing. | No. Default value is false . |
tracebuffered | Boolean value controlling whether trace output is
buffered. A value of true buffers the trace
output for improved performance with the trade-off that trace
output may be lost on a hard failure. | No. Default value is true . |
tracecompress | Boolean value controlling trace file compression. A
value of true causes the trace files to be
compressed. | No. Default value is false . |
tracefilebase | String value that is the base name for trace files.
Setting this parameter to a value causes trace output to be
redirected to files. There is one trace file generated per
module, including one trace file for each parallel region in a
module. Trace file names are generated as
<tracefilebase+containername> .sbtrace .
For modules running with parallel execution enabled, the
module's path becomes part of the trace file name, i.e.
<tracefilebase+containername.modulepath> .sbtrace .
Tracing also creates a file with extension
.sbtrace.meta . This file contains a
metadata description of the traced modules that is used by the
Trace Debugger Studio perspective when
processing .sbtrace files. | No. Default is trace output is written to standard out. |
traceoverwrite | Boolean value controlling whether trace files are
overwritten on engine restart. A value of
true causes the trace files to be
overwritten. | No. Default value is false . |
tracestreampattern | Enable stream tracing using the specified pattern as a
filter. The pattern value uses the
java.util.regex.Pattern syntax. Stream
tracing requires that the module was compiled with the
streambase.codegen.trace-tuples system
property set to true . | No. No default. |
remove container remove container --engine=an-engine-name remove container --name=myContainer
Table 8.52. remove command parameters
Name | Description | Required |
---|---|---|
engine | Engine name filter. | No. Default remove all containers on all engines. |
name | Container name filter. | No. Default remove all containers. |
restart container restart container --engine=an-engine-name restart container --name=myContainer
Table 8.53. restart command parameters
Name | Description | Required |
---|---|---|
engine | Engine name filter. | No. Default restart all containers on all engines. |
name | Container name filter. | No. Default restart all containers. |
resume container resume container --engine=an-engine-name resume container --name=myContainer
Table 8.54. resume command parameters
Name | Description | Required |
---|---|---|
engine | Engine name filter. | No. Default resume all containers on all engines. |
name | Container name filter. | No. Default resume all containers. |
Get and set dynamic variables.
Get current dynamic variable values.
get dynvar get dynvar --engine=myEngine get dynvar --path=myModule.myDynamicVariable get dynvar --engine=myEngine --path=myModule.myDynamicVariable
Table 8.56. get command parameters
Name | Description | Required |
---|---|---|
engine | Engine name filter. | No. Default is all engines. |
path | Path filter. See the section called “Path notation”. | No. Default get all dynamic variables at all paths. |
set dynvar --path=myModule.myDynamicVariable --value="new-value" set dynvar --engine=myEngine --path=myModule.myDynamicVariable --value="new-value"
Table 8.57. set command parameters
Name | Description | Required |
---|---|---|
engine | Engine name filter. | No. Default is all engines. |
path | Dynamic variable path. See the section called “Path notation”. | Yes. |
value | Set dynamic variable to this value. | Yes. |
Manage the life-cycle of node engines.
Display the status of deployed engines. If
name
parameter is not specified information is
displayed for all deployed engines.
display engine display engine --name=myEngine display engine --detailed
Table 8.58. display command parameters
Name | Description | Required |
---|---|---|
name | Engine name. | No. Default value is all engines. |
detailed | A boolean value controlling whether to display details about an engine. | No. Default value is false . |
Start a deployed engine. If name
parameter is not specified all deployed engines are started. Starting
an already started engine reports success without impacting the
running engine.
start engine start engine --name=myEngine
Table 8.59. start command parameters
Name | Description | Required |
---|---|---|
name | Engine name. | No. Default value is all engines. |
Stop a running engine. If name
parameter is not specified all deployed engines are stopped. Stopping
an already stopped engine reports success.
stop engine stop engine --name=myEngine
Table 8.60. stop command parameters
Name | Description | Required |
---|---|---|
name | Engine name. | No. Default value is all engines. |
Start a stopped engine in a suspended state for
debugging. A debugger listener is started on the suspended engine. If
name
parameter is not specified all stopped engines
are started in a suspended state. Suspending an already suspended
engine reports an error.
The supported suspend types have this behavior:
all
- perform a jvm
suspend followed by a fragment
suspend.
fragment
- start the JVM (and engine) and
perform fragment specific behavior:
Java fragment - same behavior as jvm
suspend type.
EventFlow fragment - suspend all EventFlow containers.
LiveView fragment - suspend all EventFlow containers.
jvm
- suspend a JVM before executing main
and wait for a remote debugger to attach to the debug port before
starting the engine.
suspend engine suspend engine --name=myEngine suspend engine --name=myEngine --debugport=5404 suspend engine --name=myEngine --type=jvm
Table 8.61. stop command parameters
Name | Description | Required |
---|---|---|
debugport | Integer value specifying the java debugger port. A value of 0 will chose a random port. | No. Default value is 0. |
name | Engine name. | No. Default value is all engines. |
type | Enumeration value specifying the suspend type. Valid
values are jvm ,
fragment , or
all . | No. Default value is jvm . |
Manage global transactions for a node.
Abort a local transaction initiated by a global transaction. The abort command cannot be run on the node initiating the global transaction. It can only be run on remote nodes involved in the global transaction.
abort globaltransaction --identifier="serializable:98752449084876475:221:33:360614189986813"
Table 8.62. abort command parameters
Name | Description | Required |
---|---|---|
identifier | Global transaction identifier. | Yes. |
Commit a local transaction initiated by a global transaction. The commit command cannot be run on the node initiating the global transaction. It can only be run on remote nodes involved in the global transaction.
commit globaltransaction --identifier="serializable:98752449084876475:221:33:360614189986813"
Table 8.63. commit command parameters
Name | Description | Required |
---|---|---|
identifier | Global transaction identifier. | Yes. |
Display global transactions running on this node.
display globaltransaction display globaltransaction --verbose
Table 8.64. display command parameters
Name | Description | Required |
---|---|---|
verbose | Boolean value controlling whether to include additional
global transaction details. The verbose
option only displays additional details if debug tracing is
enabled for distribution. | No. Default value is false . |
Display current logging levels.
display logging display logging --enginename=an-engine-name display logging --loggername=my-logger display logging --enginename=an-engine-name --loggername=my-logger
Table 8.67. display command parameters
Name | Description | Required |
---|---|---|
enginename | Engine name. | No. Default display loggers on all engines. |
loggername | Logger name. | No. Default display all loggers. |
Export any logging configuration changes to a file. This command only exports configuration if the default product logging configuration was changed.
export logging --enginename=an-engine-name --file=logging.xml
Table 8.68. export command parameters
Name | Description | Required |
---|---|---|
enginename | Engine name. | Yes. |
file | Client-side output file. | Yes. |
Reset logging levels to initial values. This command
resets any values changed by the set
command (see
the section called “set command”).
reset logging reset logging --enginename=an-engine-name reset logging --loggername=my-logger reset logging --enginename=an-engine-name --loggername=my-logger
Table 8.69. reset command parameters
Name | Description | Required |
---|---|---|
enginename | Engine name. | No. Default reset loggers on all engines. |
loggername | Logger name. | No. Default reset all loggers. |
Change current logging levels.
![]() | |
These changes are not persistent - they are reset to default levels on engine or node restart. |
set logging --configuration=my-logging-config.xml set logging --enginename=an-engine-name --configuration=my-logging-config.groovy --format=groovy set logging --loggername=my-logger --level=TRACE set logging --enginename=an-engine-name --loggername=my-logger --level=TRACE
Table 8.70. set command parameters
Name | Description | Required |
---|---|---|
configuration | New Logback
logging configuration. Cannot be specified with
loggername parameter. | No. No default. |
enginename | Engine name. | No. Default set configuration on all engines. |
format | Logging configuration file format. An enumeration with
valid values of xml and
groovy . Can only be specified with the
configuration parameter. | No. Default value is xml . |
level | New logging level. An enumeration with valid values of
ERROR , WARN ,
INFO , DEBUG , and
TRACE . Cannot be specified with
configuration parameter. | Required if loggername specified. No
default. |
loggername | Logger name. Cannot be specified with
configuration parameter. | No. Default set configuration all loggers. |
Read all new messages in an engine's log stream. This
command blocks until it is interrupted, or count
messages are read. This command can be executed against engines that
are not in the started state. When the engine is started any new log
messages will be displayed.
tail logging tail logging --enginename=an-engine-name tail logging --enginename=an-engine-name --count=100 tail logging --count=100
Table 8.71. tail command parameters
Name | Description | Required |
---|---|---|
count | Total number of log messages to read. The command terminates after this number of log messages is read. If not provided, the command continues to read until interrupted. | No. No default value. |
enginename | Engine name. | No. Default tail log streams on all engines. |
Get the administrative port for a node.
The only valid global parameter for this command is
hostname
. The hostname
global
parameter can be used to execute this command on a remote machine. SSH
access is required to the machine specified in the
hostname
parameter. See the section called “Secure shell (SSH)” for details.
getadminport node getadminport node --installpath=/opt/tibco/RUN/A --hostname=acme.com getadminport node --installpath=/opt/tibco/RUN/A
Table 8.72. getadminport command parameters
Name | Description | Required |
---|---|---|
installpath | Installation path. | No. Default is <current working
directory> / <local
host name> |
Install a node and optionally deploy an application.
The only valid global parameters for this command are
hostname
and username
. The
hostname
global parameter can be used to execute
this command on a remote machine. SSH access is required to the
machine specified in the hostname
parameter. See
the section called “Secure shell (SSH)” for details. The
username
global parameter can be used to change the
user name of the node administration user.
The javahome
parameter can be used to
configure the JRE or JDK used by the node. If the
javahome
parameter is not specified, it defaults to
JAVA_HOME
set in the environment.
The javalibrarypath
,
javabinarypath
, and
javaenvironment
parameters can be used to update
the node's environment, as required, for the JRE/JDK configured with
the javahome
parameter.
Any install node parameters that are also present in the node deployment configuration file, e.g. adminhost, override the values in the node deploy configuration.
install node --nodename=A.X install node --application=myapplication.zip --substitutions="foo=bar,bar=foo" \ --nodedeploy=mynodeploy.conf --nodename=A.X install node --application=myapplication.zip --nodedeploy=mydeploy.conf \ --substitutionfile=mysubstitutions.prop install node --adminport=1234 --nodename="MyNode" install node --webenabled --webport=5873 \ --discoveryhosts="host1:host2" --discoveryport=9737 install node --buildtype=DEVELOPMENT --memorytype=sysvshm --memorysize=2048 \ --memoryallocators=4 install node --nodedirectory=/opt/tibco/A --deploydirectories=/opt/tibco/deploy install node --javahome=$JAVA_HOME --javabinarypath=/opt/jre/bin --javalibrarypath=/opt/jre/lib --javaenvironment="foo=bar,bar=foo" --hostname=acme.com install node --nodedirectory=/opt/tibco/RUN --nodename=A \ --producthome=/opt/tibco install node --nodename=A.X --keystore=secret.ks --keystorepassword=supersecret
Here are the example contents of a substitution file.
# # Substitution properties for myConfiguration.conf # foo=bar bar=foo
Table 8.73. install command parameters
Name | Description | Required |
---|---|---|
adminhost | Set the host address used to receive administrative commands. The host can be specified as a simple host name, a fully qualified DNS name, or an IP address. | No. Default is all network interfaces. |
adminport | Set the port used to receive administrative commands.
Note that the adminport parameter follows
install node , and is not the
adminport global parameter. Use of the
adminport global parameter is illegal for
the install command, since the node is not
running when the command is executed. | No. Default is a random port. |
application | Optional application archive to install on node. | No. Default is to install node without an application. |
buildtype | Build type of node to be installed. Valid values are
DEVELOPMENT and
PRODUCTION . | No . Default is PRODUCTION . |
deploydirectories | One or more directories where application JAR files or
resources can be installed. The directory names can be
absolute or relative, and are separated with a :,
except for Windows which uses a
; . All non-absolute paths are relative to
the node nodedirectory directory. The
directories must exist. All of the JAR files contained in
these directories are automatically added to the class path
for all engines started in the node. The directories are added
in the order they are specified in the
deploydirectories parameter. All file names
within each directory are added using an ASCII sort order on
the file names. | No. Default is
<node-installation-path> /deploy .
JAR files placed in the default
deploydirectories path are removed when the
node is removed. |
discoveryhosts | A comma separated list of host names which specifies which network interfaces the node uses to send discovery requests. The host names can be specified as a simple host name, a fully qualified DNS name, or an IP address. | No. Default value is the interface associated with the system's host name. |
discoveryport | Discovery port number. | No. Default value is 54321. |
javabinarypath | A list of JRE/JDK directories to add to the node's
binary search path. Relative paths are relative to the
directory specified in the javahome
parameter. Use the : character to separate
directories in the list, except for Windows which uses a
; . If this parameter is specified then the
javahome parameter must also be specified.
This parameter is not allowed if the
application parameter is specified. | No. Default is built-in value. |
javaenvironment | A comma-separated list of name/value pairs specifying
the environment variables to add to the node's environment for
the JRE/JDK specified by the javahome
parameter. This parameter is not allowed if the
application parameter is specified. | No. Default is an empty list. |
javahome | Location of the JRE or JDK to be used by the node. This
parameter is not allowed if the application
parameter is specified. | No. Default is value of JAVA_HOME
environment variable or a built-in platform default. |
javalibrarypath | A list of JRE/JDK directories to add to the node's
library search path. Relative paths are relative to the
directory specified in the javahome
parameter. Use the : character to separate
directories in the list, except for Windows which uses a
; . If this parameter is specified then the
javahome parameter must also be specified.
This parameter is not allowed if the
application parameter is specified. | No. Default is built-in value. |
keystore | Path to the keystore file containing the master secret
the node should use when decrypting data. The keystore file
must have been generated by the create
secret command (see the section called “secret target”). | No. No default value. |
keystorepassword | The password for the keystore file. | Required if keystore parameter
specified. If not specified, a password prompt is
displayed. |
memoryallocators | Number of concurrent shared memory allocators. | No. Default value is based on number of cores in the machine. |
memorysize | Size of shared memory in megabytes. | No. Default value is 512. |
memorytype | Type of memory to use for system shared memory. The
value file indicates a memory mapped file.
The value sysvshm is System V Shared
memory. | No. Default value is file . |
nodedeploy | Optional node deploy configuration file. This parameter
can only be specified if the application
parameter is specified. | No. Default values are built-in. |
nodedirectory | The parent directory for the node's installation
directory. The full path to the node's installation directory
is
<nodedirectory> / <nodename> . | No. Default value is current working directory. |
nodename | Node name. A fully-qualified service name that uniquely identifies the node. | No. Default value is <local host
name> .cluster |
producthome | Location of the product installation on the host
specified by the global hostname
parameter. | No. Default value is based on the location of the
epadmin executable on the local
host. |
substitutions | Comma separated list of
<name> = <value>
pairs used to replace substitution variables in application
definition and node deploy configuration files. A value
specified in substitutions takes precedence
over a value specified in substitutionfile
if they both specify a value for the same name. | No. No default value. |
substitutionfile | A file containing new-line terminated
<name> = <value>
pairs used to replace substitution variables in application
definition and node deploy configuration files. Blank lines,
and lines beginning with a # , are ignored.
A value specified in substitutions takes
precedence over a value specified in
substitutionfile if they both specify a
value for the same name. | No. No default value. |
webenabled | Boolean value that controls whether the node's administration Web Server is started. | No. Default value is true . |
webport | Node administration web server port. | No. Default value is a random port. |
Nodes are killed asynchronously. The kill
command may return before the node has been killed.
When a node is killed it must be reinstalled after removing the
node directory using remove node
installpath=
<node-directory>
.
The primary use of the
kill command is
testing.
kill node
A node must be stopped before it can be removed, unless the
installpath
parameter is specified. If
installpath
is specified, and a node is running,
any running fragment engines are killed.
When a node is removed, the node coordinator is stopped if it is still running, and the node directory is deleted.
Use the hostname
and
adminport
or servicename
global
parameters to identify the node to be removed.
If the remove
command fails because it cannot
connect to the node, then use the installpath
parameter to identify the node directory. To remove a failed node on a
remote machine use the hostname
global parameter
and the producthome
parameter to specify the
location of the product installation on the remote machine. SSH access
is required to the machine specified in the
hostname
parameter. See the section called “Secure shell (SSH)” for details.
remove node remove node --installpath=/opt/tibco/RUN/A --hostname=acme.com remove node --installpath=/opt/tibco/RUN/A --producthome=/opt/tibco
Table 8.74. remove command parameters
Name | Description | Required |
---|---|---|
| Installation path. | No. No default value. |
producthome | Location of the product installation on the host
specified by the global hostname parameter.
This parameter can only be specified when the
installpath parameter is also
specified. | No. Default value is based on the location of the
epadmin executable on the local
host. |
Restore a node that was previously upgraded using the
upgrade
command.
The application being restored is specified in the
application
parameter.
The restore
command performs the following
steps if the node is running:
Leave the cluster. All partitions with this node as the active node will migrate to a replica.
Stop the node.
Update the deployment directories for the node if
deploydirectories
is set on the command
line.
Remove all managed objects for classes being restored.
Restart the node.
Add this node as a replica to all partitions that were active on this node and join the cluster.
The restore
command performs the following
steps if the node is not running:
Update the deployment directories for the node if
deploydirectories
is set on the command
line.
Remove all managed objects for classes being restored.
Start the node.
Upon successful completion a restore report is generated containing information on what was restored.
restore node --restorefile=version2.txt restore node --restorefile=version2.txt --execute restore node --restorefile=version2.txt --execute --deploydirectories=/opt/tibco/deployV2
Table 8.75. restore command parameters
Name | Description | Required |
---|---|---|
| File containing the list of classes to restore. This is
the upgradefile that was passed to the
upgrade command. All non-absolute paths are relative to the
node installpath directory. | Yes. |
allownonpartitioned | A boolean value indicating whether a restore should be
allowed if there are instances of non-partitioned objects in
shared memory. Setting this value to true
allows restores to continue, but all non-partitioned objects
are deleted as part of the restore process. | No. Default value is false . |
application | Optional application archive to restore on node. | No. Default is to restore from JAR files in deployment directories. |
| A boolean value indicating whether the command should
be executed. A value of false only
generates the restore report. A value of
true generates the report and also executes
the command. | No. Default value is false . |
deploydirectories | Updated deployment directories for the node. See Table 8.73, “install command parameters” for more details on this parameter. | No. Default is value set when node was installed. |
nodedeploy | Optional node deploy configuration file. This parameter
can only be specified if the application
parameter is specified. | No. Default values are built-in. |
substitutions | Comma separated list of
<name> = <value>
pairs used to replace substitution variables in application
definition and node deploy configuration files. A value
specified in substitutions takes precedence
over a value specified in substitutionfile
if they both specify a value for the same name. | No. No default value. |
substitutionfile | A file containing new-line terminated
<name> = <value>
pairs used to replace substitution variables in application
definition and node deploy configuration files. Blank lines,
and lines beginning with a # , are ignored.
A value specified in substitutions takes
precedence over a value specified in
substitutionfile if they both specify a
value for the same name. | No. No default value. |
Start a node or restart the node coordinator.
The start
command can be used to start a
node, or restart the node coordinator after a
terminate
command. The
installpath
parameter controls whether the
start
command is being used to start the node, or
to restart the node coordinator. If the installpath
parameter is specified, the node coordinator is restarted. If the
installpath
parameter is not specified, the node is
restarted. It is an error to specify the
installpath
parameter if the node coordinator is
already running. Executing start node on a node that is already
started succeeds without performing any action.
The start
command can restart a node
coordinator on remote nodes using the hostname
parameter. The producthome
parameter can be used to
specify the location of the product installation on the remote
node.
start node start node --autostart=false start node --maxretries=50 start node --installpath=/opt/tibco/A // restart node coordinator on remote host named remotehost --hostname=remotehost start node --installpath=/opt/tibco/A --producthome=/opt/tibco
Table 8.76. start command parameters
Name | Description | Required |
---|---|---|
autostart | A boolean value controlling whether any engines are
auto-started when the node is started. A value of
true will automatically start any engines.
A value of false will leave the engines
stopped. | No. Default value is true . |
installpath | Node installation directory. May be absolute or
relative to the current directory. This parameter must be
specified to restart the node coordinator if it was previously
stopped using the terminate
command. | No. Default is <current working
directory> / <node
name>. |
| Amount of time in seconds to wait for node to start. | No. Default value is 300 seconds. |
producthome | Location of the product installation on the host
specified by the hostname parameter. This
parameter can only be specified when the
installpath parameter is also
specified. | No. Default value is based on the location of the
epadmin executable on the local
host. |
When a node is stopped, the node coordinator is left running,
and will not be stopped unless the node is removed. Executing the
start
command will restart all application
processes.
stop node
Terminate the node coordinator.
The start
command can be used to restart the
node coordinator.
terminate node
This command upgrades the classes specified in the
upgradefile
parameter. This command must be used to
upgrade nodes in a cluster. It can be run against a newly installed
node, or a running node.
The new JAR files for the upgrade must be copied into a
deployment directory for the node before performing the
upgrade
command.
The upgrade
command performs the following
steps if the node is running:
Validate that all classes being upgraded have a partition
mapper installed, unless the
allownonpartitioned
parameter is set to
true
.
Leave the cluster. All partitions with this node as the active node will migrate to a replica.
Stop the node.
Update the deployment directories for the node if
deploydirectories
is set on the command
line.
Remove all managed objects for classes being upgraded.
Restart the node.
Add this node as a replica to all partitions that were active on this node and join the cluster.
The upgrade
command performs the following
steps if the node is not running:
Update the deployment directories for the node if
deploydirectories
is set on the command
line.
Remove all managed objects for classes being restored.
Start the node.
Upon successful completion an upgrade report is generated containing information on what was upgrade.
upgrade node --upgradefile=version2.txt upgrade node --upgradefile=version2.txt --execute upgrade node --upgradefile=version2.txt --execute --deploydirectories=/opt/tibco/deployV2 upgrade node --upgradefile=version2.txt --jvmnames=myApplication --allownonpartitioned
Table 8.77. upgrade command parameters
Name | Description | Required |
---|---|---|
| File containing the list of classes to upgrade. This
file is generated by the upgrade tool. All non-absolute paths
are relative to the node installpath
directory. | Yes. |
allownonpartitioned | A boolean value indicating whether an upgrade should be
allowed if there are instances of non-partitioned objects in
shared memory. Setting this value to true
allows upgrades to continue, but all non-partitioned objects
are deleted as part of the upgrade process. | No. Default value is false . |
application | Optional application archive to upgrade on node. | No. Default is to upgrade from JAR files in deployment directories. |
deploydirectories | Updated deployment directories for the node. See Table 8.73, “install command parameters” for more details on this parameter. | No. Default is value set when node was installed. |
| A boolean value indicating whether the command should
be executed. A value of false only
generates the upgrade report. A value of
true generates the report and also executes
the command. | No. Default value is false . |
jvmnames | A comma-separated list of JVM names to be used when searching for JVM specific deploy directories, when updating into a freshly installed node. | No. Default value is an empty list. |
nodedeploy | Optional node deploy configuration file. This parameter
can only be specified if the application
parameter is specified. | No. Default values are built-in. |
substitutions | Comma separated list of
<name> = <value>
pairs used to replace substitution variables in application
definition and node deploy configuration files. A value
specified in substitutions takes precedence
over a value specified in substitutionfile
if they both specify a value for the same name. | No. No default value. |
substitutionfile | A file containing new-line terminated
<name> = <value>
pairs used to replace substitution variables in application
definition and node deploy configuration files. Blank lines,
and lines beginning with a # , are ignored.
A value specified in substitutions takes
precedence over a value specified in
substitutionfile if they both specify a
value for the same name. | No. No default value. |
display operator display operator --type=map display operator --engine=an-engine-name display operator --path=default.myModule.myOperator display operator --engine=an-engine-name --path=default.myModule.myOperator
Table 8.78. display command parameters
Name | Description | Required |
---|---|---|
engine | Engine name filter. | No. Default display all operators on all engines. |
path | Path filter. See the section called “Path notation”. | No. Default display all operators at all paths. |
type | Operator type filter. | No. Default display all operator types. |
Get properties for custom operators.
get operator get operator --engine=an-engine-name get operator --path=default.myModule.myOperator get operator --property=myProperty
Table 8.79. get command parameters
Name | Description | Required |
---|---|---|
engine | Engine name filter. | No. Default get all properties for all engines. |
path | Path filter. See the section called “Path notation”. | No. Default get all properties at all paths. |
property | Property name filter. | No. Default get all properties. |
Resume a previously suspended custom operator. Builtin operators cannot be resumed.
resume operator resume operator --engine=an-engine-name resume operator --path=default.myModule.myOperator resume operator --engine=an-engine-name --path=default.myModule.myOperator
Table 8.80. resume command parameters
Name | Description | Required |
---|---|---|
engine | Engine name filter. | No. Default resume all custom operators on all engines. |
path | Path filter. See the section called “Path notation”. | No. Default resume all custom operators at all paths. |
Set properties for custom operators.
set operator --property=myProperty --value=hello set operator --engine=an-engine-name --property=myProperty --value=hello set operator --path=default.myModule.myOperator --property=myProperty --value=hello
Table 8.81. set command parameters
Name | Description | Required |
---|---|---|
engine | Engine name filter. | No. Default set property for all engines. |
path | Path filter. See the section called “Path notation”. | No. Default set property at all paths. |
property | Property name. | Yes. |
value | Property value. | Yes. |
Start a previously stopped custom operator. Builtin operators cannot be started.
start operator start operator --engine=an-engine-name start operator --path=default.myModule.myOperator start operator --engine=an-engine-name --path=default.myModule.myOperator
Table 8.82. start command parameters
Name | Description | Required |
---|---|---|
engine | Engine name filter. | No. Default start all custom operators on all engines. |
path | Path filter. See the section called “Path notation”. | No. Default start all custom operators at all paths. |
Stop a previously started custom operator. Builtin operators cannot be stopped.
stop operator stop operator --engine=an-engine-name stop operator --path=default.myModule.myOperator stop operator --engine=an-engine-name --path=default.myModule.myOperator
Table 8.83. stop command parameters
Name | Description | Required |
---|---|---|
engine | Engine name filter. | No. Default stop all custom operators on all engines. |
path | Path filter. See the section called “Path notation”. | No. Default stop all custom operators at all paths. |
Suspend a previously started custom operator. Builtin operators cannot be suspended.
suspend operator suspend operator --engine=an-engine-name suspend operator --path=default.myModule.myOperator suspend operator --engine=an-engine-name --path=default.myModule.myOperator
Table 8.84. suspend command parameters
Name | Description | Required |
---|---|---|
engine | Engine name filter. | No. Default suspend all custom operators on all engines. |
path | Path filter. See the section called “Path notation”. | No. Default suspend all custom operators at all paths. |
Display partition information.
Display partition information.
display partition display partition --name=my-partition display partition --zone=cluster-wide-availability-zone
Table 8.85. display command parameters
Name | Description | Required |
---|---|---|
name | Partition name. | No. Default display all partitions. |
zone | Only display partitions in this availability zone. | No. Default display partitions in all availability zones. |
Change user passwords in a local authentication realm.
change password --username=fred --password=supersecret change password --username=fred --password=supersecret --realm=my-local-auth-realm
Table 8.86. change command parameters
Name | Description | Required |
---|---|---|
password | New password. If not specified, a prompt will be displayed. | Yes. |
realm | Local authentication realm in which user is defined. | No. Default is
default-realm . |
username | User name. | Yes. |
Manage playback of recorded application data.
Display playback command status.
display playback display playback --identifier=1
Table 8.87. display command parameters
Name | Description | Required |
---|---|---|
identifier | Playback identifier. | No. Default display all active playback commands. |
Pause an active playback command.
pause playback pause playback --identifier=1
Table 8.88. pause command parameters
Name | Description | Required |
---|---|---|
identifier | Playback identifier. | No. Default pause all active playback commands. |
Resume a paused playback command.
resume playback resume playback --identifier=1
Table 8.89. resume command parameters
Name | Description | Required |
---|---|---|
identifier | Playback identifier. | No. Default resume all paused playback commands. |
Set the number of tuples per second to generate for an active playback.
set playback --ratepersecond=5.3 set playback --asfastaspossible set playback --identifier=1 --ratepersecond=1000 set playback --identifier=1 --asfastaspossible
Table 8.90. set command parameters
Name | Description | Required |
---|---|---|
asfastaspossible | Boolean to enable running simulation as fast as
possible. A value of true will attempt the
simulation as fast as possible. | One of asfastaspossible or
ratepersecond must be specified. No
default. |
identifier | Playback identifier. | No. Default all active playback commands. |
ratepersecond | The tuple playback rate per second expressed as a double value. | One of asfastaspossible or
ratepersecond must be specified. No
default. |
Start an asynchronous playback command.
start playback --simulationfile=my.sbfs start playback --simulationfile=my.sbfs --path=mycontainer start playback --simulationfile=my.sbfs --csvfile=mydata.csv --engine=my-engine --connecttime=60 start playback --simulationfile=my.sbfs --asfastaspossible start playback --simulationfile=my.sbfs --maxtime=10 --maxtuples=1000 --multiplier=2.3 start playback --simulationfile=my.sbfs --prefilltuplebuffer --tuplebuffersize=10000
Please see the TIBCO StreamBase
documentation for the syntax of the playback simulation files
(.sbfs
).
Table 8.91. start command parameters
Name | Description | Required |
---|---|---|
asfastaspossible | Boolean to enable running simulation as fast as
possible. A value of true will attempt the
simulation as fast as possible. | No. Default is false . |
connecttime | Maximum time in seconds to wait for the fragment to become available | No. Default is ten seconds. |
csvfile | Path to data file to copy to node machine for use by the simulation. | No. No default. |
engine | Engine name filter. | No. Default start playback on all engines. |
maxtime | Maximum time in seconds to run simulation. | No. Default is no maximum value. |
maxtuples | Maximum number of tuples to generate. | No. Default is no maximum value. |
multiplier | Speed up multiplier for all streams in the simulation as a double value. | No. Default is no multipler. |
path | Container name. Playback is started for this container. | No. Default is default
container. |
prefilltuplebuffer | Boolean controlling whether the tuple buffer should be
filled before sending the first tuple when using data files or
JDBC data sources. A value of true will
prefill the tuple buffer. | No. Default is false . |
simulationfile | Path to simulation file. Simulation file is copied to
the node machine, however, any referenced files in the
simulation file are not automatically copied to the node
machine. The csvfile parameter can be used
to copy these files to the node machine. | Yes. |
tuplebuffersize | Maximum number of tuples to buffer on each stream. A value of 0 disables all buffering. | No. Default is 100. |
Display and read query tables.
Display query table information.
display querytable display querytable --engine=an-engine-name display querytable --path=default.myModule.myQueryTable display querytable --engine=an-engine-name --path=default.myModule.myQueryTable
Table 8.94. display command parameters
Name | Description | Required |
---|---|---|
engine | Engine name filter. | No. Default display all query tables on all engines. |
path | Path filter. See the section called “Path notation”. | No. Default display all query tables at all paths. |
read querytable read querytable --engine=an-engine-name --verbose read querytable --path=default.myModule.myQueryTable --format=json read querytable --path=default.myModule.myQueryTable --format=csv nullstring=empty quotechar"'" read querytable --path=default.myModule.myQueryTable --limit=0 read querytable --queryscope=node --where="value=10"
Comma separated value (CSV) formatted rows have a syntax of
<value-1>
,
<value-2>
,
...,
for example Steve,30
.
JSON formatted rows have a syntax of
{
<field-name-1>
:
<value-1>
,
<field-name-2>
:
<value-2>
,
...}
,
for example {name:Steve,age:30}
.
Table 8.95. read command parameters
Name | Description | Required |
---|---|---|
engine | Engine name filter. | No. Default read all query tables on all engines. |
format | An enumeration value to control the output format of
rows. Valid values are csv and
json . | No. Default is csv . |
limit | An integer value limiting the number of rows to return. A value of 0 is no limit. | No. Default value is 10. |
nullstring | Null string indicator in csv
formatted output. | No. Default is null . |
path | Path filter. See the section called “Path notation”. | No. Default read all query tables at all paths. |
queryscope | An enumeration value to control the scope of the read
query. Valid values are cluster and
node . | No. Default is cluster . |
quotechar | Quote character value in csv
formatted output. | No. Default is " . |
verbose | Boolean value to control whether row output contains
engine and path information. A value of
true will include engine and path
information in the row output. | No. Default is false . |
where | An EventFlow predicate condition. The predicate must evaluate to true to include the row in the output. | No. Default is true (include all
rows). |
Authentication realm management.
Backup a local authentication realm.
backup realm --file=default-realm.backup backup realm --name=my-local-auth-realm --file=my-local-auth-realm.backup
Table 8.96. backup command parameters
Name | Description | Required |
---|---|---|
name | Realm name. | No. Default value is
default-realm . |
| Client-side file name. | Yes. |
display realm display realm --name=my-local-auth-realm
Table 8.97. display command parameters
Name | Description | Required |
---|---|---|
name | Realm name. | No. Default is display all realms. |
Restore local authentication realm from a backup file.
restore realm --file=/opt/backups/realm.backup restore realm --file=/opt/backups/realm.backup --name=my-local-auth-realm
Table 8.98. restore command parameters
Name | Description | Required |
---|---|---|
file | Restore from this backup file. | Yes. |
name | Realm name. | No. Default value is
default-realm . |
Set authentication realm to use for node administration.
The user specified with the --newrealusername
parameter must have administrator privileges (see the section called “Privileges”) in the authentication realm being
set for node administration, otherwise the command fails. This ensures
that there is at least one user in the new realm that has node
administration privileges.
setadmin realm setadmin realm --newrealmusername=administrator --newrealmpassword=supersecret setadmin realm --newrealmusername=administrator // password prompt displayed setadmin realm --name=my-local-auth-realm
Table 8.99. setadmin command parameters
Name | Description | Required |
---|---|---|
name | New realm name. | No. Default value is
default-realm . |
newrealmpassword | Administration user password in the new authentication realm. | No. Default value is an empty password. If not
specified, and newrealmusername is
specified, a password prompt is displayed. |
newrealmusername | Administration user in the new authentication realm. | No. Default value is operating system user executing command. |
Manage recording of application data.
Display record command status.
display record display record --identifier=1
Table 8.100. display command parameters
Name | Description | Required |
---|---|---|
identifier | Record identifier. | No. Default display all active record commands. |
Start an asynchronous record command.
start record --name=my-recording start record --name=my-recording --engine=my-engine --connecttime=60 start record --name=my-recording --directory=my-recording-data
Table 8.101. start command parameters
Name | Description | Required |
---|---|---|
connecttime | Maximum time in seconds to wait for the fragment to become available. | No. Default is ten seconds. |
engine | Engine name filter. | No. Default start playback on all engines. |
name | Record name. | Yes. |
directory | Output directory for recorded data. This directory must exist on the node machine and be writeable. | No. Default is node directory. |
Master secret management and data encryption.
Generate a master secret and store it in a key store file. No node is required to execute this command.
create secret --keystore=mastersecret.ks create secret --keystore=mastersecret.ks --keystorepassword=supersecret
Table 8.104. create command parameters
Name | Description | Required |
---|---|---|
keystore | Key store file name. This file is created. It cannot exist. | Yes. |
keystorepassword | Key store file password. | No. If not specified, a password prompt is displayed. |
Encrypt data using the master secret. The encrypted data is displayed on the console. No node is required to execute this command.
encrypt secret --keystore=mastersecret.ks encrypt secret --keystore=mastersecret.ks --keystorepassword=supersecret encrypt secret --keystore=mastersecret.ks --keystorepassword=supersecret --data=precious
Table 8.105. encrypt command parameters
Name | Description | Required |
---|---|---|
keystore | Key store file. | Yes. |
keystorepassword | Key store file password. | No. If not specified, a prompt is displayed for the password. |
data | Data to be encrypted. | No. If not specified a prompt is displayed for the data. |
Load a master secret to a node. The load fails if the node already has a master secret installed.
load secret --keystore=mastersecret.ks load secret --keystore=mastersecret.ks --keystorepassword=supersecret
Table 8.106. load command parameters
Name | Description | Required |
---|---|---|
keystore | Key store file to load to node. | Yes. |
keystorepassword | Key store file password. | No. If not specified, a prompt is displayed for the password. |
Use service discovery to discover nodes on the local network.
Browse for services. The browse command does not exit - it continues to look for new services on the network until it is explicitly terminated with an interrupt. As new services are discovered they are displayed.
browse services --servicetype=node browse services --servicename=X browse services --interval=1 --iterations=10 browse services --showproperty=NodeState browse services --detailed browse services --properties="property1=value1,property2=value2"
Table 8.107. browse command parameters
Name | Description | Required |
---|---|---|
servicetype | Browse for this service type. | No. Default is show all service types. |
servicename | Browse for this service name. | No. Default is show all discovered services. |
interval | The number of seconds to wait between service discovery broadcasts while browsing. | No. Default is ten seconds. |
iterations | The number of browse operations to perform before exiting. | No. Default is browse until interrupted. |
detailed | Boolean value controlling detailed output. Cannot be
used with showproperty parameter. | No. Default is false . |
showproperty | Display a specific property for a service if property
set. Cannot be used with detailed
parameter. | No. No default value. |
properties | Comma separated list of
<name> = <value>
pairs used to filter returned services. | No. Default value is an empty list. |
display services display services --servicename=X display services --detailed display services --showproperty=NodeState display services --properties="property1=value1,property2=value2"
Table 8.108. display command parameters
Name | Description | Required |
---|---|---|
servicetype | Service type to discover. | No. Default is show all service types. |
servicename | Service name to discover. | No. Default is show all discovered services. |
detailed | Boolean value controlling detailed output. Cannot be
used with showproperty parameter. | No. Default is false . |
showproperty | Display a specific property for a service if property
set. Cannot be used with detailed
parameter. | No. No default value. |
properties | Comma separated list of
<name> = <value>
pairs used to filter returned services. | No. Default value is an empty list. |
Verify that service discovery is working correctly.
verify services verify services --mode=verification-type
Table 8.109. verify command parameters
Name | Description | Required |
---|---|---|
mode | Discovery verification mode. May be one of server (starts a discovery server), client (sends a discovery request), or clientserver (does both). | No. Default value is clientserver. |
![]() | |
The --debug global option adds discovery service debug tracing to the output of this command. |
Create and manage snapshot archive files.
Diagnostic information is captured by the
snapshot
target. The snapshot
target creates an archive containing log files and other information
required to help troubleshoot problems. A snapshot archive can be
captured for an active or a failed node.
Snapshots are taken against active nodes using the
adminport
and hostname
or
servicename
global parameters.
Snapshots are taken against failed nodes using the
installpath
parameter.
Create a snapshot archive. The created archive is named
<node
name>
.
<timestamp>
.zip
.
create snapshot create snapshot --description="issue 4567" create snapshot --destination=/tmp create snapshot --includeclasspaths create snapshot --installpath=/opt/tibco/nodes/A
Table 8.110. create command parameters
Name | Description | Required |
---|---|---|
description | Optional description to include in archive. If
specified a file named description.txt is
included in the snapshot archive with the specified
description. | No. No default value. |
destination | Optional destination directory for archive. | No. Default directory is <node
directory>
<node
name> . |
includeclasspaths | Optional boolean value on whether or not to include the contents of a node's classpath directories. | No. Default value is false . |
installpath | Optional node installation path. This parameter can be used to specify the node directory to create a snapshot archive if the node is not operational. | Yes, if node not operational, otherwise optional. No default value. |
Access and control runtime statistics collection.
Details on the statistics data gathered, and their meaning, can be found in the TIBCO StreamBase® Runtime Performance Tuning Guide.
Supported statistics are defined in Table 8.111, “Supported statistics”. The columns in the table have these meanings:
Statistic - Statistic name
Description - Brief description.
Enable / Disable - Yes indicates that the statistic must be explicitly enabled to start collection and disabled to stop collection.
Clear - Yes indicates that the statistic value can be cleared.
Detailed - Yes indicates that detailed output is available for the statistic.
Filter - Indicates whether
filtering is support for the statistic. For statistics that support
filtering, the valid filter values are java
or
none
. A value of java
indicates that statistics are only reported for Java managed
objects. A value of none
reports statistics for
all managed objects.
Table 8.111. Supported statistics
Statistic | Description | Enable / Disable | Clear | Detailed | Filter |
---|---|---|---|---|---|
activetransactions | Active Transactions | No | No | No | No |
allocationsummary | Allocator Allocation Summary | No | No | No | No |
allocatorbuckets | Allocator Buckets | No | No | Yes | No |
allocatorsummary | Allocator Summary | No | No | No | No |
blockedtransactions | Blocked Transactions | No | No | No | No |
classtransform | Class Transformation | No | Yes | Yes | No |
cpu | CPU Utilization | Yes | No | No | No |
deadlock | Deadlock | No | Yes | Yes | No |
disk | Disk | Yes | No | No | No |
distributionchannel | Distribution Network | Yes | Yes | Yes | No |
distributionnode | Distribution | No | Yes | No | No |
engine | Node Processes | No | No | No | No |
eventbus | Shared Memory IPC | No | Yes | Yes | No |
eventlog | Shared Memory IPC Detailed | Yes | Yes | No | No |
files | Files | No | No | No | No |
hash | Shared Memory Hashing | No | No | Yes | No |
host | Kernel Information | No | No | No | No |
javacache | JNI Cache | No | Yes | No | No |
javastack | Java Stack | No | No | No | No |
javatransaction | Transaction | Yes | Yes | Yes | No |
jni | Runtime JNI Calls | Yes | Yes | No | No |
localmutex | Local Mutex | Yes | Yes | Yes | No |
memoryusage | Memory Usage | No | Yes* | No | No |
mutex | Shared Memory Mutex | Yes | Yes | Yes | No |
namedcache | Named Caches | No | Yes | No | No |
native | Native Runtime Calls | No | Yes | No | No |
navigation | Query | No | Yes | No | java or none .
Default is java . |
network | Network | Yes | No | No | No |
object | Objects | No | Yes | No | java or none .
Default is java . |
partition | Partition | No | Yes | No | No |
sar | System Activity Reporter | Yes | No | No | No |
systeminfo | System Information | No | No | No | No |
threads | System Threads | No | No | No | No |
timer | Timers | No | No | No | No |
transaction | Transaction Locking | Yes | Yes | Yes | java or none .
Default is java . |
transactioncontention | Transaction Contention | Yes | Yes | No | java or none .
Default is java . |
transactionpromotion | Transaction Promotion | Yes | Yes | No | java or none .
Default is java . |
vmstat | Virtual Memory | Yes | No | No | No |
* - clearing memoryusage only clears the memory throttle statistics.
Clear current statistic values. Clearing a statistic that does not support clear has no effect. See Table 8.111, “Supported statistics” for a list of statistics that support clearing.
clear statistics --statistics="transaction,mutex"
Table 8.112. clear command parameters
Name | Description | Required |
---|---|---|
statistics | Comma separated list of statistics. See Table 8.111, “Supported statistics” for a complete list of valid statistics. | Yes. |
Disable collection of statistics. Disabling a statistic that does not support disable has no effect. See Table 8.111, “Supported statistics” for a list of statistics that support disable.
disable statistics --statistics="transaction,mutex"
Table 8.113. disable command parameters
Name | Description | Required |
---|---|---|
statistics | Comma separated list of statistics. See Table 8.111, “Supported statistics” for a complete list of valid statistics. | Yes. |
Displaying a statistic that has no data available will generate empty output.
display statistics --statistics="transaction,mutex" display statistics --statistics="transaction,mutex" --detailed display statistics --statistics="object,transaction" --filter=none display statistics --statistics="transaction,mutex" --label="Transaction & Mutex Report"
Table 8.114. display command parameters
Name | Description | Required |
---|---|---|
| Comma separated list of statistics. See Table 8.111, “Supported statistics” for a complete list of valid statistics. | Yes. |
detailed | Boolean indicating whether detailed values should be displayed. See Table 8.111, “Supported statistics” for statistics that support detailed output. | No. Default value is false . |
filter | Filter statistics output. See Table 8.111, “Supported statistics” for statistics that support filtering and valid filter values. Only a single filter value may be specified for a list of statistics. | No. Default value is statistics
specific.
|
label | A value to add to the header in non-delimited output. | No. No default. |
Enable collection of statistics. Enabling a statistic that does not support enable has no effect. See Table 8.111, “Supported statistics” for a list of statistics that support enabling.
enable statistics --statistics="transaction,mutex"
Table 8.115. enable command parameters
Name | Description | Required |
---|---|---|
statistics | Comma separated list of statistics. See Table 8.111, “Supported statistics” for a complete list of valid statistics. | Yes. |
Display a timed snapshot of statistic values.
Internally the snapshot command performs these steps in order -
,
warm up sleep
, disableclear
, enable
, time
sleep
,
,
disable
display
. The warm up sleep
duration
is controlled by the
warmupseconds
parameter. The time
sleep
duration is controlled by the
time
parameter.
snapshot statistics --statistics="transaction,mutex" --seconds=10 snapshot statistics --statistics="transaction,mutex" --seconds=10 --warmupseconds=10 --detailed snapshot statistics --statistics="object,transaction" --seconds=10 --filter=none snapshot statistics --statistics="transaction,mutex" --seconds=10 --warmupseconds=10 --serialize
Table 8.116. snapshot command parameters
Name | Description | Required |
---|---|---|
| Comma separated list of statistics. See Table 8.111, “Supported statistics” for a complete list of valid statistics. | Yes. |
seconds | The number of seconds to collect data. | Yes. |
warmupseconds | The number of seconds to wait before starting the snapshot collection cycle. | No . Default value is 0. |
detailed | Value passed to the display command
in the snapshot collection cycle. | No. No default value. |
filter | Value passed to the display command
in the snapshot collection cycle. | No. No default value. |
serialize | Serialize collection of statistics if
true . A separate collection cycle is
executed for each statistic being collected, starting with the
warm up sleep . | No. Default value is false . |
Interact with EventFlow streams.
dequeue stream dequeue stream --engine=an-engine-name --verbose --where="value=10" dequeue stream --path=default.myModule.myOutputStream --format=json dequeue stream --format=csv --nullstring=empty --quotechar="'" dequeue stream --timestamp --timestampformat="HH:mm:ss"
Table 8.117. dequeue command parameters
Name | Description | Required |
---|---|---|
engine | Engine name filter. | No. Default dequeue all streams on all engines. |
format | An enumeration value to control the output format of
dequeued tuples. Valid values are csv and
json . | No. Default is csv . |
nullstring | Null string indicator in csv
formatted output. | No. Default is null . |
path | Path filter. See the section called “Path notation”. | No. Default dequeue all streams at all paths. |
quotechar | Quote character value in csv
formatted output. | No. Default is " . |
timestamp | Boolean value to control whether tuple output contains
a timestamp. A value of true will include a
timestamp in the tuple output. | No. Default is false . |
timestampformat | A string value specifying the timestamp format to use.
The timestamp format is defined by the Java
SimpleDataFormat class. | No. Default is yyyy-MM-dd
HH:mm:ss.SSSZ . |
verbose | Boolean value to control whether tuple output contains
engine and path information. A value of
true will include engine and path
information in the tuple output. | No. Default is false . |
where | An EventFlow predicate condition. The predicate must evaluate to true to include the tuple in the output. | No. Default is true (include all
tuples). |
display stream display stream --engine=an-engine-name display stream --path=default.myModule.myOutputStream display stream --path=default.myModule.myOutputStream --detailed display stream --type=input
Table 8.118. display command parameters
Name | Description | Required |
---|---|---|
detailed | Boolean value to control whether detailed stream
information, e.g. schema, total tuples, etc. should be
included in the output. A value of true
will include detailed output. | No. Default is false . |
engine | Engine name filter. | No. Default display all streams on all engines. |
path | Path filter. See the section called “Path notation”. | No. Default display all streams at all paths. |
type | An enumeration value to filter the type of streams to
display. Valid values are input ,
output , and all . | No. Default is all . |
enqueue stream enqueue stream --engine=an-engine-name enqueue stream --path=default.myModule.myInputStream --format=json enqueue stream --path=default.myModule.myInputStream --format=csv --nullstring=empty --quotechar="'" enqueue stream --path=default.myModule.myInputStream --input=myinput.json
Comma separated value (CSV) formatted tuples have a syntax of
<value-1>
,
<value-2>
,
...,
list values are enclosed in square brackets. For example
Steve,30,[Bob,Mary,Joe]
.
JSON formatted tuples have a syntax of
{
<field-name-1>
:
<value-1>
,
<field-name-2>
:
<value-2>
,
...}
,
list values are enclosed in square brackets. For example
{name:Steve,age:30,children:[Bob,Mary,Joe]}
.
Tuples are enqueued following a new line for both standard input or an input file.
Table 8.119. enqueue command parameters
Name | Description | Required |
---|---|---|
engine | Engine name filter. | No. Default enqueue to all streams on all engines. |
format | An enumeration value to control the input format of
enqueued tuples. Valid values are csv and
json . | No. Default is csv . |
input | Read input from this file or standard input. A value of
- will read from standard input. | No. Default is - . |
nullstring | Null string indicator in csv
formatted input. | No. Default is null . |
path | Path filter. See the section called “Path notation”. | No. Default enqueue to all streams at all paths. |
quotechar | Quote character value in csv
formatted input. | No. Default is " . |
Windows system service management.
![]() | |
This command is only supported on the Windows platform. |
Install an application as a system service.
install systemservice --name="my-service" --nodedirectory=my-nodes --nodename=A.X install systemservice --name="my-service" --nodedirectory=my-nodes --nodename=A.X \ --application=my-app.zip --displayname=my-app --startup=automatic \ --nodedeploy=node.conf --substitutionfile=my-app.properties install systemservice --name="my-service" --nodedirectory=my-nodes --nodename=A.X \ --username=.\my-service-user --password=super-secret
Table 8.120. install command parameters
Name | Description | Required |
---|---|---|
application | Path to application archive. | No. No default value. If not specified node is started without an application. |
displayname | Service display name. | No. Default value is name parameter
value. |
name | Service name. | Yes. |
nodedeploy | Path to node deploy configuration file. Can only be
specified if application parameter is also
specified. | No. No default value. |
nodedirectory | Path of the parent directory that will contain the node
installation directory. The node installation directory is
<nodedirectory> \ <nodename> . | Yes. |
nodename | Fully qualified node service name. | Yes. |
password | User account password. If not specified with a
non-builtin Windows account (LocalService ,
NetworkService , or
LocalSystem ) username a
password prompt is displayed. | No. No default value. |
startup | An enumeration specifying the service startup behavior.
Valid values are automatic ,
delayed , and
manual . | No. Default value is manual . |
substitutionfile | Path to substitution file (see the section called “Substitution variables”). Can only be
specified if application parameter is also
specified. | No. No default value. |
username | User account to use for service. This parameter must be
specified as
<domain-name> \ <user-name> .
The local domain must be specified using a period
(. ). The NT AUTHORITY
domain name must be used for the builtin
LocalService and
NetworkService accounts. | No. Default value is the LocalSystem
account. |
Manage runtime tunable variables.
Tuning runtime variables is done using the
tunable
target. Runtime variables set using the
tunable
target are only valid until a node or engine
is stopped.
Supported tunable variables are defined in Table 8.122, “Supported tunable variables”.
Category - Variable category.
Variable Identifier - Variable identifier.
Scope - Variable scope. A
variable is scoped either to a node, or a specific engine running on
a node. Node scope is specified with a literal value of
Node
, while engine scope is specified using the
engine name.
Description - Variable description.
The full name of a tunable variable is
<category-name>
.<variable-name>
,
for example flusher.flushIntervalSeconds
, where
flusher
is the category name and
flushIntervalSeconds
is the variable
identifier.
Table 8.122. Supported tunable variables
Get current tunable variable values.
get tunable get tunable --category=engine get tunable --name=engine.timerParallelism
Table 8.123. get command parameters
Name | Description | Required |
---|---|---|
category | Category name filter. | No. Default value is all categories. |
name | Variable name filter, specified as
< category-name> .<variable-name> | No. Default value is all variables. |
set tunable --name=engine.timerParallelism --value="4" set tunable --name=engine.timerParallelism --value="4" --scope=System::administration
Table 8.124. set command parameters
Name | Description | Required |
---|---|---|
name | Variable name filter, specified as
< category-name> .<variable-name> | Yes. |
value | Variable value. Simple value or an array. Arrays are specified as comma separated values. An array element that contains a comma must be enclosed in single-quotes. | Yes. |
scope | Variable scope, either Node or a
valid engine name. | No. Default value is Node . |
Reset a tunable value to its initial value.
reset tunable --name=engine.timerParallism reset tunable --name=engine.timerParallelism scope=System::administration
Table 8.125. reset command parameters
Name | Description | Required |
---|---|---|
name | Variable name filter, specified as
< category-name> .<variable-name> | Yes. |
scope | Variable scope, either Node or a valid engine name. | No. Default value is Node . |
Manage users in a local authentication realm.
add user --username=auser --roles=monitor add user --username=auser --password=supersecret --roles=monitor,administrator --locked add user --username=auser --roles=monitor --passwordexpirationdays=10 add user --username=auser --roles=monitor --realm=my-local-authentication-realm
Table 8.126. add command parameters
Name | Description | Required |
---|---|---|
locked | Boolean to lock the user's account.
true locks the account,
false leaves the account unlocked. | No. Default value is false . |
password | Password. If not provided, a prompt is displayed. | Yes. |
passwordexpirationdays | Password expiration time, in days. A value of 0 means that the password does not expire. | No. Default value is 0. |
realm | Add user to this local authentication realm. | No. Default value is
default-realm . |
roles | Comma separated list of roles to which this user belongs. | Yes. At least one must be specified. |
username | User name. | Yes. |
Display local authentication realm users.
display user display user --realm=my-local-auth-realm
Table 8.127. display command parameters
Name | Description | Required |
---|---|---|
realm | Filter output to a specific realm. | No. All local authentication realms displayed by default. |
remove user --username=auser remove user --username=auser --realm=my-local-auth-realm
Table 8.128. remove command parameters
Name | Description | Required |
---|---|---|
realm | Remove user from this local authentication realm. | No. Default value is
default-realm . |
username | User name. | Yes. |
Update an existing user's account values.
![]() | |
This command cannot be used to change a user's password. Use the section called “change command” command to change a user's password. |
update user --username=auser --roles="monitor,administrator" update user --username=auser --roles=monitor --passwordexpirationdays=20 update user --username=auser --roles=monitor --realm=my-local-auth-realm --locked
Table 8.129. update command parameters
Name | Description | Required |
---|---|---|
locked | Boolean to lock the user's account.
true locks the account,
false leaves the account unlocked. | No. Default value is false . |
passwordexpirationdays | Password expiration time, in days. A value of 0 means that the password does not expire. | No. Default value is 0. |
realm | Update user in this local authentication realm. | No. Default value is
default-realm . |
roles | Comma separated list of roles to which this user belongs. | Yes. At least one must be specified. |
username | User name. | Yes. |