File Formats, Data Descriptions, MIBs, and System Processes Reference
The T_SVCGRP
class represents configuration and run-time attributes of services/groups within an application. These attribute values identify and characterize configured services/groups, and provide run-time tracking of statistics and resources associated with each object.
Both the T_SERVICE
class and the T_SVCGRP
class define activation time attribute settings for service names within the application. When a new service is activated (advertised), either due to initial activation of a server or due to a call to tpadvertise()
, the following hierarchy exists for determining the attribute values to be used at service startup time.
T_SVCGRP
object exists (matching service name and server group), the attributes defined in that object are used to initially configure the advertised service.T_SERVICE
object exists (matching service name), the attributes defined in that object are used to initially configure the advertised service.The specification of configuration attributes for application services is completely optional, that is, services advertised by servers as they are activated will take on the established default service attribute values if configured values are not available (see above for a description of how attribute values are identified at service activation time). Service names to be offered by a server are built in at run time (see buildserver(1)) and may be overridden by the command-line options specified for a server object (see T_SERVER
:TA_CLOPT
and servopts(5)
).
Once a T_SVCGRP
object is active, it is represented solely by the T_SVCGRP
class. A particular service name/group name combination may have more than one associated T_SVCGRP
class at run time if there are multiple servers within the group offering the service.
(k)— |
SET
operations on this class must specify sufficient key fields to uniquely identify the object being addressed. If the object is active, it may be necessary to augment the TA_SERVICENAME
and TA_SRVGRP
key fields with either TA_RQADDR
or TA_SRVID
. Modifications to an active object will affect that object and the related configuration record but not other active objects that may have derived their run-time attributes from the same configuration record.TA_SERVICENAME
.Server group name. Server group names cannot contain an asterisk (*), comma, or colon. The hierarchy of the search for service attributes to be used at service activation time is described in the previous T_SVCGRP
OVERVIEW
section.
A GET
operation will retrieve configuration and run-time information for the selected T_SVCGRP
object(s). The following states indicate the meaning of a TA_STATE
returned in response to a GET
request.
A SET
operation will update configuration and run-time information for the selected T_SVCGRP
object. Note that run-time modifications to a service object may affect more than one active server. The following states indicate the meaning of a TA_STATE
set in a SET
request. States not listed may not be set.
Automatically begin a transaction ("Y"
) when a service request message is received for this service if the request is not already in transaction mode.
This T_SVCGRP
object imposes the indicated load on the system. Service loads are used for load balancing purposes, that is, queues with higher enqueued workloads are less likely to be chosen for a new request.
This T_SVCGRP
object has the indicated dequeuing priority. If multiple service requests are waiting on a queue for servicing, the higher priority requests will be serviced first.
Blocktime limit (in seconds) indicating the minimum amount of time a blocking ATMI call will block before timing out for this service name. The per service blocktime is applicable only when receiving a reply to the service.
If not specified, the default is 0 which indicates that the system-wide BLOCKTIME
value specified in the UBBCONFIG RESOURCES
section is used for the service.
Time limit (in seconds) for processing requests for this service name. Servers processing service requests for this service will be abortively terminated (kill -9) if they exceed the specified time limit in processing the request. A value of 0 for this attribute indicates that the service should not be abortively terminated.
Limitation: This attribute value is not enforced on BEA Tuxedo release 4.2.2 sites or earlier.
Transaction timeout value in seconds for transactions automatically started for this T_SVCGRP
object. Transactions are started automatically when a request not in transaction mode is received and the T_SVCGRP
:TA_AUTOTRAN
attribute value for the service is "Y
".
Symbolic address of the request queue for an active server offering this service. See T_SERVER
:TA_RQADDR
for more information on this attribute.
Unique (within the server group) server identification number for an active server offering this service. See T_SERVER
:TA_SRVID
for more information on this attribute.
Function name within the associated server assigned to process requests for this service. On a SET
request, the server must be able to map the function name to a function using its symbol table to successfully advertise the service. In some situations (for example, direct calls to tpadvertise()
by the server), the function name for an ACTive
service object will not be known and the string "?
" will be returned as the attribute value.
Limitation: This attribute may only be set along with a state change from INActive
to ACTive
.
Number of service requests completed with respect to the retrieved ACTive
or SUSpended
object since it was activated (advertised).
Limitation: This attribute is returned only when the T_DOMAIN
:TA_LDBAL
attribute value is set to "Y"
.
Type of service. APP
indicates an application defined service name. CALLABLE
indicates a system provided callable service. SYSTEM
indicates a system provided and system callable service. SYSTEM
services are not available to application clients and servers for direct access. Note that when used as a GET
key field, a delimited list ('|' delimiter) may be used to retrieve multiple types of service group entries on one request. By default, only APP
services are retrieved.
Number of requests currently enqueued to this service. This attribute is incremented at enqueue time and decremented when the server dequeues the request. Limitation: This attribute is returned only when the T_DOMAIN
:TA_LDBAL
attribute value is set to "Y"
.