IBM Z and LinuxONE IBM Z

IBM Z

The enterprise platform for mission-critical applications brings next-level data privacy, security, and resiliency to your hybrid multicloud.

 View Only
  • 1.  zOS OSAD 10G Fibre configuration question

    Posted Wed July 27, 2022 10:08 AM
    OSAD 10G Fibre - Does it support multiple IP addresses on a single OSAD port, for a single LPAR and instance of TCPIP? That is, can multiple INTERFACE statements be coded for TCPIP PARMs each having a different IP Address, on a different VLAN, in a different address segment, using the name PORTNAME to a Cisco switch in either TRUNK or ACCESS defined port on the switch ? #cisco #ZOS

    ------------------------------
    Paul Gorlinsky
    ------------------------------


  • 2.  RE: zOS OSAD 10G Fibre configuration question

    Posted Wed July 27, 2022 10:38 AM
    Is it possible to use a TRL portname on more than one interface statement with a different IP address?

    ------------------------------
    Paul Gorlinsky
    ------------------------------



  • 3.  RE: zOS OSAD 10G Fibre configuration question

    Posted Wed July 27, 2022 03:02 PM

    Paul,

    Yes, you can define multiple IPAQENET INTERFACE statements for the same physical OSA (OSD) card / port using Portname which points to a user defined TRLE. The TRLE will require enough data devices (2 for read/write control + 1 for every interface statement used by the z/OS instance), in case you run with multiple stacks. For example, if you need 4 INTERFACE statements, then you need at least 6 devices in the TRLE. You also need one additional device if you plan to run NTA (OSA sniffer).  Multiple interface statements for the same OSA requires: 1. Unique VLAN IDs 2. unique IP addresses 3.  each must have a unique subnet mask 4. all must be configured with VMAC (recommend OSA generated) and RouteALL (default). The physical switch port must be configured in trunk mode matching the VLAN IDs defined on the interface statements. Note that when the switch is in access mode z/OS is unaware of VLANs (will not tag or filter). In trunk mode the OS will tag outbound and filter inbound. Also note that when you use portname for a specific OSA, all interfaces in all stacks in all LPARs must use the same portname. Linux does not use portname.  Hope this helps.



    ------------------------------
    Jerry Stevens
    ------------------------------



  • 4.  RE: zOS OSAD 10G Fibre configuration question

    Posted Thu July 28, 2022 12:22 PM
    Thanks for the help... this is a template for what I will be using on a z14


    The IODF specifications are:

    CHPID PATH=(CSS(0,1),60),SHARED,                              *        
                  NOTPART=((CSS(0),(CF1,CF3),(=)),(CSS(1),(CF11,CF10),(=))*        
                ),PCHID=158,TYPE=OSD                                             
          CNTLUNIT CUNUMBR=6000,PATH=((CSS(0),60),(CSS(1),60)),UNIT=OSA          
             IODEVICE ADDRESS=(6000,015),CUNUMBR=(6000),UNIT=OSA                    
    IODEVICE ADDRESS=(600F,001),UNITADD=FE,CUNUMBR=(6000),        *        
               UNIT=OSAD                                                        

    The corresponding VTAM TRLE definitions look like:

    ODCTRLE VTAMLST

             1         2         3         4         5         6         7         8
        5    0    5    0    5    0    5    0    5    0    5    0    5    012  5    0
    TRLOSA   VBUILD TYPE=TRL
    TRL6000  TRLE   LNCTL=MPC,READ=(6000),WRITE=(6001),MPCLEVEL=QDIO,      *
                 PORTNAME=CP60P000,PORTNUM=0,                              *
                 DATA=(6002,6003,6004,6005,6006,6007,6008,6009,600A)


    Note: A DATA UA is needed for EACH IP address to be used on a given PORTNAME!

    TCPIP PARMLIB 
    ;
     INTERFACE VIPALINK
     DEFINE VIRTUAL
     IPADDR 192.108.4.65
    ;
     INTERFACE IF60I067
     DEFINE IPAQENET
     PORTNAME CP60P000
     IPADDR 192.108.4.67 NONROUTER
     VLANID 4
     VMAC ROUTEALL
     SOURCEVIPAINTERFACE VIPALINK
     MTU 1492 ; or 8992
    ;
     INTERFACE IF60I074
     DEFINE IPAQENET
     PORTNAME CP60P000
     IPADDR 192.108.4.74 NONROUTER
     VLANID 4
     VMAC ROUTEALL
     SOURCEVIPAINTERFACE VIPALINK
     MTU 1492 ; or 8992

    ;
     START IF60I067
     START IF60I074




    Paul Gorlinsky






  • 5.  RE: zOS OSAD 10G Fibre configuration question

    Posted Fri July 29, 2022 10:55 AM
    Paul,
    Comments are:
    Reminder, to define and use multiple INTERFACE statements for the same physical OSA, each interface must be unique, i.e. appear as if it is a unique network. This requires:
    1. unique IP subnets which are defined by the mask bits (subnet mask or slash after the ip address), defined on the INTERFACE statement as "ipv4_address/num_mask_bits"
    2. your IP addresses are so similar they appear to be within the same subnet... (or very small subnets) the IP Addresses must be unique and come from unique subnets (defined by your mask)
    3. your VLAN IDs must be unique (you have 4 on both). The VLAN IDs (e.g. 4 and 5) must be configured on the switch port (in trunk mode). 
    4. NONROUTER is invalid. PRI/SEC/NONROUTER only applies when NOT using VMAC. When using VMAC (required for multiple interfaces) then ROUTEALL/ROUTELOCAL replaces PRI/SEC/NONROUTER.  VMAC ROUTEALL is ok as is.
    5. You don't need to define MTU (you seem to have two values) unless you need to override the OSA default (jumbo). 1492 might be safer to use if not sure. Note that MTU from the IP route will override this value (OMPRoute or static). 
    Your HCD and TRLE info appears to be valid, but note that I have not validated your syntax.  The IP Config Guide and Config Reference manuals around IPAQENET INTERFACE should be used as your guide. There is a good description topic for describing the requirements for the multiple VLAN requirements in the Config Guide (search on OSA VLAN).

    ------------------------------
    Jerry Stevens
    ------------------------------



  • 6.  RE: zOS OSAD 10G Fibre configuration question

    Posted Fri July 29, 2022 11:48 AM
      |   view attached

    Thanks again for the help ...

    This is the updated configuration... as an attachment ..



    ------------------------------
    Paul Gorlinsky
    ------------------------------

    Attachment(s)

    pdf
    OSAD Setup.pdf   65 KB 1 version