Compaq ACMS for OpenVMS
Managing Applications


Previous Contents Index

Table 15-30 shows the TASK_WAIT_ST relation. An index is provided for this relation. It is defined with column STR_ID, duplicates are allowed, and the type is sorted.

Table 15-30 Columns for Table EPC$1_253_TASK_WAIT_ST
Column Name Data Type Domain
STR_ID INTEGER STR_ID_DOMAIN
SEGMENT_NUMBER SMALLINT SEGMENT_NUMBER_DOMAIN
STR_SEGMENT VARCHAR(0)  

Table 15-31 shows the TRANSACTION relation.

Table 15-31 Columns for Table EPC$1_253_TRANSACTION
Column Name Data Type Domain
COLLECTION_RECORD_ID SMALLINT COLLECTION_RECORD_ID_DOMAIN
IMAGE_RECORD_ID INTEGER IMAGE_RECORD_ID_DOMAIN
CONTEXT_NUMBER INTEGER CONTEXT_NUMBER_DOMAIN
TIMESTAMP_START DATE VMS  
TIMESTAMP_END DATE VMS  
APPL_SPEC_START VARCHAR(39)  
APPL_SPEC_START_STR_ID INTEGER STR_ID_DOMAIN
TASK_NAME_START VARCHAR(31)  
TASK_NAME_START_STR_ID INTEGER STR_ID_DOMAIN
APL_USERNAME_START VARCHAR(12)  
APL_USERNAME_START_STR_ID INTEGER STR_ID_DOMAIN
SUB_USERNAME_START VARCHAR(12)  
SUB_USERNAME_START_STR_ID INTEGER STR_ID_DOMAIN
STEP_NAME_START VARCHAR(31)  
STEP_NAME_START_STR_ID INTEGER STR_ID_DOMAIN
EXCH_STEP_NAME_START VARCHAR(31)  
EXCH_STEP_NAME_START_STR_ID INTEGER STR_ID_DOMAIN
TXN_ID_START VARCHAR(36)  
TXN_ID_START_STR_ID INTEGER STR_ID_DOMAIN
CROSS_FAC_14_START INTEGER  
TXN_STATUS_END VARCHAR(31)  
TXN_STATUS_END_STR_ID INTEGER STR_ID_DOMAIN
CROSS_FAC_14_END INTEGER  

Table 15-32 shows the TRANSACTION_ST relation. An index is provided for this relation. It is defined with column STR_ID, duplicates are allowed, and the type is sorted.

Table 15-32 Columns for Table EPC$1_253_TRANSACTION_ST
Column Name Data Type Domain
STR_ID INTEGER STR_ID_DOMAIN
SEGMENT_NUMBER SMALLINT SEGMENT_NUMBER_DOMAIN
STR_SEGMENT VARCHAR(0)  


Chapter 16
Managing ACMS Licensing

Concurrent-use licensing increases the number of licensing options available for ACMS run-time and remote-access systems. You can choose the more cost-effective licensing method for your ACMS system: concurrent-use or unlimited-use.

Concurrent-use licensing allows you to control access to ACMS run-time and remote-access systems, based on a predetermined number of users that can access ACMS at any one time. Concurrent-use licenses apply to both single node systems and to clusters.

For more information about licenses and kit options, see Compaq ACMS Version 4.3 for OpenVMS Installation Guide.

16.1 Overview of ACMS Kits and Licensing Options

This section provides an overview of the ACMS kits and the functions provided by each kit, describes concurrent-use and unlimited-use licenses, and lists the license types that are available for each kit.

16.1.1 ACMS Kits

ACMS kits determine what functions ACMS users are able to perform. The three types of ACMS kits are:

16.1.2 ACMS License Types

ACMS offers two types of licenses:

Unlimited-use licenses are available for all ACMS kits. Concurrent-use licenses are available only for the ACMS run-time and remote-access kits; there is no concurrent-use license available for the ACMS development kit.

Table 16-1 summarizes all of the ACMS kits and available licenses.

Table 16-1 ACMS Licenses
ACMS Kit Unlimited-Use Concurrent-Use
Development ACMS Not available
Run-time ACMS-RT ACMS-RT-USER
Remote-access ACMS-REM ACMS-REM-USER

Concurrent-use licenses are expressed in terms of units. 100 license units are required for each concurrent user; for example, a concurrent-use license of 500 units allows five users to access ACMS concurrently. Each group of 100 units is referred to as a set of license units. For more information on license units, see Compaq ACMS Version 4.3 for OpenVMS Software Product Description (25.50.xx).

