HP 3000 Manuals

Listing Classes, Devices, Paths, and Volumes [ System Startup, Configuration, and Shutdown Reference Manual ] MPE/iX 5.0 Documentation


System Startup, Configuration, and Shutdown Reference Manual

Listing Classes, Devices, Paths, and Volumes 

Prior to changing any aspect of the physical system configuration, list
the actual paths and devices as they are currently configured.  SYSGEN
lists the information either at the user's terminal or on the printer.

There are four IO configurator commands that list objects:  LCLASS, LDEV,
LPATH, and LVOL.

LCLASS lists the class attribute and the association between classes and
logical device numbers.

LDEV lists I/O devices.

LPATH lists I/O paths.

LVOL lists the system volume table.

Listing classes 

A class name is an identifier to which numerous devices can be assigned.
Unlike LDEV numbers, device class names are not unique to each device.
For example, all of your system's printers could be assigned the class
name LP. (LP, which stands for "line printer," is a common device class
name.)

The LCLASS command (abbreviated LC) lists the class names, class modes,
and the devices associated with the classes as they apply to the I/O
configuration.

LCLASS has the following parameters:

     LCLASS (LC)     [CLASS     = classname,...]

                           [DEST      = OFFLINE]

The CLASSNAME parameter specifies the class that LCLASS lists.  To see
the assigned LDEVs of a particular device class, enter LCLASS classname 
at the IO configurator prompt:
___________________________________________________________________
|                                                                 |
|                                                                 |
|      io>LCLASS DISC                                             |
|                                                                 |
|      CLASSNAME   MODE    MIN MODE  DCC MODE  # DCC LDEV         |
|      ---------  -------  --------  --------  ----  ----         |
|      DISC       default   random             0     1,2,3,21,22, |
|                                                                 |
|                                                                 |
___________________________________________________________________

          Example 5-5.  Listing Disk Classes 

Specify multiple classes by surrounding them by parentheses and
separating them with commas.  To list the assigned LDEV numbers of
combined classes, enter LCLASS (class1, class2):
___________________________________________________________________
|                                                                 |
|                                                                 |
|      io>LCLASS (DISC,LP)                                        |
|                                                                 |
|      CLASSNAME   MODE    MIN MODE  DCC MODE  #DCC  LDEV         |
|      ---------  -------  --------  --------  ----  -------      |
|      DISC       default   random              0    1,2,3,21,22, |
|                                                                 |
|      LP         default   out                 0    6,           |
|                                                                 |
|                                                                 |
___________________________________________________________________

          Example 5-6.  Listing Disk and LP Classes 

In the preceding example, the assigned device class is listed under
CLASSNAME. MODE refers to the device operation mode.

Device operation modes are categorized and defined as follows:

Mode             Definition 

IN               Input only device

OUT              Output only device

CIO              Concurrent I/O

NCIO             Nonconcurrent I/O

RANDOM           Direct access device (for example, disk)

DEFAULT          Assign at system initialization

The MODE column indicates what the user requires, the DCC (data
communication configurator) mode column lists what DCC requires, and the
MIN (minimum) mode column indicates what is actually used.

The Controlling System Activity (32650-90155) provides detailed
information concerning device class names, their modes of operation, and
how they are assigned in the system.

OFFLINE sends the output of the LCLASS command to SYSGEN's listing file,
SYSGLIST. Using OFFLINE does not immediately generate printed output.
The information is sent to SYSGLIST until you either enter the OCLOSE
command or exit SYSGEN. Exiting SYSGEN or using OCLOSE closes SYSGLIST
and prints the file.

Example 5-7 demonstrates the type of output received by using LCLASS
without specifying a particular class.  Entering LCLASS lists all the
classes assigned to all configured LDEVs as shown in the example below:
___________________________________________________________________
|                                                                 |
|                                                                 |
|      io>LC                                                      |
|                                                                 |
|      CLASSNAME   MODE    MIN MODE  DCC MODE  #DCC  LDEV         |
|      ---------  -------  --------  --------  ----  -------      |
|      DISC       default   random              0    1,2,3,21,22, |
|      SPOOL      default   random              0    1,2,3,21,22, |
|      LP         default   out                 0    6,           |
|      TAPE       default   ncio                0    7,           |
|      DDUMP      default   ncio                0    7,           |
|      JOBTAPE    default   ncio                0    10,          |
|      EPOC       default   out                 0    19,          |
|      CONSOLE    default   cio                 0    20,          |
|      BONSAI     default   out                 0    38,39,       |
|                                                                 |
|      io>                                                        |
|                                                                 |
___________________________________________________________________

          Example 5-7.  Listing System Classes 

Listing Devices 

Each configured logical device (LDEV) has a uniquely assigned LDEV
number.  An LDEV number identifies a physical device associated with a
system.

