The T_MACHINE class represents application attributes pertaining to a particular machine. These attribute values represent machine characteristics, per-machine sizing, statistics, customization options, and UNIX System filenames.
1 2Default is same as value set for this attribute in Class 3Default is TA_LMID and TA_PMID must each be unique within this class. Only one of these fields is required as a key field for a SET operation. If both are specified, then they must match the same object.
T_DOMAIN.
TA_APPDIR for this machine followed by /ULOG.
Attribute Semantics
TA_LMID: string[1...30]
TM_MIB definition as the sole means of mapping application resources to T_MACHINE objects.
TA_PMID: string[1...30]
uname -n'' command when run on the identified system.
TA_TUXCONFIG: string[2...64]
TA_TUXCONFIG attribute value on the master machine. The information contained in this file is automatically propagated to all other T_MACHINE objects as they are activated. See TA_ENVFILE in this class for a discussion of how this attribute value is used in the environment.
TA_TUXDIR: string[2...78]
TA_ENVFILE in this class for a discussion of how this attribute value is used in the environment.
TA_APPDIR: string[2...78]
TA_ENVFILE in this class for a discussion of how this attribute value is used in the environment.
TA_STATE:
GET: {ACTive|INActive|PARtitioned}
GET operation will retrieve configuration and run-time information for the selected T_MACHINE 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|ReACtivate|INActive|ForceINactive|CLEaning}
SET operation will update configuration and run-time information for the selected T_MACHINE object. The following states indicate the meaning of a TA_STATE set in a SET request. States not listed may not be set.
TA_UID: 0 <= num
tmboot(1), tmshutdown(1), and tmadmin(1) must run as the indicated user on this machine. Application and administrative servers on this machine will be started as this user.
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_GID: 0 <= num
tmboot(1), tmshutdown(1), and tmadmin(1) must run as part of the indicated group on this machine. Application and administrative servers on this machine will be started as part of this group.
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_ENVFILE: string[0...78]
When booting servers, local servers inherit the environment of tmboot(1) and remote servers (not on the MASTER) inherit the environment of tlisten(1). TUXCONFIG, TUXDIR, and APPDIR are also put into the environment when a server is booted based on the information in the associated T_MACHINE object. PATH will be set in the environment to
APPDIR:TUXDIR/bin:/bin:/usr/bin:<path>
where <path> is the value of the first PATH= line appearing in the machine environment file, if one exists (subsequent PATH= lines will be ignored). This PATH will be used as a search path for servers that are specified with a simple or relative pathname (i.e., that doesn't begin with slash). LD_LIBRARY_PATH will be set in the environment to
APPDIR:TUXDIR/lib:/lib:/usr/lib:<lib>
where <lib> is the value of the first LD_LIBRARY_PATH= line appearing in the machine environment file, if one exists (subsequent LD_LIBRARY_PATH= lines will be ignored).
As part of server initialization (before tpsvrinit (3c) is called), a server will read and export variables from both the machine and server ENVFILE files. If a variable is set in both the machine and server ENVFILE, the value in the server ENVFILE will override the value in the machine ENVFILE with the exception of PATH which is appended. A client will process only the machine ENVFILE file. When the machine and server ENVFILE files are processed, lines that are not of the form <ident>= will be ignored, where <ident> begins with an underscore or alphabetic character, and contains only underscore or alphanumeric characters. If a PATH= line is encountered, PATH will be set to
APPDIR:TUXDIR/bin:/bin:/usr/bin:<path>
PATH= line appearing in the environment file (subsequent PATH= lines are ignored). If PATH appears in both the machine and server files, then <path> is <path1>:<path2> where <path1> is from the machine ENVFILE and <path2> is from the server ENVFILE. If a LD_LIBRARY_PATH= line is encountered, LD_LIBRARY_PATH will be set to
APPDIR:TUXDIR/lib:/lib:/usr/lib:<lib>
where <lib> is the value of the first LD_LIBRARY_PATH= line appearing in the environment file (subsequent LD_LIBRARY_PATH= lines are ignored). Attempts to reset TUXDIR, APPDIR, or TUXCONFIG will be ignored and a warning will be printed if the value does not match the corresponding T_MACHINE attribute value. Limitation: Modifications to this attribute for an active object will not affect running servers or clients.
TA_PERM: 0001 <= num <= 0777
Limitations: Modifications to this attribute for an active object will not affect running servers or clients.
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_ULOGPFX: string[0...78]
userlog (3c) file on this machine. The userlog (3c) file name is formed by appending the string .mmddyy to the TA_ULOGPFX attribute value. mmddyy represents the month, day, and year that the messages were generated. All application and system userlog (3c) messages generated by clients and servers running on this machine are directed to this file.
Limitation: Modifications to this attribute for an active object will not affect running servers or clients.
TA_TYPE: string[0...15]
TA_TYPE attributes should be set when the application spans a heterogeneous network of machines or when compilers generate dissimilar structure representations. The default for this attribute, a 0-length string, matches any other machine with a 0-length string as its TA_TYPE attribute value.
TA_MAXACCESSERS: 1 <= num < 32K
tmadmin need not be accounted for in this figure, but all application servers and clients and TMS servers should be counted. If the application is booting workstation listeners on this site, then both the listeners and the potential number of workstation handlers that may be booted should be counted.
TA_MAXCONV: 0 <= num < 32K
TA_MAXGTT: 0 <= num < 32K
TA_MAXWSCLIENTS: 0 <= num < 32K
TA_MAXACCESSERS attribute. The appropriate setting of this parameter helps to conserve IPC resources since workstation client access to the system is multiplexed through a BEA TUXEDO system supplied surrogate, the workstation handler. It is an error to set this number greater than TA_MAXACCESSERS.
TA_MAXACLCACHE: 10 <= num <= 32000
TA_SECURITY is set to ACL or MANDATORY_ACL. The appropriate setting of this parameter helps to conserve on shared memory resources and yet reduce the number of disk access to do ACL checking.
TA_TLOGDEVICE: string[0...64]
TA_TUXCONFIG attribute for this machine.
TA_TLOGNAME: string[0...30]
TA_TLOGDEVICE, they must have unique names. TA_TLOGNAME must be different from the name of any other table on the TA_TLOGDEVICE where the DTP transaction log table is created.
TA_TLOGSIZE: 1 <= num 2K+1
TA_TLOGSIZE attribute value is subject to limits based on available space in the BEA TUXEDO filesystem identified by the TA_TLOGDEVICE attribute.
TA_BRIDGE: string[0...78]
BRIDGE process placed on this logical machine to access the network. This is a required value for participation in a networked application via a TLI-based BEA TUXEDO system binary. This attribute is not needed for sockets-based BEA TUXEDO system binaries.
TA_NADDR: string[0...78]
BRIDGE process placed on the logical machine as its listening address. The listening address for a BRIDGE is the means by which it is contacted by other BRIDGE processes participating in the application. This attribute must be set if the logical machine is to participate in a networked application, that is, if the LAN option is set in the T_DOMAIN:TA_OPTIONS attribute value.
If string has the form "0xhex-digits" or "\\xhex-digits", it must contain an even number of valid hex digits. These forms are translated internally into a character array containing the hexadecimal representations of the string specified. For TCP/IP addresses either the
"//hostname:port"
or
"//#.#.#.#:port"
format is used.
TA_NLSADDR: string[0...78]
tlisten(1) process servicing the network on the node identified by this logical machine. This network address is of the same format as that specified for the TA_NADDR attribute above.
This attribute must be set if the logical machine is to participate in a networked application, that is, if the LAN option is set in the T_DOMAIN:TA_OPTIONS attribute value.
TA_CMPLIMIT: remote[,local]
MAXLONG", which is dynamically translated to the maximum long setting for the machine. Setting only the remote value will default local to MAXLONG.
Limitation: This attribute value is not part of the T_MACHINE object for active sites running BEA TUXEDO system Release 4.2.2 or earlier. However, site release identification is not determined until run-time, so this attribute may be set and accessed for any inactive object. When a BEA TUXEDO system Release 4.2.2 or earlier site is activated, the configured value is not used.
TA_TMNETLOAD: 0 <= num < 32K
Limitation: This attribute value is not part of the T_MACHINE object for active sites running BEA TUXEDO System Release 4.2.2 or earlier. However, site release identification is not determined until runtime, so this attribute may be set and accessed for any inactive object. When a BEA TUXEDO System Release 4.2.2 or earlier site is activated, the configured value is not used.
TA_SPINCOUNT: 0 <= num
TMSPINCOUNT environment variable, which the system uses if the value is not set here or in the ubbconfig file.
Limitation: This attribute value is not part of the T_MACHINE object for active sites running BEA TUXEDO System Release 4.2.2 or earlier. However, site release identification is not determined until runtime, so this attribute may be set and accessed for any inactive object. When a BEA TUXEDO system Release 4.2.2 or earlier site is activated, the configured value is not used.
TA_ROLE: {MASTER|BACKUP|OTHER}
MASTER indicates that this machine is the master machine, BACKUP indicates that it is the backup master machine, and OTHER indicates that the machine is neither the master nor backup master machine.
TA_MINOR: 1 <= num
TA_RELEASE: 1 <= num
TA_SWRELEASE for the same machine.
MINENCRYPTBITS={0|40|128}
Limitation: Modifications to this attribute will not effect established network links.
MAXENCRYPTBITS={0|40|128}
Limitation: Modifications to this attribute will not effect established network links.
TA_MAXPENDINGBYTES: 100000 <= num <= MAXLONG
BRIDGE process.
TA_CURACCESSERS: 0 <= num < 32K
TA_CURCLIENTS: 0 <= num < 32K
TA_CURCONV: 0 <= num < 32K
TA_CURGTT: 0 <= num < 32K
TA_CURRLOAD: 0 <= num
T_DOMAIN:TA_LDBAL attribute is "N" or the T_DOMAIN:TA_MODEL attribute is "MP", then an FML32 NULL value is returned (0).
TA_CURWSCLIENTS: 0 <= num < 32K
TA_HWACCESSERS: 0 <= num < 32K
TA_HWCLIENTS: 0 <= num < 32K
TA_HWCONV: 0 <= num < 32K
TA_HWGTT: 0 <= num < 32K
TA_HWWSCLIENTS: 0 <= num < 32K
TA_NUMCONV: 0 <= num
tpconnect (3c) operations performed from this machine.
TA_NUMDEQUEUE: 0 <= num
tpdequeue (3c) operations performed from this machine.
TA_NUMENQUEUE: 0 <= num
tpenqueue (3c) operations performed from this machine.
TA_NUMPOST: 0 <= num
tppost (3c) operations performed from this machine.
TA_NUMREQ: 0 <= num
tpacall (3c) or tpcall (3c) operations performed from this machine.
TA_NUMSUBSCRIBE: 0 <= num
tpsubscribe (3c) operations performed from this machine.
TA_NUMTRAN: 0 <= num
tpbegin (3c)) from this machine.
TA_NUMTRANABT: 0 <= num
tpabort (3c)) from this machine.
TA_NUMTRANCMT: 0 <= num
tpcommit (3c)) from this machine.
TA_PAGESIZE: 1 <= num
TA_SWRELEASE: string[0...78]
TA_HWACLCACHE: 0 <= num
TA_ACLCACHEHITS: 0 <= num
TA_ACLCACHEACCESS: 0 <= num
TA_ACLFAIL: 0 <= num
TA_WKCOMPLETED: 0 <= num
TA_WKINITIATED: 0 <= num
SHM mode (see T_DOMAIN:TA_MODEL) applications can have only one T_MACHINE object. MP mode (see T_DOMAIN:TA_MODEL) applications with the LAN option set (see T_DOMAIN:TA_OPTIONS) may have up to the maximum number of configurable T_MACHINE objects as defined by the T_DOMAIN:TA_MAXMACHINES attribute. Many attributes of this class are tunable only when the application is inactive on the site. Since the master machine at least must be active in a minimumly active application, the use of the ATMI interface routines to administer the application is not possible with respect to the master machine object. The function tpadmcall (3c) is being provided as a means configuring an unbooted application and may be used to set these attributes for the master machine.