Sample TCP/IP configuration

In this section, you find a sample VTAM® definition and a sample profile for the TCP/IP setup on your IBM Z®. These samples work for both, IBM® Db2® Analytics Accelerator on IBM Integrated Analytics System and Db2 Analytics Accelerator on Z.

Note: The following samples apply to a setup with OSA-Express® cards.

Schematic overview

The following figures give a schematic overview of a working setup. A detailed description of this type of setup can be found in Chapter 5: QDIO mode for z/OS® of the OSA-Express Implementation Guide. To read this guide, click the Related information link at the end of this topic.
Figure 1. Recommended connections between IBM Z server and IBM Integrated Analytics System (including switches)
Diagram that shows the connections between hardware components, such as OSA cards, switches, and IBM Integrated Analytics System.
Important: The switches that you use must support jumbo frames (a frame size of 8992). With some switches, you must enable support for this type of frames in the switch configuration.

Sample VTAM definition

The following sample VTAM definition is for the setup in Figure 1.
*---------------------------------------------*
* GIGABIT ETHERNET OSA EXPRESS                *
* VTAM NODE : IPAMNZA                         *
*---------------------------------------------*
TRLE0   VBUILD TYPE=TRL

IPANZA0 TRLE   LNCTL=MPC,READ=E100,
               WRITE=E101,DATAPATH=E102,
               PORTNAME=GBE100,MPCLEVEL=QDIO

IPANZA1 TRLE   LNCTL=MPC,READ=E300,
               WRITE=E301,DATAPATH=E302,
               PORTNAME=GBE300,MPCLEVEL=QDIO

The following profile uses the names introduced in the VTAM definition.

Sample TCP/IP profile (PROFILE.TCPIP data set)

The following sample TCP/IP profile also refers to the setup in Figure 1.

IPCONFIG MULTIPATH PERCONNECTION
; If you do not use a switch, use NOMULTIPATH instead


; STATIC VIPA DEFINITIONS for IBM Db2 Analytics Accelerator network
DEVICE VIPA1 VIRTUAL 0
LINK VIPA1L VIRTUAL 0 VIPA1
;
; Interfaces to IBM Db2 Analytics Accelerator
;Ten Gigabit Interface Definition for Portname GBE100
   INTERFACE TENGBEE1 DEFINE IPAQENET
    PORTNAME GBE100
    IPADDR 203.0.113.137/24
    MTU 8992
    INBPERF DYNAMIC PRIR
    VMAC ROUTEALL
    SOURCEVIPAINT VIPA1L
;
;Ten Gigabit Interface Definition for Portname GBE300
   INTERFACE TENGBEE3 DEFINE IPAQENET
    PORTNAME GBE300
    IPADDR 203.0.113.237/24
    MTU 8992
    INBPERF DYNAMIC PRIR
    VMAC ROUTEALL
    SOURCEVIPAINT VIPA1L
;
;
HOME
    203.0.113.37      VIPA1L

BEGINRoutes
; Direct Routes - Routes that are directly connected to my interfaces
; Destination Subnet Mask First Hop Link Name Packet Size ;
  ROUTE 203.0.113.0       255.255.255.0   = TENGBEE1 mtu 8992
  ROUTE 203.0.113.0       255.255.255.0   = TENGBEE3 mtu 8992
ENDRoutes
;

;
; In case a global SOURCEVIPA or TCPSTACKSOURCEVIPA address is defined, 
; the source IP address for requests targeting the accelerator network  
; needs to be explicitly defined as the VIPA for the accelerator
; network on z/OS.                                                              
; Otherwise, communication and tools (such as ssh) addressing the private network 
; will fail because the requestor address cannot be reached.   
;
SRCIP
  DESTINATION         203.0.113.0/24   203.0.113.37
ENDSRCIP

  START TENGBEE1 ; 10 GBE to Accelerator
  START TENGBEE3 ; 10 GBE to Accelerator
;