TS/MP System Management Manual (H06.05+, J06.03+)

Configuring Objects in a PATHMON Environment
HP NonStop TS/MP System Management Manual541819-007
3-19
Defining Attributes for Guardian and OSS Servers
Attributes That Apply Only to Guardian Servers
These attributes are valid only for Guardian servers:
ASSIGN assigns a logical file name to a physical file used by your server program
and specifies the attributes of that file.
You can include multiple ASSIGN specifications for a server class to cover as
many files as necessary. The ASSIGN specification sets up a correspondence
between the name used for a file by your server program and the name by which
the TACL command recognizes this file. If your server program is written in
COBOL, you use this attribute to override a program file assignment made in the
SELECT clause. Among the file attributes that you can specify with ASSIGN are
disk extent size, access exclusion mode, file code, and record and block size.
IN specifies the name of the input file passed to the server in the startup message.
It can be a DEFINE name. If you omit this attribute, spaces are passed to the
server.
OUT specifies the name of the OUT file passed to the server in the startup
message. It can be a DEFINE name. If you omit this attribute, spaces are passed
to the server.
PARAM assigns a string value to a parameter name, which the PATHMON process
then sends in a PARAM message to each server process as it starts. You can
include multiple PARAM specifications for a server class, just as you can include
multiple ASSIGN specifications. (If you specified a backup processor for the
processor attribute, the PATHMON process automatically adds a PARAM for the
backup processor to the PARAM message.)
STARTUP specifies a character string sent to the server in the startup message.
VOLUME specifies the volume and subvolume names to be passed to the server
in the startup message. If you omit this attribute, the defaults are those set with the
CMDVOL command.
These commands defines a Guardian SERVER object and then adds it under the
server class name ORDER-SRV:
= RESET SERVER
= SET SERVER PROCESSTYPE GUARDIAN
= SET SERVER ASSIGN ORDERS, $DATA.REG1.ORDFILE
= SET SERVER ASSIGN PARTS, $DATA.REG2.PARTFILE
= SET SERVER CPUS (2:4,3:5,0:6)
= SET SERVER MAXSERVERS 5
= SET SERVER NUMSTATIC 3
= SET SERVER PARAM SWITCH-1 “ON”
= SET SERVER PROGRAM \SYS.$DATA.SRVRS.ORDSRV
= ADD SERVER ORDER-SRV
The SET commands in the preceding example establish these characteristics for the
SERVER:
This is a Guardian server. (PROCESSTYPE attribute.)