z/OS HCD User's Guide
Previous topic | Next topic | Contents | Index | Contact z/OS | Library | PDF


Defining control units

z/OS HCD User's Guide
SC34-2669-00

Defining control units

You need two steps to define a control unit:

  • Define the control unit characteristics
  • Define how the control unit is attached to processors.

Before you define a control unit, you should have defined the processors and channel paths to which the control unit is to be attached.

Defining the control unit characteristics

  1. On the Primary Task Selection panel, select Define, modify, or view configuration data and on the resulting panel the object Control units. HCD displays the Control Unit List showing all control units currently defined in the IODF.

     

      Goto  Filter  Backup  Query  Help
    ------------------------------------------------------------------------------
                                  Control Unit List                 Row 145 of 339
    Command ===> _______________________________________________ Scroll ===> CSR
    
    Select one or more control units, then press Enter.  To add, use F11.
    
                               ---#---
    / CU   Type +        CUADD CSS MC  Serial-# + Description
    _ 5E00 2105          6     5       28641      SUBCSE - S/N 28641
    _ 5F00 2105          7     5       28641      SUBCSE - S/N 28641
    _ 6000 2107          0     5       54321      SUBSQ02 - S/N 54321
    _ 6100 2107          1     5       54321      SUBSQ02 - S/N 54321
    _ 6200 2107          2     5       54321      SUBSQ02 - S/N 54321
    _ 6300 2107          3     5       54321      SUBSQ02 - S/N 54321
    _ 6400 2107          4     5       54321      SUBSQ02 - S/N 54321
    _ 6500 2107          5     5       54321      SUBSQ02 - S/N 54321
     F1=Help      F2=Split     F3=Exit      F4=Prompt    F5=Reset     F7=Backward
     F8=Forward   F9=Swap     F10=Actions  F11=Add      F12=Cancel   F13=Instruct
    F22=Command

    Column CUADD shows the CUADD value defined for the control unit, where available. If the CUADD is inconsistently set for the control unit among processors, an * is displayed.

    Column #CSS shows the number of channel subsystems to which a control unit is connected. This column contains a value only if a connection exists.

    Column #MC shows the greater of the number of managed channel paths defined for the connected processors or the number of managed channel paths defined for the selected processor when coming down from the processor. This column contains a value only if managed channel paths are defined for the control unit.

    Note:
    The CF control units generated when connecting CF channel paths are listed but are disabled for any action. It is not possible to add a new such control unit via this dialog.
  2. Use F11=Add to define a new control unit. The data-entry fields are shown below, with sample data:
    *-------------------------- Add Control Unit --------------------------*
    |                                                                      |
    |                                                                      |
    | Specify or revise the following values.                              |
    |                                                                      |
    | Control unit number  . . . . 00D1  +                                 |
    | Control unit type  . . . . . 3990-3_______  +                        |
    |                                                                      |
    | Serial number  . . . . . . . __________                              |
    | Description  . . . . . . . . DASD control unit_______________        |
    |                                                                      |
    | Connected to switches  . . . __  __  __  __  __  __  __  __  +       |
    | Ports  . . . . . . . . . . . __  __  __  __  __  __  __  __  +       |
    |                                                                      |
    | If connected to a switch:                                            |
    |                                                                      |
    | Define more than eight ports . . 2   1.  Yes                         |
    |                                      2.  No                          |
    |                                                                      |
    | Propose CHPID/link addresses and                                     |
    | unit addresses . . . . . . . . . 2   1.  Yes                         |
    |                                      2.  No                          |
    *----------------------------------------------------------------------*

Defining switch connections

The Add Control Unit panel can also be used to specify the switches and ports the control unit is attached to.

If you specify Yes for Define more than eight ports, the Define Control Unit Ports dialog will be displayed to allow you to specify up to 64 control unit/switch port connections. To connect a unit to a maximum of 128 switch ports, in this dialog, you can invoke another panel to define an additional 64 switch port connections.

If you specify Yes for Propose CHPID/link addresses and unit addresses and the control unit is connected to at least one switch, HCD suggests control unit to processor attachment parameters (channel path/link addresses and the unit address range) based on the switch/ports the control unit is connected to. HCD will propose up to eight channel path/link address pairs, starting with the channel path that has the lowest number of devices attached to it.

