20 EFS Systems on a Linux Base: Channel Adapters
cu devad(0x300,16) path(1) unitadd(0x00) cuadd(0x0) link(0xC1)
cu devad(0x400,16) path(1) unitadd(0x00) cuadd(0x0) link(0xC2)
Remember that in an ESA-mode system (or zArchitecture system) the “software address”
(which is determined by the devad operands) is completely independent of the “hardware
addresses” in the unitadd or cuadd operands.
The diagrams used for the examples in this document include additional control unit
interfaces. (Figure 3-1 on page 18 shows four interfaces, but this is an arbitrary illustration.)
You can connect these interfaces to other systems (including other FLEX-ES systems) in the
same manner that control units are shared with multiple S/390s. This is “business as usual”
for system configurations.
3.2 Working example
We decided to connect a FLEX-ES system with two serial adapters to part of the ITSO floor
system. The ITSO systems programmer sent us the following example extract from the IOCP
used in all the ITSO floor systems.
Example 3-2 Example extract from the IOCP
CNTLUNIT CUNUMBR=2500,PATH=((CSS(0),7A,7E),(CSS(1),7A,7E)), *
UNITADD=((00,064)),LINK=((CSS(0),C5,DE),(CSS(1),C5,DE)),*
CUADD=0,UNIT=3990
CNTLUNIT CUNUMBR=2501,PATH=((CSS(0),7B,7F),(CSS(1),7B,7F)), *
UNITADD=((00,064)),LINK=((CSS(0),D0,9D),(CSS(1),D0,9D)),*
CUADD=0,UNIT=3990
IODEVICE ADDRESS=(2500,064),CUNUMBR=(2500,2501),STADET=Y, *
UNIT=3390
CNTLUNIT CUNUMBR=2540,PATH=((CSS(0),7A,7E),(CSS(1),7A,7E)), *
UNITADD=((00,064)),LINK=((CSS(0),C5,DE),(CSS(1),C5,DE)),*
CUADD=1,UNIT=3990
CNTLUNIT CUNUMBR=2541,PATH=((CSS(0),7B,7F),(CSS(1),7B,7F)), *
UNITADD=((00,064)),LINK=((CSS(0),D0,9D),(CSS(1),D0,9D)),*
CUADD=1,UNIT=3990
IODEVICE ADDRESS=(2540,064),UNITADD=00,CUNUMBR=(2540,2541), *
STADET=Y,UNIT=3390
CNTLUNIT CUNUMBR=2580,PATH=((CSS(0),7A,7E),(CSS(1),7A,7E)), *
UNITADD=((00,064)),LINK=((CSS(0),C5,DE),(CSS(1),C5,DE)),*
CUADD=2,UNIT=3990
CNTLUNIT CUNUMBR=2581,PATH=((CSS(0),7B,7F),(CSS(1),7B,7F)), *
UNITADD=((00,064)),LINK=((CSS(0),D0,9D),(CSS(1),D0,9D)),*
CUADD=2,UNIT=3990
IODEVICE ADDRESS=(2580,064),UNITADD=00,CUNUMBR=(2580,2581), *
STADET=Y,UNIT=3390
CNTLUNIT CUNUMBR=25C0,PATH=((CSS(0),7A,7E),(CSS(1),7A,7E)), *
UNITADD=((00,064)),LINK=((CSS(0),C5,DE),(CSS(1),C5,DE)),*
CUADD=3,UNIT=3990
CNTLUNIT CUNUMBR=25C1,PATH=((CSS(0),7B,7F),(CSS(1),7B,7F)), *
UNITADD=((00,064)),LINK=((CSS(0),D0,9D),(CSS(1),D0,9D)),*
CUADD=3,UNIT=3990
IODEVICE ADDRESS=(25C0,064),UNITADD=00,CUNUMBR=(25C0,25C1), *
STADET=Y,UNIT=3390
CNTLUNIT CUNUMBR=2600,PATH=((CSS(0),7E,7F),(CSS(1),7E,7F)), *
UNITADD=((00,128)),LINK=((CSS(0),84,0F),(CSS(1),84,0F)),*
UNIT=3990-6
IODEVICE ADDRESS=(2600,128),CUNUMBR=(2600),STADET=Y,UNIT=3390
CNTLUNIT CUNUMBR=3800,PATH=((CSS(0),46,47),(CSS(1),46,47)), *
Chapter 3. Configuration as a channel 21
UNITADD=((00,256)),LINK=((CSS(0),C4,C4),(CSS(1),C4,C4)),*
CUADD=0,UNIT=3990-6
CNTLUNIT CUNUMBR=3801,PATH=((CSS(0),4A,4B),(CSS(1),4A,4B)), *
UNITADD=((00,256)),LINK=((CSS(0),C4,C4),(CSS(1),C4,C4)),*
CUADD=0,UNIT=3990-6
IODEVICE ADDRESS=(3800,256),CUNUMBR=(3800,3801),STADET=Y, *
UNIT=3390
We were also provided with the following information:
򐂰 One FLEX-ES serial channel connects to Director AF port 21and the other serial channel
connects to Director AB port FB.
򐂰 The 25xx devices are connected to switch AB port D0 and switch AF port 9D
򐂰 The 26xx devices are connected to switch AF port 8E.
򐂰 The 38xx devices are connected to switch AB port C4.
Figure 3-2 illustrates Example 3-2 on page 20:
Figure 3-2 Graphic depiction of example
We started with the smallest set of FLEX-ES definitions that we could use, as follows:
system R15s:
memsize(524288)
cachesize(4096)
instset(z)
cpu(0)
channel(0) local
channel(2) local
channel(5) serial sca0 # switch AF port 21
cu devad(0x340,128) path(5) unitadd(0x00) cuadd(0x00) link(0x8E)
cu devad(0xA80,1) path(2) resource(CU3990)
cu devad(0x700,3) path(0) resource(CU3174)
end R15s
FLEX-ES Host
SCA0
SCA1
Director AB
Director AF
CU3880
CU2540
CU2500
CU2600
CUADD 0
UNITADD 0
(256 devices)
CUADD 1
UNITADD 0
(64 devices)
AA0-ADF
CUADD 3
UNITADD 0
(64 devices)
300-33F
CUADD 0
UNITADD 0
(128 devices)
340-3BF
Within
same
RVA
RVA
3990-6
RAMAC3
FB
21
C4
D0
9D
8E
200-2FF
22 EFS Systems on a Linux Base: Channel Adapters
resources R15s:
sca0:
serial /dev/chpbt/ch0
end sca0
CU3990: cu 3990
interface local(1)
device(00) 3390-3 /s390/SARES1 # our z/OS volume
end CU3990
CU3174: cu 3174
interface local(1)
device(00) 3278 mstcon
device(01) 3278 L701
device(02) 3278 L702
end CU3174
end R15s
We used the single-volume z/OS system (volser SARES1) that is supplied with the AD
CD-ROM package. We connected a single serial channel to a single control unit. After IPLing,
we could access volumes on control unit CU2600. This assured us that the channel and
definitions were configured correctly. We next expanded the FLEX-ES definitions, as follows:
system R15:
memsize(524288)
cachesize(4096)
instset(z)
cpu(0)
channel(0) local
channel(1) local
channel(2) local
channel(5) serial sca0 # switch AF port 21
channel(6) serial sca1 # switch AB port FB
cu devad(0x300,64) path(5) unitadd(0x00) cuadd(0x03) link(0x9D)
cu devad(0x340,128) path(5) unitadd(0x00) cuadd(0x00) link(0x8E)
cu devad(0xAA0,64) path(6) unitadd(0x00) cuadd(0x01) link(0xD0)
cu devad(0x200,256) path(6) unitadd(0x00) cuadd(0x00) link(0xC4)
cu devad(0xA80,16) path(2) resource(CU3990)
cu devad(0xA90,4) path(2) resource(CU3991)
cu devad(0x700,4) path(0) resource(CU3174)
cu devad(0xE20,2) path(1) resource(CU3172)
cu devad(0x560,1) path(2) resource(CU3480)
end R15
resources R15:
sca0:
serial /dev/chpbt/ch0
end sca0
sca1:
serial /dev/chpbt/ch1
end sca1
CU3990: cu 3990
interface local(1)
device(00) 3390-3 /s390/Z5RES1
device(01) 3390-3 /s390/Z5RES2
device(02) 3390-3 /s390/OS39M1
device(03) 3390-3 OFFLINE
device(04) 3390-2 OFFLINE

Get EFS Systems on a Linux Base: Channel Adapters now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.