The LDEV command (abbreviated LD) lists the characteristics of the I/O
devices configured for the system.  If no parameters are specified, all
of the I/O devices and their characteristics are listed.  The LDEV
command has the following parameters:

     LDEV (LD)    [LDEV  =  #/#,#,...]
                  [ID    =  product number]
                  [TYPE  =  device type]
                  [CLASS =  classname,...]
                  [DEST  =  OFFLINE]

All parameters are "repeated" parameters.  Multiple classes, for example,
can be specified by surrounding them by parentheses and separating them
with commas:  LDEV CLASS=(LP,EPOC).

LDEV causes only those devices with the given device specification to be
listed.

The LDEV command also provides a convention for listing a range of
devices.  SYSGEN displays the information in the same format as in
example 5-6, except that the search key is the LDEV number rather than
the device class.

To specify a consecutive range, use the following format:

     LDEV firstdevicenumber/lastdevicenumber 

Enclose nonconsecutive ranges in parentheses, separated by commas.  For
example:

     io>LDEV (4/9,11/14) 

Listing logical devices according to class or type provides output
similar to the previous two examples, but each list reflects the
particular information requested.

ID lists only those devices with a particular product ID. If SYSGEN does
not recognize a product ID, it issues an error message.  If the product
does not exist in the configuration, SYSGEN issues a warning.

TYPE lists only those devices of a particular type, for example, DISC. If
the type given is not USER or a valid Hewlett-Packard type, SYSGEN issues
an error message.  If the type does not exist in the configuration,
SYSGEN issues a warning.

CLASS lists all devices associated with the specified class.  If the
specified class does not exist, SYSGEN issues a warning.

OFFLINE sends the output of the LDEV command to SYSGEN's listing file,
SYSGLIST. Using OFFLINE does not immediately generate printed output.
The information is sent to SYSGLIST until you either enter the OCLOSE
command or exit SYSGEN. Exiting SYSGEN or using OCLOSE closes SYSGLIST
and prints the file.

The next example demonstrates using the LDEV command on an HP 3000 Series
925 system.[REV BEG] The information displayed will vary, depending on
the configuration of your system.[REV END] To list all configured
devices, enter LDEV without any parameters:
_____________________________________________________________________
|                                                                   |
|                                                                   |
|           io>LDEV                                                 |
|       LDEV:     1   DEVNAME:         OUTDEV:    0  MODE:          |
|         ID: HP7937H                  RSIZE:   128  DEVTYPE: DISC  |
|       PATH: 4.1.0                    MPETYPE:   3  MPESUBTYPE: 10 |
|      CLASS: DISC       SPOOL                                      |
|                                                                   |
|       LDEV:     2   DEVNAME:         OUTDEV:    0  MODE:          |
|         ID: HP7937H                  RSIZE:   128  DEVTYPE: DISC  |
|       PATH: 4.1.1                    MPETYPE:   3  MPESUBTYPE: 10 |
|      CLASS: DISC       SPOOL                                      |
|                                                                   |
|       LDEV:     3   DEVNAME:         OUTDEV:    0  MODE:          |
|         ID: HP7937H                  RSIZE:   128  DEVTYPE: DISC  |
|       PATH: 4.1.2                    MPETYPE:   3  MPESUBTYPE: 10 |
|      CLASS: DISC       SPOOL                                      |
|                                                                   |
|       LDEV:     4   DEVNAME:         OUTDEV:    0  MODE:          |
|         ID: HP7937H                  RSIZE:   128  DEVTYPE: DISC  |
|       PATH: 4.1.3                    MPETYPE:   3  MPESUBTYPE: 10 |
|      CLASS: DISC       SPOOL                                      |
|                                                                   |
|       LDEV:     6   DEVNAME:         OUTDEV:    0  MODE:          |
|         ID: HP2566A                  RSIZE:    66  DEVTYPE: LP    |
|       PATH: 4.5.6                    MPETYPE:  32  MPESUBTYPE:  9 |
|      CLASS: LP                                                    |
|                                                                   |
|       LDEV:     7   DEVNAME:         OUTDEV:    0  MODE:          |
|         ID: HP7980A                  RSIZE:   128  DEVTYPE: TAPE  |
|       PATH: 4.5.3                    MPETYPE:  24  MPESUBTYPE:  5 |
|      CLASS: TAPE                                                  |
|                                                                   |
|       LDEV:    10   DEVNAME:         OUTDEV:   LP  MODE:  JA      |
|         ID: HP7980A                  RSIZE:   128  DEVTYPE: TAPE  |
|       PATH: 4.5.4                    MPETYPE:  24  MPESUBTYPE: 5  |
|                                                                   |
|       LDEV:    20   DEVNAME:         OUTDEV:   20  MODE: JAID     |
|         ID: HP2392A                  RSIZE:    40  DEVTYPE: TERM  |
|       PATH: 4.2.0                    MPETYPE:  16  MPESUBTYPE:  0 |
|      CLASS: CONSOLE                                               |
|                                                                   |
|       LDEV: 100/111 NMMGR                                         |
|                                                                   |
|           io>                                                     |
|                                                                   |
_____________________________________________________________________

          Example 5-8.  Listing Configured Devices:  Series 925 System 



MPE/iX 5.0 Documentation