![]() |
![]() |
|
|
![]() |
![]() |
Performing System Management Tasks: HP 3000 MPE/iX Computer Systems > Chapter 3 Defining Input/Output Devices![]() Using SYSGEN's I/O Configurator |
|
You can use the I/O configurator to display information about the current system configuration and to make any necessary changes to it. To access the I/O configurator, do the following:
First you see a list of the commands available to you. To issue a command, you can enter either the full command name or the abbreviation shown in parentheses. Figure 3-1 Example 3-1. Entering the I/O Configurator
You can display helpful information about any of the I/O Configurator commands on the screen. To do so, enter the HELP command at the io> prompt in one of two forms:
To get information about the current configuration, either displayed on screen or printed, using the LCLASS, LDEV, LPATH, and LVOLcommands as described in the following table.
A class name is an identifier to which numerous devices can be assigned. Unlike logical device 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, which stands for "line printer." To list a class name, at the I/O Configurator prompt (io>), enter:
LCLASS has the following parameters: LCLASS (LC) [ [CLASS =] classname,...] [ [DEST =] OFFLINE] The following list briefly explains how to use the LCLASS command and provides examples.
Each configured logical device (LDEV) is assigned a unique LDEV number which identifies a physical device associated with a system. Use the LDEV command (abbreviated LD) to list the characteristics of the I/O devices configured for your system. You can list all devices, a subset of them, or a specific device. To list the devices on your system, at the I/O Configurator prompt (io>), enter:
The LDEV command has the following parameters: LDEV (LD) [[LDEV =] devicerange ] [ [ID =] productnumber ] [ [TYPE =] devicetype ] [ [CLASS =] classname,... ] [ [DEST =] OFFLINE ] The following list briefly explains how to use the LDEV command and provides examples.
Use the LPATH command to display information about the adapters and I/O devices on a specified path level. LPATH lists the configured I/O paths according to their path, hierarchy level, or associated I/O manager. To display I/O path information, at the I/O Configurator prompt (io>), enter:
LPATH has the following parameters: LPATH (LP) [ [PATH =] path] [ [LEVEL =] #] [ [MANAGER =] managername,...] [ [DEST =] OFFLINE ] The following list briefly explains how to use the LPATH command and provides examples.
A volume is one disk pack. Each volume is a member of a volume set and contains a volume label, a label table, and a free space map. To list volumes, at the I/O Configurator prompt (io>), enter:
LVOL has the following parameters: LVOL (LV) [[VNAME =] volumename, [ volumename] [...] ] [ [DEST = ] ''OFFLINE''] The following list briefly explains how to use the LVOL command and provides examples.
Each of the commands that you use to list configuration information has a DEST=OFFLINE parameter that allows you to print the information instead of displaying it on the console. This parameter is useful when you need to compare one configuration to another or, for example, when you want to enclose a printed copy of the configuration with the system load tape (SLT). To print configuration data, enter one of the list commands (LCLASS, LDEV, LPATH or LVOL), any additional parameters you need, followed by the parameter OFFLINE. This sends the listing to the file SYSGLIST. To close and print the list, you use the OCLOSE command or exit the I/O Configurator. For example, to print information about all devices with device class DISC and LP on your system, do the following:
There are two general categories of devices that you configure on your computer system, local devices and non-local devices.
This section explains how to configure local devices with SYSGEN's I/O configurator. It also explains how to configure UPS devices (which are non-local devices) and how to use the UPS Monitor/iX software. For more information about using NMMGR to configure all other non-local devices, read Configuring Systems for Terminals, Printers, and Other Serial Devices (32022-90001). There are certain attributes of local devices that you are required to configure because they identify the device to the system. These include the device identification number (ID), the I/O path, and the logical device number (LDEV).
There are additional attributes for local devices that you can or must leave set to the default. They include device type, associated output device, device mode and device class, which are described next. A number of other attributes that you can configure are explained throughout this chapter.
When you use SYSGEN to add objects to the system configuration, there are four I/O Configurator commands available: ACLASS, ADEV, APATH and AVOL. They are defined in the table below and explained in the following sections.
Use the ACLASS command (abbreviated AC) to add a class name designation to a configured device. You must use the ADEV command to add the device path and designate the LDEV number before using the ACLASS command. To add a class name, at the I/O Configurator prompt (io>), enter:
ACLASS has the following parameters: ACLASS (AC) {[CLASS =] classname,...} {[LDEV =] #/#,#,...} [[MODE = ] { IN OUT CIO NCIO RANDOM DEFAULT }] The CLASS and LDEV parameters are required and classname is a standard class name of up to eight characters, such as EPOC or SPOOL. If the specified class name already exists when you attempt to add it, SYSGEN issues an error message. The modes are defined in the following table.
To add a class name, enter the ACLASS command, the class name, and the LDEV associated with it. For example, to add the class name EPOC and associate it with LDEV 19, enter:
You can assign a mode to the device or accept the default mode assigned by SYSGEN. To assign a mode, enter the ACLASS command, the class name, the LDEVs, and the keyword or positional MODE parameter. For example, to assign the mode RANDOM to logical devices 31 through 34 (using keyword parameters), enter:
To assign the same mode using positional parameters enter:
Each device configured on your system must have a unique LDEV number. Although you, as system manager, assign LDEV numbers to system devices at your discretion, certain devices must be assigned specific numbers. For example, to boot the operating system from disk, you must mount the system master volume on LDEV 1 and the system console is always LDEV 20. Use the ADEV command (abbreviated AD) to add a device to an existing I/O path that is configured to the device adapter level. At a minimum, you must specify the LDEV, the path, and ID number. You can enter other information either using keywords or positional parameters. To add a device, at the I/O Configurator prompt (io>), enter:
ADEV has the following parameters: ADEV (AD) { [LDEV =] #/#,#,...} { [PATH =] devicepath} { [ID =] productid} [ [RSIZE =] recordsize] [ [OUTDEV =] outputdevice] [[MODE =] { JOB DATA INTERACTIVE DUPLICATIVE INPUT OUTPUT AUTOREPLY NLIO NONE }] [ [CLASS =] classname] [[CMODE =] { IN OUT CIO NCIO RANDOM DEFAULT }] [ [PMGR =] physicalmanagername] [ [LMGR =] logicalmanagername] [ [PMGRPRI =] physicalmanager priority] [ [MPETYPE = ] compmodetype] [ [MPESUBTYPE = ] compmodesubtype] [ [DEVNAME = ] devicename] Below are two examples of adding LDEV 30 to the Series 925 through Series 935 systems. The first example uses keyword parameters, the second uses positional parameters:
Below are two examples of adding LDEV 30 to the Series 950 through 980 systems. The first example uses keyword parameters, the second uses positional parameters:
When you issue the ADEV command, you must specify the LDEV, PATH, and ID parameters.
For example, to add an HP2688A printer as LDEV 17 (using keyword parameters), enter:
Or, to add an HP7978B disk drive as LDEV 30 (using positional parameters), enter:
If a specified LDEV already exists, SYSGEN issues an error message. If you specify a set of devices, the device number in the PATH parameter increases automatically. You can add either a Hewlett-Packard supported device or a device of another kind.
The RSIZE parameter specifies the record size (in 16-bit words) of the device you are adding. For example, to add an HP7978B as LDEV 8 with the path 2/4.2.1 and a record size of 264 characters, enter:
If you do not specify the record size parameter, SYSGEN uses the default. The OUTDEV parameter specifies the output device associated with the device you are adding. For example, to add an HP2688A printer as LDEV 19 on path 4.1.7 with a record size of 132 characters and LP as the output device, enter:
The OUTDEV can be either a device number or a device class. If you do not enter this parameter, SYSGEN assigns 0 as the output device for all peripherals except terminals, which are assigned the input device number. The streams device is the device that accepts batch jobs. To configure the streams device, you must issue the ADEV command once with a specific set of options: MODE=(JOB,DATA)and OUTDEV=[an output device or class]. For example, if you choose class LP for OUTDEV, enter:
You can also use the intrinsic HPDEVCREATE to create a streams file. The parameters you enter, such as device file type, LDEV, major number, minor number and link name, define the file. For more information, read MPE/iX Intrinsics Reference Manual (32650-90028). The MODE parameter specifies the device operation mode. Your choices for mode and their meanings are defined below:
Most devices have a default device mode listed in the ASCII file IODFAULT.PUB.SYS, which you can read. To override the default, you can specify NONE as the mode. Certain devices can have one or more modes only. For example, an HP 7978B tape drive can have the modes: JOB, DATA, INPUT, OUTPUT, AUTOREPLY, and NONE. Since MODE is a repeated parameter, you can specify multiple modes by using parentheses and separating the modes with commas or spaces. For example, to assign two modes, AUTOREPLY and INPUT to an HP7978B tape drive, enter:
If you assign an improper mode to a device, SYSGEN issues an error message. For example, you cannot assign a printer the device mode AUTOREPLY. The CLASS parameter associates a group of devices (which are usually related logically or physically) to a class name. For example, to specify the class TAPE for an HP7978B tape drive, enter:
A device can simultaneously belong to as many as eight classes. Class names may not exceed eight characters and must begin with an alphabetic character. If a specified class name does not exist, SYSGEN assigns it the device access characteristics of DEFAULT, which you can override using the CMODE parameter, described below. To assign no class to a device, specify CLASS=NONE. The CMODE parameter overrides the default class mode for a device. For example, to make all HP7978B tape drives that you are adding to your system output devices only, enter:
If the class already exists, the CMODE entry is ignored. The values for the CMODE parameter are defined in the table below.
The PMGR parameter associates the physical device manager with a specified I/O path. The manager name has a maximum length of 32 characters and may contain numbers, letters, and underline (_) characters. If you do not enter this parameter, SYSGEN uses the default. For example, to specify BUS_CONV_MGR as the physical device manager, enter:
LMGR is the name of the logical device manager associated with the specified I/O path. Not all devices have logical device managers. The manager name has a maximum length of 32 characters and may contain numbers, letters, and underline (_) characters. If you do not enter this parameter, SYSGEN uses the default. For example, to specify LOGICAL_DEVICE_MANAGER as the logical device manager, enter:
The PMGRPRI parameter specifies the priority level at which the physical device manager executes. The priority can range from 1 (the lowest level) to 15 (the highest.) If you don't specify a priority, SYSGEN uses the default. For example, to specify a priority level of 5 for logical device 40, enter:
The MPETYPE and MPESUBTYPE parameters specify values for compatibility mode type and subtype. You use them when you are adding a nonsupported device to your configuration. For example, to add a non-Hewlett-Packard printer as LDEV 40, enter:
The DEVNAME associates a device name with a particular LDEV number, which allows a user to specify the device by name instead of by number. When choosing device names, remember the following rules:
For example, to specify the device name TAPEDRIVE for an HP7978B, enter:
A device link is, essentially, a permanent, named :FILE command that associates a name with an LDEV. Once created, device links are represented as files and ar visible in directories. Device link files give the MPE/iX shell, the UNIX-like command shell and utilities introduced with Version 4.5 of the operating system, access to devices such as tape drives and printers so that it does not have to know MPE access semantics. As a result, MPE/iX shell utilities such as tar work like their UNIX counterparts. To create a device link file, you can use the MKNOD utility. For example, to create a device link file called tape7 in the current directory, enter:
In this example, the first parameter is the device link file name (tape7), the second two parameters (c 0) are required to create device link files, and the fourth parameter (7) is the LDEV number for which you are creating the device link file. To list the device link file you have created, use the LISTFILE command. For example, to list information about tape7, enter:
MPE/iX will respond with something like the following information. In the TYP column, BBd indicates that the device link file is a byte stream format, binary access device file.
The file name that you enter follows MPE-escaped syntax rules. So, to create a device link file in a directory other than the current working directory, include the path in the file name. For example, to create the device link file tape7 in the dev directory, enter:
A new utility, DEVCTRL, allows you to dynamically configure 1/2 inch and DDS tape devices to eject the media following an application rewind or close. In addition, if you have an HPC1504B or HPC1521B DDS drive, you can enable or disable data compression so that the tapes can be created and shared with non-compressing DDS devices. (Note that the compression option does not apply to 1/2 inch tape.) Once you use DEVCTRL to configure the drive, it remains configured in that way until you change it with DEVCTRL again. A powerfail or changes in device ownership do not reset the configuration. DEVCTRL has the following parameters: DEVCTRL { [LDEV =] ###} { [COMPRESSION =] enable/disable/nochange} { [EJECT =] enable/disable/nochange} For example, to enable data compression and the eject feature for LDEV 50, enter:
Or, to enable compression but disable the eject feature (using positional parameters), enter:
Use the APATH command (abbreviated AP) to add an I/O path to the system configuration. (To add device level paths, you use the ADEV command. For more information on hardware paths, refer to chapter 12.) To add an I/O path, at the I/O Configurator prompt (io>), enter:
APATH has the following parameters: APATH (AP) { [PATH =] devicepath} { [ID =] productid} [ [PMGR =] physicalmgrname] [ [LMGR =] logicalmgrname] [ [PMGRPRI =] physicalmgrpri] [ [MAXIOS =] maxconcurrentchannelIOs] You must specify the PATH and ID parameters with the APATH command. If you specify a path that already exists, an error occurs. The product ID is either the Hewlett-Packard product number or a mnemonic name that designates different uses of the same product. For Series 925 through Series 949 systems and for Series 958 systems, you describe the path as follows:
For the Series 950 through Series 980 systems, you describe the path this way:
To specify the PATH and ID parameters using keywords and positional parameters, respectively, enter:
or
The PMGR parameter is the name of the physical device manager associated with the specified I/O path. For example, to specify BUS_CONV_MGR as the physical device manager, enter:
The manager name has a maximum length of 32 characters and may contain numbers, letters, and underline (_) characters. If you do not enter this parameter, SYSGEN supplies the default. LMGR is the name of the logical device manager associated with the specified I/O path. Not all devices have logical device managers. For example, to specify LOGICAL_DEVICE_MGR as the logical device manager using a combination of keywords and positional parameters, enter:
The manager name has a maximum length of 32 characters and may contain numbers, letters, and underline (_) characters. If you do not enter this parameter, SYSGEN supplies the default. PMGRPRI is the priority level at which the physical device manager executes and can be between 1 (low) and 15 (high), inclusive. For example, to specify a PMGRPRI of 8, enter:
The I/O default file supplies this parameter if you do not. MAXIOS tells the device manager how many concurrent IOs to expect. For example, to specify 20 concurrent I/O devices, enter:
Normally, you do not specify this value. Instead, the I/O default file usually specifies zero, which allows the manager to set itself to its default. Use the AVOL command (abbreviated AV) to add a new volume to the system volume set configuration. To add a volume, at the I/O Configurator prompt (io>), enter:
AVOL has the following parameters: AVOL (AV) { [VNAME =]volumemembername} { [LDEV =]#} [ [TRANSIENT =]%discfortransobj] [ [PERMANENT =]%discforpermobj] { [VCLASS =]volumeclass} You cannot modify the system master volume, MEMBER1, in any way. The VNAME parameter specifies the unique name you give to each volume member, LDEV specifies the logical device number, and VCLASS specifies the volume class(es) that the identified volume(s) belong to. The volume member name and the volume class must be 32 characters or less. After the first character, which must be alphabetic, numbers, letters, and underline characters are allowed. You may specify up to eight volume classes. For example, to specify MEMBER2 as logical device 4 in the volume class PROD, enter:
TRANSIENT is the amount of disk space that is reserved for temporary processes such as stacks and operating system data structures. PERMANENT is the amount of disk space that is reserved for permanent structures such as files, the label table, a tape drive, a disk drive, or a printer. You enter both values as a percentage. For example, to specify the amount of disk space reserved for transient and permanent objects as 50 percent each, enter:
The total percentage for TRANSIENT and PERMANENT must be at least 100 percent. It can be as high as 200 percent, although this is not recommended. When you use SYSGEN to change the system configuration, there are five I/O Configurator commands available: MADDRESS, MCLASS, MDEV, MPATH, and MVOL. They are defined in the table below and explained in the following sections.
An address is an I/O path identifying a specific I/O device. Use the MADDRESS command (abbreviated MA) to change SYSGEN's view of the physical location of channel adapters, device adapters, and devices. To modify a path, at the I/O Configurator prompt (io>), enter:
MADDRESS has the following parameters: MADDRESS (MA) {[FROM =]fromdevicepath [TO =]todevicepath} The FROM and TO parameters are standard I/O path specifications. If the FROM path does not exist, or if both I/O paths do not have the same number of levels, SYSGEN issues an error. To change an existing I/O path to a new I/O path that is not configured, enter MADDRESS FROM=devicepath TO=devicepath. For example, to change the path from 4.1.2 to 4.1.3 on a Series 925 or Series 935 system, enter:
To change the path from 2/4.0.2 to 6/4.0.3 on Series 950 through Series 980 systems, enter:
MADDRESS works at the device-adapter level as well as the device level. In fact, this use is probably more common, because it allows you to move a device-adapter card and all of its devices in one command. For example, if path 4.2 describes an HP-IB adapter with four disks (LDEVS 2, 4, 9, 15), you can move the adapter to slot 3 (4.3) in one step:
To modify an address, you must change the TO address to the higher or previous level with the APATH command; otherwise, SYSGEN issues an error. All paths used in the MADDRESS command line must be at the same level. Use the MCLASS command (abbreviated MC) to change I/O class information including class mode, class name, and the devices associated with the class. To modify a class, at the I/O Configurator prompt (io>), enter:
MCLASS has the following parameters: MCLASS (MC) {[CLASS] = classname} [ [NEWCLASS =] newclassname] [ [ALDEV =] devicerange [,devicerange] [...] ] [ [DLDEV =] devicerange [,devicerange] [...] ] [[MODE =] { IN OUT CIO NCIO RANDOM DEFAULT }] You must enter the CLASS parameter and at least one other parameter.
To change a class, you enter the class name and at least one additional parameter. For example, to change the class name from LP to BIGPRN and specify BIGPRN as an output device (using keyword parameters), enter:
To change the BONSAI class to SMALLPRN and add two more devices to it (using positional parameters), enter:
Use the MDEV command (abbreviated MD) to modify the attributes of a device. You enter the command, the LDEV number of the device you want to change, and at least one other parameter. You cannot use the MDEV command to change a Hewlett-Packard supported device to a USER (unsupported) device. To modify a device, at the I/O Configurator prompt (io>), enter:
MDEV has the following parameters: MDEV (MD) {[LDEV =] logicaldevice #} [ [NEWLDEV =] newlogicaldevice#] [ [ID =] deviceid] [ [PATH =] devicepath] [ [CLASS =] classname] [[MODE =] { JOB DATA INTERACTIVE DUPLICATIVE INPUT OUTPUT AUTOREPLY NLIO NONE }] [ [OUTDEV =] outputdevice] [ [RSIZE =] devrecsize] [ [PMGR =] physicalmgrname] [ [LMGR =] logicalmgrname] [ [PMGRPRI =] physmgrpri] [ [MPETYPE =] cmtype] [ [MPESUBTYPE =] cmsubtype] [ [DEVNAME =] devicename] For example, to use the MDEV command to change logical device 8 to 18, the device identification to HP7978H, the path to 4.3.0, and the mode to JOB, enter:
Use the MPATH command (abbreviated MP) to modify the attributes associated with an I/O path. To modify a path, at the I/O Configurator prompt (io>), enter:
MPATH has the following parameters: MPATH (MP) {[ PATH =] IOpath } [ [ID =] productid] [ [PMGR =] physicalmgrname] [ [LMGR =] logicalmgrname] [ [PMGRPRI =] mgrpri] [ [MAXIOS =] maxconcurrentchannelIOs]
You use the ID parameter to change a product identification number. For example, to change the ID on a Series 925 through 949 system or a Series 958 system, enter:
Or, to change an ID on a Series 950 through 980 system, enter:
To change the name of the physical device manager, use the MPATH command followed by the PMGR parameter and the new name. For example, to rename the device manager on a Series 925 through 949 system or a Series 958 system, enter:
Or, to rename the device manager on a Series 950 through 980 system, enter:
If you change the ID parameter and do not use the PMGR parameter, SYSGEN uses the default. Use the MVOL command (abbreviated MV) to modify the attributes of a volume set member except for the system master volume, MEMBER1, which you cannot change in any way. Changes made with this command take effect only if you do an INSTALL with a tape containing the changes. To modify a volume set member, at the I/O Configurator prompt (io>), enter:
MVOL has the following parameters, which are defined below. Refer to the "To add volumes" section of this chapter for examples of their use. MVOL (MV) { [VNAME =] volumename} [ [NEWVNAME =] newvolumename] [ [LDEV =] logicaldevice#] [ [TRANSIENT =] %diskfortransobj] [ [PERMANENT =] %diskforpermobj] [ [VCLASS =] volumeclass]
When you use SYSGEN to delete objects from the system configuration, there are four I/O Configurator commands available to you: DCLASS, DDEV, DPATH, and DVOL. They are defined in the table below and explained in the following sections.
Use the DCLASS command (abbreviated DC) to delete class names from the configuration. To delete a class, at the I/O Configurator prompt (io>), enter:
DCLASS has the following parameter: DCLASS (DC) { [CLASS =] classname} CLASS is a repeated parameter that identifies device class names. Class names are limited to eight characters and the first must be a letter. If the class does not exist, SYSGEN displays an error message. You cannot delete the DISC, CONSOLE, or TAPE classes. The following list briefly explains how to use the DCLASS command and provides examples.
Use the DDEV command (abbreviated DD) to delete a device. You cannot delete the system disk (LDEV 1) or the system console (LDEV 20).
DDEV has the following parameters: DDEV (DD) { [LDEV =] #/#,#,... [ID =] deviceid [TYPE =] devicetype [CLASS =] classname } You must enter at least one parameter and the specified device must exist in the current configuration or SYSGEN will issue a warning. Other errors that occur are typically due to improper entry of a logical device, a range, or improper value for a positional parameter. The following list briefly explains how to use the DDEV command and provides examples.
Use the DPATH command (abbreviated DP) to delete an I/O path and, optionally, all I/O paths below it from the configuration. If there are I/O paths below the one you are deleting, SYSGEN prompts you before deleting them with this question:
If an I/O path is currently used by a configured device, SYSGEN issues an error and does not delete the path.
DPATH has the following parameter DPATH (DP) { [PATH =] devicepath} To delete a configured path with no associated devices, enter DPATH and the path. For example, to delete a path on a Series 925 through 949 or a Series 958 system, enter:
To delete a path on a Series 950 through 980 system, enter:
Use the DVOL command (abbreviated DV) to remove a volume from the configuration. To implement the change, you must create a system load tape with the configuration and then use it to do an INSTALL. To delete a volume, at the I/O Configurator prompt (io>), enter:
DVOL has the following parameters: DVOL (DV) { [VNAME =] volumemembername} To delete the volume named MEMBER2 from the list of volumes, enter:
A new command file, DOIONOW, has been added to MPE/iX which allows the system manager to immediately implement device configuration changes made with SYSGEN. This command allows you to keep the system online and available to users more of the time, and gives you the flexibility to change the configuration on an "as needed" basis. To change the configuration while the system is online, do the following:
The DOIONOW command creates a log file, ONLNOLOG.PUB.SYS, which is used to record the commands executed by IOCONFIG. If the DOIONOW command generates an error, you may view this same log file to determine the cause. This log file is purged and a new one is created prior to invoking the new configuration, which means that it only contains information for the last execution of IOCONFIG. Once you have found the problem, you can then edit the input file for the DOIONOW command, LOG4ONLN.PUB.SYS, to avoid duplicating the events that created the error. |
![]() |
||
![]() |
![]() |
![]() |
|||||||||
|