TS/MP 2.5 System Management Manual

= SET SERVER DEFINE =PARTS, CLASS MAP, FILE $DATA.REG2.PRTFIL
= SET SERVER DEFINE =ORDERS,CLASS MAP, FILE $DATA.REG2.ORDFIL
= SET SERVER ENV DEBUGLOGFORMAT=TRUE
= SET SERVER ENV HANGAROUND=TRUE
= SET SERVER MAXSERVERS 4
= SET SERVER NUMSTATIC 3
= SET SERVER PROGRAM app/bin/ordsrv1
= SET SERVER STDERR process/error
= SET SERVER STDIN process/orders/new
= SET SERVER STDOUT process/orders/out
= ADD SERVER ORDER-SRV1
This is an OSS process. (PROCESSTYPE attribute).
As shown by the -1 and process/log values in the arglist, the process logs requests and
responses in an OSS file with the absolute filename /centrl/inven/orders/process/
log. (The server code must get the OSS current working directory information from the CWD
attribute and add it to the filename “process/log” to produce the full, absolute pathname.)
The -t value indicates that a timestamp is associated with each request and response. (ARGLIST
attribute.)
NOTE: The server program name is always passed as the first argument in the arglist,
regardless of what you specify in the arglist.
The PATHMON process starts the first server process in the server class in processor 2, the
second server process in processor 3, and the third in processor 0. If the PATHMON process
starts more than three server processes, it reuses the CPUs in the order specified; a fourth
server process, for instance, would start in processor 2 if that processor were available.
If processor 2 is down, the PATHMON process instead starts the first server process in processor
3. If processor 3 is down, the PATHMON process starts the first server in processor 0. (CPUS
attribute)
The OSS current working directory for this server process is /centrl/inven/orders. Relative
filenames like those specified for the PROGRAM and STDERR, STDIN, and STDOUT attributes
are resolved against this directory name to create an absolute pathname. (CWD attribute.)
PARTS is defined as the logical filename for the physical file located at $DATA.REG2.PRTFIL.
ORDERS is defined as the logical filename for the physical file located at $DATA.REG2.ORDFIL.
(DEFINE attribute).
A variable called DEBUGLOGFORMAT is defined. The value is TRUE. (ENV attribute.)
A variable called HANGAROUND is defined. The value is TRUE. (ENV attribute.)
The total number of all server processes in the server class that the PATHMON process can
run simultaneously is four. (MAXSERVERS attribute.)
The total number of static server processes allowed is three. (NUMSTATIC attribute.)
The object code for the server class is stored in the OSS file
/centrl/inven/orders/app/bin/ordsrv1. (PROGRAM attribute.)
Errors are sent to a file with the absolute pathname /centrl/inven/orders/process/error.
(STDERR attribute.)
Input is received from a file with the absolute pathname
/centrl/inven/orders/process/orders/new. (STDIN attribute.)
Output is sent to a file with the absolute pathname /centrl/inven/orders/process/orders/out.
(STDOUT attribute.)
Additional Considerations
Following are some configuration considerations that can affect system performance.
Configuring Server Classes 65