The hardware configuration for two or more Server Units /390 can be defined in a shared IOGEN description. This description then provides the input for generating each individual Server Unit.
The hardware units which occur only once physically (e.g. devices, controllers) should only be described once. The physically available channels comprise the channels from all Server Units in the network.
The operand SELECT=n
(n = 1, ... , 9, A, ... ,F) in /START-IOGEN
specifies the Server Unit for which the description is to be used as the basis for generation.
If the SELECT
operand is not specified or if SELECT=0
is specified, then the description may only contain one Server Unit.
If SELECT=n
(n>0
) applies, the nth GEN statement and the CPU and IOCFID statements following it are evaluated. A different sequence of GEN, CPU, IOCFID statements (for generating a different Server Unit) is ignored.
Channel path identifiers are assigned to the Server Units as follows:
channel path identifier n0xx represents the channel xx in server n (n = 1,...,9,A,...,F)
channel path identifier 00xx or xx is used as a general channel for all Server Units.
The statements CHN, CTL and DVC, extended by this new assignment, are used to define hardware units.
In the case of the CHN statements, all n0xx, 00xx and xx channels for the Server Unit n are evaluated, all others are ignored as “remote channels”.
In the case of the CTL statements, the attachments relating to “remote channels” are removed from the controllers described. Controllers on “remote channels” alone are completely ignored.
In the case of DVC statements, the devices on “remote controllers” (only connected to other Server Units) are removed from the devices described.
A precondition for this is that the CTL statements be specified before the associated DVC statements in the sequence of statements for the IOGEN run.
Furthermore, the PREP
operand for “remote channels” is filtered out in DVC statements. The filter operation is performed for each statement (CHN, CTL, DVC). The customary checks are then performed.
Example of a network generation
For the sake of clarity, this example contains a small extract from an I/O configuration. The advantage of an IOGEN description for two or more Server Units only becomes obvious in a large configuration with several shared disk peripherals.
The generation for Server Unit 2 is started using /START-IOGEN ...,SELECT=2
.
*********************************************************************** * SERVER UNIT 1: SU700-1 * SERVER UNIT 2: SU700-2 *********************************************************************** CPGOPT REPLACE=YES *********************************************************************** * SYSTEM 1: CHN 1XXX, 0XXX, XX * *********************************************************************** GEN IOCONF,NAME=SU700-1 1. CPU SE IOCFID 'SU700-1 / EXAMPLE' *********************************************************************** * SYSTEM 2: CHN 2XXX, 0XXX, XX * *********************************************************************** GEN IOCONF,NAME=SU700-2 2. CPU SE IOCFID 'SU700-2 / EXAMPLE' *********************************************************************** * CHANNEL SYSTEMS 1 AND 2 *********************************************************************** CHN 00,IBF,MODE=CNC * FCLINK NATIVE MODE 3. CHN 40,IBF,MODE=FCP * MU DIRECT (KVP) *********************************************************************** * FCP CHANNELS * SYSTEM 1 * *********************************************************************** CHN 1008,IBF,MODE=FCP * HNC DIRECT 4. CHN 100A,IBF,MODE=FCP * DISK CHN 100B,IBF,MODE=FCP * DISK CHN 100C,IBF,MODE=FCP * DISK CHN 100D,IBF,MODE=FCP * DISK *********************************************************************** * FCP CHANNELS * SYSTEM 2 * *********************************************************************** CHN 2041,IBF,MODE=FCP * HNC DIRECT 5. CHN 201A,IBF,MODE=FCP * DISK CHN 201B,IBF,MODE=FCP * DISK CHN 201C,IBF,MODE=FCP * DISK CHN 201D,IBF,MODE=FCP * DISK *********************************************************************** * CONTROL UNIT HST * *********************************************************************** CTL HS,BLM,(00,0),CUADD=3F * CUADD 3F 6. *********************************************************************** * MU FCP CHANNEL 40 * *********************************************************************** CTL CC80,BLM,(40,0,0000000000000000) * DIRECT 7. *********************************************************************** * KVP MAIN-CONSOLE MONITOR SYSTEM * *********************************************************************** DVC C2,64,A,C3,(CC80) DVC C3,64,A,C4,(CC80) *********************************************************************** * *********************************************************************** * HNC FCP CHANNEL 08 SYSTEM 1 * *********************************************************************** CTL CC00,BLM,(1008,0,0000000000000000) * DIRECT 8. *********************************************************************** DVC CC00,6D,A,0000,(CC00),MULT=2 *********************************************************************** * *********************************************************************** * HNC FCP CHANNEL 41 SYSTEM 2 * *********************************************************************** CTL CD00,BLM,(2041,0,0000000000000000) * DIRECT 9. *********************************************************************** DVC CD00,6D,A,0000,(CD00),MULT=2 *********************************************************************** * *********************************************************************** * DISKS * *********************************************************************** CTL 8001,BLM,(100A,0,5000097208132110),(100D,0,5000097208132124) 10. CTL 8002,BLM,(201A,0,5000097208132110),(201D,0,5000097208132124) CTL 8003,BLM,(100C,0,500009720813211C),(201B,0,5000097208132114) CTL 5100,BLM,(100B,0,5000097208132515) CTL 5101,BLM,(201C,0,5000097208132521) *********************************************************************** DVC 8000,A5,D,0000,(8001),(8002),(8003),MULT=64 11. DVC 5100,AA,D,000A,(5100),(5101),MULT=16 DVC 5110,AA,D,001A,(5100),MULT=16 DVC 5120,AA,D,002A,(5101),MULT=16 END
The GEN, CPU, IOCFID sequence of statements (to generate Server Unit 1) is ignored.
The second GEN statement (...,
...,SELECT=2
) and the CPU and IOCFID statements following it are evaluated.Channel 00 is generated on both Server Units.
The statements for the “remote channels” (
chn-path-id 1xxx
) are ignored.All
chn-path-id 2xxx
are replaced by0xxx
in the following statements.This CTL statement is taken into consideration for both Server Units (since it refers to channel 00).
This CTL statement is taken into consideration for both Server Units (since it refers to channel 00), as are the DVC statements following it.
This CTL statement is ignored (because of the “remote channel 1008”), as are the DVC statements following it.
This CTL statement (on the non-remote channel) and the statements following it are executed.
The following applies for the CTL statements (here for disk controllers):
the statements for 8001 and 5100 are ignored (only with “remote channels”)
the statements for 8002 and 5101 are accepted (only with non-remote channels)
the attachments for “remote channels” are removed from the statement for 8003, which is then accepted
The attachments for “remote controllers” (8001 and 5100, see (10)) are removed from the available devices.
This means that the devices 5110 through 511F connected solely via 5100 are omitted.