Pathway/XM System Management Manual

Configuring the Pathway/XM Environment
Compaq NonStop™ Pathway/XM System Management Manual426761-001
4-13
Choosing Object Names
Choosing Object Names
When adding multiple objects of any one kind, you should name them in a logical way
that makes them easy to identify and manage later. For example, you might name
SERVER objects according to the functions they perform: ORDERS for a server class
that processes orders or INV for one that updates inventory control records.
In large Pathway/XM environments, the names you assign can be particularly important
for identifying and managing objects. The names you choose can help you identify and
relate objects when displaying information and when performing operations such as
starting and stopping objects.
For TERM and SERVER objects, the GROUP option of the SET statement allows you
to define a group of objects to be referred to by a single name. If you have defined such
groups in your configuration, you can later operate on or display information about the
entire group of objects with a single PXMCOM command by specifying the group name
instead of the object name.
For example, you could issue the following statements to define three terminals as
members of a group called MONDAY:
SET TERM INITIAL MAINMENU
SET TERM TCP TCP-1
SET TERM GROUP MONDAY
ADD TERM TERM-101, FILE $T101
ADD TERM TERM-102, FILE $T102
ADD TERM TERM-103, FILE $T103
After your Pathway/XM environment is configured and started, you can then issue a
single START command to start all three terminals:
= START TERM GROUP MONDAY
You can define an object to belong to more than one group. For example, you could
define terminal groups named MONDAY, WEDNESDAY, and FRIDAY so that each
group contains all the terminals to be started on a particular day, even if some of the
terminals must be started on all three of those days. You define a terminal as a member
of all three groups by using multiple SET statements:
SET TERM GROUP MONDAY
SET TERM GROUP WEDNESDAY
SET TERM GROUP FRIDAY
ADD TERM TERM-104, FILE $T104
If you define groups of terminals and server classes and give meaningful names to them,
the individual names of your TERM and SERVER objects become less important.
Group names are especially useful for TERM objects, because TERM names are shorter
and often need to reflect the names of the associated physical devices.
When you issue a command that uses a group name or an asterisk (*) to operate on a
group or an entire class of object, for example, STOP SERVER *, or STOP TERM
LOC31 where LOC31 is the name of a terminal groupthe objects are processed in
alphabetical order by object name.