bizappscli
tool
You can use the CLI bizappscli
tool to manage grouping patterns,
grouping pattern processing schedules, grouping pattern configurations and the execution of grouping patterns.
You can use the tool to create reports for analyzing the content of business
applications.
You can use the tool to export the graph of the business application topology
to the SVG format.
The script is in the <taddm installation
directory>/dist/sdk/bin directory. Depending on the operating system, the
following formats of the script are available:
- For Linux, AIX, and Linux on System z -
bizappscli.sh
. - For Windows -
bizappscli.bat
.
Note: In the
bizappscli
tool section, bizappscli.sh
format is
used in all examples. If you work on Windows operating system, remember to use
bizappscli.bat
format.Important: To use the
bizappscli
tool, you must have
the Update permission granted for the DefaultAccessCollection.To run the
bizappscli
tool, you must specify an action and options. The
following options apply to all actions:-H
,--hostname
<arg> - defines the host name. The default value is0.0.0.0
. If you use the-T
parameter, you must also specify the-H
parameter.-P
,--port
<arg> - defines the port. The default value is9433
.-p
,--password
<arg> - defines the password of the TADDM user.-T
,--truststore
<arg> - defines the location of the truststore file, jssecacerts.cert, with a certificate for connection to the TADDM server. This parameter is required for secure connection to TADDM. If you use this parameter, you must also specify the-H
parameter.-u
,--user
<arg> - defines the TADDM user name.
Note: When the values of the options contain spaces, you must enclose the values in double
quotation marks, for example
"my grouping pattern"
. Otherwise, the tool interprets
a word after the first space as the name of the action, and an error is generated.To see all available actions, run the script without any arguments. To see a description of an
action, use the following
script:
bizappscli.sh help -a <action>
For example,
bizappscli.sh help -a listPatterns
.You can use the bizappscli.sh
tool to control the processing of grouping
patterns. Multiple patterns can be processed on a single storage server, which by default is primary
storage server, and also on multiple storage servers.
- Execution groups
- The patterns are processed inside a thread pool called ExecutionGroup. Each storage server can devote threads to a particular execution group, which becomes a part of multiple servers thread pool, which then processes patterns. The size of the thread pool defines how many patterns can be run in parallel. Each pattern can be processed by five threads at the same time, which is controlled by the ExecutionGroup mechanism.
- Execution schedules
- Patterns are run according to their schedule. Each pattern must be associated with a schedule
during the creation. A schedule object contains information about when, or how often, the pattern is
processed, and what execution group is used for that processing. By default, only one schedule
called
default
is created, with a default interval set to every 4 hours. This default schedule is associated with the default execution group. - Single pattern manual testing
- You can test a single pattern manually outside of the defined schedule.
Configuring bizappscli
tool properties
- com.ibm.taddm.bizappscli.jvmArgs=-Xmx1024M
- This property defines JVM options for the
bizappscli
tool usage. If there is not enough memory to run the tool, you can increase the maximum heap size of JVM processes by modifying the value of this property in the $COLLATION_HOME/sdk/etc/collation.properties file. For example, exporting business application topologies to the SVG format might require more memory than defined in the default settings.