Concurrent-use licenses of the same kit type, for instance, either the run-time kit or remote-access kit, are cumulative. If you have more than one concurrent-use license, add together the number of units on each license to determine the total number of users that can access ACMS.

Only one license type is in effect on an ACMS system at any one time. If you have more than one ACMS license loaded, ACMS chooses, at startup, the license with the least restrictive functionality.

The following list shows all license types, from least to most restrictive functionality:

For more information on license management, refer to Compaq ACMS Version 4.3 for OpenVMS Installation Guide and the License Management Facility (LMF) documentation in the OpenVMS documentation set.

16.2 License Unit Allocation

License units are allocated to a user. The term user refers to an ACMS task submitter, which includes:

The following rules apply to the allocation of license units at run time.

The following sections describe rules for license unit allocation in special cases:

16.2.1 License Unit Allocation in OpenVMS Clusters

License units of a concurrent-use license for an OpenVMS Cluster are shared among all nodes in the cluster that have the license loaded. The rules for license unit allocation are the same whether a node is in a cluster or not. The only difference is that nodes of a cluster share the same pool of license units.

When a user is signed in on Node A of a cluster, a set of license units is allocated, even if the user is already signed in on Node B or C of the cluster. Therefore, it is possible for a user to hold a set of license units from the common license unit pool on every node of the cluster, if that user is signed in on every node.

For example, a cluster with a 50-user concurrent-use license has three nodes. A user on Node A is allocated one set of license units on Node A. If that user also selects tasks in applications on Node B and Node C, the user is allocated a set of license units on each of those nodes. The user's total license unit allocation corresponds to three user sign-ins. All license units are allocated out of the shared pool of license units corresponding to 50 users, leaving a total number of license units corresponding to 47 users.

16.2.2 Concurrent-Use Licenses with the QTI

The QTI is an ACMS System Interface (SI) agent program. As with all agent programs, the QTI uses the ACMS$SIGN_IN service to sign a submitter in before invoking a task on behalf of that submitter, thus allocating a set of license units.

When the QTI dequeues a queued task element, it checks the user name associated with the element. The first time the QTI dequeues an element with that user name, it signs the submitter in to ACMS but does not sign the submitter out of ACMS when that task ends. Instead, the QTI leaves the submitter signed in for at least the time specified in QTI_SUB_TIMEOUT. If another queued element with the same user name is dequeued prior to the time-out period, a submitter is already signed in for the user. This avoids the overhead of signing in and signing out the submitter.

If you have concurrent-use licenses for your ACMS system, a set of license units is allocated by the QTI for each submitter that the QTI signs in. The license units remain allocated until the QTI signs a submitter out.

Use the ACMSGEN parameter QTI_SUB_TIMEOUT to indicate how long a signed-in submitter can remain idle before the QTI signs the submitter out of ACMS.

16.2.3 Concurrent-Use Licenses with Detached Tasks

For every detached task started, the ACMS$SIGN_IN service signs in a task submitter. If you have concurrent-use licenses, a set of license units is allocated for each detached task that is started. These license units remain allocated until the task submitter signs out and the detached task stops.

See Compaq ACMS for OpenVMS Writing Applications for more information about concurrent-use licenses with detached tasks.

16.3 Managing Systems with Concurrent-Use Licenses

ACMS provides three operator commands that allow you to determine the identities and number of users accessing a system:

Note

The scope of ACMS operator commands is limited to one node. Therefore, in Compaq OpenVMS Cluster environments, you must execute the operator commands on each node of the cluster to obtain a total view of how license units are allocated in the cluster.

16.3.1 Releasing License Units

When a user is unable to sign in to an ACMS system, or unable to select a task on a remote node because the license units for the node have been exhausted, you may want to release license units to allow other higher-priority users access to the ACMS system.

There are two operator commands that allow you to release license units:

Before executing either of these commands, use the ACMS/SHOW USER command to identify local and remote users accessing the system.

To release license units, issue the ACMS/CANCEL USER command on the local node to cancel a local user. This forces the local user to sign out of the ACMS system. To cancel a remote user, use the ACMS/CANCEL USER command on the remote node on which the user was originally signed in. This releases all the allocated license units. This command requires OPER privileges.

In an extreme case, you can release license units allocated to a remote user on an ACMS system by shutting down all applications used by the remote user. The ACMS/STOP APPLICATION command shuts down an application. Stopping an application affects all users connected to that application.


Previous Next Contents Index