If you add a new control unit (via Add or Add-like), HCD automatically assigns as many logical paths as possible for all processors defined.

The following prerequisites must be fulfilled for this function:

  • The control unit must support ESCON or FICON attachments and not be used for channel-to-channel (CTC) connections.
  • The control unit must have physical switch / port connections (switch entry ports) defined.
  • Channel paths that use the connected switch as a dynamic switch must exist.

HCD then automatically selects the channel paths and link addresses according to the following rules for each processor that has been defined.

  • All channel paths that use a switch that connects to the control unit as a dynamic switch are candidates for assignment.
  • The channel paths are sorted ascending by the value of the reversed channel path ID. The resulting sequence is again sorted ascending by the number of connected devices.
  • The connected control unit ports are ordered ascending by the numbers of already connected control units and path connections, respectively.
  • For each connected switch port in the resulting sequence, the channel paths are tested in sequence. If the switch port can be used as a link address, the CHPID/link address is taken.
  • A maximum number (up to 8) of possible CHPID/link address combinations is assigned.

On the following Select Processor/Control Unit panel you can type over the fields that are different from the suggested attachment values.

Defining processor attachment data

  1. After pressing the Enter key on the Add Control Unit panel HCD displays a list that shows all the defined processors. You can then define how the control unit is to be attached to one or more processors.
    Figure 54. Select Processor / Control Unit (1)
                                Select Processor / CU     Row 3 of 5 More:       >
    Command ===> _______________________________________________ Scroll ===> CSR
    
    Select processors to change CU/processor parameters, then press Enter.
    
    Control unit number . . : 0000     Control unit type . . . : 3422
    
                 ---------------Channel Path ID . Link Address + ---------------
    / Proc.CSSID 1------ 2------ 3------ 4------ 5------ 6------ 7------ 8------
    _ XMPP01.0   09.0122 14.01A2 46.0222 52.02A2 33.0422 84.04A2 _______ _______
    _ XMPP01.1   33.0422 84.04A2 0A.0522 14.05A2 _______ _______ _______ _______
    _ XMPP01.2   33.0422 09.0722 14.07A2 _______ _______ _______ _______ _______
    _ XMPP01.3   33.0422 84.04A2 0A.0522 14.05A2
    Figure 55. Select Processor / Control Unit (2)
                                Select Processor / CU     Row 3 of 5 More: <     >
    Command ===> _______________________________________________ Scroll ===> CSR
    
    Select processors to change CU/processor parameters, then press Enter.
    
    Control unit number . . : 0000     Control unit type . . . : 3422
    
                     CU   --------------Unit Address . Unit Range + -------------
    / Proc.CSSID Att ADD+ 1----- 2----- 3----- 4----- 5----- 6----- 7----- 8-----
    _ XMPP01.0     Y 00   00.256 ______ ______ ______ ______ ______ ______ ______
    _ XMPP01.1     Y 00   00.256 ______ ______ ______ ______ ______ ______ ______
    _ XMPP01.2     Y 00   00.256 ______ ______ ______ ______ ______ ______ ______
    _ XMPP01.3     Y 00   00.256 ______ ______ ______ ______ ______ ______ ______
    A Y for Yes in the Att column indicates that the control unit is attached to the processor.
  2. Select a processor and the Select (connect/change) action from the context menu (or action code  s ).

    When a control unit is attached to multiple processors, you can use the Group connect action from the context menu (or action code  g ). This group action is particularly useful when performing symmetric changes, for example, on CPCs defined in a System z cluster. The changes are applied to all selected processors, when you issued the change action against a group of processors.

    When you issue a change or group connect action, the following panel for processor-dependent control unit information is displayed:

    *----------------------------- Add Control Unit -------------------------------*
    |                                                                              |
    |                                                                              |
    | Specify or revise the following values.                                      |
    |                                                                              |
    | Control unit number  . : 0099         Type . . . . . . : 2105                |
    | Processor ID . . . . . : FR38LPAR     Raised floor production                |
    | Channel Subsystem ID . :                                                     |
    |                                                                              |
    | Channel path IDs . . . . 07    08     *     *     *    __    __    __    +   |
    | Link address . . . . . . 80__  81__  ____  ____  ____  ____  ____  ____  +   |
    |                                                                              |
    | Unit address . . . . . . __    __    __    __    __    __    __    __    +   |
    | Number of units  . . . . ___   ___   ___   ___   ___   ___   ___   ___       |
    |                                                                              |
    | Logical address  . . . . __  + (same as CUADD)                               |
    |                                                                              |
    | Protocol . . . . . . . . __  + (D,S or S4)                                   |
    | I/O concurrency level  . 2   + (1, 2 or 3)                                   |
    |                                                                              |
    *------------------------------------------------------------------------------*
  3. On the Add Control Unit panel specify the channel paths that connect the control unit to the processor.

    If the control unit is attached to a switch, you have to define a link address for each channel path. The link address is the port to which the control unit attaches. If the control unit attaches only to one port, the link address is the same for each channel. For addressing the target control unit in a fabric containing cascade switching, a two-byte link address is used, which specifies as first byte the switch address and as second byte the port address to which the control unit is attached.

    For a description what the link address is, see Figure 69, Figure 70 and Figure 72.

    Note:
    For managed control units, i.e., control units that can have managed channel paths assigned by DCM, you must indicate how many managed channel paths can be connected to the control unit. Enter at least one static channel path and the corresponding link address, and, in addition, an * (instead of the channel path ID and link address) for each managed channel path.

    You must also specify the unit address and the number of units, that is the unit address range of I/O devices that the control unit recognizes. Serial control units may have specified only one unit address range starting with 00.

    If the path to the control unit is not unique, and more than one serial control unit connects to the same channel path via the same link address, you have to specify a logical address (CUADD parameter). For more information refer to the explanation of the CUADD in the IOCP User's Guide for your processor.

  4. Press the Enter key. HCD displays the updated Select Processor/Control Unit panel. There you may scroll to the right (using F20=Right) to see the data that you have entered on the previous panel.
  5. Repeat defining processor attachment data for all processors the control unit should be attached to.
  6. Press the Enter key to return to the Control Unit List.

