The T_SERVER
class represents configuration and run-time attributes of servers within an application. These attribute values identify and characterize configured servers as well as provide run-time tracking of statistics and resources associated with each server object.
1Defaults to value set for this attribute in Class T_DOMAIN
Attribute Semantics
TA_SRVGRP
: string[1...30]
TA_SRVID
: 1 <= num < 30,001
TA_SERVERNAME
: string[1...78]
TA_SERVERNAME
will run on the machine(s) identified by the T_GROUP
:TA_LMID
attribute for this server's server group. If a relative pathname is given, then the search for the executable file is done first in TA_APPDIR
, then in TA_TUXDIR/bin
, then in /bin
and /usr/bin
, and then in <path>, where <path> is the value of the first PATH
= line appearing in the machine environment file, if one exists. Note that the attribute value returned for an active server will always be a full pathname. The values for TA_APPDIR
and TA_TUXDIR
are taken from the appropriate T_MACHINE
object. See discussion of the T_MACHINE
:TA_ENVFILE
attribute for a more detailed discussion of how environment variables are handled.
TA_GRPNO
: 1 <= num < 30,000
TA_STATE
:
GET
:{ACTive|INActive|MIGrating|CLEaning|REStarting|SUSpended|PARtitioned|DEAd
}
GET
operation will retrieve configuration and run-time information for the selected T_SERVER
object(s). The following states indicate the meaning of a TA_STATE
returned in response to a GET
request. States not listed will not be returned.
SET: {NEW|INValid|ACTive|INActive|DEAd}
SET
operation will update configuration and run-time information for the selected T_SERVER
object. The following states indicate the meaning of a TA_STATE
set in a SET
request. States not listed may not be set.
TA_BASESRVID
: 1 <= num < 30,001
TA_MAX
attribute value of 1, this attribute will always be the same as TA_SRVID
. However, for servers with a TA_MAX
value greater than 1, this attribute indicates the base server identifier for the set of servers configured identically.
TA_CLOPT
: string[0...256]
servopts
(5) reference page for details. Limitation: Run-time modifications to this attribute will not affect a running server.
TA_ENVFILE
: string[0...78]
T_MACHINE
:TA_ENVFILE
for a complete discussion of how this file is used to modify the environment. Limitation: Run-time modifications to this attribute will not affect a running server.
TA_GRACE
: 0 <= num
T_SERVER
:TA_MAXGEN
limit applies. This attribute is meaningful only for restartable servers, that is, if the T_SERVER
:TA_RESTART
attribute is set to "Y
". When a restarting server would exceed the TA_MAXGEN
limit but the TA_GRACE
period has expired, the system resets the current generation (T_SERVER
:TA_GENERATION
) to 1 and resets the initial boot time (T_SERVER
:TA_TIMESTART
) to the current time. A value of 0 for this attribute indicates that a server should always be restarted.
Note that servers sharing a request queue (that is, equal values for T_SERVER:TA_RQADDR
) should have equal values for this attribute. If they do not, then the first server activated will establish the run-time value associated with all servers on the queue.
Limitation: Run-time modifications to this attribute will affect a running server and all other active servers with which it is sharing a request queue. However, only the selected server's configuration parameter is modified. Thus, the behavior of the application depends on the order of boot in subsequent activations unless the administrator ensures that all servers sharing a queue have the same value for this attribute.
TA_MAXGEN
: 1 <= num < 256
T_SERVER
:TA_RESTART == "Y"
) over the specified grace period (T_SERVER
:TA_GRACE
). The initial activation of the server counts as one generation and each restart also counts as one. Processing after the maximum generations is exceeded is discussed above with respect to TA_GRACE
.
Note that servers sharing a request queue (that is, equal values for T_SERVER
:TA_RQADDR
) should have equal values for this attribute. If they do not, then the first server activated will establish the run-time value associated with all servers on the queue.
Limitation: Run-time modifications to this attribute will affect a running server and all other active servers with which it is sharing a request queue. However, only the selected server's configuration parameter is modified. Thus, the behavior of the application depends on the order of boot in subsequent activations unless the administrator ensures that all servers sharing a queue have the same value for this attribute.
TA_MAX
: 1 <= num < 1,001
tmboot
(3c) boots T_SERVER
:TA_MIN
objects of the server, and additional objects may be started individually (by starting a particular server id) or through automatic spawning (conversational servers only). Run-time modifications to this attribute will affect all running servers in the set of identically configured servers (see TA_BASESRVID
above) as well as the configuration definition of the server.
TA_MIN
: 1 <= num < 1,001
T_SERVER
:TA_RQADDR
is specified and TA_MIN
is greater than 1, then the servers will form an MSSQ set. The server identifiers for the servers will be T_SERVER
:TA_SRVID
up to TA_SRVID
+ T_SERVER
:TA_MAX
- 1. All occurrences of the server will have the same sequence number, as well as any other server parameters.
Limitation: Run-time modifications to this attribute will not affect a running server.
TA_RCMD
: string[0...78]
Note that servers sharing a request queue (that is, equal values for T_SERVER
:TA_RQADDR
) should have equal values for this attribute. If they do not, then the first server activated will establish the run-time value associated with all servers on the queue.
Limitation: Run-time modifications to this attribute will affect a running server and all other active servers with which it is sharing a request queue. However, only the selected server's configuration parameter is modified. Thus, the behavior of the application depends on the order of boot in subsequent activations unless the administrator ensures that all servers sharing a queue have the same value for this attribute.
TA_RESTART
: {Y|N
}
Y
") or non-restartable ("N
") server. If server migration is specified for this server group (T_DOMAIN
:TA_OPTIONS/MIGRATE
and T_GROUP
:TA_LMID
with alternate site), then this attribute must be set to "Y
".
T_SERVER
:TA_RQADDR
) should have equal values for this attribute. If they do not, then the first server activated will establish the run-time value associated with all servers on the queue.
Limitation: Run-time modifications to this attribute will affect a running server and all other active servers with which it is sharing a request queue. However, only the selected server's configuration parameter is modified. Thus, the behavior of the application depends on the order of boot in subsequent activations unless the administrator ensures that all servers sharing a queue have the same value for this attribute.
TA_SEQUENCE
: 1 <= num < 10,000
tmboot
(1) ) or shutdown ( tmshutdown
(1) ) relative to other servers. T_SERVER
objects added without a TA_SEQUENCE
attribute specified or with an invalid value will have one generated for them that is 10,000 or more and is higher than any other automatically selected default. Servers are booted by tmboot
(1) in increasing order of sequence number and shutdown by tmshutdown
(1) in decreasing order. Run-time modifications to this attribute affect onlytmboot
(1) and tmshutdown
(1) and will affect the order in which running servers may be shutdown by a subsequent invocation of tmshutdown
(1).
TA_SYSTEM_ACCESS
: {FASTPATH|PROTECTED
}
T_DOMAIN
:TA_SYSTEM_ACCESS
for a complete discussion of this attribute.
Limitation: Run-time modifications to this attribute will not affect a running server.
TA_CONV
: {Y|N
}
Y
") or request/response server ("N
").
TA_REPLYQ
: {Y|N
}
TA_REPLYQ == "Y"
). MSSQ servers that expect to receive replies should set this attribute to "Y
".
TA_RPPERM
: 0001 <= num <= 0777
T_SERVER
:TA_REPLYQ == "N"
), then this attribute is ignored. Limitation: This is a UNIX System specific attribute that may not be returned if the platform on which the application is being run is not UNIX-based.
TA_RQADDR
: string[0...30]
TA_RQADDR
attribute value for more than one server is the way multiple server, single queue (MSSQ) sets are defined. Servers with the same TA_RQADDR
attribute value must be in the same server group.
TA_RQPERM
: 0001 <= num <= 0777
Limitation: This is a UNIX System specific attribute that may not be returned if the platform on which the application is being run is not UNIX-based.
TA_LMID
: LMID
TA_GENERATION
: 1 <= num < 32K
tmboot
(1) or activated through the TM_MIB
(5), its generation is set to 1. Each time the server dies abnormally and is restarted, its generation is incremented. Note that when T_SERVER
:TA_MAXGEN
is exceeded and T_SERVER
:TA_GRACE
has expired, the server will be restarted with the generation reset to 1.
TA_PID
: 1 <= num
Limitation: This is a UNIX System specific attribute that may not be returned if the platform on which the application is being run is not UNIX-based.
TA_RPID
: 1 <= num
T_SERVER
:TA_REPLYQ == "N"
), then this attribute value will be the same as T_SERVER
:TA_RQID
.
Limitation: This is a UNIX System specific attribute that may not be returned if the platform on which the application is being run is not UNIX-based.
TA_RQID
: 1 <= num
T_SERVER
:TA_REPLYQ == "N"
), then this attribute value will be the same as T_SERVER
:TA_RPID
.
Limitation: This is a UNIX System specific attribute that may not be returned if the platform on which the application is being run is not UNIX-based.
TA_TIMERESTART
: 1 <= num
T_SERVER
:TA_LMID
, when the server was last started or restarted.
TA_TIMESTART
: 1 <= num
T_SERVER
:TA_LMID
, when the server was first started. Restarts of the server do not reset this value; however, if T_SERVER
:TA_MAXGEN
is exceeded and T_SERVER
:TA_GRACE
is expired, this attribute will be reset to the time of the restart.
TA_NUMCONV
: 0 <= num
tpconnect
(3c).
TA_NUMDEQUEUE
: 0 <= num
tpdequeue
(3c).
TA_NUMENQUEUE
: 0 <= num
tpenqueue
(3c).
TA_NUMPOST
: 0 <= num
tppost
(3c).
TA_NUMREQ
: 0 <= num
tpcall
(3c) or tpacall
(3c).
TA_NUMSUBSCRIBE
: 0 <= num
tpsubscribe
(3c).
TA_NUMTRAN
: 0 <= num
TA_NUMTRANABT
: 0 <= num
TA_NUMTRANCMT
: 0 <= num
TA_TOTREQC
: 0 <= num
T_SERVER
:TA_CONV == "Y"
), this attribute value indicates the number of completed incoming conversations. This is a run-time attribute that is kept across server restart but is lost at server shutdown.
TA_TOTWORKL
: 0 <= num
T_SERVER
:TA_CONV == "Y"
), this attribute value indicates the workload of completed incoming conversations. This is a run-time attribute that is kept across server restart but is lost at server shutdown.
TA_CLTLMID
: LMID
TA_CLTPID
: 1 <= num
TA_CLTREPLY
: {Y|N
}
Y
") or is not expecting a reply ("N
").
TA_CMTRET
: {COMPLETE|LOGGED
}
TP_COMMIT_CONTROL
characteristic for this server. See the description of the BEA TUXEDO system ATMI function tpscmt
(3) for details on this characteristic.
TA_CURCONV
: 0 <= num
tpconnect
(3c) that are still active.
TA_CURREQ
: 0 <= num
tpcall
(3c) or tpacall
(3c) that are still active.
TA_CURRSERVICE
: string[0...15]
TA_CURTIME
: 1 <= num
T_SERVER
:TA_LMID
. This attribute can be used to compute elapsed time from the T_SERVER
:TA_TIMESTART
and T_SERVER
:TA_TIMERESTART
attribute values.
TA_LASTGRP
: 1 <= num < 30,000
T_GROUP
:TA_GRPNO
) of the last service request made or conversation initiated from this server outward.
TA_SVCTIMEOUT
: 0 <= num
T_SERVICE
:TA_SVCTIMEOUT
for more information.
TA_TIMELEFT
: 0 <= num
TA_TRANLEV
: 0 <= num
None.