SNAX Creator-2 Configuration and Control Manual

Configuring SNAX Creator-2 Objects
Startup and Configuration of SNAX Creator-2
2–10 117143 SNAX Creator-2 Configuration and Control Manual
For example, the following command configures a TACL application named mytacl
with values specified for the four common optional attributes:
ADD APPL $CREA.C-MYTACL
, METHOD TACL
, CPUS "0 1 2 3 4 5 6"
, MAXARGS 5
, MINARGS 1
, SYSTEM \node1
Configuring TACL Applications
TACL applications are started on the system specified by the SYSTEM attribute (this
defaults to the system on which the SNAX Creator-2 is running). Activating TACL
applications allows for the dynamic selection of the system, swap volume, and
primary and backup CPUs for load-balancing purposes. The CPUS attribute can be
used to limit load balancing to a specific set of CPUs.
In addition to the CPUS, MAXARGS, MINARGS, and SYSTEM attributes, when the
METHOD of the APPL object is TACL, the following optional attributes are supported:
BACKUPCPU, which specifies where the backup TACL process executes. If
BACKUPCPU is not specified, it is started in [#CPUB]. To execute TACL without
a backup, specify BACKUPCPU as -1.
SEGVOL, which specifies the name of the disk from which the segment TACL uses
is selected. If SEGVOL is not specified, operating system defaults apply.
PRIMARYCPU, which specifies where the primary TACL process executes. If
PRIMARYCPU is not specified, it is started in [#CPUA].
For example, the following command configures the application named mytacl as a
TACL application. The CPUS attribute specifies load balancing across seven CPUs.
The SYSTEM attribute specifies three system nodes where the TACL application can
execute.
ADD APPL $CREA.C-mytacl
, METHOD TACL
, CPUS "0 1 2 3 4 5 6"
, SYSTEM "\node1 \node2 \node3"
, SEGVOL $data
When a user sends a logon data stream containing mytacl, SNAX Creator-2 receives a
Program Start Request with the PLU name mytacl and the name of the device to
open, and searches for an APPL object named C-mytacl in the configuration
database. It then selects one of the systems \node1, \node2, or \node3 and starts a
TACL process using one of the CPUs 0 through 6 as primary and another as backup.
The SEGVOL parameter for TACL is $data.
Configuring Server-Started Applications
Server-started applications allow control of the method used to start an application. A
user-supplied server process must first be started.