• No results found

Two S/390s Connected Over a Switch to a LAN

Server/ClientOSA-Express

READ=2380, WRITE=2381,

6. Select OK and then Close. When prompted, restart Windows NT

5.4 Two S/390s Connected Over a Switch to a LAN

This configuration shows two OS/390 systems connected to a switch, using OSA-Express Gigabit Ethernet adapters. We used an IBM 8274 LAN RouteSwitch to connect the Gigabit Ethernet LAN to an existing token-ring environment.

Figure 75 on page 78 shows our network configuration: two OS/390s with Communications Server/390 and the connection to the switch through OSA-Express Gigabit Ethernet adapters. The switch has a Gigabit Ethernet module that has two ports. Each port is connected to an OS/390 system.

IST097I DISPLAY ACCEPTED

IST075I NAME = SC6323A0, TYPE = TRLE 488 IST486I STATUS= ACTIV, DESIRED STATE= ACTIV

IST087I TYPE = LEASED , CONTROL = MPC , HPDT = YES IST1715I MPCLEVEL = QDIO MPCUSAGE = SHARE

IST1716I PORTNAME = OSAGEF8 LINKNUM = 0

IST1577I HEADER SIZE = 4096 DATA SIZE = 64 STORAGE = ***NA***

IST1221I WRITE DEV = 23A1 STATUS = ACTIVE STATE = ONLINE IST1577I HEADER SIZE = 4092 DATA SIZE = 64 STORAGE = DATASPACE IST1221I READ DEV = 23A0 STATUS = ACTIVE STATE = ONLINE IST1221I DATA DEV = 23A2 STATUS = ACTIVE STATE = N/A IST1724I I/O TRACE = OFF TRACE LENGTH = *NA*

IST1717I ULPID = TCPIPMVS IST314I END

Figure 75. Network Configuration

OSA GbE

SC63 SC64

OS/390 OS/390

VTAM VTAM

TCP/IP TCP/IP

10.1.1.1 10.1.1.2

23A0-23A2 2380-2382

CUU IP Address

SC6323A0 SC642380

TRLE (osaname)

OSAGEF8 Portname

OSA GbE OSAGEF4

CHPID F8 CHPID F4

IBM 8274

IP Address 10.1.1.5

IP Address 10.1.1.4

Connectivity Setup Examples 79

5.4.1 Definition Matrix

Table 6 shows the required definitions and their placements.

Table 6. Definition Matrix for Two S/390s Connected Over a Switch to a LAN

The workstation has an IP address of 10.1.1.5, and the IBM 8274 switch has an IP address of 10.1.1.4. In this environment, the IP address of the switch is only necessary for configuration purposes. There was no need for the routing functions of the switch.

OSA/SF is not required because all definitions are set dynamically. See the OSA/SF column in Table 3 on page 55 for the dynamic definitions for the OSA-Express Gigabit Ethernet adapter.

5.4.2 IOCD/HCD Definitions

See Chapter 4, “Hardware Configuration for OSA-Express” on page 41 for a detailed description of the necessary definitions in HCD.

Value HCD

5.4.3 VTAM Definitions

TCP/IP uses a VTAM interface to run the OSA-Express Gigabit Ethernet. A Transport Resource List (TRL) major node must be defined and activated before TCP/IP starts its QDIO device.

Figure 76 shows the VTAM TRL major node definition for SC63.

Figure 76. TRL Major Node for SC63

Figure 77 shows the VTAM TRL major node definition for SC64.

Figure 77. TRL Major Node for SC64

The following definitions are used:

• SC6323A0 is the name of the TRLE in VTAM for SC63. This name is downloaded to the OSA-Express Gigabit Ethernet adapter and used as osaname.

• SC642380 is the name of the TRLE in VTAM for SC64. This name is downloaded to the OSA-Express Gigabit Ethernet Adapter and used as osaname.

• 23A0 and 23A1 are the read and write device addresses of the OSA and are only used to exchange control information. The same applies to 2380 and 2381 for SC64.

Connectivity Setup Examples 81

• 23A2 and 2382 are the device addresses of the datapath of each

OSA-Express Gigabit Ethernet adapter. For QDIO this device is used for the data transfer in both directions.

See Appendix C, “Syntax of Communications Server/390 Definitions” on page 119 for a more detailed description of the TCP/IP profile statements.

Note: The read address must be an even address. The write address must be the immediate next address. The datapath address need not be the

immediate next after the write address; it can be any address in the range of defined devices of the OSA-Express in HCD.

5.4.4 TCP/IP Definitions

TCP/IP only requires DEVICE and LINK definitions corresponding to the portname in an VTAM TRLE. Figure 78 shows the TCP/IP profile definitions of the OSA-Express Gigabit Ethernet adapter (OSAGEF8) for SC63.

Figure 78. TCP/IP PROFILE of SC63

Figure 79 on page 82 shows the TCP/IP profile definitions for the OSA-Express Gigabit Ethernet adapter (OSAGEF4) for SC64.

DEVICE OSA2100 LCS 2100 LINK OSAL2100 IBMTR 0 OSA2100

DEVICE OSAGEF8 MPCIPA NONROUTER

