Defining devices
You need three steps to define an I/O device:
- Define device characteristics and control unit connection
- Define CSS-related definitions for a device
- Define OS-related definitions for a device (including EDT and
esoteric group assignment - MVS-type only).
Before you define a device that should be defined to an operating
system and to the channel subsystem (CSS), you must have defined the
operating system configuration, processor, channel path, and control
unit. HCD omits some steps if data is missing. For example:
- You cannot define the processor data for the device if the device
is not attached to a control unit or the control unit is not attached
to a processor.
- You cannot define the EDT/esoteric group data for the device until
you have defined an EDT for the OS.
Defining device data
- On the Primary Task Selection panel, select Define,
modify, or view configuration data and on the resulting panel,
select I/O devices. HCD displays an initial
I/O Device List where devices with consecutive device numbers having
the same definitions are automatically grouped together (Figure 57).
A device group is shown as device number,range.
A range value of one (1) is not explicitly shown. For example, the
entry '0002,4 3390A' indicates a device group
of four devices of type 3390A with consecutive device numbers from
0002 through 0005. Using action Work with
single I/O devices from the context menu (or action code s )
displays the I/O Device list showing all single devices defined in
the IODF, with all device groups resolved (Figure 58).
Figure 57. I/O Device List with device groups
Goto Filter Backup Query Help
--------------------------------------------------------------------------
I/O Device List Row 1 of 2370 More: >
Command ===> ___________________________________________ Scroll ===> CSR
Select one or more devices, then press Enter. To add, use F11.
----------Device------ --#--- --------Control Unit Numbers + --------
/ Number Type + CSS OS 1--- 2--- 3--- 4--- 5--- 6--- 7--- 8---
_ 0000 3380 1 ____ ____ ____ ____ ____ ____ ____ ____
_ 0001 3390A 3 1 0001 0002 ____ ____ ____ ____ ____ ____
_ 0001 3390A 2 1 0001 ____ ____ ____ ____ ____ ____ ____
_ 0001 3390A 1 ____ ____ ____ ____ ____ ____ ____ ____
s 0002,4 3390A 2 1 0001 ____ ____ ____ ____ ____ ____ ____
_ 0002,8 3390A 3 0001 0002 ____ ____ ____ ____ ____ ____
_ 0006,3 3390 2 1 0001 ____ ____ ____ ____ ____ ____ ____
_ 000A 3380 2 1 0001 ____ ____ ____ ____ ____ ____ ____
_ 000B 3820 1 ____ ____ ____ ____ ____ ____ ____ ____
_ 000C,12 3590 1 ____ ____ ____ ____ ____ ____ ____ ____
# FFFC CFS FFFE ____ ____ ____ ____ ____ ____ ____
# FFFD CFS FFFE ____ ____ ____ ____ ____ ____ ____
# FFFE CFS FFFE ____ ____ ____ ____ ____ ____ ____
# FFFF CFS FFFE ____ ____ ____ ____ ____ ____ ____
F1=Help F2=Split F3=Exit F4=Prompt F5=Reset F7=Backward
F8=Forward F9=Swap F10=Actions F11=Add F12=Cancel F13=Instruct
F20=Right F22=Command
The # sign in front of a row indicates that this
row is disabled. You cannot modify or delete it. In the example
from Figure 57, you can see four devices of type CFS that
are used for coupling facility connections.
If you
scroll to the right in the I/O Device List, you can see additional
columns PU (showing the PPRC usage), Serial-#, Description, and VOLSER.
Figure 58. I/O Device List with single devices
Goto Filter Backup Query Help
--------------------------------------------------------------------------
I/O Device List Row 9 of 49852 More: >
Command ===> ___________________________________________ Scroll ===> CSR
Select one or more devices, then press Enter. To add, use F11.
----------Device------ --#--- --------Control Unit Numbers + --------
/ Number Type + CSS OS 1--- 2--- 3--- 4--- 5--- 6--- 7--- 8---
_ 0002 3390A 2 1 0001 ____ ____ ____ ____ ____ ____ ____
_ 0002 3390A 3 0001 0002 ____ ____ ____ ____ ____ ____
_ 0003 3390A 2 1 0001 ____ ____ ____ ____ ____ ____ ____
_ 0003 3390A 3 0001 0002 ____ ____ ____ ____ ____ ____
_ 0004 3390A 2 1 0001 ____ ____ ____ ____ ____ ____ ____
_ 0004 3390A 3 0001 0002 ____ ____ ____ ____ ____ ____
_ 0005 3390A 2 1 0001 ____ ____ ____ ____ ____ ____ ____
_ 0005 3390A 3 0001 0002 ____ ____ ____ ____ ____ ____
_ 0006 3390 2 1 0001 ____ ____ ____ ____ ____ ____ ____
_ 0006 3390A 3 0001 0002 ____ ____ ____ ____ ____ ____
_ 0007 3390 2 1 0001 ____ ____ ____ ____ ____ ____ ____
_ 0007 3390A 3 0001 0002 ____ ____ ____ ____ ____ ____
F1=Help F2=Split F3=Exit F4=Prompt F5=Reset F7=Backward
F8=Forward F9=Swap F10=Actions F11=Add F12=Cancel F13=Instruct
F20=Right F22=Command
Columns CSS and OS state the number
of channel subsystems and operating systems accessing the device.
If the I/O Device List is called from the Processor List or Channel
Subsystem List, the number in the IM column
states how many partitions (images) of the selected processor or channel
subsystem are accessing the device. For basic processors this value
is one.
If the I/O Device List is called from either
- the Operating System Configuration List
- the Processor List for SMP processors
- the Channel Subsystem List for XMP processors,
using action Work with attached devices from
the context menu (or action code u ), then the list
contains an additional column SS which
indicates, if applicable, in which subchannel set the device should
be placed.
- Use F11=Add to add I/O devices. The data-entry fields are shown
in the following figure, with sample data:
Figure 59. Add Device
*-------------------------------- Add Device -----------------------------*
| |
| |
| Specify or revise the following values. |
| |
| Device number . . . . . . . . 01E1 + (0000 - FFFF) |
| Number of devices . . . . . . 8 |
| Device type . . . . . . . . . 3390A + |
| |
| Serial number . . . . . . . . __________ |
| Description . . . . . . . . . PAV alias device _______________ |
| |
| Volume serial number . . . . . ______ (for DASD) |
| |
| PPRC usage . . . . . . . . . . _ + (for DASD) |
| |
| Connected to CUs . . 01E1 ____ ____ ____ ____ ____ ____ ____ +|
| |
| |
| F1=Help F2=Split F3=Exit F4=Prompt F5=Reset F9=Swap |
| F12=Cancel |
*-------------------------------------------------------------------------*
In the Device number field,
you can use the F4=Prompt key to have a list displayed
containing unused device number ranges. If you select a proposal from
this list, HCD fills Device number and Number of devices with the selected values.
The Add Device panel can also be used to specify the
control units the devices are connected to.
For
a DASD device, you can optionally define its peer-to-peer remote copy
(PPRC) usage type as either:
- Duplex (D)
- Flashcopy (F)
- Simplex (S)
- Utility (U)
- Nonsysplex (N)
Whereas a classification
as Flashcopy, Simplex, Utility, or Nonsysplex is
only of a descriptive character, the Duplex usage
type of a DASD device triggers the following: Duplex devices, attached
to a primary operating system configuration with OFFLINE=YES are defined
to an optional D/R site OS configuration with OFFLINE=NO and vice
versa, when the D/R site OS configuration is generated (see also D/R site OS configurations).
Since VM dummy devices are definable with
an arbitrary device type, a device with an unknown device type is
accepted by HCD. It is treated like an unsupported device with the
device type DUMMY. For MVS-type systems, you have to explicitly define
the device as DUMMY.
Defining multiple devices in one step
You can define, in one operation, a group of I/O devices of the
same type and with consecutive device numbers. You define the group
by specifying the first device number and the number of devices in
the group. Then HCD applies the definition to all devices in the
group. On the I/O Device List, you can type over the values that
should be different.
Use and definition of serial number of device
HCD allows you to assign the same device number to more than one
I/O device; that is, device numbers alone do not uniquely
identify a device in an IODF. To clearly identify devices, HCD keeps
track of each occurrence of the same device number by appending an
internal suffix to the device number.
When activating a configuration dynamically,
HCD might be unable to determine whether certain I/O devices in the currently active IODF and the IODF to be activated are physically the same.
This may happen, if the new IODF was not created by copying or updating
the current IODF but was newly created by migrating with IOCP or using
the HCD dialog. In this case HCD is unable to determine which of
the devices are physically identical.
To avoid problems when activating a configuration dynamically,
you should check if more than one device uses the same device number
attached to the same control units in the current IODF and in the
newly created (not copied) IODF. If so, specify the same serial number for the devices that HCD should
treat as physically the same.
Defining CSS-related definitions for a device
If you have defined a connection to a
control unit on the Add Device panel,
and the control unit is connected to a processor, then HCD displays
the Device / Processor Definition panel
(Figure 60) that shows the processors to which the control
units are attached.
Figure 60. Device / Processor Definition
*--------------------- Device / Processor Definition -----------------------*
| Row 1 of 1 |
| |
| Select processors to change device/processor definitions, then |
| press Enter. |
| |
| Device number . . : 01E1 Number of devices . : 8 |
| Device type . . . : 3745 |
| |
| Preferred Device Candidate List |
|/ Proc.CSSID SS+ UA+ Time-Out STADET CHPID + Explicit Null |
|_ XMPPRO1.0 __ 05 No Yes __ No ___ |
|_ G29.0 __ F0 No No __ No ___ |
|_ G29.1 __ F0 No No __ No ___ |
| ************************** BOTTOM OF DATA ******************************* |
On the Device / Processor
Definition panel you can proceed in two ways:
- You can specify the CSS-related definitions directly by typing
over the fields in each column. If you want to specify an explicit
device candidate list for a device, type 'yes' into column Device Candidate List - Explicit. This leads
you to panel Define Device Candidate List (Figure 62).
- You can select a processor and press the Enter key. The Define Device / Processor panel is displayed
(Figure 61). From this panel you can edit the same values
as shown in the Device / Processor Definition panel.
Figure 61. Define Device / Processor
*-------------------Define Device / Processor -------------------------------*
| |
| |
| Specify or revise the following values. |
| |
| Device number . . . : 01E1 Number of devices . . . . : 8 |
| Device type . . . . : 3745 |
| Processor ID . . . . : XMPPRO1 |
| Channel subsystem ID : 0 |
| |
| Subchannel set ID . . . . . . . _ + |
| Unit address . . . . . . . . . . E1 + (Only necessary when different from |
| the last 2 digits of device number) |
| Time-Out . . . . . . . . . . . . No (Yes or No) |
| STADET . . . . . . . . . . . . . Yes (Yes or No) |
| |
| Preferred CHPID . . . . . . . . __ + |
| Explicit device candidate list . No (Yes or No) |
Defining the subchannel set for a device
Starting with z9 EC processors, each channel subsystem
contains more than one subchannel set (SS 0, SS 1), where you can
place the devices. Starting with z/OS V1R7
HCD, you can place PAV alias devices (types 3380A and 3390A) into
an alternative subchannel set. In SS 0, you can place 63.75K devices,
and in SS 1 you can place 64K-1 PAV alias devices.
Starting with zEnterprise processors, each channel subsystem contains
a third subchannel set (SS 2). Starting with z/OS V1R10 HCD, you
can place PAV alias devices (types 3380A and 3390A), PPRC secondary
devices (type 3390D) and DB2 data backup volumes (type 3390S) into
an alternate subchannel set. You cannot define 3390D and 3390S devices
in subchannel set SS 0.
You can specify the subchannel set ID for a device either in column SS of Figure 60 or in field Subchannel
set ID of Figure 61.
Note:
HCD messages that refer to a device in a subchannel set with a
subchannel set ID > 0 will display the device number in the format n-devnumber where
n is the subchannel set ID. For example, the device 1234 located in
subchannel set 1 will show up as 1-1234. A device 4567 in
subchannel set 0 will further on be shown as 4567.
Rules for placing devices into
subchannel sets:
Observe the following rules and recommendations when working with
different subchannel sets:
- There is no required correspondence between device numbers in
the subchannel sets. For example,
devices in the range 8000-807F in SS0
devices in the range 8000-807F in SS1 (PAV alias devices) may
relate to completely separate devices. However, you can use this feature
to have PAV base and aliases in different subchannel sets, but with
the same device numbers.
- Unit addresses of base and alias devices on a single control unit
must be unique. These cannot be duplicated across subchannel sets.
So if you want to define the PAV base and alias devices in the range
8000-807F in different subchannel sets, but on the same control unit,
you can define them like follows:
base devices, range 8000-807F in SS0, unit address 00-7F (CU number 8000)
alias devices, range 8000-807F in SS1, unit address 80-FF (CU number 8000)
- You can use dynamic reconfiguration to move eligible devices from
SS 0 to an alternate subchannel set.
Restricting Partition Access for Devices
You
can restrict logical partition access to an I/O device on a shared
channel path by using the explicit device candidate list to select
which logical partitions can access that I/O device. On the Define Device / Processor panel enter Yes or No in
the Explicit device candidate list field to specify whether
you want to restrict logical partition access to an I/O device:
- A No specifies that all logical partitions can access
this I/O device. No is the default; all logical partitions
are in this I/O device’s candidate list.
- A Yes specifies that only your selected logical partitions
can access this I/O device. Note that the partition must also be in
the channel path access or candidate list to access the device. On
the Define Device Candidate List, place a slash (/) character to the
left of each selected Partition Name.
If you specify Yes in the Explicit device candidate
list field, the following panel is displayed, showing possible
candidate partitions:
Figure 62. Define Device Candidate List
*------------------ Define Device Candidate List --------------------*
| Row 1 of 6 |
| |
| Select one or more partitions to allow them to access the |
| device, or ENTER to continue without selection. |
| |
| Device number . . . : 01E1 Number of devices . . . : 8 |
| Device type . . . . : 3745 |
| Processor ID . . . . : PROC1 This is the main processor |
| Channel subsystem ID : |
| |
| / Partition Name Description Reachable |
| _ PROD1 First production partition Yes |
| _ PROD2 Second production partition Yes |
| _ TEST1 First test system No |
| _ TEST2 Second test system Yes |
| _ TEST3 CF partition No |
| _ TEST4 OS partition No |
A Yes in the Reachable column
indicates that the device can be reached from the respective partition,
through at least one physical channel. You can only include reachable
partitions into the explicit device candidate list by typing a slash
('/') into the action column. Deleting the slash means to remove the
respective partition from the device candidate list.
Null device candidate list for XMP processors
If devices are connected to a control unit which is shared between
multiple channel subsystems, some (not all) of these devices may specify
an empty (or null) device candidate list for one or more CSSs. You
create a null device candidate list for a device either by deselecting
all candidate partitions from an existing list or by not selecting
any partition for a new list.
If you define a null device candidate list of a device for a certain
CSS, then no partition of this CSS may have access to the device.
If you define an explicit device candidate list for a device, the Device / Processor Definition panel (Figure 60) indicates whether this candidate list is a null device
candidate list in column Device Candidate
List - Null. If no partition is allowed to have access to the
device, value Yes is shown, otherwise value No.
This field is left blank if no explicit device candidate list exists
for the selected device (which is the default when creating new devices).
Defining OS-related definitions for a device
- After pressing the Enter key on the Define
Device / Processor panel, the Device
/ Processor Definition panel is displayed again. Select another
processor or press the Enter key again to display the Define Device to Operating System Configuration panel
that shows all the defined OS configurations.
*----------- Define Device to Operating System Configuration -----------*
| Row 1 of 2 |
| |
| Select OSs to connect or disconnect devices, then press Enter. |
| |
| Device number . : 01E1 Number of devices : 8 |
| Device type . . : 3390A |
| |
| / Config. ID Type SS Description Defined |
| _ OPSYS01 MVS MVS or z/OS operating system |
| _ OPSYS02 VM VM operating system |
| ************************** BOTTOM OF DATA *************************** |
Select
an operating system and the Select (connect/change) action
from the context menu (or action code s ).
As described in Defining the subchannel set for a device, starting with 2094
(z9 EC) processors, you can place PAV alias devices (types 3380A
and 3390A) into SS 1.
If you define a PAV alias device,
as shown in our example from Figure 59, HCD displays the Specify Subchannel Set ID panel that asks
for the subchannel set where you want to place the device. The default
depends on the value given for the corresponding CSS definition.
Figure 63. Specify Subchannel Set ID
*--------------- Specify Subchannel Set ID -------------------------*
| |
| |
| Specify the ID of the subchannel set into which devices are |
| placed, then press Enter. |
| |
| Configuration ID . : OPSYS01 |
| Device number . . : 01E1 Number of devices : 8 |
| Device type . . . : 3390A |
| |
| Subchannel Set ID 1 + |
| |
| F1=Help F2=Split F3=Exit F4=Prompt F5=Reset F9=Swap |
| F12=Cancel |
*-------------------------------------------------------------------*
- Pressing Enter on the dialog from Figure 63 brings
you to the following panel where you can now define the data about
device parameters and features that are required by the operating
system configuration.
*-------------------- Define Device Parameters / Features -----------------------*
| Row 1 of 4 |
| |
| Specify or revise the values below. |
| |
| Configuration ID . : OPSYS01 MVS or z/OS operating system |
| Device number . . : 01E1 Number of devices : 8 |
| Device type . . . : 3390A |
| |
| Parameter/ |
| Feature Value + R Description |
| WLMPAV Yes Device supports work load manager |
| ***************************** BOTTOM OF DATA *************************** | The Parameter/Feature fields vary depending on the
I/O device type and operating system type.
A plus
sign (+) in the Value column indicates that you may use
F4=Prompt to get a list of possible values for the parameter/feature
in the same row. Note that not all parameters are promptable.
A Y in the R column indicates
that a value for the parameter/feature in the same row is required.
You
accomplish the change by accepting the default values or by changing
the Value entries and pressing the Enter key. The default
values are set in the UIM for the device type. For parameters you
can specify different default values via the OS_PARM_DEFAULT keyword
in the HCD profile.
- For eligible devices, after you have defined the device parameter
and feature data and pressed the Enter key, HCD displays the Assign/Unassign Device to Esoteric panel.
*-------------------- Assign/Unassign Device to Esoteric ---------------------*
| Row 1 of 2 |
| |
| Specify Yes to assign or No to unassign. To view devices already |
| assigned to esoteric, select and press Enter. |
| |
| Configuration ID : OPSYS01 MVS or z/OS operating system |
| Device number . : 01E1 Number of devices : 8 |
| Device type . . : 3390A Generic . . . . . : 3390A |
| |
| / EDT.Esoteric Assigned Starting Number Number of Devices |
| _ A1.ES001 No ____ ____ |
| _ A2.ES002 No ____ ____ |
| ***************************** BOTTOM OF DATA ****************************** |
- On the Assign/Unassign Devices to Esoterics panel, overwrite the
values in the Assigned column to assign (Yes)
or unassign (No) devices to the selected esoterics.
If
you do not want to assign a complete group of devices, you can limit
the range by specifying a starting number and the number of devices.
If you omit the number of devices, 1 is assumed.
|