Pathway/XM System Management Manual

Configuring Servers
Compaq NonStop™ Pathway/XM System Management Manual426761-001
6-14
Configuring SERVICE Objects
Note that the following items must match before PXMCFG overwrites the name,
otherwise an error is returned:
1. In the export statement, the variable type (PROCESS) must be the same as the
attribute type, which in this example is a process.
2. In the import statement, the variable type (PROCESS) must match the type in the
export statement.
3. In the import statement, the variable name (PRNAME) must match the name in the
export statement.
If the SERVICE object definition does not specify an overriding name for a variable,
then the name specified in the exported definition is used. PXMCFG resolves all
imported names using the NODE object definition associated with the SERVICE object.
Configuring SERVICE Objects
For example, the following sequence of PXMCFG statements defines a SERVICE
object and then adds it under the name APP1. All servers imported using this SERVICE
object will automatically be associated with the server group APP1.
RESET SERVICE
SET SERVICE FILE APP1CTL
SET SERVICE NODE SERVER-NODE
SET SERVICE GROUP SHUTDOWN
SET SERVICE GROUP SERVICES
SET SERVICE VARIABLE FILE:accounts=DATABASE.ACCOUNTS
SET SERVICE VARIABLE FILE:customers=$VOL2.DATABASE.CUST
SET SERVICE VARIABLE FILE:logfile=$S.#APPLOG
SET SERVICE VARIABLE FILE:tape=$TAPE1
ADD SERVICE APP1
The SET statements in this example establish the following characteristics for the
SERVER objects to be imported:
The name of the SuperCTL file that contains the new SERVER object definitions to
be imported is APP1CTL.
The system and the processor resources used for server processes in these server
classes, as well as any specified attribute defaults, are defined in the NODE object
SERVER-NODE.
The imported server class definitions are defined as members of two groups:
SHUTDOWN and SERVICES.
For all variables named this in
the imported definitions: The file names will be changed to this:
accounts DATABASE.ACCOUNTS
customers
$VOL2.DATABASE.CUST
logfile $S.#APPLOG
tape $TAPE1