9 = OSAL2100 4096 0.255.255.0 0.12.14.0

10 = OSAGEF8LNK 1492 0.255.255.0 0.1.1.0

DEFAULTNET 9.12.14.75 OSAL2100 4096 0

START OSA2100 START OSAGEF8

Figure 79. TCP/IP PROFILE of SC64

The following definitions are used:

• OSAGEF8 is the portname and it must match the portname in the TRLE on SC63.

• OSAGEF4 is the portname and it must match the portname in the TRLE on SC64.

• OSAGEF8LNK is the link name corresponding to the device and is necessary for the routing table in TCP/IP in system SC63.

• OSAGEF4LNK is the link name in TCP/IP in system SC64.

• 10.1.1.1 is the IP address that is downloaded to the OSA-Express Gigabit Ethernet adapter for SC63.

• 10.1.1.2 is the IP address that is downloaded to the OSA-Express Gigabit Ethernet adapter for SC64.

See Appendix C, “Syntax of Communications Server/390 Definitions” on page 119 for a more detailed description of the TCP/IP profile statements.

5.4.5 Reset OSA-Express Gigabit Ethernet

OSA-Express Gigabit Ethernet holds all dynamically created definitions until the CHPID is configured offline. If OSA-Express is shared among multiple

DEVICE OSA2100 LCS 2100 LINK OSAL2100 IBMTR 0 OSA2100

DEVICE OSAGEF4 MPCIPA NONROUTER

9 = OSAL2100 4096 0.255.255.0 0.12.14.0

10 = OSAGEF4LNK 1492 0.255.255.0 0.1.1.0

DEFAULTNET 9.12.14.75 OSAL2100 4096 0

START OSA2100 START OSAGEF4

Connectivity Setup Examples 83 LPARs, the CHPID must be configured offline from every LPAR. If this is not done, unpredictable results can occur.

Configuring the CHPID offline from every LPAR will reset the active

configuration in the OSA-Express. This can be done from OS/390 or HMC.

See Appendix A, “HMC to Configure OSA-Express Channels On/Off” on page 109 for details.

5.4.6 Activation

If the CHPID is offline, configure it online using the following command:

CF CHP(F8),ONLINE

Normally, all devices connected to this CHPID should come online automatically. If not, set all device addresses online, using the following command:

V (23A0-23A2), ONLINE

Next, activate the TRL using the following VTAM command:

V NET,ACT,ID=SC63OSF8

TCP/IP requires an active TRL prior to starting its device.

After activation of the TRL, the status of the TRLE is NEVAC or INACT until TCP/IP refers to it. When the TCP/IP device is started, configuration information (for example, HOME IP address) is downloaded to the OSA-Express Gigabit Ethernet adapter.

5.4.7 Relevant Status Displays

Figure 80 and Figure 81 show the status of the OSA-Express Gigabit Ethernet devices on SC63 and SC64, displayed with the command:

NETSTA DEV

Figure 80. NETSTAT DEVLINKS from SC63

Figure 81. NETSTAT DEVLINKS from SC64

DevName: OSAGEF8 DevType: MPCIPA DevNum: 0000 LnkName: OSAGEF8LNK LnkType: IPAQGNET Status: Ready

NetNum: 0 QueSize: 0 ByteIn: 0000000316 ByteOut: 0000000316 BSD Routing Parameters:

MTU Size: 00000 Metric: 00

DestAddr: 0.0.0.0 SubnetMask: 255.255.255.0

DevName: OSAGEF4 DevType: MPCIPA DevNum: 0000 LnkName: OSAGEF4LNK LnkType: IPAQGNET Status: Ready

NetNum: 0 QueSize: 0 ByteIn: 0000000000 ByteOut: 0000000316 BSD Routing Parameters:

MTU Size: 00000 Metric: 00

DestAddr: 0.0.0.0 SubnetMask: 255.255.255.0

Connectivity Setup Examples 85 Figure 82 shows the TRLE of the active OSA-Express Gigabit Ethernet on system SC63.

Figure 82. D NET,TRL,TRLE=SC6323A0 from SC63 IST097I DISPLAY ACCEPTED

IST075I NAME = SC6323A0, TYPE = TRLE 487 IST486I STATUS= ACTIV, DESIRED STATE= ACTIV

IST087I TYPE = LEASED , CONTROL = MPC , HPDT = YES IST1715I MPCLEVEL = QDIO MPCUSAGE = SHARE

IST1716I PORTNAME = OSAGEF8 LINKNUM = 0

IST1577I HEADER SIZE = 4096 DATA SIZE = 64 STORAGE = ***NA***

IST1221I WRITE DEV = 23A1 STATUS = ACTIVE STATE = ONLINE IST1577I HEADER SIZE = 4092 DATA SIZE = 64 STORAGE = DATASPACE IST1221I READ DEV = 23A0 STATUS = ACTIVE STATE = ONLINE IST1221I DATA DEV = 23A2 STATUS = ACTIVE STATE = N/A IST1724I I/O TRACE = OFF TRACE LENGTH = *NA*

IST1717I ULPID = TCPIPMVS IST314I END

© Copyright IBM Corp. 1999 87

Related documents