Upgrading to two-byte link addresses

In a FICON fabric, all one-byte link addresses on a channel path may need to be migrated to a two-byte link address. HCD supports this definition change via the Change Channel Path Link Addresses dialog. If you specify a two-byte link address on a control unit for a specific channel path, and there are already one-byte link addresses specified on that path, the panel shown in Figure 56 appears.

This panel shows all link addresses specified for the specific channel path that must be changed. If there has been an entry switch defined for the channel, its ID and switch address (if defined) are displayed; else the displayed information is taken from the dynamic switch.

You can change the switch address. HCD then uses the modified value to preset the two-byte link addresses in the displayed New column. Its value is stored, if the entry switch is defined. Alternatively, the new two-byte link addresses can be entered.

Pressing Enter will change the control unit link addresses on the corresponding control units.

Figure 56. Change Channel Path Link Addresses
                   Change Channel Path Link Addresses

 Command ===> __________________________________________ Scroll ===> PAGE

 Specify or revise the following values.

 Processor ID . . . . . : MCSS01
 Channel Path ID  . . . : 81
 Entry Switch ID  . . . : B0

 Switch Address . . . . . 26

 Control Unit  -- Link Address --
 Number CSSID  Current       New
 6000   0      02            2602
 6200   1      03            2603
 6400   1      04            2604
 6600   1      05            2605
 7000   2      09            2609
 0E06   2      FE            26FE
 ***************************** Bottom of data ***************************


 F1=Help        F2=Split       F3=Exit        F5=Reset       F7=Backward
 F8=Forward     F9=Swap       F12=Cancel     F22=Command

You may want to change link addresses from two byte to one byte. This is possible, as long as all affected control units are attached to the channel path switch. If a defined two-byte link address is changed to a one-byte link address on a given channel path, all other two-byte link addresses defined for control units attached to that channel have to be changed to a one-byte link address also.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014