SG 247223
SG 247223
Bill White
Daniela Di Casoli
Octavio Ferreira
Walter Porschen
Mike Riches
ibm.com/redbooks
International Technical Support Organization
November 2006
SG24-7223-01
Note: Before using this information and the product it supports, read the information in “Notices” on
page ix.
This edition applies to Version 1, Release 2, Modification 1 of IBM Communication Controller for Linux on
System z (product number 5724-J38).
Notices . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xi
Trademarks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xii
Preface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xiii
The team that wrote this redbook. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xiii
Become a published author . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xiv
Comments welcome. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xiv
Chapter 1. Introduction. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
1.1 Why CCL is important . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
1.1.1 Who should consider CCL . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
1.1.2 Why on the mainframe platform . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
1.1.3 Simplified migration. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
1.2 Basic concepts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
1.3 Connectivity options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
1.3.1 CDLC connectivity . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
1.3.2 LLC2 connectivity . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
1.3.3 IPTG connectivity . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
1.3.4 X.25 connectivity . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
1.3.5 DLSw connectivity. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
1.3.6 List of supported connections . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
1.4 Hardware and software support . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
1.5 Performance comparison . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
Chapter 2. Planning . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
2.1 CCL V1.2.1 project outline . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
2.2 Physical inventory . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
2.3 Logical and functional inventory . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
2.4 Reconcile and Optimize . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
2.5 Strategic planning . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
2.5.1 CCL functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
2.5.2 CCL network interfaces. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
2.6 Design review . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
2.6.1 High availability . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
2.6.2 CCL NCP design scenario . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
2.7 Test environment . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
2.8 Functional implementation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
Contents v
8.2 Configuring X.25 connections . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 179
8.2.1 Defining NPSI resources in the NCP generation . . . . . . . . . . . . . . . . . . . . . . . . 180
8.2.2 Defining and activating a switched major node. . . . . . . . . . . . . . . . . . . . . . . . . . 181
8.2.3 Installing the IBM XOT code in Linux on System z . . . . . . . . . . . . . . . . . . . . . . . 182
8.2.4 Configuring the IBM XOT parameter file . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 186
8.2.5 Defining the XOT router parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 191
8.3 Activating and verifying X.25 connections. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 192
8.3.1 Starting the IBM XOT server, and verifying the socket connection. . . . . . . . . . . 193
8.3.2 Activating the NPSI MCH line and verifying the socket connection . . . . . . . . . . 195
8.3.3 Verifying the X.25 connections . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 196
8.4 Diagnosing CCL X.25 problems . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 200
8.4.1 CCL Engine logs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 200
8.4.2 CCLXOT manager commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 202
8.4.3 IBM XOT traces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 203
8.4.4 CCL SIT trace . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 204
8.4.5 CCL Engine dump. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 205
Contents vii
G.2.2 IBM XOT server definitions for the CCL connections. . . . . . . . . . . . . . . . . . . . . 342
G.3 NPSI-to-XOT router subarea dial INN connection . . . . . . . . . . . . . . . . . . . . . . . . . . . 344
G.3.1 NCP generation parameters. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 345
G.3.2 VTAM switched major node definitions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 347
G.3.3 IBM XOT server definitions for the CCL connection. . . . . . . . . . . . . . . . . . . . . . 348
G.3.4 XOT router definitions for the 3745/3746 connection. . . . . . . . . . . . . . . . . . . . . 349
G.4 NPSI-to-NPSI XOT subarea dial INN connection. . . . . . . . . . . . . . . . . . . . . . . . . . . . 349
G.4.1 NCP generation parameters. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 350
G.4.2 VTAM switched major node definitions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 352
G.4.3 IBM XOT server definitions for the CCL connections. . . . . . . . . . . . . . . . . . . . . 353
Index . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 359
This information was developed for products and services offered in the U.S.A.
IBM may not offer the products, services, or features discussed in this document in other countries. Consult
your local IBM representative for information on the products and services currently available in your area.
Any reference to an IBM product, program, or service is not intended to state or imply that only that IBM
product, program, or service may be used. Any functionally equivalent product, program, or service that does
not infringe any IBM intellectual property right may be used instead. However, it is the user's responsibility to
evaluate and verify the operation of any non-IBM product, program, or service.
IBM may have patents or pending patent applications covering subject matter described in this document. The
furnishing of this document does not give you any license to these patents. You can send license inquiries, in
writing, to:
IBM Director of Licensing, IBM Corporation, North Castle Drive Armonk, NY 10504-1785 U.S.A.
The following paragraph does not apply to the United Kingdom or any other country where such provisions
are inconsistent with local law: INTERNATIONAL BUSINESS MACHINES CORPORATION PROVIDES THIS
PUBLICATION "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED,
INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF NON-INFRINGEMENT,
MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Some states do not allow disclaimer of
express or implied warranties in certain transactions, therefore, this statement may not apply to you.
This information could include technical inaccuracies or typographical errors. Changes are periodically made
to the information herein; these changes will be incorporated in new editions of the publication. IBM may make
improvements and/or changes in the product(s) and/or the program(s) described in this publication at any time
without notice.
Any references in this information to non-IBM Web sites are provided for convenience only and do not in any
manner serve as an endorsement of those Web sites. The materials at those Web sites are not part of the
materials for this IBM product and use of those Web sites is at your own risk.
IBM may use or distribute any of the information you supply in any way it believes appropriate without
incurring any obligation to you.
Information concerning non-IBM products was obtained from the suppliers of those products, their published
announcements or other publicly available sources. IBM has not tested those products and cannot confirm the
accuracy of performance, compatibility or any other claims related to non-IBM products. Questions on the
capabilities of non-IBM products should be addressed to the suppliers of those products.
This information contains examples of data and reports used in daily business operations. To illustrate them
as completely as possible, the examples include the names of individuals, companies, brands, and products.
All of these names are fictitious and any similarity to the names and addresses used by an actual business
enterprise is entirely coincidental.
COPYRIGHT LICENSE:
This information contains sample application programs in source language, which illustrates programming
techniques on various operating platforms. You may copy, modify, and distribute these sample programs in
any form without payment to IBM, for the purposes of developing, using, marketing or distributing application
programs conforming to the application programming interface for the operating platform for which the sample
programs are written. These examples have not been thoroughly tested under all conditions. IBM, therefore,
cannot guarantee or imply reliability, serviceability, or function of these programs. You may copy, modify, and
distribute these sample programs in any form without payment to IBM for the purposes of developing, using,
marketing, or distributing application programs conforming to IBM's application programming interfaces.
IPX, Java, JRE, and all Java-based trademarks are trademarks of Sun Microsystems, Inc. in the United States, other
countries, or both.
Linux is a trademark of Linus Torvalds in the United States, other countries, or both.
Other company, product, or service names may be trademarks or service marks of others.
This IBM® Redbook will help you to install, tailor, and configure the IBM Communication
Controller for Linux® on System z™ (CCL) V1.2.1. It focuses on the migration of IBM 3745/46
hardware functions and the IBM Network Control Program (NCP) to a CCL environment with
easy-to-understand, step-by-step guidance.
The publication provides information to assist you with the planning, implementation, and
setup of OSA-Express, Linux, and CCL, and describes helpful utilities and commands that you
can use to monitor and operate the CCL environment.
Using realistic scenarios, it explains the changes that are necessary to NCP and VTAM®
definitions to support CCL.
The target audience for this redbook includes system engineers, network administrators, and
systems programmers who will plan for and install CCL V1.2.1. Readers should have a solid
background in SNA networking (VTAM and NCP) and Linux operating systems, as well as
OSA-Express setup and OSA/SF usage.
Bill White is a Project Leader and Senior Networking Specialist at the International Technical
Support Organization, Poughkeepsie Center.
Octavio Ferreira is a Senior I/T Specialist in IBM Brazil. He has 27 years of experience in
IBM software support. His areas of expertise include z/OS® Communications Server, SNA
and TCP/IP, Communications Server on all platforms. For the last eight years, he has worked
at the Area Program Support Group providing guidance and support to customers, and
designing networking solutions such as SNA and TCP/IP integration, z/OS Connectivity,
Enterprise Extender design and implementation, and SNA-to-APPN migration.
Walter Porschen is a Senior I/T Specialist in IBM Germany. He has 36 years of experience
in IBM support. His areas of expertise include z/OS Communications Server, SNA and
TCP/IP. Previous positions include CE education (hardware and software instruction) and
customer service for hardware and software (country specialist). For the last 17 years, he has
worked on networking support teams at both the country and European level.
Mike Riches is a Network Specialist within Global Technology Services, United Kingdom,
providing remote technical support and on-site consultancy for IBM clients in Europe and
South Africa. He has 14 years of experience as a Network Systems Programmer, both with
IBM and a number of major IBM clients. He has achieved Senior accreditation in the Product
Services Profession since joining IBM in 2002. His areas of expertise include z/OS
Communications Server, traditional subarea SNA, APPN, and TCP/IP networking.
Brian Baker, Chris Chato, Alfred Christensen, Chuck Gardiner, Arnie Hackett, Mike Law,
Erika Lewis, Joe Mason, Tom McSweeney, Bob Perrone, and Suvas Shah
Thanks also to the International Technical Support Organization, Poughkeepsie center, for
their invaluable support in this project, particularly:
Dave Bennin, Roy Costa, Rich Conway, Greg Geiselhart, and Bob Haimowitz
Your efforts will help increase product acceptance and customer satisfaction. As a bonus,
you'll develop a network of contacts in IBM development labs, and increase your productivity
and marketability.
Find out more about the residency program, browse the residency index, and apply online at:
ibm.com/redbooks/residencies.html
Comments welcome
Your comments are important to us!
We want our Redbooks™ to be as helpful as possible. Send us your comments about this or
other Redbooks in one of the following ways:
Use the online Contact us review redbook form found at:
ibm.com/redbooks
Send your comments in an email to:
[email protected]
Mail your comments to:
IBM Corporation, International Technical Support Organization
Dept. HYJ Mail Station P099
2455 South Road
Poughkeepsie, NY 12601-5400
Chapter 1. Introduction
In today’s IT environment, companies are simplifying their networks and moving toward an on
demand environment. They want to move off older, slower-networking hardware in order to
be able to take advantage of newer technology. At the same time, they want to preserve their
investment in current applications and continue to use solutions that they have come to rely
on.
The IBM Communication Controller for Linux on System z is software that emulates IBM
3745/46 hardware and runs in the mainframe. Communication Controller for Linux (CCL)
provides an attractive migration solution, integrating the latest networking hardware with
existing mission-critical software.
In this chapter we introduce the capabilities of CCL and discuss the following:
Why CCL is important
Basic concepts
Connectivity options
Hardware and software support
Performance comparison
The mainframe Linux platform is a strategic environment for running many key software
solutions along with CCL. In the past, NCPs were connected to the host via Token Ring or
ESCON® channel attachments. Many Token Ring products are also being withdrawn from
marketing and ESCON channel chips are no longer manufactured. Therefore, moving the
NCP to CCL removes a non-strategic hardware dependency through the use of Ethernet
technology.
So not only does CCL reduce your dependency on aging hardware—but running an NCP in
Linux on mainframe servers also provides many other advantages. For example, you can
leverage the strengths of System z9 and zSeries hardware, known for reliability, security,
scalability and business resiliency. In addition, CCL with Linux can run in either native LPAR
mode or as a z/VM® guest. You can also use lower-cost Integrated Facility for Linux (IFL)
processor for handling the CCL workload.
In addition, Communication Controller for Linux supports an SNA migration evolving towards
simplified networks inclusive of IP network infrastructure and enhanced hardware
independence, while continuing to operate and leverage the value in existing SNA application
portfolios. Moving NCP functions to the System z9 or zSeries server can allow the SNA
network to continue to be consolidated into the server, more closely integrating SNA
applications and the NCP. This evolutionary migration can allow not only network
simplification, but also the continuing use of critical SNA applications.
Another benefit is that you do not have to implement an additional server platform into the
mainframe data center, thus simplifying the environment and reducing overall operational
costs.
Likewise, the OSA-Express features on the mainframe provide offload capabilities that allow
for high-performance connectivity, as well as the appropriate support for SNA connectivity.
Implementing CCL so that it runs in a logical partition or as a z/VM guest ensures that it can
work seamlessly with all the current mainframe operating systems (z/OS, Z/VM, z/VSE™,
and z/TPF).
Using Linux for System z makes for a cost-effective and convenient server consolidation
effort. Rather than requiring additional hardware and raised floor space, CCL is a shared
resource within the mainframe.
System z9 and zSeries servers offer an attractive option for customers who want to use the
IBM Integrated Facility for Linux (IFL)1 processor and z/VM, which can support a range of
many images per processor. A controller can be created or started based on the demands of
your network; if you need another controller, you just start another instance that may be in the
same Linux image. You may also run in different Linux images for high availability. In addition
to help reduce the dependency on IBM 3745/46 hardware, lower-speed network connectivity
such as Token Ring or ESCON hardware can be replaced with high-speed OSA-Express
adapters in the System z9 or zSeries servers.
The mainframe is a good choice because of the ability to optimize the processing of CCL; part
of the emulator is written in System z assembler, which exploits various advanced features in
the OSA-Express environment that do not exist on other platforms. For example, Layer 2
support and the capability to share OSA-Express ports across multiple logical partitions,
which are also very important from a virtualization perspective.
CCL also allows you to have integration points as close to the SNA applications as possible,
minimizing the reach of any SNA network that is in place.
From an operational point of view, CCL provides interfaces that allow you to load, operate,
manage, and dump NCPs. CCL has its own MOSS console, which is used to manage and
operate NCPs running on Linux such as starting and stopping the Communication Controller,
dumping NCP or the Communication Controller, and displaying and altering storage. These
are provided by CCL via an easily accessible browser interface.
1
Linux workload on the IFL processor does not result in any increased IBM software charges for the traditional
System z9 and zSeries operating systems and middleware. IFLs are not supported on S/390® G5/G6 servers.
Chapter 1. Introduction 3
By offering an alternative platform for running NCP software, CCL enables a possible
migration path for the following IBM Communication Controller products:
IBM 3705 Communication Controller
IBM 3720 Communication Controller
IBM 3725 Communication Controller
IBM 3745 Communication Controller
IBM 3746-900 Nways® Multiprotocol Controller
The Network Device Handler (NDH) and the Linux device drivers run in the kernal-space.
Figure 1-1 shows the CCL components.
Linux on System z
CCL
CCL CCL
MOSS NCP DLSw
Console Load
Module
The CCL Engine emulates an IBM 3745-31A with 16 MB memory supporting an NCP load
module2 and a MOSS console interface. The MOSS console is accessed through a standard
Web browser.
NDH is a kernel extension that acts as the interface between a real network interface (such
as an OSA port) and the NCP Token Ring Interface (NTRI). The only supported local area
2 NCPs from any 3745/46 model are supported.
The CCL Engine provides the platform for running the NCP software, supporting many
configurations that currently use the IBM 3745/46 hardware environment. Specifically, these
functions include:
X.25 over TCP/IP (XOT)
CDLC, using an OSA-Express2 port
Data Link Switching (DLSw)
SNA LLC2 connectivity over OSA (LCS or Layer 2)
IP connectivity between two CCL NCPs (IPTG)
Figure 1-2 shows the 3745/46 functions that are supported by CCL V1.2.1 on a System z9
server.
Important: Not all functions described in this section are supported on the zSeries
servers; refer to 1.3, “Connectivity options” on page 6 for details.
X.25 TIC3
Assist
processors
SNA CDLC over
SDLC CDLC OSA QDIO
(OSN)
IP TG
ESCON TIC3
IP over OSA
XOT LCS or QDIO
(Layer 2 or 3)
DLSw
The network interfaces of the IBM 3746 are accessed through the DPSA interface, offloading
the low-level line-specific control functions from the NCP to one of the assist processors in
Chapter 1. Introduction 5
the IBM 3746 frame. This capability is also provided for an NCP running in CCL, which
means:
Improved performance, because fewer instructions are processed by the CCL Engine
Improved multi-processing capabilities - handing work from the CCL Engine process to
other processes in Linux
The TIC2 interface is also supported with CCL V1.2.1. However, the TIC3 interface provides
higher throughput. Therefore, the use of TIC3 interface definitions is the preferred method for
SNA LLC2 connections when setting up the CCL V1.2.1 environment.
Corporation
Business partner
VTAM VTAM
(z/OS, (z/OS, IBM
z/VSE, z/VSE, z/TPF
3745/46
z/TPF z/VM) z/VM) NCP VTAM
SNI
IBM
3745/46 NCP
non-SNA
Device
Token Ring X.25
SNA
BNN Device
INN (QLLC)
SNA
Device
IBM
NCP
3745/46
This section provides a brief overview of the connection types supported with CCL V1.2.1,
which include:
CDLC connectivity - VTAM-to-CCL NCP connections
LLC2 connectivity - VTAM-to-CCL NCP and BNN connections
IPTG connectivity - CCL NCP-to-CCL NCP (INN and SNI) connections
X.25 connectivity - X.25 connections
DLSw connectivity - BNN, INN, and SNI connections
TPF and VTAM see the OSA Express OSN port as a channel-attached IBM 3745 to which
they communicate using the usual CDLC channel protocol. Because of this, existing
configuration definitions remain unchanged and activation and management flows continue to
work as before (for example, the Load/Dump functions over a channel are fully supported).
TPF or VTAM must reside in the same System z9 server as the CCL NCP; see Example 1-4.
VTAM
z/TPF (z/OS, z/VSE,
or z/VM)
CDLC CDLC
OSA Express2
(OSN mode)
QDIO QDIO
NCP
CCL
VTAM uses Link Service Architecture (LSA) support via an OSA port to communicate at LLC2
level on the LAN with a CCL NCP.
LCS mode
CCL in conjunction with an OSA Ethernet or Token Ring port in LCS mode can support LLC2
connections.
Each endpoint in an LLC2 connection is identified by a Media Access Control (MAC) address,
which in this case is a MAC address that is assigned via OSA/SF to the OSA port.
Figure 1-5 on page 8 shows the use of LCS mode with CCL, which is supported on the
System z9 (z9 EC and z9 BC), zSeries (z990, z890, z900, and z800), and S/390 G5/G6
servers.
Chapter 1. Introduction 7
VTAM
(z/OS, z/VSE, z/VM)
CCL NCP
Serial SNA
Lines LLC2
Layer 2 mode
CCL in conjunction with an OSA-Express2 or OSA-Express Ethernet port in QDIO mode
(OSD) can exploit Layer 2 support for LLC2 connections.
Each endpoint in an LLC2 connection is identified by a Media Access Control (MAC) address,
which in this case is a virtual MAC address that is assigned by the QDIO device driver in
Linux on System z to the OSA port.
Note: Layer 2 support can also be provided through the z/VM virtual switch, refer to
OSA-Express Implementation Guide, SG24-5948, for details.
Figure 1-6 on page 9 shows the use of Layer 2 mode with CCL, which is supported on the
System z9 (z9 EC and z9 BC) and zSeries (z990 and z890) servers.
OSA in QDIO
OSA in LSA
mode (OSD)
mode (OSE)
Layer 2 MAC
Address
Copper Copper or
WAN Fiber
Aggregation
Platform
DLSw
Serial SNA
Lines LLC2
A TRP in a real IBM 3746 does all the SNA LLC2 processing on behalf of the NCP, using the
DPSA. Because there is no real LLC2 processing when using IPTG, it performs extremely
well for INN or SNI traffic between two CCL NCPs.
Connectivity to the IP network is provided by an OSA port in LCS mode or QDIO mode
(Layer 2 or 3).
Figure 1-7 on page 10 depicts an IPTG connection, which is supported on the System z9
(z9 EC and z9 BC), zSeries (z990, z890, z900, and z800), and S/390 G5/G6 servers.
Chapter 1. Introduction 9
CCL CCL
NCP NCP
IPTG IPTG
LCS or LCS or
QDIO QDIO
IP Network
Note: IPTG in combination with the CDLC connectivity to VTAM provides up to 6 times
better throughput than two IBM 3745 (INN or SNI) NCPs connected via Token Ring.
The IPTG TCP/IP connection can optionally be secured (encrypted) using stunnel technology
provided by Linux.
Additionally, control of TCP port numbers can be enforced at both endpoints via firewalls
between business partners.
XOT is an open standard and defined in RFC 1613 Cisco Systems X.25 over TCP (XOT).
CCL does not support the XOT protocol itself but does provide an interface to send and
receive X.25 packets through NDH sockets. You need an additional software component
(IBM X.25 over TCP/IP for Communication Controller for Linux) to terminate the XOT protocol
within the Linux on System z image.
Physical connectivity to the X.25 network is via a WAN aggregation platform. Connectivity
between WAN aggregation platform and NPSI is via an X.25 Over TCP/IP (XOT) connection,
as shown in Figure 1-8 on page 11.
Connectivity to the IP network is provided by an OSA port in LCS mode or QDIO mode
(Layer 2 or 3), on the System z9 (z9 EC and z9 BC), zSeries (z990, z890, z900, and z800),
and S/390 G5/G6 servers.
CCL non-SNA
NCP Terminal
NPSI
SNA
X.25 Terminal
XOT Network (QLLC)
NDH
LCS or
QDIO WAN
XOT Aggregation
Platform
IP Network
IBM provides the XOT protocol support for Linux on System z as a separately priced feature
called IBM X.25 over TCP/IP for Communication Controller for Linux (IBM XOT), feature code
5724-O43.
CCL DLSw is a forwarding mechanism for the LLC2 protocol. It relies on the switch-to-switch
protocol (SSP) and TCP/IP to provide a reliable transport of SNA traffic over an IP network.
DLSw does not provide full routing capabilities, but does provide switching at the data link
layer. Rather than bridging LLC2 frames, DLSw encapsulates the data in TCP/IP frames and
forwards them to a peer DLSw for delivery to their intended end-station addresses.
CCL DLSw provides an interface to send and receive packets through NDH sockets for
communication with the CCL NCP.
Physical connectivity for the serial lines is via a WAN aggregation platform. Connectivity
between WAN aggregation platform with DLSw and DLSw within the Linux on System z
image is shown in Figure 1-9 on page 12.
Connectivity to the IP network is provided by an OSA port in LCS mode or QDIO mode
(Layer 2 or 3), on the System z9 (z9 EC and z9 BC), zSeries (z990, z890, z900, and z800),
and S/390 G5/G6 servers.
Chapter 1. Introduction 11
Linux on System z
CCL
WAN
NCP Aggregation
NCP Platform
DLSw
NDH DLSw
NCP
LCS or
QDIO Token Ring
IP Network
CDLCa X X
Layer 2 X X X X
LCSb X X X X X X X X
IPTGc X X X X X X X X
X.25d X X X X X X X X
DLSw X X X X X X X X
a. Recommended for connectivity between VTAM and CCL NCP in the same System z9 server
b. QDIO Layer 2 provides better OSA port sharing capabilities (such as multiple MAC address
support)
c. Preferred over DLSw for INN or SNI connectivity between CCL NCPs
d. Requires additional XOT software
Selecting the right connectivity options for any Communication Controller environment
requires thorough planning; refer to Chapter 2, “Planning” on page 15 for guidance.
Chapter 1. Introduction 13
Additionally, the System Support Program (SSP), Network Routing Facility (NRF) and
NTuneMON products are also supported by CCL at the release level supported by the
corresponding NCP.
For availability of further distributions supporting CCL V1.2.1 functions and specific package
requirements on top of available distributions, refer to:
http://www.ibm.com/software/network/ccl
Chapter 3, “Preparing and installing” on page 31, provides more detailed information
regarding hardware and software requirements.
In some cases, CCL can deliver between 5 and 6 times more transactions per second than
an IBM 3745/46 31A configuration. With CCL V1R2 running in a System z9, it is possible to
consolidate INN or SNI workloads from up to five IBM 3745 31A configurations (CCU
utilization at around 70%) into a single System z9 IFL engine.
OSN connectivity between VTAM and a CCL NCP improves performance about 40% as
compared to a shared LAN between VTAM and a CCL NCP, using LLC2.
IPTG connectivity between two CCL NCPs also improves performance as compared to SNA
LLC2 over a shared LAN between the two CCL NCPs. An INN or SNI environment using
OSN between VTAM and the CCL NCPs and IPTG between the two CCL NCPs performs
about 30% better than a similar environment using SNA LLC2 over a shared LAN between
the two NCPs.
Use of QDIO Layer 2 for SNA LLC2 traffic between a CCL NCP and a LAN does not appear
to have a performance benefit over LCS connectivity. However, use of QDIO Layer 2
provides much improved OSA port sharing capabilities (such as multiple MAC address
support), and the opportunity to make use of fiber-optic LAN ports, such as Gigabit and
10 Gigabit OSA-Express2 ports.
When comparing CCL CPU utilization to IBM 3745 CCU utilization, many factors influence
the comparison. The most significant factor is the hardware configuration of the IBM 3745/46
environment – in particular whether TIC2 or TIC3 interfaces are used for LAN connectivity.
Note: A CCL CPU utilization estimate based on existing IBM 3745 CCU utilization should
not be made without a clear understanding of the current IBM 3745/46 hardware
configuration.
For more details, refer to CCL V1R2 – System z9 and zSeries CPU Capacity Planning, at:
http://www-1.ibm.com/support/docview.wss?uid=swg27006207&aid=1
Chapter 2. Planning
When deciding to migrate from your IBM Communication Controller (3745/46) environment,
you must face the initial challenge of knowing what functions your Communication Controllers
are currently providing.
In this chapter we provide a process for reviewing, optimizing, and planning the migration of
your Communication Controller environment. We describe a methodology used to plan a
CCL V1.2.1 implementation project.
The high-level project plan illustrated in Figure 2-1 presents an approach to reviewing your
current Communication Controller environment and preparing a project plan to implement
CCL.
1
Physical
Inventory
2 3
Logical and
Reconcile
Functional and Optimize
Inventory
4
Strategic
Planning
5 6 7
Design Test Functional
Review Environment Implementation
CCL V1.2.1 emulates a 3745/46 model 31A (with 16 MB of memory); however, NCPs from
any 3745/46 model are supported. Even older model Communication Controllers (such as
IBM 3705, 3720, and 3725) should be considered when moving to CCL.
It is important to carefully explore and clearly understand the equipment that you have
installed, as well as how it is being used.
In 2.4, “Reconcile and Optimize” on page 18, the logical and functional inventory is used
along with the physical inventory to identify Communication Controller hardware that is no
longer needed. The logical and functional inventory also provides important information on
how Communication Controllers are currently being used for 2.5, “Strategic planning” on
page 18.
Your logical and functional inventory should start with a review of your NCP generation
statements. For those Communication Controller resources that are still in use, understand
how they serve the needs of your organization. Start by identifying those functions that can be
migrated to CCL V1.2.1, such as:
NCP-related functions:
– Boundary function lines, INN lines, SNI lines
– Use of duplicate TIC MAC addressing for availability and scalability
– XRF, NRF, NPSI support
– NTuneMON, NPA-LU
Functions that are not supported by CCL and cannot be migrated are:
– NTO, XI, NSI, and NSF
– Network Node Processor functions (3746-900 or 3746-950)
Chapter 2. Planning 17
Tip: Tools such as NTuneMON, NetView®, and NPM can be helpful in determining
whether resources are still in use.
The worksheets located in Appendix C, “Reconciled logical and physical inventory worksheet”
on page 293 may be used to guide you through this process.
Your Communication Controller strategic plan should include the following tasks:
Review your current physical and logical Communication Controller environment.
Review the functional roles that your Communication Controllers play.
Identify workloads that can be moved off the SNA network via SNA/IP integration
technologies, such as Enterprise Extender.
Identify which functions can be migrated to CCL V1.2.1.
Determine which NCPs will move to CCL and in which order.
Identify which NCPs can be consolidated when moving to CCL.
Determine which WAN or serial lines can be terminated. For example, remote locations
that are already connected through an IP network to the data center - DLSw or IPTG
technology over the IP network can be used instead.
Identify which WAN or serial lines are supported through WAN aggregation platforms. In
this case you must:
– Define how many serial ports will be necessary to migrate
– Determine the number of routers and/or switches needed
– Provide redundancy for WAN termination if required
Include a high availability strategy - levels of redundancy and fail-over capabilities
Note: Formulate your strategy with respect to the future role of the Communication
Controllers in your environment.
Software NCP (V7R5 and above) Serial lines (SDLC, Other IBM 3745
and compatible levels of Frame Relay, and ISDN) software products:
NRF are supported by DLSw XI/NSF, EP, NTO,
software that runs in the NSI, MERVA, and
SSP, NTuneMON, CCL Engine TPNS
NetView, and NPM
continue to work as they X.25 circuits are Functions provided by
have in the past supported by OEM XOT the IBM 3746 MAE or
software that runs in the NNP
NCP Packet Switching CCL Engine
Interface (NPSI) NCP-based IP routing
Physical network OSA Token Ring and SDLC, Frame Relay, BSC, ALC, Start/Stop
interfaces Ethernet LAN (uses an X.25 QLLC, and ISDN
LCS interface that is serial line interfaces are
only supported by not supported directly by
certain, copper-based, CCL, but are supported
OSA cards) via an WAN aggregation
platform
CDLC channel
connectivity through X.25 circuits are not
OSA for NCP on supported directly by
System z9 CCL, but are via XOT
and WAN aggregation
OSA connectivity QDIO platform
Layer 2 for SNA LLC2
traffic Serial lines (SDLC,
Frame Relay, and ISDN)
IPTG for direct IP are not supported directly
connectivity between by CCL, but are via
two CCL NCPs DLSw and WAN
aggregation platform
Chapter 2. Planning 19
IBM 3745 Linux for System z
TIC2
Low-level CCL Engine
Line control TIC2
NCP code Low-level
Load SDLC
Module High-level Line control
NCP code
DPSA
interface code Load
X.25 Module High-level
DPSA
interface code
DPSA SNA LLC2
Interface over OSA
IBM 3746 LCS or QDIO
(Layer 2)
X.25 TIC3
Assist
processors
SNA CDLC over
SDLC CDLC
QDIO (OSN)
IPTG
ESCON TIC3
IP over OSA
X.25/XOT LCS or QDIO
(Layer 2 or 3)
DLSw
The 3745/46 network interfaces that are accessed through the Dynamic Parameter Status
Area (DPSA) interface offload the low-level line-specific control functions from the NCP to
one of the assist processors. With CCL, the assist processors are emulated within Linux on
System z, and run on separate threads. That means improved performance (because fewer
instructions are processed by the CCL Engine), and improved multi-processing capabilities
(as work is handed to other processes in Linux on System z).
Tip: We recommend you define all LAN interfaces in your CCL NCP as TIC3 interfaces to
take advantage of the enhanced performance.
Remember, all connectivity for CCL is through OSA features that are connected to a LAN
environment, except for CDLC support through an OSA-Express2 port (which uses
LPAR-to-LPAR communication).
Table 2-2 on page 21 lists the OSA features that are available on the IBM System z9 and
zSeries servers, providing the various types of LAN connectivity CCL V1.2.1 supports.
The CHPID type will determine the connectivity that can be provided by the OSA port, for
example:
OSD QDIO mode, which supports Layer 2 (SNA LLC2 and IP) and Layer 3
(IP only) connectivity
OSE LSA or LCS mode, which supports SNA LLC2 and IP
OSN QDIO mode, which supports CDLC on System z9 servers
OSA-Express2 3366 n/a n/a n/a n/a 30/48 48 RJ 45 UTP Cat5 OSD, OSE,
1000BASE-T or OSN
Note that if you plan to implement CCL V1.2.1 on your S/390 G5/G6, feature codes 2340
(OSA-Express Fast Ethernet) and 5201 (OSA2 ENTR) can be used. These features only
support a CHPID type of OSE for LSA and LCS modes.
Chapter 2. Planning 21
Table 2-3 CCL V1.2.1 high availability options
3745/46 NCP (all models) CCL NCP
Single CCU mode - Only one CCU is installed in Each CCL Engine active essentially runs as a
the Communication Controller. single CCU mode configuration.
Twin CCU in dual mode - Two CCUs are installed Similar results can be achieved by starting up a
in the Communication Controller, but channel unique CCL Engine for each NCP that you want
and line adapters are dedicated to one CCU or to run (either in the same Linux on System z or in
the other. different Linux on System z images).
Twin CCU in standby mode - Two CCUs are CCL does not support a twin CCU in standby
installed in the Communication Controller, but all mode configuration. However, the twin CCU in
channel and line adapters are dedicated to one standby mode configuration is implemented
CCU; the other CCU is either down or idle, ready within CCL itself because CCL automatically
to back up the working CCU. attempts to restart a failing CCL NCP by starting
up another CCL Engine using the same NCP
load module (Auto Dump/Load switch must be
on).
Twin CCU in backup mode - Two CCUs are CCL does not support a twin CCU in backup
installed in the Communication Controller, and mode configuration. However, redundant
channel and line adapters are associated with hardware (power supplies and CPUs) is provided
one CCU or the other; bus switching between the by the System z9 and zSeries hardware, and is
CCUs is supported for certain types of failures therefore available to the Linux operating system
(power supply and CCU failures). used to run CCL. If Auto Dump/Load switch is set,
CCL will automatically restart a failing CCL NCP
by starting up another CCL Engine using the
same load module (and other parameters).
Multi Link Transmission Group (MLTG) - The MLTG over multiple LAN adapters is supported.
ability to group more than one subarea link Note: MLTG is not supported by DLSw
station associated with a single TG. technology.
Redundant CCL/NCPs with duplicate TR MAC Supported by CCL. Similar capabilities can be
addresses. deployed for Ethernet by combining VLAN
technology and DLSW technology.
You also need to determine the number of CCL Engines required to migrate your resources
and where to implement them. From a high availability and backup perspective, you should
always duplicate every resource to avoid single-points of failure (see Figure 2-3 on page 23).
This example shows two CCL Engines for each NCP. The CCL Engines should be loaded in
two different Linux on System z images, and the VTAM-to-NCP connections should be
duplicated. The dotted lines and boxes in this example indicate hot-standby NCPs and
connections.
To walk you through this process, we have defined a common IBM 3745/46 environment (see
Figure 2-4 on page 24), with various types of connectivity. Based on this common
IBM 3745/46 environment we show the options available with CCL V1.2.1.
Chapter 2. Planning 23
Corporation
Business Partner
VTAM VTAM
(z/OS, (z/OS, IBM
z/VSE, z/VSE, z/TPF
3745/46
z/TPF z/VM) z/VM) NCP VTAM
SNI
IBM
3745/46 NCP
non-SNA
Device
Token Ring X.25
SNA
BNN Device
INN (QLLC)
SNA
Device
IBM
NCP
3745/46
Figure 2-4 Common IBM 3745/45 environment
To simplify this process, we will approach our design scenario based on the connection types
supported by CCL V1.2.1. We show single-connection configurations in our examples for
discussion purposes only. As mentioned, you should always duplicate every connection to
avoid single points of failure.
SNA LLC2
CDLC
OSE
System z9 only LSA
OSN
OSE (LCS)
OSD (Layer 2)
CDLC
(QETH) SNA LLC2
NCP NCP
NRF NRF
NPSI NPSI
Note: If VTAM and CCL NCP will reside in the same System z9 server, then a CDLC
attachment is the preferred option.
Chapter 2. Planning 25
Figure 2-6 shows the possible BNN connections through OSA-Express LCS mode, OSA
Express QDIO Layer 2 mode, and DLSw connections terminating in the CCL DLSw function,
while migrating WAN resources to an WAN aggregation platform with DLSw.
NCP
NRF
NPSI
DLSW
DLSW
SNA LLC2
SDLC
F/R
X.25 QLLC
What must change are the physical connections. CCL V1.2.1 provides the following INN and
SNI connection types:
LLC2 connections
As described for BNN connectivity, this type of connection can be used for INN and SNI
connections currently using LLC2 Token Ring, and the remaining WAN connections
(SDLC, Frame Relay, and QLLC X.25). As mentioned earlier, the WAN connections must
terminate in WAN aggregation platforms with DLSw. This connection type will be seen by
NCP as LLC2 Token Ring connections.
To define these connections, you can use either an OSA in LCS mode (OSE), which can
be configured as a TIC2 or TIC3 interface, or an OSA-Express in QDIO Layer 2 mode
(OSD), configured as a TIC3 interface. For more details about this connection type, refer
to Chapter 6, “Configuring remote connections using LLC2” on page 123.
IPTG connections (Layer 3)
IPTG has been developed to work in a CCL environment to exchange INN and SNI traffic
between two CCL NCPs over a IP connection. It is an optimized SNA connection that can
properly prioritize traffic per SNA LU 6.2 Class of Service (COS), in conjunction with an IP
Figure 2-7 shows the INN and SNI connection options (for PU types 4 and 5) using the
connection types available with CCL V1.2.1.
NCP
NRF
NPSI
DLSw
DLSw
IPTG
NCP
SDLC
NRF
NCP F/R NPSI
X.25 QLLC LLC2
Linux on System z
(with CCL)
Because OSA devices do not support X.25 protocols, NDH must use an alternative way to
send the X.25 NPSI packets to their destination. The other end of the NDH tunnel must be an
RFC 1613-compliant XOT server. The X.25 packets are received by the XOT server and are
encapsulated in TCP/IP packets. The X.25 traffic is then sent to a remote XOT server, where
it is returned to X.25 packet protocols and delivered to the remote X.25 destination.
Chapter 2. Planning 27
IBM provides the XOT protocol support for Linux on System z as a separately priced feature
called IBM X.25 over TCP/IP for Communication Controller for Linux (IBM XOT).
Figure 2-8 shows an X.25 (NPSI) environment using XOT and CCLV1.2.1.
NCP
NRF
NPSI
XOT
OSE or OSD
Layer3 (IP)
Copper or
Fiber IP
XOT
SNA and
X.25 Non-SNA X.25
Network resources
For more details about this connection type, refer to Chapter 8, “Configuring X.25
connections” on page 175.
Our test environment is shown in Figure 2-9 on page 29. All scenarios found in this redbook
were installed, tested, and verified using this environment. The physical environment
consisted of multiple logical partitions (VTAMs and CCL NCPs), OSA-Express2 1000BASE-T
ports on an IBM System z9 server, as well as a Cisco switch and routers for the network.
IP Network
Once your CCL implementation is ready and you have determined the number of CCL NCPs
that will be installed, prepare a detailed migration plan for each CCL NCP. During this step,
avoid unnecessary disruptions to your production NCPs. The migration can be done in either
one of the following ways:
Deactivate the old NCP subarea and activate the new NCP with same subarea in CCL.
This method requires the least amount of NCP changes and allows reuse of existing TIC
MAC addresses by OSA ports.
Or keep the old NCP subarea active, activate the new NCP with the new subarea in CCL,
and migrate resources over time to the new NCP. Note that this method requires changes
to SNA subarea path definitions, including the endpoints or business partners. It may also
prevent you from reusing existing TIC MAC addresses in the new environment.
Based on the plans you prepared earlier, define the method for moving your consolidated
WAN connections (serial lines) to the CCL NCP environment. If the existing IBM 3745/46 has
TIC interfaces, a migration of WAN connections to WAN aggregation platforms could be
considered before moving the NCP to CCL (this simplifies the move to CCL).
Careful project planning is essential. Each step should have a defined objective and a
fallback plan to minimize the impact of unforeseen problems.
Chapter 2. Planning 29
30 CCL V1.2.1 Implementation Guide
3
Before installing CCL, the hardware and software prerequisites must be satisfied. Depending
on the functions you wish to implement, additional actions may be required, such as installing
new hardware or upgrading software and microcode levels.
This chapter also provides step-by-step instructions and guidance for the installation of
CCL V1.2.1.
When network connectivity for CCL NCPs is provided by the Open Systems Adapter (OSA)
hardware running in LAN Channel Station (LCS) mode, the underlying network connectivity
can be either Token Ring or Ethernet LAN connectivity. (When Ethernet connectivity is used,
the NDH transparently maps between Ethernet frames and Token Ring frames. This way, all
packets received by CCL NCPs appear as native Token Ring frames.)
Note: The OSA-Express microcode must be at level 3.50 for z900 and z800. It must be at
level 5.50 for z990 and z890.
Note: The OSA-Express microcode must be at or above level 6.14 for Layer 2 support.
This version of CCL has been tested with the following Linux on System z operating system
versions.
SUSE Linux Enterprise Server 8 for IBM Mainframe (SLES8)
SUSE Linux Enterprise Server 9 for IBM Mainframe (SLES9)
Red Hat Enterprise Linux AS 4 for IBM Mainframe (RHEL4)
CCL connections via CDLC (OSN) and QDIO Layer 2 is only supported with kernel 2.6-based
Linux on System z distributions.
IBM is working with its Linux on System z distribution partners to ensure that the functions
needed to exploit all of the Communication Controller for Linux features will be provided in
future distribution releases or service updates.
For each Linux on System z distribution, a minimum set of rpm packages are required. These
are shown in Table 3-4 on page 35 and Table 3-5 on page 36.
Note that the rpm requirements include the Linux on System z kernel source package. The
Linux on System z kernel on the machine upon which the NDH module is built may require
that the kernel source be installed to build kernel modules. The distribution documentation
should detail if it requires the kernel source be installed to support and build external
modules. However, to avoid any doubt, we show the steps required to prepare the kernel
source.
Note: For the 64-bit distributions, some 31-bit ('s390') packages are needed in addition to
the 64-bit ('s390x') packages. Apply the package shipped with your kernel version.
To determine if you are running on a 31-bit or 64-bit machine, use the command uname -m.
The output from this command will be one of the following:
s390 - indicates you are running in 31-bit
s390x - indicates you are running in 64-bit
Minimum requirements
Important: Before attempting to download or apply the packages listed, use the rpm -qa
command to determine if the package is already applied.
We will only detail the 64-bit system requirements for SLES9 and RHEL4, which are needed
to support the connectivity options provided by CCL V1.2.1.
SLES9
The minimum kernel levels required to implement the functions implemented in our
configuration scenarios were:
1. Service Pack 2 (SLES9 + SP2 + 20051110 Update)
kernel-s390x-2.6.5-7.202.5.s390x.rpm (The standard kernel for a 64-bit system)
Note: CDLC (OSN) and QDIO Layer 2 connectivity require this level or higher.
2. Service Pack 3
Table 3-4 lists the Linux on System z packages required by CCL when using SLES9.
RHEL4
The minimum kernel levels required to implement the functions implemented in our
configuration scenarios were the following:
Update 3
Note: CDLC (OSN) and QDIO Layer 2 connectivity require this level or higher.
glibc s390 (Both s390 and s390x rpm are required on 64-bit
system)
glib s390 (Both s390 and s390x rpm are required on 64-bit
system)
glibc-devel s390 (Both s390 and s390x rpm rare required on 64-bit
system)
VTAM requirements:
VTAM currently does not allow activation of NCPs that are directly attached to VTAM through
an XCA major node (OSA). XCA major nodes can be used to attach VTAM to an NCP, and to
exploit the VRs and ERs defined to or through the NCP for SSCP and LU sessions (in much
the same way as using a channel attached major node). However, activation and ownership
of NCPs attached in this manner are not supported.
CCL V1.2.1 users must upgrade their VTAMs to support activation of CCL NCPs that are
directly attached to the activating VTAM through an XCA major node (OSA port) even they
are if not exploiting the CDLC support offered in CCL V1.2.1.
Copy the tar file to the Linux on System z machine where CCL will be installed
If Linux on System z has not been configured to support an FTP server, the tar file can be
transferred by using one of these methods:
FTP GET from Linux on System z to an FTP server where the tar file resides.
PuTTY pscp.exe (command-line secure file copy) from where the tar file resides to Linux
on System z.
Any other method you prefer.
Tip: To avoid typing complete directory or file names when using Linux on System z,
type part of the name and press the Tab key to have Linux on System z complete the
name.
This command created a new directory cclv1.2.1 which contained the expanded files.
The graphical installation process ran in a new window within the VNC viewer. The new
windows appeared as blank frames. We moved the frames to the desired part of the screen
and pressed the left mouse button to display them.
Note: The VNC installation process requires a Java™ Runtime Environment (JRE™) to be
installed on the machine running the VNC viewer.
The initial dialog screen that was displayed is shown in Figure 3-1 on page 39. The
installation dialog process is self-explanatory and we progressed by pressing Next.
When prompted, we chose the typical install option as shown in Figure 3-3 on page 40.
A password is requested, which will be used for accessing the CCL MOSS console. Make a
note of the value you choose. Our screen looked like Figure 3-4.
After all the options have been chosen, a summary dialog screen was displayed as shown in
Figure 3-5 on page 41.
The `uname -r` part gathers the kernel release information (in our case, 2.6.9-34.EL), and the
`uname -m` part gathers the machine hardware name (in our case, s390x). The resulting
symlink is shown in Example 3-1.
If you use the sample file, change the installation directory near the top of the response file
and the NCP MOSS console password found at the bottom. Use the following command to
run InstallShield with the silent install option:
./setuplinux390.bin -silent -options <response file.iss>
Copy the tar file to the Linux on System z machine where CCL will be installed
If Linux on System z has not been configured to support an FTP server, the tar file can be
transferred by using either:
FTP GET from Linux on System z to an FTP server where the tar file resides
Tip: To avoid typing complete directory or file names when using Linux on System z,
type part of the name and press the Tab key to have Linux on System z complete the
name.
This command created a new directory cclv1.2.1, which contained the expanded files.
Example 3-3 shows our installation. This example has been reduced to show the most
important steps of the CCL installation. The data we entered is highlighted.
If you use the sample file, change the installation directory near the top of the response file,
and the NCP MOSS console password found at the bottom. Use the following command to
run InstallShield with the silent install option:
./setuplinux390.bin -silent -options <response file.iss>
Note: When moving to CCL, check the MEMSIZE keyword value in the NCP source to
ensure that it is set to 16 MB. Each CCL Engine instance requires 20 MB of memory, and that
includes the 16 MB for NCP.
For example, if CCL was installed in the /opt/ibm/cclv1r21 directory, your CCLEngineName is
CCL001, and your NCP load module name is NCP001, then the NCP001 load module must
reside in the /opt/ibm/cclv1r21/CCL001 directory.
We decided to use a CCL Engine name that matched our NCP name, so in the configuration
scenarios:
We show an NCP called NCPA, which has a CCL Engine name of NCPA. Therefore, load
module NCPA resided in a subdirectory called /opt/ibm/cclv1r21/NCPA.
We show an NCP called NCPB, which has a CCL Engine name of NCPB. Therefore, load
module NCPB resided in a subdirectory called /opt/ibm/cclv1r21/NCPB.
Rule: NCP load modules should always be saved in Linux on System z using the same
name that was generated by the SSP product. Specifically, NCP load module names must
be 7 characters or fewer, and all alphabetic characters must be upper case.
Otherwise, you will not be able to use the VTAM MODIFY LOAD command to rename or purge
these NCP load modules, because VTAM always translates commands to upper case
before processing.
In addition to creating an NCP load module, NDF also produces other load modules such as
the resource resolution table (RRT) load module. The following list describes which files are
needed by CCL, depending on which operating system was used to generate the CCL NCP.
For an NCP generated on z/OS:
Transfer only the NCP load module. The NCP load module name is the name that you
coded on the NEWNAME keyword on the BUILD definition statement.
For an NCP generated on z/VM:
Transfer the entire CMS file that contains the NCP load module.
For an NCP generated on z/VSE:
Transfer a sequential file that includes all of the NCP phases.
VSFTPD on SUSE
The default SUSE installation includes the vsftpd daemon, so we configured and started it as
follows:
1. We started YaST on a VNC viewer session and from the main panel chose Security and
Users Edit and create users. A new screen started, where we added a new user by
selecting Add.
2. In the resulting panel we added a new userid ftpuser, as shown in Figure 3-6 on page 49.
3. We selected Details to enable FTP service for this user, as shown in Figure 3-7.
Note: You may need to modify file and directory permissions using the chmod command
when not working in your home directory.
5. We started the vsftpd daemon using YaST. From the main panel we selected Network
Services Network Services (inetd) Toggle Status ON for vsftpd, as shown in
Figure 3-8.
Example 3-6 NCP load module location in the Linux on System z directory tree
[root@lnxrh1 ~]# cd /opt/ibm/cclv1r21/NCPB
[root@lnxrh1 NCPB]# ll
total 5688
If you do not have a CDLC connection over which NCP can be loaded, then after the CCL
NCP load module has been transferred, you can start the CCL Engine and load the NCP;
details are shown in Chapter 5, “Configuring local connections using LLC2” on page 91.
X.25
SDLC SDLC
F/R F/R
X.25 QLLC SNA LLC2
X.25 QLLC
VTAM (z/OS,
z/VSE, z/VM) NCP
z/TPF (CDLC NRF
only) NPSI
CDLC CDLC
(QETH)
OSN
CCL running on a System z9 uses CDLC emulation to provide a more efficient connectivity
alternative to SNA hosts running in the same System z9. No ESCON channel hardware is
required; instead, an OSA-Express2 port is used.
Figure 4-2 shows a comparison between using CDLC connections with 3745 hardware, and
OSA-Express2 (OSN) hardware, when using CCL.
zSeries System z9
LPAR1 LPAR2 LPAR1 LPAR2
VTAM z/TPF
VTAM z/TPF
CDLC protocol CDLC protocol
That same OSA-Express2 is also configured to function as a new device type, called OSN, to
the Linux on System z images. OSN devices are very similar in definition and operation as
QDIO devices for the Linux on System z systems. CCL emulates 3746 ESCON adapters to
NCP, and communicates with the OSA-Express2 through this QDIO-like OSN device support.
This enables the CCL NCP to control the OSA’s CDLC protocols, similar to the way that NCP
controls the 3746 ESCON adapter’s CDLC protocols. The CCL NCP drives connection
activation and deactivation, and processes all the SNA data that flows over the CDLC
connection.
Note: OSN functionality is provided only on the System z9 servers. SUSE Linux Enterprise
Server 9 (with prerequisite service pack levels) and Red Hat Enterprise Linux AS 4 with
Update 3 (base level) are the minimum levels required to support CCL CDLC connections.
CDLC connections can be established only between SNA hosts and CCL NCPs in the same
System z9 server, because there is no real channel hardware to carry the channel CCWs
between the SNA host system and the OSA-Express2.
Both subarea PU type 5 (VTAM) and peripheral PU type 2.1 (VTAM or z/TPF) CDLC
connections to SNA hosts are supported through an OSN CHPID type.
CDLC
Device
Read WriteIPL
WriteXID
Control ReadXID
OSN assist devices XID/DUMP/LOAD
primitives Contact
Discontact
Write Restart-Reset
The OSA-Express2 can be shared across LPARs and even across Channel Subsystems
(CSSs), so a single OSA-Express2 can support CCLs in multiple Linux on System z images,
as well as multiple SNA host systems, concurrently. Each OSA-Express2 can support up to
180 CDLC connections between any CCL NCP and any SNA host system in the System z9
server.
An OSN CHPID supports up to 180 3745 device numbers (therefore supporting up to 180
CDLC connections to SNA hosts) and up to 480 OSN device numbers. The OSN device
numbers are accessed from Linux on System z as QDIO device groups, with three devices
used by each group; the first of them must have an even device address.
The Linux on System z QDIO device groups are linked to 3745 device numbers via a concept
known as Channel Connection Identifiers (CCID), which is discussed in 4.2.4, “Defining
ESCON resources in the NCP generation” on page 65.
The CCL NCP is activated from VTAM using the OSN CHPIDs 3745 device number as the
CDLC link station. Loading and dumping of the CCL NCP directly over the OSN-based CDLC
connection is supported, and using CCL load/dump program (cclcldp) support has the added
benefit that an NCP load module does not need to be initially transferred to Linux on
System z; instead, it can be loaded directly over the CDLC connection.
Guideline: The OSA-Express2 card has two ports. When you configure one of the two
ports for OSN, that physical port is disabled, because only LPAR-to-LPAR connectivity is
used. You cannot share that port with OSD or OSE devices. However, you can define one
of the two ports for OSN, and the other for OSD or OSE.
The VTAM hosts (LPARs A23 with MIF ID 3 and A21 with MIF ID 1) and the Linux on
System z guest (we tested using both LNXSU1 running SLES9, and LNXRH1 running
RHEL4) are running on the same System z9. The OSN CHPID 0E, used for the CDLC
connections, is part of Channel Subsystem ID 2 for LPARs A23 and A21.
z/OS,
z/OS, z/VM,
z/VM, or z/VSE or
z/VSE z/TPF
LPAR A23 LPAR A21
VTAM VTAM
SA=30 SA=76
USIBMSC.SC30M USIBMSC.SC76M
OSN CHPID 0E
PCHP 321
OSN
Device
Addresses
2A48-2A4A
CCL
USIBMSC.NCPA
SA=10
Linux on System z
Note: In our example the OSN CHPID is shared by all three hosts, for simplicity. However,
we recommend using multiple OSN CHPIDs for redundancy.
4.2.1 Defining an OSN CHPID with 3745 and OSN devices in the IOCP
The IOCP definition extracts related to CDLC we used are shown in Example 4-1 on page 58.
Note: We coded UNITADD=01 because the valid ADDR parameter range for the NCP
ESCON logical PU statement is x’01’-x’20’. If we had coded (or defaulted to)
UNITADD=00 in the IOCP we would have been unable to use the first 3745 device
address.
5 These are the OSN device addresses that were defined and activated to Linux on
System z. The defined range is 2A48 to 2A4E. Three sequential OSN device addresses
are required for each QETH group device, and the first address in the range must be
even, so 2 QETH group devices can be supported by this IODEVICE range; for example,
osn0 = (2A48, 2A49, 2A4A) and osn1 = (2A4C, 2A4D, 2A4E).
Assuming the three required devices are allocated sequentially (even, odd, even), the
next address (odd) is not used, and is wasted. Therefore, with 480 available OSN devices,
120 Linux on System z QDIO groups can be assigned (480 divided by 4).
4.2.2 Defining and activating the OSN devices to Linux on System z (SLES9)
This section describes the steps we used to define and activate the OSN devices when CCL
ran under SLES9 SP2 + 20051110 Update.
1. We first dynamically defined the devices to Linux on System z so they could be used
immediately.
We planned to use OSN device addresses 2A48 to 2A4A on our SLES9 Linux on
System z guest LPAR LNXSU1. To make them available to LNXSU1, we attached them
from z/VM using the following command from the MAINT userid:
ATTACH 2A48-2A4A LNXSU1
To make these devices permanently available following a z/VM restart, we issued the
following commands from MAINT:
DIRM FOR LNXSU1 DEDICATE 2A48 2A48
DIRM FOR LNXSU1 DEDICATE 2A49 2A49
DIRM FOR LNXSU1 DEDICATE 2A4A 2A4A
2. Using a PuTTY connection, we logged on to LNXSU1 as root, and loaded the qeth device
driver by issuing the following command:
modprobe qeth
3. We defined a qeth group device by writing the three OSN device numbers to
/sys/bus/ccwgroup/drivers/qeth/group by issuing the following command:
echo 0.0.2a48,0.0.2a49,0.0.2a4a > /sys/bus/ccwgroup/drivers/qeth/group
As a result, the qeth device driver used the device bus-ID of the read device, the first
address of the group. This process created a directory for a group device, called
/sys/bus/ccwgroup/drivers/qeth/0.0.2a48.
The directory contains a number of attributes that determine the settings of the qeth group
device. Unless otherwise specified, the attributes do not apply for an OSN CHPID type
and you do not need to use them.
The contents of the /sys/bus/ccwgroup/drivers/qeth directory are shown in Example 4-2.
4. To activate the device group, we issued the following command, which sets the “online”
attribute for our device group to 1:
echo 1 > /sys/bus/ccwgroup/drivers/qeth/0.0.2a48/online
5. We then listed the channel subsystem devices available to Linux on System z using the
lscss command, as shown in Example 4-4.
STARTMODE='auto'
MODULE='qeth'
MODULE_OPTIONS=''
MODULE_UNLOAD='yes'
In order for the new OSN device to be recognized at Linux startup, in some configurations
you may have to modify the /etc/sysconfig/hardware/scripts/hwup-ccw file as follows:
Find Line: 1731/01|1731/05
Change to: 1731/01|1731/05|1731/06
We did not have to do this as the 1731/06 entry already existed in our SLES9 system
configuration file.
4.2.3 Defining and activating the OSN devices to Linux on System z (RHEL4)
This section describes the steps we used to define and activate the OSN devices when CCL
ran under RHEL4 Update 3.
1. We first dynamically defined the devices to Linux on System z so they could be used
immediately.
We planned to use OSN device addresses 2A48 to 2A4A on our RHEL4 Linux on
System z guest LPAR LNXRH1. To make them available to LNXRH1, we attached them
from z/VM using the following command from the MAINT userid:
ATTACH 2A48-2A4A LNXRH1
To make these devices permanently available following a z/VM restart, we issued the
following commands from MAINT:
DIRM FOR LNXRH1 DEDICATE 2A48 2A48
DIRM FOR LNXRH1 DEDICATE 2A49 2A49
DIRM FOR LNXRH1 DEDICATE 2A4A 2A4A
2. Using a PuTTY connection, we logged on to LNXRH1 as root and loaded the qeth device
driver by issuing the following command:
modprobe qeth
3. We defined a qeth group device by writing the three OSN device numbers to
/sys/bus/ccwgroup/drivers/qeth/group by issuing the following command:
echo 0.0.2a48,0.0.2a49,0.0.2a4a > /sys/bus/ccwgroup/drivers/qeth/group
As a result, the qeth device driver used the device bus-ID of the read device, which is the
first address of the group. This process created a directory for a group device called
/sys/bus/ccwgroup/drivers/qeth/0.0.2a48.
The directory contains a number of attributes that determine the settings of the qeth group
device. Unless otherwise specified, the attributes do not apply for an OSN CHPID type
and you do not need to use them.
The contents of the /sys/bus/ccwgroup/drivers/qeth directory are shown in Example 4-7.
4. To activate the device group we issued the following command, which sets the “online”
attribute for our device group to 1:
echo 1 > /sys/devices/qeth/0.0.2a48/online
Linux on System z assigns a device name and number to the OSN port, for example,
osn0. The devices are created sequentially in the order that they are defined. This number
is dynamically assigned. Using the command ifconfig -a you can display the defined
devices (see Example 4-8).
5. We then listed the channel subsystem devices available to Linux on System z using the
lscss command, as shown in Example 4-9.
What is required in the CCL environment is a way to identify, for each CDLC connection (each
ESCON logical PU), the specific target 3745 device address that the OSA-Express2 should
communicate with. Each specific 3745 device is uniquely identified by the combination of the
following values:
Channel Subsystem (CSS) ID
Multiple Image Facility (MIF) ID
Unit Address (the 3745 CDLC UA)
These three values are formatted into a four-byte field called the Channel Connection
Identifier (CCID).
The CCID has a length of 4 bytes, with the format shown in Example 4-12.
For example, the CCID for CSS_ID=2, MIF_ID=3, and UNITADD=01 would be 00230001. The
CCID is used by CCL in flows to the OSN device, to identify the 3745 device that is the target.
The CCID is present in all OSN assist primitives, as well as the QDIO header for data transfer.
The CCID for CDLC connections can be seen in CCL Engine dumps, logs, and trace data. In
addition you must identify, for each ESCON logical PU, which OSN device should be used to
locate that specific 3745 device. During ESCON logical PU activation, CCL passes this
information to the (correct) OSA-Express2, which establishes the CDLC connection.
There are two methods you can use to define the CCL CDLC parameters that are used to
derive the CCID. The methods are NCP generation and CCLDEFS file, as explained here:
NCP generation
With this method, you code parameters in the NCP generation by reusing the parameters that
were previously described ESCON hardware components. This method is described in
““Mapping ESCON NCP definitions to the OSN device in the NCP gen” on page 66”. All or
some of these parameters can be overridden with the CCLDEFS configuration file.
CCLDEFS file
With this method, you code whatever values you want in the NCP generation, but override the
NCP generation values with the real parameters, using a CCL-specific text definitions file
(CCLDEFS). You must coordinate this file with the NCP definitions of the ESCON logical PU.
This method is described in “Mapping ESCON NCP definitions to OSN device using the
CCLDEFS file” on page 67.
Mapping ESCON NCP definitions to the OSN device in the NCP gen
It is possible to correlate the NCP and OSN definitions automatically by using the correct
naming and addressing convention in the NCP generation, as shown in Figure 4-5.
NCP source
LPAR 2
XXXX2A48 PU ADDR=01
MIF ID ( 3) QDIO Devices
2A48-2A4A
LINE Hostlink=1
YYYY2A48 PU ADDR=02
UNITADD (01)
.. CSS 2
.. (PU ADDR - up to 32 PUs)
.. LPAR 3 LPAR 1
01 02
..
.. (LINE - up to 32 logical lines) IODEVICE UNITADD=01 IODEVICE UNITADD=02
..
..
.. (PU - up to 16 physical ports)
The values required to build the CCID are derived from three existing NCP parameters (or
overridden by a configuration file) to configure the OSN CDLC connectivity as follows:
1. The physical LINE statement identifies the target CSS ID. The same 16 constants are
reused again, but now represent CSS IDs, and are still used in sequential order (for
example, ADDRESS=2112 = CSS ID 0, ADDRESS=2176 = CSS ID 1, and so on).
Following are the valid ESCON line numbers with the default CCS_ID of the line in the
format of Line_Number(CSS_ID):
2112(0) 2176(1) 2240(2) 2304(3) 2368(4) 2432(5) 2496(6) 2560(7) 2624(8) 2688(9) 2752(A)
2816(B) 2880(C) 2994(D) 3008(E) 3072(F)
If the default CSS_ID is not correct for your configuration, you can use the CCLDEFS file
to override the default value.
2. The logical LINE statement is reused to identify and configure the target MIF ID. The
HOSTLINK parameter is reused to designate the MIF ID. The existing NCP generation
Note: A HOSTLINK value greater than F will be flagged and will not work. It is flagged
when the CCL tries to use the information to bring up the Channel link. You can use the
CCLDEFS file to override the value if it is greater than x’F’.
3. The PU statement is reused “as is”. The ADDR parameter continues to identify the
specific 3745 UNIT ADDRESS. The valid range for ADDR is x’01’-x’20’.
CCL can have access to multiple OSN CHPIDs, in which case the specific OSN CHPID
needs to be identified. In Linux on System z, this is accomplished by using the specific
device name (for example, osn0).
In NCP, the OSN device number can be incorporated in the name used for the ESCON
logical PU that represents the OSN channel connection. Set the last four characters of the
logical PU name to the four hexadecimal digits representing the device address of the
read qeth group device (the first one). For example, if the first OSN device number of the
group is 0x2a48, you could name your ESCON logical PU CDLC2A48.
Mapping ESCON NCP definitions to OSN device using the CCLDEFS file
There may be reasons why you cannot define the NCP ESCON definitions using the naming
convention that allows correlation with the CCL CDLC parameters. For example, if you are
starting with an existing NCP gen that already has the appropriate number of ESCON logical
PU definitions, you might not want to change it. You might find it difficult to define the label of
the logical PU statement in such a way that it meets local resource naming conventions and
still allows the use of the last 4 characters of the PU name to represent the OSN’s read
device address.
The CCL Engine has a text configuration file that you can use to override parameters for the
CDLC logical stations, in case the configuration parameters in the NCP generation cannot be
mapped to the appropriate OSN channel resources. This file must be named
LOADMOD.ccldefs, and it must reside in the CCLEngineName directory.
The CDLCDEFS section of the text can contain a DEFAULT_DEVICE keyword, which you
should use only if all the NCP’s CDLC connections go through the same OSN. A
LOGICALPU statement should be coded for every ESCON logical PU statement in the NCP
generation which needs to be overridden. The following keywords can be defined for each
LOGICALPU:
PUNAME (Required) PUNAME is the label from the ESCON logical PU
statement from the NCP gen.
DEVICE A 4-digit hexadecimal number in the range x’0000’ - x’FFFD’ that is the
read subchannel device address of the OSN device. It is used to
override the read subchannel device address that is encoded in the
label from the ESCON logical PU statement.
This strategy allowed us to avoid using the CCLDEFS flat text configuration file for the CDLC
connections.
The ESCON-related NCP source definitions used are shown in Example 4-13.
Example 4-13 NCP source definitions mapped to the OSN channel resources
**********************************************************************
* CCL CDLC PHYSICAL LINE 2240 (CSSID:2) *
**********************************************************************
*
A10GRP GROUP LNCTL=CA,ANS=CONT
*
A10C2240 LINE ADDRESS=2240,ANS=CONT,SRT=(32765,32765), 1
XMONLNK=YES,SPEED=18000000
A10P2240 PU PUTYPE=1
*
**********************************************************************
* CCL CDLC LOGICAL GROUP *
**********************************************************************
A10CALG1 GROUP LNCTL=CA,PHYSRSC=A10P2240,MAXPU=32,NPACOLL=YES,ANS=CONT,
TIMEOUT=180,DELAY=0.0,CASDL=10,SRT=(32765,32765)
*
**********************************************************************
* C1P12A48 PU ADDR = 01: CSS ID = 2: MIF = 3: to VTAM SC30M *
**********************************************************************
*
A10LL01 LINE ADDRESS=NONE,HOSTLINK=3,SPEED=18000000,MONLINK=YES, 2
NPACOLL=(YES,EXTENDED)
C1P12A48 PU PUTYPE=5,ADDR=01,TRANSFR=140,TGN=1,MONLINK=YES,ANS=CONT 3 4
Note: When the NCP source contains an ESCON port (ESCP) line address, for example
2240, the entire range of line addresses up to the next available ESCP line address
(2240-2303) are reserved, and cannot be used for Token Ring Port (TRP) addresses.
Linux
LINE 2112
CCL
PU (Physical port)
1 2 ... 16
LINE Hostlink=1
UNITADD (02)
YYYVTAM2 PU ADDR=02
UNITADD (01)
..
CSS 3
.. (PU ADDR - up to 32 PUs)
..
.. LPAR 5 LPAR 6
07 08
.. (LINE - up to 32 logical lines)
.. IODEVICE UNITADD=07 IODEVICE UNITADD=08
..
.. (PU - up to 16 physical ports)
Example 4-14 NCP source definitions not mapped to the OSN channel resources
**********************************************************************
* CCL CDLC PHYSICAL LINE 2112 *
**********************************************************************
*
A10CAPG GROUP LNCTL=CA,ANS=CONT
*
A10CAPL1 LINE ADDRESS=2112,ANS=CONT,SRT=(32765,32765), 1
XMONLNK=YES,SPEED=18000000
A10CAPP1 PU PUTYPE=1
**********************************************************************
* CDLC LOGICAL GROUP FOR all logicals over OSN=2A48 *
**********************************************************************
A10CALG1 GROUP LNCTL=CA,PHYSRSC=A10CAPP1,MAXPU=32,NPACOLL=YES,ANS=CONT,
TIMEOUT=180,DELAY=0.0,CASDL=10,SRT=(32765,32765)
*
A10CALL1 LINE ADDRESS=NONE,HOSTLINK=1,SPEED=18000000,MONLINK=YES, 2
NPACOLL=(YES,EXTENDED)
**********************************************************************
* CONNECTION TO VTAM1 *
**********************************************************************
A10VTAM1 PU PUTYPE=5,ADDR=01,TRANSFR=140,TGN=1,MONLINK=YES,ANS=CONT 3 4
**********************************************************************
* CONNECTION TO VTAM2 *
**********************************************************************
A10VTAM2 PU PUTYPE=5,ADDR=02,TRANSFR=140,TGN=1,MONLINK=YES,ANS=CONT 3 4
A CCLDEFS file was required to correlate the NCP definitions with the correct OSN channel
resources for our CCLEngine called NCPA. The file, called
/opt/ibm/cclv1r21/NCPA/NCPA.ccldefs, contained only CDLC definitions and is shown in
Example 4-15.
The CDLC definitions in the ccldefs text file are re-parsed every time an ESCON logical PU is
activated, so changes to the text file definitions take effect dynamically, without regenerating
or reloading the CCL NCP. It is also possible to manually run this parsing function using the
supplied parse_ccldefs utility. We ran this for our NCPname NCPA, as shown in
Example 4-16.
Note: The parse_ccldefs utility complains if there are no space characters at the end of
each non-comment line in the ccldefs file. We had to manually edit the ccldefs file using the
vi editor and insert a space character at the end of each non-comment line to avoid errors.
lnxsu1:/opt/ibm/cclv1r21 # cd NCPA
lnxsu1:/opt/ibm/cclv1r21/NCPA # cat NCPA.ccldefs.PARSED
0001:ccldefs
0002: cdlcdefs
0003: default_device 2a48 default device number
0004: logicalpu
0005:* A10VTAM1: CSS_ID=x'3' MIF_ID=x'05' UNITADD=x'07' DEVICE=x'2A48'
0006: puname A10VTAM1
0007: CSS_ID 3
0008: MIF_ID 5
VTAM SC76M contacted the CCL NCP over the CDLC channel, using both a subarea PU
type 5 and a peripheral PU type 2.1 connection. The VTAM major nodes defined for the
connections from SC76M were a channel attachment (CA) major node, shown in
Example 4-17.
Example 4-17 Channel attachment major node for subarea connection to the NCP
CA76NCPA VBUILD TYPE=CA
*
CA76GRPA GROUP LNCTL=NCP
*********************************************************************
* C2P12A4C PU ADDR = 01: CSS ID = 2: MIF = 1: to VTAM SC76M
*********************************************************************
CA76LN1A LINE ADDRESS=2A41,MAXBFRU=36
CA76PU1A PU CHANCON=COND,MAXDATA=32768,TGN=1
Example 4-18 Local SNA major node for peripheral connection to the NCP
LN76NCPA VBUILD TYPE=LOCAL
*
*********************************************************************
* C2P22A4C PU ADDR = 02: CSS ID = 2: MIF = 1: to VTAM SC76M
*********************************************************************
*
LN76PU1A PU PUTYPE=2,CUADDR=2A42,ISTATUS=ACTIVE,XID=YES, *
VPACING=0,SSCPFM=USSSCS,MAXBFRU=255,DYNLU=YES, *
CONNTYPE=APPN,CPCP=YES
The CCL load/dump function, cclcldp, does not require CLDP to be running in the CCU.
Instead, the CCL includes load and dump logic that communicates directly with the NDH
using AF_NDH sockets to perform the load and dump operations.
Loading an NCP into CCL over the CDLC channel can be performed in one of two ways:
1. The CCL can be loaded with an NCP.
If the CCL is loaded with an active NCP and a Write IPL command is received on the
connection defined as the IPL port, the CCU and communication threads are terminated,
and the CCL load/dump threads are started to continue the load/dump process.
2. The CCL can be running without an NCP.
To start a CCL without NCP, the CCL must be started using the following command:
./cclengine CCLEngineName -m cclcldp [-p xxxx where xxxx is the port address]
Note that -m cclcldp is a reserved load module name that indicates to the CCL that the
engine is being started without an NCP, and the load/dump threads should be started to
monitor for a Write IPL command. Because NCP load module names must be upper case,
the lower case cclcldp is used to avoid a possible naming conflict with a real NCP
CCLCLDP.
For a load operation, once the load is complete, the load/dump threads are terminated and
the CCL engine is restarted with the newly loaded NCP.
For a dump operation, once the dump is complete, the CCL will be placed into a “Monitor for
Write IPL” state, to await a reload of the NCP.
The CCL will also be placed into a “Monitor for Write IPL” state if the load or dump operation
fails.
Note: Loading an NCP with “no save to disk” still requires sufficient disk space to
temporarily save the NCP load module being loaded. The load module will not be
permanently saved to the disk. If enough disk space does not exist to save the temporary
load module, the load operation will fail.
The definitions for the QDIO devices consist of Multiple Image Facility (MIF) ID, Channel
Subsystem (CSS ID), and the OSN device CHPID. The definitions for the NCP generation are
ADDRESS for the physical link, HOSTLINK for the logical line, and ADDR for the PU.
The definitions coded in the configuration must match the definitions of the NCP being loaded
into the CCL, or an NCP ABEND will result during NCP initialization.
The iplportdefs file changes become effective when you IPL the CCL engine, or when the
CCL engine is restarted using the Linux on System z command. The configuration file is
placed in the CCLEngineName directory, and has a file name of iplportdefs.
If the iplportdefs file does not exist in the CCLEngineName directory, the load of cclcldp will
fail. The iplportdefs statements are automatically parsed when cclcldp is loaded into the CCL
engine. It is also possible to manually run this parsing function using the supplied
parse_iplportdefs utility, as shown in Example 4-20.
lnxsu1:/opt/ibm/cclv1r21 # cd NCPA
lnxsu1:/opt/ibm/cclv1r21/NCPA # cat iplportdefs.PARSED
0001:IPLPORTDEFS
0002:*---------------------------------------------------------------------------------
0003:* NCP Definition: ADDRESS=2240, HOSTLINK=3, ADDR=01
0004:* OSN Definition: CSS_ID=x'2' MIF_ID=x'3' UNITADD=x'01' CCID=x'00230001'
0005:* DEVICE=x2A48
0006:*---------------------------------------------------------------------------------
0007: ADDRESS 2240
0008: HOSTLINK 3
0009: ADDR 01
0010: DEVICE 2A48
0011: CSS_ID 2
0012: MIF_ID 3
0013: UNITADD 01
0014:ENDIPLPORTDEFS
IPL Port: CCID(00230001) Device(2A48) TA(65) HOSTLINK(3) ADDR(1).
Parsing complete, 0 errors, 0 warnings
Definition of a valid IPL Port was Successful
lnxsu1:/opt/ibm/cclv1r21/NCPA #
Starting the CCL Engine with the CCL load/dump program (cclcldp)
1. To start a CCL with the CCL load/dump program, we issued the following cclengine
command, suffixed with an ampersand (&) to run it in the background:
lnxsu1:/opt/ibm/cclv1r21 # ./cclengine NCPA -m cclcldp -p 4000 &
After this command had been issued, a display of the active processes on Linux on
System z (ps -ef) showed the following:
root 18052 13152 5 14:07 pts/0 00:00:00 ./cclengine -m cclcldp -p 4000 N
If the osn0 device is not up the cclengine command will fail, as shown by the messages
seen in Example 4-21.
/opt/ibm/cclv1r21/logs/NCPA.cclcldp.log:
[Feb 13 11:12:05]: NCPA 11374 INFO CCZ8702I - Parsing of the IPL Port definitions file,
'./NCPA/iplportdefs', is complete. The output will be in './NCPA/iplportdefs.PARSED'
[Feb 13 11:12:05]: NCPA 11377 INFO CCZ6001I - HTTP Server Thread Started Thread ID:
1098546112 Process ID: 11374
[Feb 13 11:12:05]: NCPA 11378 INFO CCZ2002I - Interval Timer Thread Started Thread ID:
1100790720 Process ID: 11374
[Feb 13 11:12:05]: NCPA 11374 ERROR CCZ8704E - CDLC: Bind failed Resource temporarily
unavailable
[Feb 13 11:12:05]: NCPA 11374 ERROR CCZ0604E - Error trying to initialize the load/dump
interface. Exit Emulator(42)
2. When we started CCL with cclcldp, we connected to the CCL MOSS console using a Web
browser, targeting our Linux on System z IP address:port (9.12.4.245:4000). Then we
entered the MOSS password and displayed the Disk IPL information, as shown in
Figure 4-7.
4.3.3 Loading the NCP from VTAM and verifying the CDLC connection
1. We issued the following VTAM command from SC30M to load the NCP over the CDLC
link station, saving the NCP load module to disk and turning the automatic dump/load
switch on:
V NET,ACT,ID=NCPA,LOAD=YES,U=2A40,SAVEMOD=YES,DUMPLOAD=YES
Note: The U=2A40 operand can be omitted from the NCP load and activate commands
if CUADDR=2A40 is coded on the NCP PCCU statement that defines the VTAM
subarea for SC30M.
Example 4-22 SC30M VTAM messages and display for CCL NCP load
IST097I VARY ACCEPTED
IST461I ACTIVATE FOR U/RNAME ENTRY ID = 2A40-S STARTED
IST897I LOAD OF NCPA STARTED
D NET,ID=NCPA
IST097I DISPLAY ACCEPTED
IST075I NAME = NCPA, TYPE = PU T4/5 884
IST486I STATUS= PLOAD, DESIRED STATE= ACTIV
IST247I LOAD/DUMP PROCEDURE STATUS = PLOAD
IST1498I LOADING NCP FROM THE HOST
IST1080I LOAD STATION NAME = 2A40-S
IST1656I VTAMTOPO = REPORT, NODE REPORTED - YES
IST484I SUBAREA = 10
Figure 4-8 Disk IPL information after the NCP was loaded
The MOSS CDLC Devices display, which showed PU C1P12A48 (the CDLC connection
to VTAM SC30M) as active, was as shown in Figure 4-9.
2. Following the successful load and activation of the NCP, we displayed the status of NCPA
in VTAM on SC30M as shown in Example 4-23.
4.3.4 Contacting the NCP from VTAM and verifying the CDLC connection
Subarea PU Type 5 connection
1. We issued the following VTAM command from SC76M to activate the Channel
Attachment (CA) major node, CA76NCPA. This allowed SC76M to contact the CCL NCP
over the CDLC link station:
V NET,ACT,ID=CA76NCPA
SC30M:
IST464I LINK STATION C2P12A48 HAS CONTACTED SC76M SA 76
IST093I C2P12A48 ACTIVE 1
Figure 4-10 MOSS CDLC Devices display after CA major node activation on SC76M
SC30M:
IST1086I APPN CONNECTION FOR USIBMSC.SC76M IS ACTIVE - TGN = 21
IST093I C2P22A48 ACTIVE 1
IST1096I CP-CP SESSIONS WITH USIBMSC.SC76M ACTIVATED
Figure 4-11 MOSS CDLC Devices display after Local SNA major node activation on SC76M
The system log, /var/log/messages, also showed some messages related to CDLC
connections. The messages related to CDLC connections have a CDLC: label. These log
messages can also be viewed from the CCL MOSS console.
Example 4-26 shows an extract of the CCL Engine log messages when our NCP was loaded
over the CDLC connection.
Example 4-26 CCL Engine log messages when NCP was loaded
[Feb 28 11:49:30]: NCPA 7253 DEBUG CCZ8013I - CDLC: Starting Transmit Thread for CCID:
0F230001
[Feb 28 11:49:30]: NCPA 7258 DEBUG CCZ8003I - CDLC: NDHIO Transmit Packet Thread Started
ID: 7258 Process ID: 7211
[Feb 28 11:49:30]: NCPA 7253 DEBUG CCZ8014I - CDLC: Waiting For Transmit Thread Started for
CCID: 0F230001
[Feb 28 11:49:30]: NCPA 7253 DEBUG CCZ8015I - CDLC: Transmit Thread Started Signal Received
for CCID: 0F230001
[Feb 28 11:49:30]: NCPA 7253 DEBUG CCZ8016I - CDLC: Starting Receive Thread for CCID:
0F230001
[Feb 28 11:49:30]: NCPA 7259 DEBUG CCZ8001I - CDLC: NDHIO Receive Packet Thread Started ID:
7259 Process ID: 7211
[Feb 28 11:49:30]: NCPA 7253 DEBUG CCZ8017I - CDLC: Waiting For Receive Thread Started for
CCID: 0F230001
[Feb 28 11:49:30]: NCPA 7253 DEBUG CCZ8018I - CDLC: Receive Thread Started Signal Received
for CCID: 0F230001
[Feb 28 11:49:30]: NCPA 7253 DEBUG CCZ8019I - CDLC: Starting Receive Buffer Thread for
CCID: 0F230001
[Feb 28 11:49:30]: NCPA 7260 DEBUG CCZ8010I - CDLC: NDHIO Receive Buffer Handler Thread
Started ID: 7260 Process ID: 7211
[Feb 28 11:49:30]: NCPA 7253 DEBUG CCZ8020I - CDLC: Waiting For Receive Buffer Thread
Started for CCID: 0F230001
[Feb 28 11:49:30]: NCPA 7253 DEBUG CCZ8021I - CDLC: Receive Buffer Thread Started Signal
Received for CCID 0F230001
Example 4-27 shows the CCL Engine log messages when our NCP was inactivated from
VTAM.
For more information on the logs available, refer to Chapter 10, “Operation and diagnosis” on
page 239.
We started a CCL SIT trace to capture both DPSA and CCL/NDH entries from the CCL
MOSS console by choosing the BOTH button for the Network Device Handler CDLC trace, as
shown in Figure 4-12.
The trace data taken would have been exactly the same had we started the trace using
MODIFY VTAM,TRACE,TYPE=SIT,ID=A10C2240 (our ESCON physical line name).
Example 4-28 shows an extract of the CCL SIT trace, formatted using ccltap, showing CDLC
and DPSA entries.
Example 4-29 shows an extract of a CCL SIT trace, formatted using ccltap, taken using
MODIFY VTAM,TRACE,TYPE=SIT,ID=A10LL01 (our ESCON logical line name for the CDLC
connection to VTAM SC30).
ICB_Flags: C0 TA: 6500 TD: 9801 NPSA_LNVT Address: 262A LPSA_LNVT Address: 262E
NCP_Buffer_Size: 248 LDPSA_Count: 03 Data_Treshhold: 00
NPSA_Status: 00 LPSA_Status: 00 Residual_Data_Count: 00 LPSA_Seq: 041F
NPSA_WA - Address:0081CAB8
00000000 902B52A4 04200000 00000000 262A0000 98000000 00000000 00000000 00000000
00000020 00000000 00000000
LPSA_WA - Address:0081BCE0
00000000 902B5324 041E0000 00000000 00000000 98000000 00000000 00000000 00000000
00000020 00000000
LIC - Address:008182A0
00000000 00100000 0081CD58 0081CD58 00819CC5 08C00020
For more information about using the CCL Engine dump, refer to Chapter 10, “Operation and
diagnosis” on page 239.
For further details about CDLC support for CCL, refer to Communication Controller for Linux
on System z9 and zSeries Implementation and User’s Guide, SC31-6872.
VTAM (z/OS,
z/VSE, z/VM) NCP
z/TPF (CDLC NRF
only) NPSI
X.25
SDLC SDLC
F/R F/R
X.25 QLLC SNA LLC2
X.25 QLLC
NCP
VTAM (z/OS, NRF
z/VSE, z/VM)
NPSI
SNA LLC2
SNA LLC2
Figure 5-1 LLC2 connectivity scenario between VTAM and CCL NCP
The SNA LLC2 support provided with CCL allows you to migrate many of the lines and all of
the Token Ring attached resources that were previously connected to the 3745. SNA LLC2
support allows CCL to exploit the OSA-Express port attachment to the LAN to send and
receive SNA data. CCL sees the OSA port as if it were a Token Ring Interface Coupler (TIC).
This maintains consistency with 3745 NCP architecture and definitions.
The underlying network connectivity can be either Token Ring or Ethernet LAN connectivity.
When Ethernet connectivity is used, the NDH transparently maps between Ethernet frames
Networking
Networking Layer Networking Layer Layer
- such as IP ... - such as SNA (Layer 3)
SAP SAP SAP
06 04 C8
LLC Type 1: connection-less DLC
802.2 Logical Link services
Control LLC Type 2: connection-less and
Data
connection oriented DLC services Link
Layer
(Layer 2)
802.3 802.5
Medium Medium
Access Access
Physical
802.3 802.5 Layer
Physical Physical
(Layer 1)
1000BASE-LX/SX 10/100/1000BASE-T
(Fiber optic cable) (RJ45 twisted pair)
Ethernet Token-ring
SNA LLC2 is a connection-oriented Data Link Layer (DLC) protocol that handles flow control
and retransmission at the link level.
A Media Access Control (MAC) address identifies an access point from a LAN perspective,
and a Service Access Point (SAP) address is associated with a protocol (such as IP or SNA)
at the Network Layer.
VTAM uses Link Service Architecture (LSA) support (OSA CHPID type OSE) to communicate
at LLC2 level on a LAN, while Linux on System z uses its own device drivers to send and
receive LAN frames over an OSA port (CHPID type OSE for LCS or CHPID type OSD for
QDIO Layer 2).
Both MAC and SAP addresses have to be configured to establish a VTAM-to-CCL NCP
connection when using LSA and LCS mode. When using Layer 2 for CCL, only the MAC
address needs to be manually configured.
In order for an OSA port in LSA and LCS mode to be able to communicate at the LLC2 level,
OSA/SF must be used to add the SNA support and the MAC and SAP addresses.
When attaching CCL NCPs to adjacent subarea VTAMs nodes, the adjacent VTAMs can be
either owning hosts (VTAMs that activate the corresponding NCP major node) or data hosts
(VTAMs that activate a subarea link to the CCL NCP, but do not activate the NCP major node
itself). The subarea links defined to either type of VTAM node may be LAN-based, using an
XCA major node. In order for an owning host VTAM to activate a CCL NCP over an XCA link,
ALLOWACT=YES must be supported by VTAM, and coded on the XCA PU.
Note: Since QDIO Layer 2 mode allows for better sharing of the OSA port, we recommend
using Layer 2 on System z9 and zSeries (z990 an z890) servers with OSA-Express and
OSA-Express2 Ethernet features. All other server configurations must use LCS mode.
Each endpoint is identified by a Media Access Control (MAC) address, which in this case is a
virtual MAC address that is assigned by the QDIO device driver in operating systems that
support QDIO Layer 2 mode (which at the time of writing is Linux on System z as well as the
z/VM virtual switch).
QDIO in Layer 2 mode handles traffic for any network protocol, such as NetBIOS, SNA,
IPX™, IPv4, and IPv6. It is supported by CCL V1.2.1 when running on a Linux 2.6 kernel only.
Here are some of the advantages of using QDIO Layer 2 in conjunction with CCL:
QDIO Layer 2 function allows CCL to support native SNA LLC2 traffic over a QDIO
interface.
The QDIO Layer 2 function simplifies the hardware configuration and the implementation
design for the following reasons:
– It allows you to use fiber-optic Gigabit or 10 Gigabit network connectivity, thus giving
you the option of using existing fiber optic cabling and switch infrastructure.
– There is no need to configure the Layer 2 OSA-Express port with OSA/SF to load an
OAT table for Linux for System z.
– The MAC addresses you use in the CCL NCPs are virtual (handled by the QETH
device driver in Linux for System z and by z/VM virtual SWITCH), so you can multiplex
many SNA link stations over one physical network interface.
A great scalability option is afforded, as you can have:
– Up to 2048 virtual MAC addresses.
– Up to 1920 QDIO device numbers (each QDIO device group of three device addresses
represents an NCP LAN interface, all potentially using the standard SNA SAP 04 for
boundary resources).
QDIO Layer 2 can be implemented when Linux for System z is running in an LPAR or
under z/VM (with or without the VSWITCH option). QDIO Layer 2 support requires
minimum Linux on System z software levels of either SUSE SLES9 with an additional
service pack, or Red Hat Enterprise Linux AS 4 (RHEL4) Update 3 at base level.
Figure 5-3 shows connectivity between a CCL NCP (NCPB) and VTAM (SC76M) with the two
supported connection types:
LSA-to-Layer 2
LSA-to-LCS
LCS
Figure 5-3 LLC2 connectivity, VTAM LSA to CCL QDIO Layer 2 and LCS
Note: You can use a fiber or copper OSA-Express Ethernet port for QDIO Layer 2 support.
However, you still need a copper OSA port on the VTAM side for LSA support.
Notes:
If you are implementing a VTAM-to-CCL NCP connection using Layer 2 mode, then you
do not need to complete the OSE CHPID and LCS steps for the Linux on System z
environment.
Likewise, if you are using LCS mode, you do not need to complete the OSD CHPID and
Layer 2 steps for the Linux on System z environment.
In Linux on System z we used the lscss command to verify that the devices were available,
as shown in Example 5-4.
We started YaST2 on a VNC viewer screen. The same information can be seen from a
PuTTY connection using YaST. In both cases, you need to navigate through YaST panels
selecting the path Network Devices Network cards.
A YaST2 panel displayed which showed the device addresses available to Linux on System
z; see Figure 5-4 on page 98.
We selected device address 2220 for QDIO Layer 2 support (it will automatically take three
addresses in a row) and continued with Configure. There we enabled the Layer 2 support
and defined the virtual MAC address needed for the network interface, as shown in
Figure 5-5.
Note: LCS and QDIO Layer 2 devices can be used for both IP and SNA traffic at the same
time. Because we will use the QDIO Layer 2 device for SNA-only traffic, we chose the
automatic address setup (via DHCP) option even though we did not have a DHCP server
configured. The interface will be activated without an IP address, but will work at Layer 2.
We finished the definition, which writes the configuration file to create the network interface,
and rebooted Linux on System z. Example 5-5 shows that the QDIO Layer 2 device eth0 has
been defined and activated using the ifconfig command.
The QETH interface definitions in Linux on System z are written into two configuration files in
the following directories:
/etc/sysconfig/network/ifcfg-qeth-bus-ccw-0.0.2220
/etc/sysconfig/hardware/hwcfg-qeth-bus-ccw-0.0.2220
The contents of file ifcfg-qeth-bus-ccw-0.0.2220 are shown in Example 5-6 on page 100.
5.2.6 Configuring CCL’s OSE CHPID (MAC and SAP addresses) using OSA/SF
We used OSA/SF to configure the OSE CHPID used by CCL to define a locally administered
MAC address and SNA SAP addresses.
Because VTAM and CCL NCP cannot share the same OSA-Express port to communicate
with each other, we needed to use two different CHPIDs for this LLC2 connection.
CHPID 09 used by Linux on System z running CCL will use the same device addresses
configured by default for IP passthru in OSA-Express OAT ports, but we needed to add the
SNA SAP addresses being supported by CCL on this OSA port. We also configured the
locally administered MAC address for this OSA port to match the non-canonical MAC address
required by CCL NCP.
If this interface will also be used for IP traffic, an IP address can also be coded. We did not do
this.
1 This is the canonical form of the MAC address 400072230002 being used by the CCL NCP
TIC adapter.
After option 2 is selected, the IOACMD configure list displays; see Example 5-11 on
page 102.
6. We selected option 5 and were prompted as follows (our replies are shown in bold):
IOACMD: Enter CHPID -OR- 'quit' to end IOACMD
09 (this is the CCL OSE CHPID)
IOACMD: Is CHPID 09 of type OSD (QDIO)? (y/n) N (for OSE CHPID)
IOACMD: Enter the name of the OSA-Express port configuration file.
IOA.CHPID09.CONFIG
Then we were asked to enter the data set name containing the OAT file.
IOA.CHPID09.OAT
Enter option 1, activate with install, to complete the OSA-Express configuration.
1 SNA support was added to this CHPID by coding an SNA device for other LPARs, even
though SNA is not used by Linux on System z. Because the CHPID is shared, it can be used
by a VTAM not communicating with our CCL, which requires this SNA support.
2 The canonical format of the CCL NCP TIC MAC address (400072230002) has been loaded
correctly on the OSA-Express port.
3 The SAP addresses are correctly associated to the device address we need to use in Linux
on System z (running in LPAR A12).
The dynamic option is useful for a quick start, but you lose the configuration when you reboot
the system if you do not fix it using the static definition. In this section, we demonstrate both
options (for Red Hat and SUSE distributions).
The steps required for this task on Red Hat are different from the ones needed for SUSE. We
show here details for both distributions.
In order to activate the eth1 device at Linux on System z startup, you need to add an entry for
it in the file called /etc/modprobe.conf, as shown in Example 5-18.
The display of LCS device with the ifconfig command on Linux on System z is shown in
Example 5-19.
Example 5-19 Output of ifconfig display for the LCS device on Red Hat
eth1 Link encap:Ethernet HWaddr 02:00:4E:C4:00:40
inet addr:9.12.4.250 Bcast:9.12.4.255 Mask:255.255.254.0
inet6 addr: fe80::4eff:fec4:40/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:8743 errors:0 dropped:0 overruns:0 frame:0
SLES9 provides mechanisms for statically predefining the LCS devices using hardware
configuration files, so you can avoid manually entering commands or using YaST to bring the
devices online each time the system is started. We did this by creating, in the
/etc/sysconfig/hardware directory, a file called hwcfg-lcs-bus-ccw-0.0.2260.
These are text files, so you can either create these files “from scratch” or copy similar ones
and modify them according to your needs.
5.2.9 Configuring VTAM’s OSE CHPID (for SNA support) using OSA/SF
We used OSA/SF to configure the OSE CHPID used by VTAM to add SNA support, and to
define a locally administered MAC address. For details about using OSA/SF, refer to
OSA-Express Implementation Guide, SG24-5948.
After option 2 is selected, the IOACMD configure list is shown; see Example 5-25.
5. We selected option 5 and were prompted as follows (our replies are shown in bold):
IOACMD: Enter CHPID -OR- 'quit' to end IOACMD
0A (this is OSE CHPID number used by VTAM)
IOACMD: Is CHPID 0A of type OSD (QDIO)? (y/n) ‘N’ (for OSE CHPID)
IOACMD: Enter the name of the OSA-Express port configuration file.
IOA.CHPID0A.CONFIG
Then we were asked to enter the data set name containing the OAT file.
IOA.CHPID0A.OAT
Enter option 1, activate with install, to complete the OSA-Express configuration.
From an NCP point of view, we have two physical Token Ring MAC addresses, and two
logical lines defined (one for QDIO Layer 2 using TG number 1, and one for LCS using TG
number 2). We recommend using TIC3 definitions for all Token Ring physical resources in
order to take advantage of enhanced performance.
Example 5-27 CCL NCP definitions for the connections to VTAM (SC76M)
**********************************************************************
* PHYSICAL TOKEN RING INTERFACES - TIC3 *
**********************************************************************
*
A15PTRG2 GROUP ECLTYPE=(PHY,ANY),ADAPTER=TIC3,ANS=CONT,MAXTSL=16732,
RCVBUFC=32000,ISTATUS=ACTIVE,XID=NO,
RETRIES=(4,5,1),NPACOLL=(YES,EXTENDED),
TYPE=NCP,
DIAL=NO,
LNCTL=SDLC,
SPEED=9600,
PUTYPE=1,
PUDR=NO
*
**********************************************************************
* PHYSICAL TOKEN RING INTERFACES FOR TIC3 - LAN LAYER 2 *
**********************************************************************
*
A15TR76 LINE ADDRESS=(2176,FULL),TRSPEED=16,PORTADD=76,
LOCADD=400072230004,NPACOLL=(YES,EXTENDED) 1
A15PU76A PU ADDR=01,
PUDR=NO,
INNPORT=YES
*
**********************************************************************
1 LOCADD=400072230004 is non-canonical format for the NCP’s physical line address that
will use the QDIO Layer 2 OSD CHPID. This address is defined in canonical format within the
OSA-Express port.
4 SAP 1C and MAC ADDR 400072230001 were defined to NCP to communicate with VTAM
(SC76M).
6 SAP 1C and MAC ADDR 400072230001 were defined to NCP to communicate with VTAM
(SC76M).
5.2.11 Defining a VTAM XCA major node for LLC2 connections to CCL NCP
To enable VTAM to communicate to CCL NCP, we defined an XCA major node pointing to
the adjacent link stations in NCP. We used device address 228A on our XCA port definition,
which is the device we added the LSA support in OSA-Express configuration. We had to
define NCP’s MAC addresses in canonical format. We show in Example 5-28 the VTAM XCA
major node we used on VTAM (SC76M).
Figure 5-7 on page 112 shows the relationship between the MAC and SAP addresses.
Figure 5-7 MAC address relationship between VTAM and CCL NCP
The XCA definition required in VTAM needs to contain the MAC addresses in a canonical
format, because Ethernet is used instead of Token Ring.
There are two sample applications that you can use to convert MAC addresses between
non-canonical (Token Ring) form and canonical (Ethernet) form. These can be found in the
samples/mac_addr_converters subdirectory of the CCL install directory. Example 5-29 shows
the binary executable.
The REXX script is canonical.cmd. If the REXX package is installed, it can be used as
follows:
rexx canonical.cmd 400072230002
We activated CCL NCPB from VTAM SC76M (refer to Figure 5-3 on page 95 to review the
topology of our environment).
We connected to an FTP server on Linux, using a z/OS client. However, we could have
connected to an FTP server on z/OS (where the NCP load module resides) from a Linux FTP
client and used the FTP GET command instead.
Our NCP load module was called NCPB and was stored in the
lnxsu3:/opt/ibm/cclv1r2.1/NCPB directory; see Example 5-30.
Only the load module has to be transferred to Linux. The RRT module (NCPBR) and the
NEWDEFN major node are only required by VTAM. Make sure that the NEWDEFN output is
copied to VTAMLST.
Because the VARY ACT,LOAD=YES command is not supported, it is important to have the CCL
NCP already loaded and activated once (from VTAM’s point of view), prior to issuing any of
the MODIFY LOAD commands. This is because the MODIFY LOAD command uses the SSCP-PU
session to send these requests to the target CCL NCP.
To transfer a new NCP to the CCL Engine, issue the MODIFY command as shown in
Example 5-31.
We logged on the to CCL MOSS console on our Linux guest machine by pointing a browser
to http://9.12.4.247:4000 and entered the MOSS console password we chose during CCL
installation. The initial MOSS screen is shown in Figure 5-8.
After NCPB was loaded we viewed the DISK IPL INFORMATION, as shown in Figure 5-9 on
page 115.
Example 5-33 shows a display of the active CCL Engine process in Linux on System z.
We verified that the AF_NDH sockets for the Token Ring interfaces were connected, as
shown in Example 5-34.
V NET,ACT,ID=CA76NCPB
We issued the V NET,ACT,ID=NCPB command to activate CCL NCP from VTAM SC76M. The
results are shown in Example 5-38.
For LLC2 link stations, the cclengine.loadmodule.log file shows the initialization messages for
the LLC2 physical link stations. The messages related to LLC2 link stations have a label LAN,
which identifies the physical line being initialized by its address as shown in Example 5-40.
The BER log contains the box event records (BERs) for the CCL Engine. A BER contains
information about an unusual event detected by either NCP or the CCL Engine, as shown
in Example 5-41.
The Linux on System z system log shows the initialization and error messages related to
CCL NCP. The error messages are also logged in the cclengine.loadmodule.log, as
shown in Example 5-42.
For further information regarding the log files in CCL V1.2.1, refer to Chapter 10, “Operation
and diagnosis” on page 239.
Example 5-43 TIC3 physical link station-related data in a CCL Engine formatted dump
LIM Type: TRP - (Lines 2176-2239)
ICB_Flags: C0 TA: 6400 TD: 9801 NPSA_LNVT Address: 2622 LPSA_LNVT Address: 2626
NCP_Buffer_Size: 248 LDPSA_Count: 03 Data_Treshhold: 00
NPSA_Status: 00 LPSA_Status: 00 Residual_Data_Count: 00 LPSA_Seq: 107E
NCP_NPSA_Address: 167AE4 NCP_LPSA_Address: 167B64
NPSAWA_Ptr: 81BA48 LPSAWA_Ptr: 818C60
IcbLWrkH: 000000 IcbLWrkT: 000000
IcbNhqH: 000000 IcbNhqT: 000000
NPSA_WA - Address:0081BA48
For further information about the use of CCL Engine dump, refer to Chapter 10, “Operation
and diagnosis” on page 239.
The Line trace is used to record data flowing between NCP and the CCL engine. This trace
can be formatted using the ACFTAP trace formatter, and the output data is sent to the
SYSCSPRT data set, which is the same data set used to format line trace data for TIC3
interfaces. The line trace can be used to get trace data either from physical or logical lines. An
example of the formatted output data generated from a line trace taken during the XID
exchange between NCPA and NCPB is shown in Example 5-44.
For further information about the NCP Line Trace, refer to Chapter 10, “Operation and
diagnosis” on page 239.
The SIT trace is stored in a binary file in the traces subdirectory of the CCL install directory,
with the file name cclenginename.ncpname.CCLSIT.trace.
To format the SIT trace we use the command CCLTAP, which resides in same directory as the
CCL Engine. The input to the program is the name of the binary trace file to be formatted. A
sample of an formatted SIT trace taken with both trace points is shown in Example 5-45.
From the CCL Moss console we can also start a CCL internal trace for NTRI and LAN, as
shown in Figure 5-10 on page 121.
In order to see the CCL internal trace, a CCL Engine Dump must be taken and formatted.
For further information regarding the CCL MOSS trace options, refer to Chapter 10,
“Operation and diagnosis” on page 239.
Before undertaking any migration activity, we suggest you read Chapter 2, “Planning” on
page 15.
Our examples are based on Ethernet LAN connectivity (see Figure 6-1), but the same rules
apply to Token Ring LANs.
Note: The System z9 does not support the OSA-Express Token Ring feature.
VTAM (z/OS,
z/VSE, z/VM)
TPF (CDLC only)
CDLC
SNA LLC2 CDLC SNA LLC2 IPTG DLSw XOT
(QETH)
X.25
SDLC
SDLC F/R
F/R X.25 QLLC SNA LLC2
X.25 QLLC
NCP
NRF
NPSI
SNA LLC2
OSD
OSE LCS
QDIO L2
Copper Copper or fiber
SDLC
Frame Relay
X.25 QLLC
NCP
NCP
The IBM 3745 supports a large variety of connectivity options. In most cases, the NCPs are
primarily for SNI communication with business partners. However, Boundary Network Nodes
(BNN) are also commonly used (especially when X.25 is required).
This chapter focuses on two scenarios, BNN and INN/SNI, and includes implementation
examples and suggestions for each.
SNA LLC2 support provided with CCL allows you to migrate many of the lines and all the
Token Ring attached resources—that were previously connected to the 3745—to your CCL
NCP, using a LAN connection. SNA LLC2 support allows CCL to exploit the OSA-Express
port attachment to the LAN, to send and receive SNA data. CCL sees the OSA port as if it
were a Token Ring Interface Coupler (TIC). This maintains consistency with 3745 NCP
architecture and definitions.
The underlying network connectivity can be either Token Ring or Ethernet LAN connectivity.
When Ethernet connectivity is used, the NDH transparently maps between Ethernet frames
and Token Ring frames. In this way, all packets received by CCL NCPs appear as native
Token Ring frames.
Networking
Networking Layer Networking Layer Layer
- such as IP ... - such as SNA (Layer 3)
SAP SAP SAP
06 04 C8
LLC Type 1: connection-less DLC
802.2 Logical Link services
Control LLC Type 2: connection-less and
Data
connection oriented DLC services Link
Layer
(Layer 2)
802.3 802.5
Medium Medium
Access Access
Physical
802.3 802.5 Layer
Physical Physical
(Layer 1)
1000BASE-LX/SX 10/100/1000BASE-T
(Fiber optic cable) (RJ45 twisted pair)
Ethernet Token-ring
SNA LLC2 is a connection-oriented Data Link Layer (DLC) protocol that handles flow control
and retransmission at the link level.
In order for an OSA port in LCS mode to be able to communicate at the LLC2 level, OSA/SF
must be used to add the SNA support and the MAC and SAP addresses.
For an OSA port in QDIO Layer 2 mode, OSA/SF is not needed. The MAC address is loaded
to the port by way of Linux device configuration.
This can be achieved by connecting the physical serial links (such as SDLC, X.25 QLLC, or
Frame Relay) to an WAN aggregation platform, which converts the link level frames to SNA
LLC2 protocol to communicate with CCL.
If your boundary resources are LAN-attached to your 3745, they can connect directly to CCL
by pointing to the CCL NCP MAC address (the physical connectivity on the LAN and the MAC
address assignment should be set up based on the strategy you chose for the migration).
CCL V1.2.1 also supports X.25 non-SNA BNN via XOT, as discussed in Chapter 8,
“Configuring X.25 connections” on page 175.
CCL V1.2.1 introduces the support for DLSw within CCL. Refer to Chapter 9, “Configuring
DLSw connections” on page 207, to see examples of BNN connections to CCL using DLSw
function through an IP network.
NCP
OSA
Business
SNA LLC2
LCS or Layer 2 Partner
DLSw Token Ring
Local
SNA LLC2 WAN
NCP Aggregation SDLC line VTAM
Platform NCP
IBM 3745/46
IBM 3745/46
Whether you are using an SDLC line to communicate with your business partners in an SNI
configuration or within your own network in an INN configuration, you can easily move the
physical link to a WAN aggregation platform equipped with the appropriate number of serial
or Token Ring network interfaces. That WAN aggregation platform must then be configured to
do a protocol conversion with DLSw in case of serial lines, to allow the communication
between remote IBM 3745 and CCL.
The physical network interfaces directly supported by CCL V1.2.1 are Ethernet and
Token Ring OSA-Express ports. Serial lines such as SDLC, Frame Relay, X.25 QLLC and
ISDN are supported via an WAN aggregation platform. X.25 INN SVC and PVC, along with
X.25 non-SNA connections, are supported using XOT protocol to transfer the X.25 packets
to/from NPSI running in CCL NCP. The XOT support is explained in Chapter 8, “Configuring
X.25 connections” on page 175. CCL V1.2.1 also supports IPTG for INN connectivity
between CCLs; refer to Chapter 7, “Configuring IPTG connections” on page 153 for details.
For examples of INN and SNI connections between CCL V1.2.1, and a remote IBM 3745
using the DLSw function through an IP network, refer to Chapter 9, “Configuring DLSw
connections” on page 207.
Tip: We recommend using TIC3 definitions in your CCL NCP for these types of
connections, because a TIC3 interface provides better throughput than a TIC2 interface.
Note: QDIO Layer 2 is supported on System z9 and zSeries (z990 and z890) servers with
OSA-Express and OSA-Express2 Ethernet features.
QDIO Layer 2 support requires minimum Linux on System z software levels of either SUSE
SLES9 with an additional service pack or Red Hat Enterprise Linux AS 4 (RHEL4) Update 3
at base level.
Notes:
If you are implementing Layer 2 mode, then you do not need to complete the steps in
“Configuring an LCS interface in Linux on System z” on page 134.
If you are using LCS mode, you do not need to complete the steps in Configuring QDIO
Layer 2 device on SUSE Linux on System z.
If you are implementing Layer 2 mode, then you do not need to complete the steps in 6.2.2,
“Configuring an LCS interface in Linux on System z” on page 134. Likewise, if you are using
LCS mode, you do not need to complete the steps in 6.2.1, “Configuring QDIO Layer 2 device
on SUSE Linux on System z” on page 129.
Whether you use a QDIO Layer 2 or an LCS network interface in Linux on System z makes
no difference in CCL NCP definitions or to remote SNA stations. Most of our testing was done
using the QDIO Layer 2 device, but all the verification displays, CCL NCP definitions, and
configuration on remote SNA stations would be exactly the same when using an LCS network
interface in Linux on system z.
We show the details on the QDIO Layer 2 configuration in the following sections.
We defined 15 device addresses starting from 2240 on this OSA-Express port. Each QDIO
device requires three addresses, and each triplet must begin with an even number.
Because our SUSE Linux on System z was running as a guest machine of z/VM, we had two
possibilities to define a QDIO Layer 2 device:
With the z/VM virtual SWITCH
As a native configuration
We decided to configure the QDIO Layer 2 support in our guest machine under z/VM as a
native configuration (without the virtual SWITCH). You can find all the details about the z/VM
virtual SWITCH configuration in OSA-Express Implementation Guide, SG24-5948.
To do this, we attached the required device addresses to SUSE Linux on System z guest
machine (named LNXSU1) using the following z/VM command:
ATTACH 2240-2242 LNXSU1
To make these definitions permanent in our z/VM guest configuration, we issued the following
commands:
DIRM FOR LNXSU1 DEDICATE 2240 2240
DIRM FOR LNXSU1 DEDICATE 2241 2241
DIRM FOR LNXSU1 DEDICATE 2242 2242
2. We selected the first device address to be used for our QDIO Layer 2 network interface
and clicked Configure. We enabled the Layer 2 support on the resulting panel, also
specifying the virtual MAC address that we need for this network interface, as shown in
Figure 6-6 on page 131.
We did not modify the routing information or any other option assumed by YaST from the
other network interfaces, as it was not necessary.
Note: LCS and QDIO Layer 2 devices can be used for both IP and SNA traffic at the
same time. Linux on System z does not support two network interfaces on the same
subnet. We used the QDIO Layer 2 device for SNA traffic only, but we specified an IP
address here to complete the YaST definition. We could also select the option
Automatic address setup (via DHCP) to avoid specifying an IP address, and complete
the installation.
5. We completed the device definition and let YaST write its configuration files to make the
network interface available after reboot.
We show the QDIO Layer 2 device using the ifconfig display command; see Example 6-3.
Example 6-3 Output of ifconfig display for the QDIO Layer 2 device
lnxsu1:~ # ifconfig
eth0 Link encap:Ethernet HWaddr 02:00:4E:C4:00:C0 1
inet addr:10.12.4.249 Bcast:10.12.5.255 Mask:255.255.254.0
inet6 addr: fe80::200:4e00:c4:c0/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1492 Metric:1
RX packets:1097 errors:0 dropped:0 overruns:0 frame:0
TX packets:53 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:63127 (61.6 Kb) TX bytes:4336 (4.2 Kb)
Here we explain how you can define the QDIO Layer 2 device statically, creating the two
configuration files with an editor. You can copy the configuration files of an already defined
and working QETH network interface (if you have one) and change the file names and
content for the new device. The two configuration files must reside under the directories
/etc/sysconfig/network and /etc/sysconfig/hardware,
The configuration file names must contain the device address as the last characters of the
name, and must have a fixed name format. In our case, we configured device addresses
2240-2242, so our file names were:
/etc/sysconfig/network/ifcfg-qeth-bus-ccw-0.0.2240
/etc/sysconfig/hardware/hwcfg-qeth-bus-ccw-0.0.2240
As you can see, the file names also contain the name of the driver to be used for the network
interface, in our case qeth, because we created a QDIO device.
Note: The qeth device driver should be loaded on Linux on System z before you use the
QDIO network interfaces.
You can use the lsmod command to determine whether it is already loaded. If it is not
loaded, you can issue the modprobe qeth command to load it.
We demonstrate, in Example 6-4, how we statically configured the QDIO Layer 2 device in
Linux on System z by displaying the content of our hardware configuration file and the
parameter we added to enable Layer 2 support.
Example 6-4 QDIO Layer 2 hardware device definition in SUSE Linux on System z
lnxsu1:/etc/sysconfig/hardware # cat hwcfg-qeth-bus-ccw-0.0.2240
CCW_CHAN_IDS='0.0.2240 0.0.2241 0.0.2242'
CCW_CHAN_MODE='giga1'
CCW_CHAN_NUM='3'
LCS_LANCMD_TIMEOUT=''
MODULE='qeth' 1
MODULE_OPTIONS=''
QETH_IPA_TAKEOVER='0'
QETH_LAYER2_SUPPORT='1' 2
QETH_OPTIONS=''
SCRIPTDOWN='hwdown-ccw'
SCRIPTUP='hwup-ccw'
SCRIPTUP_ccw='hwup-ccw'
SCRIPTUP_ccwgroup='hwup-qeth'
STARTMODE='auto'
Example 6-5 QDIO Layer 2 network device definition in SUSE Linux on System z
lnxsu1:/etc/sysconfig/network # cat ifcfg-qeth-bus-ccw-0.0.2240
BOOTPROTO='static'
BROADCAST='10.12.5.255'
IPADDR='10.12.4.249'
LLADDR='02:00:4E:C4:00:C0' 1
MTU=''
NETMASK='255.255.254.0'
NETWORK='10.12.4.0'
REMOTE_IPADDR=''
STARTMODE='onboot'
UNIQUE='45Q0.FOqOuhDmSR4'
_nm_name='qeth-bus-ccw-0.0.2240'
1 This keyword specifies the virtual MAC address to be used by this network interface.
We demonstrate how to add an LCS interface for device addresses (2280 and 2281) and
CHPID type OSE (0A), as shown in Example 6-6.
Example 6-6 IOCP definition for CHPID type OSE required for LCS device
CHPID PATH=(CSS(0,1,2),0A),SHARED, *
PARTITION=((CSS(0),(A01,A02,A03,A04,A05),(=)),(CSS(1),(A*
11,A12,A13,A14,A15),(=)),(CSS(2),(A21,A22,A23,A24,A25),(*
=))),PCHID=1A1,TYPE=OSE
CNTLUNIT CUNUMBR=2280, *
PATH=((CSS(0),0A),(CSS(1),0A),(CSS(2),0A)),UNIT=OSA
IODEVICE ADDRESS=(2280,015),UNITADD=00,CUNUMBR=(2280),UNIT=OSA
IODEVICE ADDRESS=228F,UNITADD=FE,CUNUMBR=(2280),UNIT=OSAD
In order to be able to specify an administered MAC address and the SAP addresses that will
be used by Linux on System z for an OSA port, you need to use OSA/SF.
Our Linux on System z running CCL will use CHPID 0A with the same device addresses
configured by default for IP passthru in OSA OAT ports, but we needed to add the SNA SAP
addresses being supported by CCL on this OSA port. We also configured the locally
administered MAC address for this OSA port to match the non-canonical MAC address
(400072230001) required by CCL NCP.
If this interface will also be used for IP traffic, an IP address can also be coded. We did not do
this. For details on using OSA/SF, refer to OSA-Express Implementation Guide, SG24-5948.
1 This is the canonical form of the MAC address 400072230001 being used by the CCL NCP
TIC adapter.
6. We selected option 5 and were prompted as follows, with our replies shown in bold:
IOACMD: Enter CHPID -OR- 'quit' to end IOACMD
0A (this is the CCL OSE CHPID)
IOACMD: Is CHPID 0A of type OSD (QDIO)? (y/n) ‘N’ (for OSE CHPID)
IOACMD: Enter the name of the OSA-Express port configuration file.
IOA.CHPID0A.CONFIG
Then we were asked to enter the data set name containing the OAT file.
IOA.CHPID0A.OAT
Enter option 1, activate with install, to complete the OSA-Express configuration.
1 SNA support was added to this CHPID by coding an SNA device for other LPARs, even
though SNA is not used by Linux on System z. Because the CHPID is shared, it can be used
by a VTAM not communicating with our CCL, which requires this SNA support.
2 The canonical format of the CCL NCP TIC MAC address (400072230001) has been loaded
correctly on the OSA-Express port.
3 The SAP addresses are correctly associated to the device address we need to use in Linux
on System z (running in LPAR A12).
To make use of the IO addresses we attached them to the Linux guest using the following CP
command from z/VM MAINT user, for example:
ATTACH 2280-2281 LNXSU1
To make these definitions permanent in z/VM, we issued the following command in z/VM:
DIRM FOR LNXSU1 DEDICATE 2280 2280
DIRM FOR LNXSU1 DEDICATE 2281 2281
The command needs to be issued from an authorized z/VM user for all OSA device
addresses. You may also change the user profile.
To list the available channel subsystem devices to Linux on System z we issued the lscss
command, as shown in Example 6-12.
Make sure the LCS device driver is loaded in Linux on System z by issuing the following
command:
modprobe lcs
To verify if the LCS device driver was already loaded, use the command lsmod.
You can also use YaST to add an LCS network interface to your SUSE Linux on System z.
The content of the network configuration file ifcfg-lcs-bus-ccw-0.0.2280 for the LCS device on
SUSE is shown in Example 6-14.
These are flat files, so you can either create these files from scratch or copy similar ones and
modify them accordingly to your needs.
In Example 6-15, we show the output of the ifconfig display showing the LCS network
interface in Linux on System z.
Example 6-15 Output of ifconfig display for LCS device on Linux on System z
lnxsu1:/etc/sysconfig/network # ifconfig
eth0 Link encap:Ethernet HWaddr 02:00:4E:C4:00:80
inet6 addr: fe80::4eff:fec4:80/64 Scope:Link
UP BROADCAST NOTRAILERS RUNNING MULTICAST MTU:1492 Metric:1
RX packets:1570 errors:0 dropped:0 overruns:0 frame:0
TX packets:1052 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:101875 (99.4 Kb) TX bytes:614520 (600.1 Kb)
The content of the file is almost the same as in SUSE, as shown in Example 6-16.
In order to activate the eth1 device at Linux on System z startup, you need to add an entry for
it in the file called /etc/modprobe.conf, as shown in Example 6-17.
The LCS device display with the ifconfig command shows no difference compared to the
SUSE QDIO Layer 2 device display, as you can see in Example 6-18.
Example 6-18 Output of ifconfig display for the LCS device on Red Hat
eth1 Link encap:Ethernet HWaddr 02:00:4E:C4:00:80
inet addr:9.12.4.250 Bcast:9.12.4.255 Mask:255.255.254.0
inet6 addr: fe80::4eff:fec4:40/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:8743 errors:0 dropped:0 overruns:0 frame:0
TX packets:6364 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:2058011 (1.9 MiB) TX bytes:265981 (259.7 KiB)
WAN
Aggregation Linux on System z
Platform
DLSw OSD Device
Serial Line Addresses:
2240-2242 OSD CHPID
Remote MAC Address: 08
SNA Devices 02004EC400C0 PCHP 231
SAP 04
SNA LLC2 CCL
Network USIBMSC.NCPA
SA=10
OSE Device
Local Addresses:
2280-2281 OSE CHPID
SNA Devices
MAC Address: 0A
02004EC40080 PCHP 1A1
SAP 04
For an SNA device connected to a serial line, you need to assign a MAC address to the SNA
station in the WAN aggregation platform, and to map a connection to the destination MAC
address assigned to CCL NCP TIC adapter. This is done using the media conversion DLSw
capability of the WAN aggregation platform.
If you plan to move the 3745 NCP TIC MAC address to the CCL NCP TIC MAC address, you
do not have to change anything in your boundary devices.
Important: NCP uses local SAP 04 and local SAP C8 (HPR) for peripheral node
connectivity (BNN), and this cannot be overridden in the NCP definitions as with subarea
links (INN). If you plan to share an OSA-Express port CHPID type OSE among CCL NCPs,
consider that only one of them can have BNN resources.
,Multiple CCL NCPs can share a QDIO port (CHPID type OSD) operating in Layer 2 mode
and each CCL NCP can assign its own unique MAC address on the same port to support
boundary resources. Therefore, we recommend using Layer 2 mode wherever possible.
If the SNA boundary resource is attached to a serial line, you still do not have to make any
changes in the remote device. This is because you set up the parameters (for example, the
MAC address of the TIC) in the WAN aggregation platform that is required for the connection
to CCL.
If you plan to move the MAC address used by the 3745 NCP TIC adapter to the CCL NCP
TIC adapter, you do not need to make any changes in your boundary resources.
In Figure 6-9 on page 141 we show how we configured the SNA LLC2 definition in IBM
Personal Communication to connect to the CCL NCPA TIC MAC address.
The Personal Communications device was physically attached to the same Ethernet LAN as
the CCL NCP. We configured the LLC2 SNA connection to point to the CCL NCP TIC MAC
address to show that no change is required in BNN resources in the migration to CCL.
(We show the complete CCL NCPA TIC definitions required for both BNN and INN
connections so that you can note the differences.)
1 We used a line address for a TIC3 interface, because it offers better performance with CCL.
3 This logical group defines 100 peripheral connections, both for dial in and for dial out.
4 This line under the logical subarea group is for an INN link to NCPB. It must point to the
MAC and SAP addresses of remote NCP.
Important: NDF only allows MAC addresses in NON-CANONICAL format for the physical
Token Ring line definition. If you are using an Ethernet OSA-Express port as a network
interface, you have to convert this NCP TIC MAC address to CANONICAL form and
configure it in the OSA-Express port with OSA/SF (in case of CHPID type OSE), or assign
it to the Linux on System z network interface (in the case of a QDIO Layer 2).
We then activated the switched major node in VTAM and started the IBM Personal
Communications application on peripheral node.
As verification, we show in Example 6-21 the status of the BNN switched major node.
In Example 6-22 we verified that our boundary resource is actually connected to CCL NCPA.
Remote WAN
Aggregation Linux on System z
Platform
DLSw OSD Device
NCP Serial Line Addresses:
2240-2242 OSD CHPID
MAC Address: 08
02004EC400C0 PCHP 231
Local SAP 04
SNA LLC2 CCL
Network USIBMSC.NCPA
SA=10
OSE Device
NCP Addresses:
OSE CHPID
2280-2281
MAC Address: 0A
02004EC40080 PCHP 1A1
SAP 04
Tip: If you are using LCS mode, the sharing capability of OSA ports is increased when you
do not have boundary resources.
Make sure you do not code any ECLTYPE=PERIPHERAL logical GROUP in the NCPs
sharing the same OSA port, when it is not needed. You can specify ECLTYPE=SUBAREA
only logical TIC GROUPs and assign a local SAP address with the SSAP PU parameter in
NCPs sharing an OSA port.
We used a QDIO Layer 2 network interface on SUSE Linux on System z (hosting CCL NCPA)
and an LCS device on Red Hat Linux on System z (hosting CCL NCPB) in order to show how
the two different device drivers work the same way for SNA LLC2 connectivity.
The CCL NCP definitions are identical regardless of whether the 3745 NCP is local or remote.
If you are connecting to a remote 3745 NCP, then you need to add a WAN aggregation
platform to convert SDLC, Frame Relay, or X.25 packets into SNA LLC2 frames.
For the INN or SNI serial line, you need to assign a MAC address to the SNA station in the
WAN aggregation platform, and to map the connection to the destination MAC address
assigned to CCL NCP (TIC interface). This is done by using the media conversion DLSw
capability of the WAN aggregation platform.
We do not show SNI definitions, because they look exactly the same after migrating the INN
connection to CCL (there is no need to change SNI definitions).
The CCL NCP definitions needed for these types of connectivity are exactly the same as the
definitions that would be used in a real 3745 NCP. In our scenario, we used two CCL NCPs
(NCPA and NCPB), for demonstration purposes only.
We show, in Figure 6-11, the association between hardware or virtual MAC addresses (we
used Ethernet so they are in canonical format) and the NCP MAC addresses (which are
non-canonical).
We show the CCL NCPA (local side) definitions for both BNN and INN lines in Example 6-20
on page 142.
Note: If you are defining a connection in your local CCL NCP for a remote 3745 NCP via a
WAN aggregation platform, then the ADDR value of the PU statement would be the MAC
address assigned in the WAN aggregation platform for that serial line.
The required NCP definitions to implement this INN connection on NCPB (remote side) are
shown in Example 6-23.
1 The physical line address for this Token Ring interface is above 2000. DPSA interface for
TIC3 interfaces with the CCL Engine provide improved performance over TIC2 interfaces.
2 This is the NCP TIC MAC address and it must be defined in the Linux on System z network
interface (see the canonical form of this address in Example 6-18 on page 139).
3 Code TGCONF=MULTI on the Token Ring connection to allow the adjacent NCP to send
segmented PIUs.
4 Since the connection is over Ethernet, the BLOCK size will be limited to 1500 bytes
regardless of what is coded on MAXTSL and BLOCK keywords in the NCP source. Code the
MAC and SAP address of remote NCP here.
In Example 6-25 you can see the display of the link from the CCL NCPA point of view.
Tip for SDLC-to-Ethernet migrations: Ethernet LAN supports a frame size of 1500 bytes
(MTU), so if the size of the SNA PIUs flowing on your INN link is larger than 1500 bytes,
you may need to ensure that the following parameters are coded on your NCP definitions.
If you are migrating an SDLC INN line from 3745 to CCL NCP, connected via an Ethernet
LAN to the WAN aggregation platform, and you need to exchange PIUs larger than 1500,
you must do the following:
Code TGCONF=MULTI on both the LAN and SDLC sides of the connection even if
DLSw does not support Multi Link Transmission Group (MLTG). This will allow the
adjacent NCP to send segmented PIUs.
Code MAXDATA=1440 on the SDLC PU definition side (this will affect this connection
only).
Code RCVBUFC=1440 on the LAN physical group on CCL NCP side (this will affect all
connections).
For LLC2 link stations, the cclengine.loadmodule.log file shows the initialization messages for
the LLC2 physical link stations. The messages related to LLC2 link stations have a label LAN,
and identifies the physical line being initialized by its address as shown in Example 6-26:
The BER log contains the box event records (BERs) for the CCL Engine. A BER contains
information about an unusual event detected by either NCP or the CCL Engine. as shown
in Example 6-27.
The Linux on System z system log shows the initialization and error messages related to
CCL NCP. The error messages are also logged in the cclengine.loadmodule.log, as
shown in Example 6-28
For further information regarding the log files in CCL V1.2.1, refer to Chapter 10, “Operation
and diagnosis” on page 239.
Example 6-29 TIC3 physical link station-related data in a CCL Engine formatted dump
LIM Type: TRP - (Lines 2176-2239)
ICB_Flags: C0 TA: 6400 TD: 9801 NPSA_LNVT Address: 2622 LPSA_LNVT Address: 2626
NCP_Buffer_Size: 248 LDPSA_Count: 03 Data_Treshhold: 00
NPSA_Status: 00 LPSA_Status: 00 Residual_Data_Count: 00 LPSA_Seq: 107E
NCP_NPSA_Address: 167AE4 NCP_LPSA_Address: 167B64
NPSAWA_Ptr: 81BA48 LPSAWA_Ptr: 818C60
IcbLWrkH: 000000 IcbLWrkT: 000000
IcbNhqH: 000000 IcbNhqT: 000000
NPSA_WA - Address:0081BA48
For further information about the use of CCL Engine dump, refer to Chapter 10, “Operation
and diagnosis” on page 239.
The Line trace is used to record data flowing between NCP and the CCL engine. This trace
can be formatted using the ACFTAP trace formatter, and the output data is sent to the
SYSCSPRT data set, the same data set used to format line trace data for TIC3 interfaces.
The line trace can be used to get trace data either from physical or logical lines. An example
of the formatted output data generated from a line trace taken during the XID exchange
between NCPA and NCPB is shown in Example 6-30.
For further information about the NCP Line Trace, refer to Chapter 10, “Operation and
diagnosis” on page 239.
The SIT trace, is stored in a binary file in the traces subdirectory of the CCL install directory,
with the file name cclenginename.ncpname.CCLSIT.trace.
To format the SIT trace we used the command CCLTAP, which resides in same directory as the
CCL Engine. The input to the program is the name of the binary trace file to be formatted. A
sample of an formatted SIT trace taken with both trace points is shown in Example 6-31.
From the CCL Moss console we can also start a CCL internal trace for NTRI and LAN, as
shown in Figure 6-12 on page 151.
To view the CCL internal trace, a CCL Engine Dump must be taken and formatted.
For further information regarding the CCL MOSS trace options, refer to Chapter 10,
“Operation and diagnosis” on page 239.
VTAM (z/OS,
z/VSE, z/VM) NCP
z/TPF (CDLC NRF
only) NPSI
CDLC
SNA LLC2 CDLC SNA LLC2 IPTG DLSw XOT
(QETH)
CCL
NCP
NRF
IPTG
LCS or
QDIO
Copper or
IPTG fiber
IP Network
NCP
NRF
CCL
IPTG offers some advantages over DLSw using interdata center (INN and SNI) connections,
as explained here:
DLSw uses an LAN LLC2-over-TCP/IP encapsulation scheme (which also includes
serial-to-LLC2 conversion as an option for supporting SDLC, X.25 QLLC, and Frame
Relay).
In contrast, IPTG uses an SNA-over-TCP/IP encapsulation scheme, hence the
LLC2-specific overhead has been removed and the efficiency of the connection has been
improved.
The NCP interfaces to the TRP using the Dynamic Parameter Status Area (DPSA)
programming interface, which is also used by the NCP to interface with all line and channel
resources located in an IBM 3746. To represent the IPTG connection, we must define a
physical line in the NCP with a local MAC address.
For each remote partner, we must also define a remote MAC address on the logical PU
representing each connection. These MAC address definitions have to be consistent with the
rules enforced by the NCP, but they do not have to match the MAC address of any LAN
adapters on the system.
In an IPTG connection, the partner node is not found using LAN techniques for MAC address
resolution. Instead, it is found by using standard TCP/IP mechanisms, such as IP address or
hostname resolution (DNS), intermediate IP routers, gateways, and firewalls perform IP
address resolution and routing. Figure 7-2 compares the flow used by a 3745/46 using a TIC3
connection and two CCL V1.2.1 using an emulated TIC3 with an IPTG connection.
NCP
CCL
TIC3
3746-900
CBSP
OSA
TRP IP connection
LLC2 IP Network
TRP
OSA
3746-900 CBSP
IPTG
TIC3 DPSA NCP
TIC3
NCP
CCL
3745 Linux on System z
Figure 7-2 Comparison between 3746 TIC3 flow and IPTG flow
Using a TCP/IP solution requires additional definitions, which must be mapped with those in
the NCP for the Token-Ring subarea logical lines. To implement these definitions we use the
CCLDEFS configuration file. The file must be named LOADMOD.ccldefs, and it must reside in
the same directory as the NCP binary load module.
Figure 7-3 shows a high level flow and the relationship between the parameters to establish
an INN connection through IPTG.
CCL CCL
NCPA NCPB
Physical definitions LOCALNODE Physical definitions
Line Address=2080, IPPORT 40001 Line Address=2080,
LOCADD=40002080000A LOCADD=40002080000B
A10IPPU PU ADDR=1 1 4 A15IPPU ADDR=1
logical definitions
REMOTENODE
PHYSRSC=A10IPPU logical definitions
PUNAME A10IPLPB
A10IPLPB PU TGN=1, LOCALNODE PHYSRSC=A15IPPU
HOST 9.12.4.247 2 PU ADDR=0440002080000A
ADDR=0440002080000B IPPORT 40002
IPPORT 40002
OSA OSA
3
TCP connection
IP Network
In this section, we show you how to create an INN connection between two CCL NCPs using
an IPTG connection. To establish this connection, we used two VTAM hosts (LPARs A23 with
MIF ID 3 and A21 with MIF ID 1), connected through two CCL Engines (NCPA and NCPB).
Each one located in a Linux image, using the IPTG interface. The specific topology
implemented for this scenario is depicted in Figure 7-4 on page 157.
XCA
CDLC
OSE VTAM MAC
LSA 400072230002
System z9 only
OSN
OSE NCP MAC
LCS 400072230001
NCPA
CCL CCL NCPB
Physical definitions TCPDEFS TCPDEFS Physical definitions
Line Address=2080, LOCALNODE Line Address=2080,
LOCALNODE
LOCADD=40002080000A LOCADD=40002080000B
IPPORT 40001 IPPORT 40002
A10IPPU PU ADDR=1 A15IPPU ADDR=1
REMOTENODE REMOTENODE
logical definitions
PUNAME A10IPLPB PUNAME A15IPLPA
PHYSRSC=A10IPPU logical definitions
HOST 9.12.4.247 HOST 9.12.4.245
A10IPLPB PU TGN=1, PHYSRSC=A15IPPU
IPPORT 40002 IPPORT 40001
ADDR=0440002080000B PU ADDR=0440002080000A
ENDTCPDEFS ENDTCPDEFS
LCS or LCS or
QDIO QDIO
TCP connection
IP Network
We defined one logical LINE and PU for each partner node, as shown in Example 7-2.
In the LINE parameter, we must match the LOCADD (1)statement with the ADDR
statement in the local node’s logical PU definition, as shown in Example 7-2 on page 158.
Next, we defined in NCPB a logical link station to connect NCPA, as shown in
Example 7-7.
The following statements must match with the destination node (NCPA) statements:
1 The PU ADDR statement must be the same as the destination node (NCPA) physical
interface LOCADDR statement, as shown in Example 7-1 on page 157.
NCPB was generated as a remote NCP, and it connects with its VTAM owner SC76M by
using a LLC2 link station. To load NCPB we had to transfer the load module to the CCL
Engine and schedule a NCP IPL, using the commands shown in Example 7-13.
Example 7-13 Sending the NCPB load module to the CCL Engine
F NET,LOAD,ID=NCPB,ACTION=REPLACE
IST097I MODIFY ACCEPTED
IST897I NONDISRUPTIVE LOAD OF NCPB STARTED
IST241I F LOAD REP COMMAND COMPLETE FOR NCPB
We then scheduled a timed NCP reload with the replaced NCPB load module, as shown in
Example 7-14.
Example 7-14 Scheduling the NCPB IPL to reload the CCL engine NCPB
F NET,LOAD,ID=NCPB,ACTION=SETTIME,IPLTIME=(02/21/06,16:56)
IST097I MODIFY ACCEPTED
IST241I F LOAD SET COMMAND COMPLETE FOR NCPB
Example 7-15 Verifying the status of IPTG physical and logical lines
D NET,ID=NCPB,E
IST097I DISPLAY ACCEPTED
IST075I NAME = NCPB, TYPE = PU T4/5 980
To verify that the IPTG logical link station was connected the remote node, we displayed the
logical PU on VTAM SC30M, as shown in Example 7-16.
To verify that the IPTG path was available and ready to be used to establish sessions, we
used the command DISPLAY ROUTE, as shown in Example 7-17.
To verify the TCP connection in the Linux image, use the netstat command as shown in
Example 7-18.
Important: When using stunnel, the IPTG connection is established using the IP
loopback address, 127.0.0.1. To avoid any connection problem, do not code the
statement IPADDR in the LOCALNODE parameter.
The default is INADDR_ANY, which means the TCPIO connection will be allowed over
any of the interfaces.
IP Network
From a TCP/IP perspective, we can verify that the IPTG connection is established through a
secure stunnel connection by executing a netstat command, as shown in Example 7-23.
Example 7-23 Executing netstat -n to show the active connections on NCPB side
Proto Recv-Q Send-Q Local Address Foreign Address State
tcp 0 0 127.0.0.1:40002 127.0.0.1:33498 ESTABLISHED
tcp 0 0 127.0.0.1:33498 127.0.0.1:40002 ESTABLISHED
tcp 0 0 9.12.4.247:8484 9.12.4.245:34201 ESTABLISHED
Example 7-23 on page 168 shows that the connection came from NCPA (9.12.4.245) through
the stunnel connection port 8484, and is redirected to the IPTG port 40002, using the internal
IP address, 127.0.0.1 (loopback address).
For IPTG connections, the cclengine.loadmodule.log file shows the initialization messages for
the IPTG physical and logical link stations. The messages related to IPTG connections have
a label TCPIO, and the IPTG messages related to logical link stations are identified by the
logical PU name, as shown in Example 7-24.
Depending on which connection side logs we are looking into, a different set of initialization
messages is expected. On the lowest IPTG physical MAC address (NCPA, in our
environment), we saw the messages shown in Example 7-25.
On the highest IPTG physical MAC address side (NCPB, in our environment), we saw the
messages shown in Example 7-26.
The BER log shows the error messages related to the physical link station problems. For
IPTG connections, a BER code can be related to a possible configuration error on the
ccldefs file. To see the reason why a BER code has been logged for an IPTG connection,
we recommend that you examine the cclengine.loadmodule.log, as shown in
Example 7-27.
The system log shows only the error messages related to IPTG connections. These error
messages are the same as those logged in the cclengine.loadmodule.log, as shown in
Example 7-24 on page 169.
Further information regarding the log files in CCL V1.2.1, refer to 10.5, “Using the CCL MOSS
console” on page 247.
For further information about the use of CCL Engine dump, refer to 10.8.4, “Dumps” on
page 262.
The SIT trace in an IPTG connection can be activated from VTAM by using the command
MODIFY TRACE,TYPE=SIT. The TRACEPT parameter defines the type of traffic that will be traced.
For example, TRACEPT=1 records the traffic through DPSA (between NCP and the CCL
Engine), while TRACEPT=2 records the traffic between the CCL engine and the IP socket. The
trace output is saved in the CCL Engine trace directory in the Linux image. ACFTAP is no
longer used to format the SIT trace. The next section shows you how to format and provides
a sample of the formatted output.
For further information about the NCP Line Trace, refer to 10.4, “Operating CCL NCPs from
VTAM” on page 244.
The Network Device Handler LAN trace data is stored in a binary file in the traces
subdirectory of the CCL install directory, with the file name
cclenginename.ncpname.CCLSIT.trace.
To format our trace we used the command CCLTAP, which resides in same directory as the
CCL Engine. The input to the program is the name of the binary trace file to be formatted. A
sample of an IPTG formatted output trace is shown in Example 7-30.
For further information regarding the CCL MOSS trace options, refer to 10.5, “Using the CCL
MOSS console” on page 247.
IP wide area
SNA LLC2 network
SNA LLC2 DLSW XOT
X.25
SDLC
SDLC F/R
F/R X.25 QLLC SNA LLC2
X.25 QLLC
XOT
LCS or
QDIO
Copper or fiber
XOT
X.25
NCP provides X.25 ODLC support independently of NPSI, when used in conjunction with a
3746, but only for SNA (QLLC) devices communicating over X.25.
NPSI is required to support non-SNA devices attached over an X.25 standards based
network, as well as for interfaces residing in the 3745 base frame. NPSI code runs in the
IBM 3745 Communication Controller, alongside NCP.
The CCL part of the tunnel is created when the X.25 MCH is activated by VTAM. The socket
is identified by the MCH name from the X25.MCH statement in the NCP definition. The name
of the MCH is extracted by CCL at LINE activation time. This name is used to bind the
AF_NDH socket. No CCL definition other than the NCP is used to configure the X.25
connection. Logical Channel Groups, Logical Channels, timers, Modulo and other definitions
are learned by CCL from the NCP load module at line activation.
Because OSA devices do not support X.25 protocols, a different transport method is needed
to transport the X.25 NPSI packets to a destination. The other end of the NDH tunnel must be
an RFC 1613-compliant XOT server. XOT is an open standard and defined in RFC 1613
Cisco Systems X.25 over TCP (XOT). The X.25 packets are received by the XOT server and
are encapsulated in TCP/IP packets. The X.25 traffic is then sent to a remote XOT server
where it is returned to X.25 packet protocols and delivered to the remote X.25 destination. A
separate TCP connection is used for each X.25 virtual circuit.
IBM provides the XOT protocol support for Linux on System z as a separately priced feature
called IBM X.25 over TCP/IP for Communication Controller for Linux (IBM XOT), feature code
5724-O43.
IBM XOT binds to an AF_NDH socket, identified by the MCH name from its parameter
definition mch_name. This name must match the X25.MCH line name coded in NCP. The
IBM XOT socket is tied by NDH to the socket opened by CCL for the X25.MCH activation,
creating the local point-to-point X.25 tunnel.
Figure 8-2 shows an overview of the relationships between CCL, NDH, and IBM XOT in a
typical CCL non-SNA NPSI environment.
SNA application
XOT protocol
LU Type 1
Network Device (IBM XOT)
Handler (NDH)
LU Type 1 SNA
VTAM session
CCL
OSA
XOT TCP
connection
non-SNA
terminal
IP Network
X.25
XOT protocol Network
Tip: Two or more CCL instances can share a single IBM XOT instance
The mainframe application, as well as VTAM, NCP, and NPSI, are set up as usual. The
physical connection between the SNA host (VTAM) that owns the NCP resources and CCL
can be either CDLC or LLC2, with CDLC being the preferred method if available. See
Chapter 4, “Configuring local connections using CDLC” on page 53 for details about
implementing CDLC. See Chapter 5, “Configuring local connections using LLC2” on page 91
for details about implementing a LAN connection.
The physical connectivity to the X.25 network is via a WAN aggregation platform. The
connectivity between the WAN aggregation platform and NPSI is via an X.25 Over TCP (XOT)
connection (IP network flows).
The interface between NPSI and IBM XOT is the same one that NPSI uses when
communicating over X.25 adapters in an IBM 3746 unit - the Dynamic Parameter Status Area
(DPSA) interface. For this reason, CCL requires that the X.25 physical lines appear as if they
are attached to the 3746-900. This means that the ADDRESS keyword on the NCP MCH
statement must have a valid LIC11 or LIC12 address such as 2496.
The specific topology implemented for this scenario is shown in Figure 8-3.
CCL
IBM XOT
NCPA NPSI DTE address: 402496
SA=10
User space AF_NDH sockets
Kernel space
TCP
NDH connection
OSA-Express
Addresses
C200-C202
IP: 9.12.4.245
IP network
XOT router
IP: 9.42.88.141
Serial 0/0
DCE Address: 555555
Note: You can find example definitions for other X.25 connection types in Appendix G,
“Sample X.25 connection configurations” on page 335.
The NPSI-related NCP source definitions used are shown in Example 8-1.
Restriction: The PVCs (permanent virtual circuits) must be coded before the SVCs
(switched virtual circuits), due to rules imposed by IBM XOT.
2 We defined five SVCs with logical channel numbers 6 to 10. NDF generated line names
XLA96101-XLA96105 because we coded PRFLINE=XLA96 and SUFFIX=101. These
lines belonged to defined group name XGA96SVC.
Copy the tar file to the Linux on System z machine where IBM XOT will be
installed
If Linux on System z is not configured to support an FTP server, transfer the tar file by using
either of the following:
FTP GET from Linux on System z to an FTP server where the tar file resides
PuTTY pscp.exe (command-line secure file copy) from where the tar file resides to Linux
on System z
Any other method you prefer
Tip: To avoid typing complete directory or file names when using Linux on System z,
type part of the name, and press the Tab key to have Linux on System z complete the
name.
This command created a new directory, cclxot, which contained the expanded files.
Example 8-3 shows our installation. We reduced this example to show the most important
steps of the IBM XOT installation. The data we entered is highlighted. Where a default
response option was taken, shown within square brackets following the options, nothing is
shown in the log as we pressed the Enter key.
Example 8-4 shows the directory tree structure in our environment after the installation
completed.
Example 8-5 shows the README file information regarding the installation file structure for
IBM XOT.
The InstallShield program creates the following directory structure, and installs
the IBM X.25 over TCP/IP files into it. A few of the most important files are also listed.
<XOT Install Directory> directory chosen by the user to hold the IBM X.25 over TCP/IP
executables
| (defaults to '/opt/ibm/xot')
|
+- cclxotd the IBM X.25 over TCP/IP executable
|
+- <config> directory containing the IBM X.25 over TCP/IP configuration file
|
+- <samples> directory containing other sample configuration files
|
+- <docs> directory holding the documentation for IBM X.25 over TCP/IP
| |
| +- <man> directory holding the man pages for IBM X.25 over TCP/IP
|
+- <_uninst> directory holding files for the uninstaller
| |
| +- uninstaller.bin uninstaller script
|
+- <_jvm> directory for the JVM for the uninstaller
Example 8-6 shows extracts from the man pages supplied with IBM XOT, accessed by issuing
man cclxotd and man cclxotm.
SYNOPSIS
cclxotd [ -f config-file ] [ -m NDH Socket ]
DESCRIPTION
IBM X.25 over TCP/IP for Communication Controller on Linux (XOT) is software that
allows X.25 network traffic to be encapsulated and run over TCP/IP networks. It will
only run in conjuction with the Communication Control for Linux on System z
(CCL).
OPTIONS
-f config-file
Choose a configuration file other than the default of ./config/cclxot.cfg
Any valid path to a file may be used.
SYNOPSIS
cclxotm [ -c 'command' ] [ -m NDH Socket ]
DESCRIPTION
This program allows users to manage the X.25 circuits that are being maintained
by cclxotd , e.g., query status and statistics, start and stop traces, etc.
OPTIONS
-m <name of NDH socket>
This is the name of the NDH socket to be used to communicate with the
cclxotd executable. Its value must match the value specified (or
defaulted) on the -m parameter during startup of cclxotd The default value
is XOTMANAGER
-c 'command'
Single command mode. cclxotm executes and exits. If the command to be
executed contains embedded spaces, the command must be enclosed in
quotation marks (for example, ./cclxotm -c 'start trace' ).
For more details on IBM XOT installation, refer to IBM X.25 over TCP/IP for Communication
Controller for Linux V1.2 User’s Guide, SC31-6971.
Note: The default configuration file location is /opt/ibm/xot/config/cclxot.cfg, but you can
override this when you start IBM XOT.
[xot_server] Defines global settings for IBM XOT, including the total number
of active virtual ports.
[xot_server/port.xx] Defines global settings for virtual port number xx (1to 64).
[xot_server.port.xx/xot_map.nnn] Defines XOT map number nnn (1to 256) for port number xx. This
defines associations between X.25 and IP addresses so that
calls are properly set up.
3 max_window_size VWINDOW
[xot_server/port.x/x25] X25.VCCPT
4 max_packet_size MAXPKTL
5 station_type STATION
[xot_server/port.x/hdlc] X25.MCH
6 pack_format MMODULO
7 max_window_size MWINDOW
Following are the explanations for the key column in Table 8-2:
1 This integer value represents the number of MCHs (physical interfaces) in the NCP gen.
2 The name for the MCH. This is a user-defined label for the X25.MCH. If the label is
omitted, NDF creates the MCH label.
3 The maximum window size is coded on the X25.VCCPT index in the NCP gen. On the
X25.VC statement, the keyword VCCINDX is used to point to the corresponding
X25.VCCPT. On switched connections, this value can be overridden in the call user
data.
4 The maximum packet size is also coded on the X25.VCCPT statement. The same rules
defined in Key 3 apply here.
5 The station type is defined as DTE or DCE. It is recommended to code the NPSI MCH
as the DTE and the XOT server as the DCE (station_type=0).
6 The XOT pack_format keyword maps to the MMODULO keyword on the X25.MCH. This
defines which modulo is used by the link access protocol balanced (LAPB).
7 The max_window_size keyword maps to the MWINDOW on the X25.MCH. This defines
the window size used by the link access protocol balanced (LAPB).
IBM XOT and NPSI mapping for RFC1613 LCGN=0 support only
Table 8-3 describes the keywords, specific to running the IBM XOT server in accordance with
RFC 1613, that need to match the equivalent values in NPSI. In order to run in this mode, you
must code LCGN_SUPPORT=0 on the xot_server/port.x statement.
2 first_pvc LCN
4 first_svc LCN
5 num_svc LCN
Following are the explanations for the key column in Table 8-3 on page 187:
1 lcgn_support=0 means the XOT server will be acting in accordance with RFC1613. This
means the NPSI MCH will be limited to LCGN=0 and 255 virtual circuits.
2 The first_pvc is an integer value mapping to the first PVC logical channel number (LCN)
on the X25.MCH. The PVCs defined on the NPSI LCG must be defined before any
SVCs.
3 The num_pvc is an integer value used to define the total number of PVCs defined on the
MCH, regardless of the LLC type.
4 The first_svc is an integer value mapping to the first SVC logical channel number (LCN)
on the X25.MCH. The SVCs defined on the NPSI LCG must be defined after any PVCs
required on the MCH.
5 The num_svc is an integer value used to define the total number of SVCs defined on the
MCH, regardless of the LLC type.
IBM XOT server and NPSI mapping for full LCGN support
Table 8-4 describes the keywords, specific to running IBM XOT with LCGN support enabled,
that need to match the equivalent values in NPSI. This support requires the logical channel
identifier (LCI - a combination of the logical channel group number and the logical channel
number) to pass from the X.25 leg over the XOT leg intact. This results in a smooth migration
from existing NPSI implementations in the 3745/46 hardware to CCL.
Note: If the remote XOT device is not capable of providing this function, then it may be
necessary to migrate to the RFC 1613-compliant solution.
3 group_first_pvc
[xot_server.port.x/xot_map.x]
4 group_num_pvc X25.VC LCN
5 group_first_svc
6 group_num_svc
Following are the explanations for the key column in Table 8-4:
1 LCGGN_SUPPORT=1 means the XOT server will map the inbound LCI to the correct
logical channel group number and logical channel number. The remote XOT device
The contents of our edited configuration file are shown in Example 8-8.
For more details on IBM XOT configuration parameters, refer to IBM X.25 over TCP/IP for
Communication Controller for Linux V1.2 User’s Guide, SC31-6971.
Note: Cisco recommends setting x25 win and x25 wout to the same value if your network
does not support asymmetric input and output window sizes.
In the NPSI definitions, we did not code different valuein and valueout values on the
VWINDOW parameter, so we set both win and wout to the same single value we coded for
VWINDOW.
6 The x25 pvc numbers defined (both for the connecting device and the remote number
on the target interface) matched the logical channel numbers defined in NPSI and IBM
XOT.
xot 9.12.4.245 defined the destination XOT router as the IP address of LNXSU1 where
CCL and IBM XOT were running.
interface Serial 1 matched the local_pvc_interface coded for the IBM XOT server port.
xot-source Loopback0 was coded so the Cisco XOT router used the source IP address
of the loopback0 interface. This was required so our firewall would allow the traffic.
7 This xot route definition ensured any dial requests received for DTE address 371028
would be sent to interface Serial0/0.
8 This xot route definition ensured any dial requests received for DTE address 402496
were sent to IBM XOT as XOT traffic, using the correct source IP address so that our
firewall allowed the traffic.
2. We started the cclxotd server as a background task, specified the configuration file
location, and verified it was running, as shown in Example 8-11. When the cclxotd server
started, it created a trace file for the defined port because we coded
vport_trace_enabled=1. The file is shown in the directory listing. For details on the IBM
XOT trace facilities, refer to 8.4.3, “IBM XOT traces” on page 203.
Example 8-11 Starting the cclxotd server and verifying it was running
lnxsu1:/opt/ibm/xot # ./cclxotd -f ./config/NCPAxot.cfg &
[3] 8847
lnxsu1:/opt/ibm/xot # ps -ef
UID PID PPID C STIME TTY TIME CMD
root 8847 8232 0 12:18 pts/1 00:00:00 ./cclxotd -f ./config/NCPAxot.cfg
lnxsu1:/opt/ibm/xot # ll
total 488
drwxr-xr-x 8 root root 4096 Oct 4 12:18 .
drwxr-xr-x 5 root root 4096 Oct 3 11:26 ..
-rw-r--r-- 1 root root 16684 Sep 28 17:02 README
drwxr-xr-x 4 root root 4096 Oct 3 11:26 _jvm
drwxr-xr-x 2 root root 4096 Oct 3 11:26 _uninst
-rwxr-x--- 1 root root 319074 Sep 28 17:02 cclxotd
-rwxr-x--- 1 root root 105044 Sep 28 17:02 cclxotm
drwxr-xr-x 2 root root 4096 Oct 4 11:49 config
drwxr-xr-x 3 root root 4096 Oct 3 11:35 docs
drwxr-xr-x 2 root root 4096 Oct 3 11:34 license
drwxr-xr-x 4 root root 4096 Oct 3 11:26 samples
-rw-r--r-- 1 root root 0 Oct 4 12:18 vport_lapbtxt_trace_port_1.txt
-rwxr-x--- 1 root root 7678 Sep 28 17:02 xotgetpd.sh
-rwxr-x--- 1 root root 1223 Sep 28 17:02 xotstop.sh
Note: For information on automating the start up and shut down of the cclxotd server,
refer to 10.3, “Automating startup and shutdown” on page 242.
Note: The socket shows the name MCH2496 as defined by mch_name. The socket is
showing as NOT CONNECTED because CCL has not yet opened its socket to
complete the X.25 tunnel.
The AF_NDH socket called XOTMANAGER is the default socket name for the
management command interface to the cclxotd executable.
4. We verified that the IBM XOT manager (CCLXOT manager) interface was functioning by
displaying the line and LAPB status as shown in Example 8-13. For details on the
CCLXOT manager refer to 8.4.2, “CCLXOT manager commands” on page 202.
Note: Although the PVCs showed as active, there were no real end-to-end PVC
connections active through to the remote XOT router at that point. The PVCs were
active to VTAM as there were Restart Requests and Restart Indications exchanged
between the CCL NCP and cclxotd.
Confirming that end-to-end PVC connections were active (which occurred later)
required checking the active TCP connections; see 8.3.3, “Verifying the X.25
connections” on page 196.
2. We verified that CCL had created an AF_NDH socket, as shown in Example 8-15.
We saw that the AF_NDH socket created by CCL, with Inode number 21598, showed a
state of CONNECTED with the name of MCH2496 from the X25.MCH label. The AF_NDH
socket created by cclxotd, with Inode number 21574, also showed a CONNECTED state.
The X.25 tunnel was then complete.
3. We displayed the line and LAPB status using the CCLXOT manager, as shown in
Example 8-16.
2. We verified that the five TCP connections for the PVCs had been established, as shown in
Example 8-18.
Note: These connections were driven outbound from cclxotd as shown by the local
ephemeral port numbers and remote XOT server port number of 1998 (standard port
for XOT).
3. We displayed the status of the connections using the interactive CCLXOT manager
command interface as shown in Example 8-19.
4. We displayed the switched major node for the SVC connections, which is shown in
Example 8-20.
5. We then initiated the dial-in from the remote LLC0 boundary devices and saw the VTAM
messages shown in Example 8-21.
6. We re-displayed the switched major node, which is shown in Example 8-22. This showed
that the PUs, representing the SVCs, were active.
7. We verified that the five TCP connections for the SVCs had been established, as shown in
Example 8-23.
Note: These connections were driven inbound to cclxotd as shown by the local XOT
server port number 1998 and the remote ephemeral port numbers.
8. We displayed the status of the connections using CCLXOT manager commands as shown
in Example 8-24.
CCLXOTM> c l lcgn
MCH Name: MCH2496 Port Number: 1
LCGN LCN Local Address Remote Address Type Status
---------------------------------------------------------
0 1 PVC Connected
0 2 PVC Connected
0 3 PVC Connected
CCLXOTM> c l lci
MCH Name: MCH2496 Port Number: 1
LCI Local Address Remote Address Type Status
-----------------------------------------------------
1 PVC Connected
2 PVC Connected
3 PVC Connected
4 PVC Connected
5 PVC Connected
6 402496 371028 SVC Connected
7 402496 371028 SVC Connected
8 402496 371028 SVC Connected
9 402496 371028 SVC Connected
10 402496 371028 SVC Connected
The system log, /var/log/messages, also showed initialization and shutdown messages
related to X.25 connections. These log messages can also be viewed from the CCL MOSS
console.
Example 8-26 on page 201 shows the Syslog messages when the MCH line, MCH2496, was
activated.
Example 8-27 on page 201 shows the matching CCL Engine log messages when the MCH
line, MCH2496, was activated.
Example 8-27 CCL Engine log messages when the MCH line was activated
[Oct 6 15:58:19.242594]: NCPA 2056 INFO CCZX011I - NPSI: NDHIO Transmit Packet Thread
Started ID: 1121332160 Thread Process ID: 2056 MCH2496
[Oct 6 15:58:19.242640]: NCPA 2057 INFO CCZX021I - NPSI: NDHIO Receive Packet Thread
Started ID: 1134312384 Thread process ID: 2057
Example 8-28 shows the CCL Engine log messages when the MCH line, MCH2496, was
inactivated.
Example 8-28 CCL Engine log messages when MCH line was inactivated
[Oct 6 16:12:31.495841]: NCPA 2057 ERROR CCZX027E - NPSI:MCH2496 NDHIO Receive Packet
Thread Error ID: 1134312384 Thread process ID: 2057 Socket Closed. Line is Down
[Oct 6 16:12:31.495967]: NCPA 2056 INFO CCZX014I - NPSI:MCH2496 NDHIO Transmit Packet
Thread Exit ID: 1121332160 Thread process ID: 2056
[Oct 6 16:12:31.496474]: NCPA 2057 INFO CCZX024I - NPSI:MCH2496 NDHIO Receive Packet
Thread Exit ID: 1134312384 Thread process ID: 2057
Example 8-29 shows the matching Syslog messages when the MCH line, MCH2496, was
inactivated.
A summary of the CCLXOT manager commands are displayed by entering a question mark
(?) at the CCLXOTM> prompt, as shown in Example 8-30.
CCLXOTM> ?
HELP How to use CLI command.
HISTORY Display/Enable command history.
HISTORY BUFFER SIZE Set the history buffer size.
QUIT Quit the application.
CCLXOTM>
help Displays a brief description of the help system or help for a specified
help <command> <command>.
?
? <command>
history buffer size Sets the size of a buffer, in terms of the number of commands, used by the
history.
start trace Starts the tracing operation for one or more virtual ports on the CCLXOT
server.
stop trace Stops the tracing operation for one or more virtual ports on the CCLXOT
server.
line status Shows current status of the “virtual wire” component for the specified virtual
port or ports of the CCLXOT server.
lapb status Shows current status of the LAPB component for the specified virtual port
or ports of the CCLXOT server.
lapb statistics Shows current statistics of the LAPB component for the specified virtual port
or ports of the CCLXOT server.
xot status Shows current status of the XOT component for the specified virtual port or
ports of the CCLXOT server.
xot statistics Shows current statistics of the XOT component for the specified virtual port
or ports of the CCLXOT server.
connection list lci Shows a list of connections for one or more virtual ports on the CCLXOT
server. Virtual circuits are identified using LCI (Logical Channel Identifier).
connection list lcgn Shows a list of connections for one or more virtual ports on the CCLXOT
server. Virtual circuits are identified using LCGN (Logical Channel Group
Number) and LCN (Logical Channel Number).
For more details on the CCLXOT manager commands, refer to IBM X.25 over TCP/IP for
Communication Controller for Linux V1.2 User’s Guide, SC31-6971.
vport_trace_enabled=1 enables HDLC/X.25 tracing to a file in the directory where the cclxotd
binary execuatable resides. The output file name is related to the port number being traced
and is in readable text format. In our configuration it was called
/opt/ibm/xot/vport_lapbtxt_trace_port_1.txt.
vport_trace_enabled=2 enables Ethereal tracing to a file in the directory where the cclxotd
binary executable resides. The output file name is related to the port number being traced and
is in Ethereal binary format. In our configuration it was called
/opt/ibm/xot/vport_ethr_trace_port_1.cap.
Example 8-31 shows an extract of the HDLC/X.25 trace output received during MCH line
activation.
Figure 8-4 shows an extract of the formatted Ethereal trace ouput written by cclxotd. For
details on running Ethereal for Linux on System z refer to Chapter 10, “Operation and
diagnosis” on page 239.
Example 8-32 shows an extract of a formatted CCL SIT trace for our line MCH2496.
For more information on using the CCL SIT trace, refer to Chapter 10, “Operation and
diagnosis” on page 239.
Example 8-33 X.25 NPSI information from formatted CCL Engine dump
CCL Internal Trace Table
....
070E 004819 Npsi: NDPSA CDT Line
070F 004819 Npsi: Stop Line
LIC - Address:00818354
00000000 00100000 00000000 00000000 00819EE9 09E00020
For more information on using the CCL Engine dump, refer to Chapter 10, “Operation and
diagnosis” on page 239.
DLSw support allows the CCL NCP to send SNA data over IP interfaces, using industry
standard DLSw protocols, to IP-attached DLSw-capable routers.
DLSw support helps migrating a typical SNA network to CCL and reduces the complexity of
your network by removing the need for external equipment. We show in Figure 9-1 how CCL
NCP can be connected to your IP network to transport SNA traffic, and we compare this to
the connectivity you had to establish before DLSw support in CCL V1.2.1 was provided.
SNA IP SNA
NCP NCP
DLSw
DLSw
SDLC IP OSA
Copper or
Fiber
NCP
SNA IP
The DLSw function of CCL helps to increase scalability and simplifies the physical network
configuration in your CCL LAN environment, because the MAC addresses used by CCL NCP
do not need to be defined in any physical or virtual network interface of Linux on System z.
The use of IP connectivity into the Linux on System z simplifies the network configuration,
because you can use Layer 3 connections instead of Layer 2.
What is DLSw
DLSw is a forwarding mechanism for the LLC2 protocol. It relies on TCP/IP protocol to
provide a reliable transport of SNA traffic over an IP network.
DLSw does not provide full routing capabilities, but it provides switching at the data link layer.
Rather than bridging LLC2 frames, DLSw encapsulates the SNA data in TCP frames and
forwards the resulting messages over the IP network to a peer DLSw for delivery to the
intended SNA end station.
Refer to RFC 1795 and RFC 2166 for details on the DLSw standard.
Important: Only one instance of the DLSw component is supported in a Linux on System z
user space.
When the CCL Engine is started, it tries to register its defined TIC adapters to NDH by
providing the MAC address defined in NCP source deck. NDH tries to find a match between
this NCP TIC MAC address and the MAC addresses of the network adapters available on
Linux on System z. When a match cannot be found, NDH passes the NCP TIC MAC address
to the DLSw component to handle.
When the CCL DLSw component activates the TCP connection with remote peer partners, it
responds to a DLSw explorer frame asking for the NCP TIC MAC addresses NDH registered
as DLSw interfaces.
When VTAM sends a connect request for an SNA station to this NCP TIC interface, the DLSw
component will send an explorer frame to its peer to establish the DLSw LLC2 connection
with the remote SNA station.
OSA-Express
Addresses
C200-C202
IP: 9.12.4.245
IP network
DLSw router
SDLC
IP: 9.42.88.141 Frame Relay
SNA X.25
terminals QLLC
Restriction: As with other industry standard DLSw implementations, CCL DLSw does not
support Multi Link Transmission Groups (MLTG) and HPR protocol over DLSw
connections.
When NDH is using an Ethernet LAN as the network interface to transmit SNA data using
DLSw, it uses IP segmentation to send large PIUs over the Ethernet; therefore, the MTU
restriction of 1500 bytes is not an issue.
BNN connectivity
Figure 9-3 on page 211 shows the BNN connectivity when using DLSw support in CCL. We
show an SDLC-attached PU type 2.0 and an X.25 QLLC PU type 2.0 connection setup
examples.
CDLC
SNA LLC2 CDLC SNA LLC2 IPTG DLSw XOT
(QETH)
IP Network
SNA LLC2 DLSW XOT
X.25
SDLC
SDLC
F/R
F/R SNA LLC2
X.25 QLLC
X.25 QLLC
CCL NCPA
DLSw
IP Network
DLSW
SDLC
F/R
X.25 QLLC SNA LLC2
CDLC
SNA LLC2 CDLC SNA LLC2 IPTG DLSw XOT
(QETH)
X.25
SDLC
SDLC
F/R
F/R SNA LLC2
X.25 QLLC
X.25 QLLC
NCPA
DLSw
LCS or
IP addr 9.12.4.245 QDIO
MAC 400072230005
Copper or
fiber
IP addr 9.12.4.247
MAC 400072230006
IP Network NCPB
SNA LLC2
DLSw Token
Ring NCP Business
VTAM
IBM 3745/46 Partner
Figure 9-4 CCL DLSw connection scenario for INN link between CCL NCP and a 3745
The LCS or QDIO Layer 2 interfaces being used by CCL for SNA LLC2 traffic can still be
used for IP connectivity at Layer 3 by Linux on System z.
The ifconfig display of this interface (including its MAC address information) is shown in
Example 9-1.
Example 9-1 Ifconfig display of IP network interface used for DLSw implementation on CCL NCPA
eth1 Link encap:Ethernet HWaddr 02:00:00:00:00:02 1
inet addr:9.12.4.245 Bcast:9.12.5.255 Mask:255.255.254.0
inet6 addr: fe80::200:0:2100:2/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:41542 errors:0 dropped:0 overruns:0 frame:0
TX packets:41252 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:4196766 (4.0 Mb) TX bytes:30219253 (28.8 Mb)
1 The HWaddr field shows the MAC address of this network interface.
Important: The MAC addresses to be used in the DLSw connections to and from CCL
must not be defined on any physical interface of your Linux on System z.
DLSw:peer Defines the partner TCP peers. Write one block for each remote peer
you want to define. (Supports Dynamic Reconfig (add, delete): first
delete the peer block, and then add it again to make modifications.)
DLSw:timers Defines DLSw timers for peer connections and explorer frames.
Optional.
DLSw:local-mac-list Defines the local MAC addresses list to be presented to remote peers
for filtering at DLSw level. Optional.
DLSw:mgroup Allows you to configure the Multicast protocol to be used among peers.
Optional.
The keepalive parameter controls whether the TCP layer occasionally polls its peer partners
in the absence of any user data traffic. Enabling Keepalive messages results in more timely
notification of a TCP connection failure.
The connection_type parameter determines when the TCP peer connection is brought up or
down. When one or both the peers have the connection_type set to active, DLSw attempts to
activate the TCP connection at all times by trying to bring it back when it fails. If both
neighbors specify passive, DLSw establishes the TCP peer connection only when it needs to
activate a circuit (connection between SNA stations at level 2) over that peer, and closes it
when all circuits are closed.
You can configure the IP multicast service to enable the end-station resource exploration
without establishing static TCP connections to all peers. The TCP peer connection would be
activated after receiving a positive response to the explorer sent to the multicast IP
infrastructure by the involved peers. Specify connection_type=passive and enable the
multicast block in dlscfg.xml.
Each DLSw can define a local MAC address list to be exchanged among peers. This list can
be exclusive (including all the MAC addresses accessible, so it is also used to restrict access)
or non-exclusive (including a subset of the MAC addresses accessible).
Each DLSw can define MAC cache entries that map a particular MAC address with a
particular DLSw peer or peers. This list is used locally to limit where to send explorer frames
for a configured MAC address.
Refer to CCL Implementation and User’s Guide, SC31-6872, for a detailed description of all
the keywords supported.
Example 9-2 shows the createPassword utility for creating a DLSw password that is different
than the default MOSS console password.
Refer to CCL Implementation and User’s Guide, SC31-6872, for a description of the DLSw
console commands available.
1 You can change the default port number of the DLSw console if port 2002 does not suit your
environment. You access the DLSw console to monitor the DLSw connections.
2 By enabling the dynamic peer value, you do not have to predefine all the partner peers but
CCL DLSw can accept requests from any remote peer.
3 The enable value keyword allows you to make effective the entire DLSw peer block.
4 You configure the IP address or hostname of your partner DLSw peer. This peer entry is for
a Cisco router we used for our BNN connectivity tests.
5 The connection type determines if the DLSw peer must be activated at startup (active) or as
needed (passive). For this DLSw peer, we chose the second option.
7 In this case we decided to activate the TCP connection between the two DLSw peers at
startup time.
9.2.3 Configure CCL NCPA source deck for both BNN and INN resources
In Example 9-4, we show the NCP source deck definitions we used in CCL NCPA.
Example 9-4 CCL NCPA definitions for DLSw connections (both BNN and INN)
**********************************************************************
* PHYSICAL TOKEN RING INTERFACES - TIC3 *
**********************************************************************
A10PTRG2 GROUP ECLTYPE=(PHY,ANY),ADAPTER=TIC3,ANS=CONT,MAXTSL=16732, X 1
RCVBUFC=32000,USSTAB=AUSSTAB,ISTATUS=ACTIVE,XID=NO, X
RETRIES=(4,5,1),NPACOLL=(YES,EXTENDED), X
TYPE=NCP, X
1 The CCL DLSw function can also use a TIC2 interface, but it must be defined to use a TIC3
interface in order to take advantage of the DPSA (previously used by NCP when pointing to
3746 frame interfaces).
2 Note the PORTADD keyword required in the VTAM switched major node in case of dial out
requests.
3 This local MAC address must be used by remote SNA stations to reach this CCL NCP. Note
that it does not match the hardware MAC address of the eth1 interface shown in Example 9-1
on page 213. To use CCL DLSw this address must not be defined in any local physical
network interface.
4 The BNN logical lines will be used to map any incoming PU type 2 connection to the local
MAC address, as well as any outcoming PU type 2 connection pointing to this logical group
definition in the VTAM switched major node.
5 The logical INN link we implemented from CCL NCPA to NCPB uses TGN=3 and points to
the MAC address of NCPB TIC adapter (see Example 9-10 on page 221 for verification).
Refer to Figure 9-3 on page 211 to see the topology of our BNN connection.
Example 9-5 Cisco router DLSw definitions for SDLC BNN resources
source-bridge ring-group 1111
dlsw local-peer peer-id 9.42.88.141 1
dlsw remote-peer 0 tcp 9.12.4.245 2
!
interface Serial2/0
no ip address
encapsulation sdlc 3
no keepalive
serial restart-delay 0
sdlc role primary
sdlc vmac 4000.3607.2000 4
sdlc address C1
sdlc xid C1 05D27223 5
sdlc partner 4000.7223.0005 C1 6
sdlc address C2
sdlc xid C2 05D57223
sdlc partner 4000.7223.0005 C2
sdlc dlsw C1 C2 7
1 IP address of the Cisco DLSw router playing the remote peer role for CCL NCPA.
2 IP address of Linux on System z on which CCL NCPA is running with DLSw support.
4 This virtual MAC address will be assigned by the router to the SNA station with SDLC
address C1 attached to this serial interface. Note that the resulting MAC address for the SNA
station with address C1 will be 4000.3607.20C1.
5 In the Cisco router, we configured the IDNUM and IDBLK information using the xid keyword
(they must match the values in the VTAM switched major node for the SNA PUs; see
Example 9-6 on page 219).
6 We created a connection between the two MAC addresses (thus converting the SDLC
protocol to a LAN protocol) by assigning a partner to the SDLC station. The partner MAC
7 This keyword enables the forwarding of the LAN frames to the upstream mainframe using
DLSw.
Example 9-6 VTAM switched major nodes for SDLC BNNs connected to CCL DLSw
SYS1.VTAMLST(SWBNNCL5):
VBUILD TYPE=SWNET,MAXGRP=5,MAXNO=5
PUITSO05 PU PUTYPE=2, C
IDBLK=05D, C
IDNUM=57223, C 1
MAXPATH=1, C
MAXOUT=7, C
ISTATUS=ACTIVE
LUBNNCL5 LU LOCADDR=02, C
DLOGMOD=D6327802,USSTAB=AUSSTAB
SYS1.VTAMLST(SWBNNCL2):
VBUILD TYPE=SWNET,MAXGRP=5,MAXNO=5
PUITSO02 PU PUTYPE=2, C
IDBLK=05D, C
IDNUM=27223, C 1
MAXPATH=1, C
MAXOUT=7, C
ISTATUS=ACTIVE
LUBNNCL2 LU LOCADDR=02, C
DLOGMOD=D6327802,USSTAB=AUSSTAB
1 IDBLK/IDNUM must match the information defined in Cisco router; refer to Example 9-5 on
page 218 for verification.
Example 9-7 Cisco router DLSw definitions for X.25 QLLC BNN resources
interface Serial2/2
description X25 BNN Connection to CCL NCP Gens
bandwidth 1544000
no ip address
encapsulation x25 dce 1
no ip mroute-cache
x25 address 5555 2
x25 win 7
x25 wout 7
x25 map qllc 4000.3640.1111 1111 3
x25 map qllc 4000.3640.2222 2222
x25 map qllc 4000.3640.3333 3333
x25 map qllc 4000.3640.4444 4444
keepalive 5
serial restart-delay 0
1 This statement enables the X.25 protocol over this serial interface and assigns the DCE role
to the router.
2 The X.121 address for this DCE is assigned with this statement. As we will be using
subaddressing, each station address will have this prefix plus the subaddress field.
3 This statement associates a MAC address (4000.3640.1111) to the X.25 QLLC station
having NUA address 55551111.
4 This DCE X.25 interface is accepting incoming calls from any X.25 device.
5 This statement enables DLSw over QLLC, and it is needed for inbound and outbound X.25
call requests. It maps the QLLC station NUA address to a MAC address and assigns a
partner MAC address to reach the SNA host via DLSw.
Configuring the VTAM Switched Major node for X.25 QLLC BNN
We defined, in VTAM, the switched major nodes for the remote X.25 QLLC boundary
devices. We show in Example 9-8 the SWM definition of one of these PUs.
Example 9-8 VTAM switched major node for X.25 QLLC BNN over CCL DLSw
VBUILD TYPE=SWNET,MAXGRP=5,MAXNO=5
PUITSO02 PU PUTYPE=2, C
IDBLK=05D, C
IDNUM=27223, C
MAXPATH=1, C
MAXOUT=7, C
ISTATUS=ACTIVE
PATH DIALNO=4004400036401111, C 1
GRPNM=A10BNNG7 2
LUBNNCL2 LU LOCADDR=02, C
DLOGMOD=D6327802,USSTAB=AUSSTAB
1 To establish a callout request, we need to specify the MAC address we associated to the
X.121 address of the SNA QLLC station in the router. The first byte of the DIALNO must
match the PORTADD value of the TIC physical line we defined with DLSw support in CCL
NCPA. See Example 9-4 on page 216 to verify this. The second byte must be the SAP
address of the remote station, which is 04 in our case.
2 The group name must match the peripheral logical group defined for our DLSw TIC adapter.
See Example 9-4 on page 216 to verify the correspondence.
Refer to Figure 9-4 on page 212 to see the topology of our INN test.
1 The local TIC adapter MAC address in NCPB must be used by remote CCL NCPA link
station to reach this NCP.
The code is in the CCL installation directory and is named ccldls, as shown in Example 9-11.
We issued the following command from CCL installation directory to start the DLSw
component:
lnxsu1:/opt/ibm/cclv1r21 # ./ccldls &
Note: Refer to section 10.3, “Automating startup and shutdown” on page 242 for details
about startup scripts.
It is important that you start the CCL DLSw component (the ccldls binary file) before you start
the CCL Engine on Linux on System z in order to allow the automatic activation of CCL NCP
DLSw physical lines. This is necessary because when the CCL Engine comes up, it registers
in the DLSw component.
Note: You can start the CCL DLSw component after the CCL Engine was started, but in
this case make sure you activate, from VTAM, the CCL NCP physical link and PU for the
DLSw connectivity. Refer to section 9.3.3, “Activating the local CCL DLSw NCP TIC
adapter” on page 223 for more information.
The DLSw console can be accessed after the ccldls code has been launched.
Enter your Linux on System z userid and password, as shown in Example 9-12.
Note: You do not need to configure a Telnet server on your Linux on System z because
the CCL DLSw component itself will be listening on port 2002.
From the DLSw prompt, you can enter commands to the DLSw component to get information
on the active peers and circuit connections.
In Example 9-13, we show the active processes on Linux on System z after starting the DLSw
component and accessing the DLSw console, in order to verify the DLSw connections after
the CCL Engine is started.
V NET,ID=A10TR68,ACT
IST097I VARY ACCEPTED
IST093I A10TR68 ACTIVE
D NET,ID=A10TR68,E
IST097I DISPLAY ACCEPTED
IST075I NAME = A10TR68, TYPE = LINE
IST486I STATUS= ACTIV, DESIRED STATE= ACTIV
IST087I TYPE = LEASED , CONTROL = SDLC, HPDT = *NA*
IST1440I USE = NCP, DEFINED RESOURCE, CANNOT BE REDEFINED
IST134I GROUP = A10PTRG2, MAJOR NODE = NCPA
IST1500I STATE TRACE = OFF
IST1656I VTAMTOPO = REPORT, NODE REPORTED - YES
IST1657I MAJOR NODE VTAMTOPO = REPORT
IST084I NETWORK RESOURCES:
IST089I A10PU68A TYPE = PU_T1 , NEVAC
IST314I END
V NET,ID=A10PU68A,ACT
IST097I VARY ACCEPTED
IST093I A10PU68A ACTIVE
IST093I A10IPLP8 ACTIVE
If you try to activate the TIC physical line while the ccldls executable file is not running, you
receive the error shown in Example 9-15.
Example 9-15 Error received when activating the TIC physical link with DLSw support inactive
V NET,ID=A10TR68,ACT
IST097I VARY ACCEPTED
IST380I ERROR FOR ID = A10TR68 - REQUEST: ACTLINK, SENSE: 0822800B
IST105I A10TR68 NODE NOW INACTIVE
Example 9-16 VTAM display showing the SDLC BNN connection to CCL NCPA with DLSw
IST590I CONNECTIN ESTABLISHED FOR PU PUITSO05 ON LINE J000A577
IST590I CONNECTIN ESTABLISHED FOR PU PUITSO02 ON LINE J000A575
D NET,ID=PUITSO02,E
D NET,ID=A10BNNG7,E
IST097I DISPLAY ACCEPTED
IST075I NAME = A10BNNG7, TYPE = LINE GROUP 931
IST486I STATUS= ACTIV, DESIRED STATE= ACTIV
IST354I PU T4/5 MAJOR NODE = NCPA
IST1068I PHYSICAL RESOURCE (PHYSRSC) = A10PU68A
IST084I NETWORK RESOURCES:
IST089I J000A575 TYPE = LINE , ACTIV----G
IST089I PUITSO02 TYPE = PU_T2 , ACTIV
IST089I J000A577 TYPE = LINE , ACTIV----G
IST089I PUITSO05 TYPE = PU_T2 , ACTIV
IST314I END
In Example 9-17, we show the monitoring displays available on the CCL DLSw console.
1 The tcp peer display shows the following information in one row starting from the left:
We did not configure multicast support.
The IP address of our remote peer is 9.42.88.141.
The status of the peer connection is established.
P: We are defined as passive peer.
Software level.
Number of current active circuits (connections to SNA stations) on this peer connection.
Number of circuit activation attempted on this peer.
2 The dls sess display shows the following information in one row starting from the left:
MAC and SAP address of the local (source) SNA station.
MAC and SAP address of the destination SNA station.
DLSw circuit status (connected, so the SNA LLC2 connection is active).
IP address of the remote peer owning the destination SNA stations.
Circuit id number.
3 The llc sess display shows a detail of each SNA LLC2 connection organized per remote
SAP address.
In Example 9-18, we show a DLSw display taken on the Cisco router side during our test.
Example 9-19 X.25 QLLC dial in connections to CCL NCPA with CCL DLSw support
IST590I CONNECTIN ESTABLISHED FOR PU PUITSO02 ON LINE J000A577
IST590I CONNECTIN ESTABLISHED FOR PU PUITSO03 ON LINE J000A575
IST590I CONNECTIN ESTABLISHED FOR PU PUITSO04 ON LINE J000A573
IST590I CONNECTIN ESTABLISHED FOR PU PUITSO05 ON LINE J000A571
D NET,ID=A10BNNG7,E
IST097I DISPLAY ACCEPTED
IST075I NAME = A10BNNG7, TYPE = LINE GROUP 341
IST486I STATUS= ACTIV, DESIRED STATE= ACTIV
IST354I PU T4/5 MAJOR NODE = NCPA
We also tried a dial out connection to one of the remote X.25 QLLC stations from VTAM, as
you can see in Example 9-20. Also refer to Example 9-8 on page 220 to review PATH
DIALNO parameters.
Example 9-20 X.25 QLLC dial out connection from VTAM-CCL NCPA over CCL DLSw
V NET,DIAL,ID=PUITSO02
IST590I CONNECTOUT ESTABLISHED FOR PU PUITSO02 ON LINE J000A4B1
IST241I VARY DIAL COMMAND COMPLETE FOR PUITSO02
D NET,ID=PUITSO02,E
IST097I DISPLAY ACCEPTED
IST075I NAME = PUITSO02, TYPE = PU_T2 477
IST486I STATUS= ACTIV, DESIRED STATE= ACTIV
IST1043I CP NAME = ***NA***, CP NETID = USIBMSC, DYNAMIC LU = YES
IST1589I XNETALS = YES
IST136I SWITCHED SNA MAJOR NODE = SWBNNCL2
IST081I LINE NAME = J000A4B1, LINE GROUP = A10BNNG7, MAJNOD = NCPA
IST1068I PHYSICAL RESOURCE (PHYSRSC) = A10PU68A
IST1934I IDBLK = 05D IDNUM = 27223
IST654I I/O TRACE = OFF, BUFFER TRACE = OFF
IST1500I STATE TRACE = OFF
IST1656I VTAMTOPO = REPORT, NODE REPORTED - YES
IST1657I MAJOR NODE VTAMTOPO = REPORT
IST355I LOGICAL UNITS:
IST080I LUBNNCL2 ACTIV
IST314I END
In Example 9-21, we show the verification displays available on the CCL DLSW console.
Example 9-21 CCL DLSw console verification displays for X.25 QLLC BNN
DLSw>sh tcp peer
Multicast
IP Address IP Address Conn State CST Version ActSes SesCreates
--------------- --------------- -------------- --- -------- ------ ----------
2 9.42.88.141 ESTABLISHED p AIW V2R0 1 7
DLSw>sh dls sess
Source Destination State Flags Dest IP Addr Id
--------------- --------------- --------- ------- -------------- ----
1 400072230005 04 400036401111 04 CONNECTED 9.42.88.141 10
Example 9-22 INN logical link activation between CCL NCPA and NCPB using CCL DLSw
V NET,ID=A10TR68,ACT
IST097I VARY ACCEPTED
IST093I A10TR68 ACTIVE
V NET,ID=A10PU68A,ACT
IST097I VARY ACCEPTED
IST093I A10PU68A ACTIVE
IST464I LINK STATION A10IPLP8 HAS CONTACTED NCPB SA 15
IST093I A10IPLP8 ACTIVE
D NET,ID=A10IPLP8,E
IST097I DISPLAY ACCEPTED
IST075I NAME = A10IPLP8, TYPE = LINK STATION
IST486I STATUS= ACTIV----E, DESIRED STATE= ACTIV
IST081I LINE NAME = A10TR68, LINE GROUP = A10PTRG2, MAJNOD = NCPA
IST1500I STATE TRACE = OFF
IST1656I VTAMTOPO = REPORT, NODE REPORTED - YES
IST1657I MAJOR NODE VTAMTOPO = REPORT
IST396I LNKSTA STATUS CTG GTG ADJNODE ADJSA NETID ADJLS
IST397I A10IPLP8 ACTIV----E 3 3 NCPB 15 USIBMSC A15LPU40
IST610I LINE A10IPLL8 - STATUS ACTIV----G
IST314I END
In Example 9-23, we show the successful virtual route test for our INN connection over DLSw.
Example 9-23 Virtual route test for INN link from CCL NCPA to NCPB over DLSw
D NET,ROUTE,DESTSUB=15,ORIGIN=NCPA,vr=2,test=yes
IST097I DISPLAY ACCEPTED
IST535I ROUTE DISPLAY 8 FROM SA 10 TO SA 15
IST808I ORIGIN PU = NCPA DEST PU = NCPB NETID = USIBMSC
IST536I VR TP STATUS ER ADJSUB TGN STATUS CUR MIN MAX
IST537I 2 0 INACT 2 15 3 INACT
IST537I 2 1 INACT 2 15 3 INACT
IST537I 2 2 INACT 2 15 3 INACT
IST314I END
IST538I ROUTE TEST 8 IN PROGRESS
IST533I ER 2 SUCCEEDED IN ROUTE TEST 8
IST797I FROM VIA ADJACENT DEST ER LENGTH
IST644I NCPA TG NCPB NCPB
IST534I 10 3 15 15 1
Some very interesting data is available on the DLSw console to prove the DLSw connectivity
is established.
For example, on the CCL NCPA DLSw console, we displayed the status of TCP connection
between the two DLSw peers with the sh tcp peer command, as shown in Example 9-24.
Example 9-24 CCL DLSw peer status display on CCL NCPA side
DLSw>sh tcp peer
Multicast
IP Address IP Address Conn State CST Version ActSes SesCreates
--------------- --------------- -------------- --- -------- ------ ----------
1 9.12.4.247 ESTABLISHED a AIW V2R0 1 3
DLSw>
In Example 9-25, we show the status of the DLSw circuit with the sh dls sess command
issued on the CCL NCPA DLSw console.
Example 9-25 CCL DLSw circuit set up display on CCL NCPA side
DLSw>sh dls sess
Source Destination State Flags Dest IP Addr Id
--------------- --------------- --------- ------- -------------- ----
1 400072230005 04 400072230006 04 CONNECTED 9.12.4.247 2
DLSw>
You can see the MAC and SAP addresses of our two NCPs and the IP address of the remote
peer.
In Example 9-26, we show the sh llc sess command issued from CCL NCPA DLSw console
which displays more detailed information at the llc level.
Example 9-26 CCL DLSw llc sessions display on CCL NCPA side
DLSw>sh llc sess
Sessions for SAP 0:
No sessions for SAP 0.
Sessions for SAP 4:
Session ID Local
(int-sap-id) Remote MAC Local MAC SAP State
0000-04-0002 40:00:72:23:00:06 40:00:72:23:00:05 04 LINK_OPENED
Sessions for SAP 8:
No sessions for SAP 8.
Sessions for SAP c:
No sessions for SAP c.
DLSw>
In Example 9-27, we show the socklist command listing the socket for our DLSw MAC
address opened by NDH of CCL NCPA when the physical link was activated.
1 This is the TCP peer connection between CCL NCPA DLSw and the remote DLSw peer for
NCPB. The TCP port 2065 is used by the DLSw software.
2 When you access the DLSw console using the Telnet localhost 2002 command, these local
connections are established.
Refer to 9.3.2, “Connecting to the CCL DLSw console” on page 222 for the details.
In Example 9-29 on page 231, we list the show commands available on the CCL DLSw
console.
To start debugging a connectivity problem with DLSw, you can use the show tcp, show dls
and show llc commands, which let you verify the status of the TCP connection between
peers, the DLSw circuits status and the llc2 details, respectively. In Example 9-30, we show
an overview of the commands available.
Example 9-30 DLSw console commands to monitor and diagnose DLSw connections
DLSw>show tcp ?
Data Link Switching: (tcp) level commands
capabilities
config
mconfig
mstatistic
peer
statistic
help
DLSw>show dls ?
Data Link Switching: (dls) level commands
cache
cache-config
global-info
llc-sessions
open-sap
sap-parameters
sessions
timers
help
DLSw>show llc ?
Data Link Switching: (llc) level commands
saps
sessions
help
The output of the trace goes to a set of files (dlsw.log, dlsw.log1, dlsw.log2, and so on),
which is readable and located in the /opt/ibm/cclv1r21/logs directory.
The trace can be enabled and the number of log files in the set can be defined in the
configuration file of DLSw (dlscfg.xml).
In Example 9-33, we show an example of the data you can get in the dlsw.log file with all the
trace options active.
The output of the trace goes to a set of files (dlsw.log, dlsw.log1, dlsw.log2, and so on), which
is readable and located in the /opt/ibm/cclv1r21/logs directory.
The trace can be enabled and the number of log files in the set can be defined in the
configuration file of DLSw (dlscfg.xml).
In Example 9-35, we show an example of the data you can see with all the debug options
active.
The BER log contains the box event records (BERs) for the CCL Engine. A BER contains
information about an unusual event detected by either NCP or the CCL Engine, as shown
in Example 9-37.
The Linux on System z system log shows the initialization and error messages related to
CCL NCP. The error messages are also logged in the cclengine.loadmodule.log, as
shown in Example 9-38.
For further information regarding the log files in CCL V1.2.1, refer to 10.5, “Using the CCL
MOSS console” on page 247.
Example 9-39 TIC3 physical link station-related data in a CCL Engine formatted dump
LIM Type: TRP - (Lines 2176-2239)
ICB_Flags: C0 TA: 6400 TD: 9801 NPSA_LNVT Address: 2622 LPSA_LNVT Address: 2626
NCP_Buffer_Size: 248 LDPSA_Count: 03 Data_Treshhold: 00
NPSA_Status: 00 LPSA_Status: 00 Residual_Data_Count: 00 LPSA_Seq: 107E
NCP_NPSA_Address: 167AE4 NCP_LPSA_Address: 167B64
NPSAWA_Ptr: 81BA48 LPSAWA_Ptr: 818C60
IcbLWrkH: 000000 IcbLWrkT: 000000
IcbNhqH: 000000 IcbNhqT: 000000
NPSA_WA - Address:0081BA48
00000000 90167B04 107F0000 00000000 26220000 98000000 00000000 00000000 00000000
00000020 00000000 00000000
LPSA_WA - Address:00818C60
00000000 90167B84 107D0000 00000000 00000000 98000000 00000000 00000000 00000000
00000020 00000000
For further information about the use of CCL Engine dump, refer to “CCL Engine dumps” on
page 262.
The Line trace is used to record data flowing between NCP and the CCL engine. This trace
can be formatted using the ACFTAP trace formatter, and the output data is sent to the
SYSCSPRT data set (which is the same data set used to format line trace data for TIC3
interfaces).
The line trace can be used to get trace data either from physical or logical lines. An example
of the formatted output data generated from a line trace taken during the XID exchange
between NCPA and NCPB is shown in Example 9-40.
For further information about the NCP Line Trace, refer to 10.4, “Operating CCL NCPs from
VTAM” on page 244.
The SIT trace, is stored in a binary file in the traces subdirectory of the CCL install directory,
with the file name cclenginename.ncpname.CCLSIT.trace.
To format the SIT trace, we use the command CCLTAP, which resides in same directory as the
CCL Engine. The input to the program is the name of the binary trace file to be formatted. A
sample of an formatted SIT trace taken with both trace points is shown in Example 9-41.
From the CCL Moss console we can also start a CCL internal trace for NTRI and LAN, as
shown in Figure 9-5 on page 237.
To view the CCL internal trace, a CCL Engine Dump must be taken and formatted.
For further information regarding CCL MOSS trace options, refer to 10.5, “Using the CCL
MOSS console” on page 247.
The CCL installation process created another shell script that automatically loads the NDH
into the Linux on System z kernel each time Linux on System z starts. It is called
/etc/rc.d/ndhload and is executed via an S prefixed symbolic link in the /etc/rc.d/rc5.d
directory.
This directory contains commands which are automatically run when Linux on System z is
started at the default runlevel of 5 (Full multiuser mode with network and X display manager -
KDM (default), GDM, or XDM).
The lsmod command can be used to show which modules are currently loaded, as shown in
Example 10-1.
If there is a requirement to manually reload the NDH, first unload the NDH from the Linux on
System z kernel using the rmmod ndh command, and then load the NDH by changing the
directory to /opt/ibm/ndh and issuing the ./load_ndh.sh command.
If you use shell scripts to start your NCPs, then that shell script must navigate to the cclengine
directory (the CCL install directory) before invoking the cclengine executable.
Tip: Start the cclengine process, using the nohup command. This will ensure that the
cclengine will not stop if the parent process ends prematurely.
The initial startup of the CCL Engine requires the CCLEngineName value and the -m and -p
parameters. Only the CCLEngineName value is required for subsequent starts. The -m and -p
parameters are optional on subsequent starts, and are needed only if you want to change the
values. For example, you would specify the -m parameter if you wanted to load a different
NCP load module. You can specify a different CCL MOSS console HTTP port by coding the
-p parameter.
Note: During our testing we found that the CCL MOSS Disk IPL Information panel showed
old name information from our earlier tests. We deleted the CCLEngineName.mossldcb to
cause a new one to be created with only the current information.
You can set the active NCP load module for a CCL NCP from the Disk IPL Information panel
of the CCL MOSS console. You can also set the active NCP load module for a CCL NCP, as
follows:
Directly, using VTAM VARY ACT,LOAD=YES if using CDLC
Indirectly, using VTAM MODIFY LOAD,ACTION=SETTIME if not using CDLC
Tip: You can use the Linux on System z ps -ef command to verify that the CCL Engine is
running and to determine what operands were specified when it was started.
2. We ensured that the shell script was made executable by issuing the command:
chmod 755 start_your_engines.sh
3. We created symbolic links in the runlevel 3 and 5 directories, /etc/rc.d/rc3.d and
/etc/rc/d/rc5/d. Scripts in these directories are run every time Linux on System z is booted
at either runlevel 3 or 5, and they run in the order sorted by name. We issued the
commands:
ln -s /opt/ibm/cclv1r21/start_your_engines.sh /etc/rc.d/rc3.d/S99startCCL
ln -s /opt/ibm/cclv1r21/start_your_engines.sh /etc/rc.d/rc5.d/S99startCCL
Note: Because the NDH has to be loaded before the CCL Engine can start, we had to
make sure our script was run after the Sxxndhload script. On SLES9 this script was called
S16ndhload, and on RHEL4 it was called S99ndhload.
2. We ensured that the shell script was made executable by issuing the command:
chmod 755 stop_your_engines.sh
3. We created symbolic links in the runlevel 3 and 5 directories, /etc/rc.d/rc3.d and
/etc/rc/d/rc5/d. Scripts in these directories are run every time Linux on System z is shut
down at runlevel 3 or 5, and they run in the order sorted by name. We issued the
commands:
ln -s /opt/ibm/cclv1r21/stop_your_engines.sh /etc/rc.d/rc3.d/K99stopCCL
ln -s /opt/ibm/cclv1r21/stop_your_engines.sh /etc/rc.d/rc5.d/K99stopCCL
Many NCP operations (such as loading, activating, managing, and dumping NCPs) are
performed by issuing various VTAM commands from the VTAM (or operating system)
operator console or using the VTAM programmed operator interface.
If your CCL configuration includes CDLC connections to the owning VTAM, then operations of
the CCL NCP are the same as an ESCON-attached 3745 NCP.
VTAM provides support to enable activation of CCL NCPs over subarea LAN connections
using an XCA major node, if the software prerequisites described in 3.2.2, “Software
requirements” on page 34 have been satisfied. In order to activate a CCL NCP over a LAN
connection, a new operand (ALLOWACT=YES) must be coded on the subarea XCA PU
definitions that represent links to CCL NCPs. For details on implementing LAN connections
for CCL, see Chapter 5, “Configuring local connections using LLC2” on page 91.
When the XCA link (PU) has been defined correctly and the XCA major node has been
activated, you can use the VTAM VARY ACT and VARY INACT commands to activate and
inactivate CCL NCPs, and you can use the VTAM VARY ACQ and VARY REL commands to
acquire or release resources defined within CCL NCPs.
Table 10-1 on page 246 summarizes which VTAM methods of loading CCL NCPs are
supported for various types of CCL attachment.
Restriction: The CCL NCP must already be loaded and active (from VTAM’s point of
view) prior to issuing any of the MODIFY LOAD command variations. This is because the
MODIFY LOAD command uses the SSCP-PU session to deliver these requests to the target
CCL NCP.
Guideline: When your CCL NCP is loaded and active (from VTAM’s point of view), you
should always use the VTAM MODIFY LOAD (or VARY ACT with CDLC) command to transfer
new or updated NCP load modules to Linux on System z for CCL NCPs. In addition, you
should always use the VTAM MODIFY LOAD command or the CCL MOSS console to manage
(ADD, RENAME, REPLACE, or PURGE) the NCP load modules for CCL NCPs, rather
than performing these operations from the Linux on System z console.
Otherwise, VTAM, the CCL MOSS console, or both might not understand which NCP load
modules are available for loading.
The CCL Engine always ensures that the Auto Dump/Load switch is set immediately prior to
performing a Timed IPL request (which you can initiate from VTAM using the MODIFY LOAD
command). This is the only way to set the Auto Dump/Load switch from VTAM for a CCL NCP
that is directly attached to VTAM over a LAN connection. There is no way to reset the Auto
Dump/Load switch from VTAM for a CCL NCP that is directly attached to VTAM over a LAN
connection.
However, you can use the CCL MOSS console to set or reset the Auto Dump/Load switch.
See 10.5, “Using the CCL MOSS console” on page 247 for more information.
You can also use the cclengine command from Linux on System z to start a CCL Engine and
load an NCP. See 10.2, “Starting and stopping the CCL Engine” on page 240 for a complete
description of the cclengine command.
You can use the VTAM VARY ACT and VARY INACT commands to activate and inactivate CCL
NCPs, and you can use the VTAM VARY ACQ and VARY REL commands to acquire or release
resources defined within CCL NCPs.
For details on loading a CCL NCP over a CDLC connection, refer to 4.3.3, “Loading the NCP
from VTAM and verifying the CDLC connection” on page 77.
Some VTAM commands used to monitor NCPs are intended for functions that are not
supported by CCL NCPs. For example, the MODIFY IMR command is used to start or stop
intensive mode recording for a station on an SDLC line, but CCL NCPs do not support SDLC
lines. VTAM does not prevent these commands from being issued against CCL NCPs. But the
CCL NCP will reject requests for unsupported types of links and devices.
The CCL MOSS console provides a set of 3745 MOSS-like functions that are accessed using
a Web browser.
To access these functions, point your Web browser to the CCL MOSS console http server
address, which will be an IP address on the Linux on System z image running CCL, and port
number specified when the CCL Engine was started (for example, http://9.12.4.245:4000). An
initial login page is displayed, where you enter your MOSS console login password that was
set during CCL installation.
You can use the stunnel RPM from your Linux on System z distribution to ssl encrypt the
information that flows between the Web browser and the MOSS http port. Refer to stunnel
and openssl product documentation for details.
Note: For information about CCL Engine dumps, refer to section 10.8.4, “Dumps” on
page 262.
Guideline: Though you can start and stop the trace using the MOSS console or
VTAM, you should start or stop it from the same place. For example, if you start the
trace from VTAM, you should also stop it from VTAM.
Why? Because if you start the trace from VTAM and then stop it from the MOSS
console, NCP/VTAM is not informed and will time out the trace, which will cause an
engine dump.
Why? Because if you start the trace from VTAM and then stop it from the MOSS
console, NCP/VTAM is not informed and will time out the trace, which will cause an
engine dump.
A sample of what the ATUSS panel for NTuneMON looks like for CCL NCPs is shown in
Figure 10-2.
If the CCL Engine is running, the system and CCL Engine logs can be viewed using the CCL
MOSS console. Refer to 10.5, “Using the CCL MOSS console” on page 247 for details.
If the CCL Engine is not running, or for logs that cannot be viewed from the CCL MOSS
console, the logs can be viewed from Linux on System z. The logs available are:
Linux on System z system log (default location for NDH Debug, Error, and Warning-level
messages)
– Default location: /var/log/messages
– Location in our environment: /var/log/messages
CCL Engine log
– Default location:
/opt/ibm/CCL_Installation_directory/logs/CCLEngineName.NCPName.log
– Location in our environment: /opt/ibm/cclv1r21/logs/NCPA.NCPA.log
NCP BER log
– Default location: /opt/ibm/CCL_Installation_directory/logs/CCLEngineName.ber.log
– Location in our environment: /opt/ibm/cclv1r21/logs/NCPA.ber.log
CDLC cldp log
– Default location: /opt/ibm/CCL_Installation_directory/logs/CCLEngineName.cclcldp.log
– Location in our environment: /opt/ibm/cclv1r21/logs/NCPA.cclcldp.log
Refer to Communication Controller for Linux on System z Implementation and User’s Guide,
SC31-6872, for documentation of CCL Engine, MOSS, and NDH messages.
If the CCL Engine is not running, or for logs that cannot be viewed from the CCL MOSS
console, the logs can be viewed directly from Linux on System z. The logs available are:
Linux on System z system log (default location for NDH Debug, Error, and Warning-level
messages)
– Default location: /var/log/messages
– Location in our environment: /var/log/messages
CCL Engine log
– Default location:
/opt/ibm/CCL_Installation_directory/logs/CCLEngineName.NCPName.log
– Location in our environment: /opt/ibm/cclv1r21/logs/NCPA.NCPA.log
NCP BER log
– Default location: /opt/ibm/CCL_Installation_directory/logs/CCLEngineName.ber.log
– Location in our environment: /opt/ibm/cclv1r21/logs/NCPA.ber.log
CDLC cldp log
– Default location: /opt/ibm/CCL_Installation_directory/logs/CCLEngineName.cclcldp.log
– Location in our environment: /opt/ibm/cclv1r21/logs/NCPA.cclcldp.log
Line traces
You can start and use the NCP line trace for CCL NCP lines just as you would have done for
3745 NCP lines. Refer to z/OS Communications Server SNA Operation, SC31-8779, for a
complete description of the VTAM MODIFY TRACE command. Refer to the NCP, SSP, and EP
Trace Analysis Handbook, LY43-0037, for more information about running NCP Line Trace
and for information about using ACF/TAP to process your CCL NCP line trace data.
line_name will be the physical line name of the interface you wish to trace.
It is also possible to start and stop SIT traces, for certain interface types, from the CCL MOSS
console. For details, refer to 10.5, “Using the CCL MOSS console” on page 247.
It is possible to limit the data capture to either of these two points by specifying the TRACEPT
parameter on the MODIFY TRACE command, as follows:
TRACEPT=1 captures the DPSA flows between the CCL NCP and the CCL Engine only.
TRACEPT=2 captures the data flow between the CCL Engine and the NDH only.
Example 10-6 shows the formatted output from CCL SIT trace of our NPSI physical line using
the command:
VTAM MODIFY TRACE,TYPE=SIT,ID=MCH2496,TRACEPT=1
Example 10-7 on page 257 shows the formatted output from CCL SIT trace of our NPSI
physical line using the command:
VTAM MODIFY TRACE,TYPE=SIT,ID=MCH2496,TRACEPT=2
Tip: Only one VTAM-initiated SIT trace can be active at one time in a CCL NCP. If you
need to trace multiple resources, start the Global SIT Diagnostic from the CCL MOSS
console.
The CCL SIT trace data is stored in a binary file in the traces subdirectory of the CCL install
directory. The trace file is limited to 10 megabytes. The number of trace files is specified at
CCL Engine startup, and the default value is 2. If the current trace file exceeds this limit, the
current file is renamed, and a second file is created.
Because the CCL SIT trace files do not reside in the same directory as the ccltap program,
Example 10-8 shows how to execute the command from the traces subdirectory without
having to move files between directories by using ../ to target the next directory level back
from where the command is being issued.
You can also optionally enter the following filtering options on the ccltap command:
–c Filter by CDLC CCID (for example, 00010001)
This value defaults to no filtering by CCID. This filtering option is applied to CDLC trace
entries only.
–f Select DETAIL or SUMMARY format
This value defaults to the DETAIL format. This option is only useful for NTRI or LAN trace
data. This option will have no effect for the other trace types.
–l Filter by NCP line number (for example, 1088, 2112)
This value defaults to no filtering by line number. This filtering option applies to all trace
entries.
–m Filter by remote MAC address (for example, 400037450280)
This value defaults to no filtering by MAC address. This filtering option is applied to NTRI
trace entries only.
–n Filter by MCH name (for example, mchname=xxxxx)
This value defaults to no filtering by MCH name.
–p Filter by PU name
This value defaults to no filtering by PU name. This filtering option is applied to TCPIO
trace entries only.
The output displays four message level values. They are related to the kernel messages and
designate whether or not the messages should be displayed to the console (priorities). The
numbers are:
1st: console_loglevel
2nd: default_message_loglevel
3rd: minimum_console_loglevel
4th: default_console_loglevel
Refer to the syslogd man page and your syslogd.conf configuration before making any
changes to the printk settings.
Enabling one level of trace does not disable any already active trace levels. All traces must be
disabled to stop any active traces. Each level must be enabled independently, but all can be
running simultaneously.
To enable or disable NDH tracing, echo the trace level into the NDH debug control file; for
example:
echo 2 > /proc/net/ndh/debug
echo 0 > /proc/net/ndh/debug
Example 10-10 shows the NDH level 2 debug output from the Linux on System z syslog.
Ethereal is installed like any other additional package for Linux on System z.
Instructions for installing packages for Red Hat can be found in E.1.5, “Installing the
additional packages required by CCL” on page 313.
Instructions for installing these for SUSE can be found in D.1.6, “Installing additional
packages required by CCL installation” on page 303.
Running Ethereal on Linux on System z requires the X-Window (X11) function to be enabled,
as it uses a graphical interface. This is automatically enabled when using Linux on System z
runlevel 5 (Full multiuser mode with network and X display manager - KDM (default), GDM, or
XDM). Runlevel 5 is the default runlevel for SLES9 and RHEL4 installations.
Note: When starting the VNC Viewer, we had to select Options, select the Misc tab, and
click Only use protocol version 3.3 to allow it to work with the Xvnc X11 graphics
manager.
The Ethereal Network Analyzer window displayed, as shown in Figure 10-4 on page 262.
10.8.4 Dumps
CCL Engine dumps
You can use the CCL MOSS console Dump CCL Engine facility to dump just the CCL Engine.
Manually dumping the CCL Engine is non-disruptive and does not affect the CCL or NCP
operation. The dump is saved to the dumps subdirectory of the CCL install directory in the
Linux on System z file system. The CCL Engine dump has one of the following names:
cclenginename.ncpname.solicited.cclengine.dump
This name is used if the dump was requested using the MOSS console.
cclenginename.ncpname.unsolicited.cclengine.dump
This name is used if the dump was generated as the result of an NCP abend.
Figure 10-5 on page 263 shows an example of initiating a manual CCL Engine dump from the
MOSS console. For details on using the CCL MOSS console refer to 10.5, “Using the CCL
MOSS console” on page 247.
The CCL Engine Dump Formatter program ccldumpformatter formats a CCL Engine dump.
After you run ccldumpformatter against your CCL Engine dump, you may view the formatted
dump with an editor.
The formatted dump file is saved to the same directory as the CCL Engine dump by default,
but it can be saved to an alternative file name specified when starting ccldumpformatter. The
ccldumpformatter program resides in the CCL install director.
Because the CCL Engine dump does not reside in the same directory as the
ccldumpformatter program, Example 10-11 shows how to execute the command from the
dumps subdirectory without having to move files between directories by using ../ to target the
next directory level back from where the command is being issued.
lnxsu1:/opt/ibm/cclv1r21/dumps # ll
total 28068
drwx------ 2 root root 4096 Feb 28 16:25 .
NCP dumps
You can use the CCL MOSS console Dump NCP facilities, or VTAM operator commands, to
disruptively, or non-disruptively, dump the CCL NCP and the CCL Engine. This CCL MOSS
console provides two options:
Dump NCP: Disruptive
This option stops NCP processing and, after dumping the NCP and the CCL Engine,
automatically reloads the CCL NCP.
The effect of this option is similar to the effect of the VTAM command:
MODIFY procname,ID=ncpname,DUMP,ACTION=STORE,OPTION=STATIC
One difference is that the VTAM command causes NCP to ABEND 0x7FFF, whereas the
CCL MOSS option causes NCP to hard stop, which appears as an NCP ABEND 0x0000.
Dump NCP: Nondisruptive
This option stops NCP processing momentarily and, after dumping the NCP and the CCL
Engine, causes NCP processing to resume without session disruption.
The effect of this is similar to the VTAM command:
MODIFY procname,ID=ncpname,DUMP,OPTION=DYNA,DUMPDS=name
The main difference is that the VTAM-initiated dump takes significantly more time to
complete but results in the NCP dump being transferred to the host, whereas the CCL
MOSS-initiated dump requires you to transfer the CCL NCP dump to the host using the
VTAM command:
MODIFY procname,ID=ncpname,DUMP,ACTION=TRANSFER,TYPE=NCP
CCL NCP dumps are saved to the dumps subdirectory of the CCL install directory in the
Linux on System z file system. The CCL NCP dump has the following name:
cclenginename.ncpname.ncpdump
Figure 10-6 on page 265 shows an example of initiating a non-disruptive NCP dump from the
CCL MOSS console.
Example 10-12 shows the command issued to display the “CCL MOSS disk” which showed
the NCP dump residing in the Linux on System z file system.
Example 10-13 shows the command issued to transfer the NCP dump to the VTAM NCP
dump data set.
You can also use FTP to transfer the CCL NCP dump in binary mode. You can format the CCL
NCP dump using your ACF/SSP Dump Formatter utility as for any NCP dump.
Both the NCP dump and the CCL Engine dump are overwritten if they already exist in the
dumps subdirectory of the CCL install directory when an NCP ABEND occurs. After the dump
has been taken, the CCL NCP is automatically reloaded.
Note: If the Auto Dump/Load switch is off when an NCP ABEND occurs, neither the NCP
dump nor the CCL Engine dump is taken and the CCL NCP is not be restarted
automatically.
Example 10-14 shows the data set allocation attributes for an NCP dump data set, large
enough to hold the entire CCL storage. For a 16 MB 3745 controller, which CCL emulates, the
calculation is: ((16 x 1024 x 1024) + 6196) bytes.
Refer to Communication Controller for Linux on System z Implementation and User’s Guide,
SC31-6872 for further details about diagnosing CCL problems.
This appendix provides a set of worksheets that can be used to help perform a physical
inventory of your IBM communication controller (3745/46) environment.
These physical inventory sheets are intended to provide an organized means for identifying
your installed communication controller hardware components. You need only to fill out those
sheets that apply.
In this appendix we show the forms related to a generic configuration only. To get physical
inventory sheets related to specific models, refer to IBM Communication Controller Migration
Guide, SG24-6298.
The following resources may be helpful in your efforts to inventory your communication
controller environment:
Your IBM Customer Engineer (CE)
The Configuration Definition File-Extended (CDF-E) from the MOSS console
3746-A11 SN
3746-A12 SN
3746-L13 SN
3746-L14 SN
3746-L15 SN
3746-900 SN
Console Information
3151 or Equivalent
Service Processor
Type:
9577
9585
3172 P/N 41H7520
3172 P/N 55H7630
7585
6275
6563
Channel Board
Bus Pos. 1 Pos. 2 Pos. 3 Pos. 4
Group
1
Bus Pos. 5 Pos. 6 Pos. 7 Pos. 8
Group
2
Legend:
CADS = Channel Adapter Data Streaming
BCCA = Buffer Chaining Channel Adapter
TPS = Two Processor Switch
Line Unit
Area 1 Area 2
LIC LIC LIC LIC LIC LIC LIC LIC
Type Type Type Type Type Type Type Type
Line Unit
Area 5 Area 6
LIC LIC LIC LIC LIC LIC LIC LIC
Type Type Type Type Type Type Type Type
Overview
Extended Microcode Options: Multiaccess Enclosure (MAE)
Extended Functions 1 (5800) present?
Extended Functions 2 (5802) Yes No
Extended Functions 3 (5801) MAE Microcode Options:
Extended Functions 4 (5810) Extended Functions 1 (5804)
Extended Functions 5 (5812) Extended Functions 2 (5805)
Extended Functions 6 (5813) Extended Functions 3 (5807)
X.25 (5030) TN3270 Server (5806)
IP (5033)
Port Port Port Port Port Port Port Port Port Port Port Port
Slot 6 (P) Slot 5 (M) Slot 4 (K) Slot 3 (H) Slot 2 (F) Slot 1 (D) Front Side
Notes: 1. Indicate CBSP Type in Slot 2 (F)
2. For 3745 Models 41A and 61A, Slot 3 (H) must be a TRPx and Port G must by a CBC
Processors: Ports:
TRP = Token-Ring Processor Type 1 TIC3 = Token-Ring Coupler Type 3
TRP2 = Token-Ring Processor Type 2 ETH = Ethernet Port/Ethernet-TR Bridge
TRP3 = Token-Ring Processor Type 3 ESCC = ESCON Coupler Type 1
ESCP = ESCON Processor Type 1 ESCC2 = ESCON Coupler Type 2
ESCP2 = ESCON Processor Type 2 LIC11x = Line Interface Coupler Type 11 where 'x' is
ESCP3 = ESCON Processor Type 3 the Line Connection Box (LCB) ID where the
CLP = Communication Line Processor ARCS are installed that correspond to this LIC
CLP3 = Communication Line Processor Type 3 LIC12 = Line Interface Coupler Type 12
SIE = Switch Interface Extension (MAE connection)
Port Port Port Port Port Port Port Port Port Port Port Port
Slot 12 (P) Slot 11 (M) Slot 10 (K) Slot 9 (H) Slot 8 (F) Slot 7 (D) Front Side
Processors: Ports:
TRP = Token-Ring Processor Type 1 TIC3 = Token-Ring Coupler Type 3
TRP2 = Token-Ring Processor Type 2 ETH = Ethernet Port/Ethernet-TR Bridge
TRP3 = Token-Ring Processor Type 3 ESCC = ESCON Coupler Type 1
ESCP = ESCON Processor Type 1 ESCC2 = ESCON Coupler Type 2
ESCP2 = ESCON Processor Type 2 LIC11x = Line Interface Coupler Type 11 where 'x' is
ESCP3 = ESCON Processor Type 3 the Line Connection Box (LCB) ID where the
CLP = Communication Line Processor ARCS are installed that correspond to this LIC
CLP3 = Communication Line Processor Type 3 LIC12 = Line Interface Coupler Type 12
SIE = Switch Interface Extension (MAE connection)
Port Port Port Port Port Port Port Port Port Port Port Port
Slot 18 (P) Slot 17 (M) Slot 16 (K) Slot 15 (H) Slot 14 (F) Slot 13 (D) Front Side
Processors: Ports:
TRP = Token-Ring Processor Type 1 TIC3 = Token-Ring Coupler Type 3
TRP2 = Token-Ring Processor Type 2 ETH = Ethernet Port/Ethernet-TR Bridge
TRP3 = Token-Ring Processor Type 3 ESCC = ESCON Coupler Type 1
ESCP = ESCON Processor Type 1 ESCC2 = ESCON Coupler Type 2
ESCP2 = ESCON Processor Type 2 LIC11x = Line Interface Coupler Type 11 where 'x' is
ESCP3 = ESCON Processor Type 3 the Line Connection Box (LCB) ID where the
CLP = Communication Line Processor ARCS are installed that correspond to this LIC
CLP3 = Communication Line Processor Type 3 LIC12 = Line Interface Coupler Type 12
SIE = Switch Interface Extension (MAE connection)
To LCBE
ARC Type
Attach
Length
To LCB
Attach
Length
Length:
.6 = .6 Meters
ARC Types: Attach: 1.2 = 1.2 Meters Notes:
V.35 DCE 2.4 = 2.4 Meters Fill out one sheet for each
V.24 DTE 5 = 5 Meters LCB/LCBE combo installed
X.21 10 = 10 Meters
12 = 12 Meters
15 = 15 Meters
ST = Stub cable to 3745 cable
Note: A 3746-900 may have as many as 32 LCB/LCBE pairs. Fill out one of these sheets for each one.
LIC Types:
280 = 2-Port Token-Ring 290 = 6 Port V.35/V.36
281 = 2 Port Ethernet 291 = 8 Port X.21
282 = 8 Port V.24/EIA-232 293 = 1 Port Single-Mode ATM
283 = 1 Port ISDN PRI-T1/J1 294 = 1 Port 155 Multi-Mode ATM
284 = 1 Port Multi-Mode ATM 295 = 1 Port 155 Single-Mode ATM
286 = 1 Port Multi-Mode FDDI 297 = 4 Port ISDN T1/J1
287 = 1 Port ESCON 297+ = 4 Port ISDN T1J1 plus 4-P Daughter
288 = 1 Port Fast Ethernet 299 = 1 Port Parallel Channel
289 = 1 Port HSSI
When working through this exercise, it is important to include only those resources that are
still used. In some cases, you may identify resources in the communication controller
configurations that are no longer necessary.
Note: If you have a 3745-410/A or 610/A running in Twin-Dual mode, fill out a Logical and
Functional Inventory Worksheet for both NCPs running on the machine.
Fill out all sheets that pertain to your particular controller configuration. For example, if you
have a 3745-170, fill out the following:
Parts 1 and 2 of the 3745 Logical and Functional Worksheet
Or, if you have a 3745-61A running in twin-dual mode and a 3746-900 with a Network Node
Processor, fill out the following:
Parts 1, 2, and 3 of the worksheet for the NCP running on CCU-A
Parts 1 and 2 of the worksheet for the NCP running on CCU-B
To assist in filling out the Logical and Functional Inventory Worksheet, it will be helpful to
review your NCP generation statements. NCP generation statements are structured as
follows:
Start-stop PEP line groups
Start-stop NCP line groups
BSC PEP line groups
BSC NCP line groups
Line groups defined as SDLC, including the following (these resources can be defined in
any order):
– SDLC telecommunication links
– Network Terminal Option (NTO) resources
– NetView Performance Monitor (NPM) resources, with definitions for both
– NPM and Network Session Accounting (NSA)
– Network Routing Facility (NRF) resources
– X.25 resources
– X.25 SNA interconnection (XI) resources
– X.21 resources
– Frame-relay resources
– ISDN resources
Additionally, tools such as NTuneMON, NetView, and NPM will be helpful in determining
whether resources are still active.
For users of the Network Node Processor for APPN and IP resources on the 3746-900 and
3746-950, the Controller Configuration and Management (CCM) tool will also be useful.
NCP Name
3745 Serial Number
If 3745 model 410/A or 610/A, indicate how NCP is defined:
Twin-Dual
Twin-Standby
Twin-Backup
Which operating system(s) are you using?
MVS (OS/390)
VM
VSE
TPF
Specify any IBM special products you are using. Check all that apply.
EP XI
NTO MERVA
NRF NSI
NPSI Other (Please specify)
Legends:
Protocol The line group protocol (SDLC, BSC3270, EP, Frame Relay, X.25, etc.).
Speed The speed of the line group.
Line Count The number of lines of a certain speed and protocol.
SNI Count The count of any SNI lines within the group.
Autocall Count The count of any Autocall lines within the group.
Note: Counts in this table are for all Token-Ring resources within this NCP.
Are you currently using duplicate TIC adresses to balance and back up your Token-Ring SNA traffic?
Yes
No
If you are running IP, how many routes are you supporting?
Functions Count
PU1/PU2/LENs connected?
ENs/NNs connected?
SSCP-LU (control) sessions activated by the 3746 DLUR?
LU-LU sessions (dependent) activated by the 3746 DLUR?
LU-LU sessions (independent) activated by the 3746 DLUR?
LU-LU sessions established by other NNs through the 3746 NN?
OSPF
BGP
RIP
Functions Count
PU1/PU2/LENs connected?
ENs/NNs connected?
SSCP-LU (control) sessions activated by the 3746 DLUR?
LU-LU sessions (dependent) activated by the 3746 DLUR?
LU-LU sessions (independent) activated by the 3746 DLUR?
LU-LU sessions established by other NNs through the 3746 NN?
OSPF
BGP
RIP
The Table C-1 on page 295 should be used during the third step of your implementation
planning effort (reconcile and optimize).The worksheet may be photocopied for your use.
Worksheet notes:
The row NCP Name refers to the NCP name of the resources that will be listed in this
worksheet.
The column Line Name refers to the Line names of all resources defined in this NCP that
are in use and can be migrated to CCL NCP.
The column Line address refers to the physical line address of each resource located in
the 3745/46 where this NCP is loaded.
The column Interface type refers to the interface and protocol types being used by these
resources, such as SDLC, X.25, TIC, or ESCON.
The column Cable type refers to the physical lines and cable type being used (for
example, V24, V35, or Token Ring).
The column DCE location refers to the physical location of the modems where the lines
are connected.
The column DCE/ALR distance refers to the distance between the place where each
modem is located and the physical location of the 3745/46.
The column Partner name describes to who these lines are connected.
The row Total INN serial lines and Total BNN serial lines will help you determine the
number of serial lines needed in the WAN aggregation platform if no alternative can be
offered via a LAN solution or IP network.
After the reconcile and optimize step is complete, the worksheets will be used during the
strategic planning step of your implementation planning effort.
Line name Line Interface Cable DCE location DCE/ALR Partner name
address type type distance
The required steps to install the SLES9 Linux on System z code as a z/VM guest machine
are:
“Preparing the z/VM Linux on System z guest” on page 298
“Network considerations” on page 299
“Transfer the Linux on System z installation kernel” on page 299
“Perform the installation configuration steps” on page 300
“Applying Service Pack 3 (SP3)” on page 301
For further details about these procedures, refer to Linux for zSeries Fibre Channel Protocol
Implementation Guide,SG24-6344.
Note: Our z/VM guest did not have the TCPIP 592 minidisk available, so before we could
use the FTP command, we issued the following commands:
LINK TCPIP 592 592 RR
ACC 592 B
To verify if the LINK command is in the existing directory entry for this guest, we issued:
DIRM FOR guest_name REVIEW
The output from this command is sent to the z/VM reader and it can be viewed using the
RL (reader list) command. The file name is in our case lnxsu1 DIRECT A. This verified that
the required LINK command was not present.
The two image files were transferred in binary mode, and the parameter file was transferred
in ASCII mode. All three files must be transferred with a record length of 80 bytes; make sure
of this by issuing the FTP locsite fix 80 command. For further details about the FTP process,
refer to Linux for zSeries Fibre Channel Protocol Implementation Guide,SG24-6344.
We created a REXX executable to perform the initial Linux on System z IPL, as shown in
Figure D-2 on page 300.
We saved this REXX executable as SLES9X EXEC and used it to load the installation Linux
on System z kernel code.
After all parameters are entered, the installation process will show the resulting selections
and ask for confirmation.
13. Is this correct (Yes/No) yes
14. Enter the temporary installation password: xxxx
15. Specify the installation source: 3 (FTP)
16. Enter the IP-Number of the host providing the installation media: 9.12.4.69
17. Enter the directory of the installation media: /code/installroot
Note: The Default option does not install all packages required to install CCL V1R2.
Review the CCL V1R2 software requirements and include the additional packages
needed.
5. Click Accept.
6. From the Start Install window, select yes/start install.
At this point, the installation process will resume and continue until it transfers all
packages from the CD images. When completed, Linux on System z is shut down and the
z/VM guest machine enters a CP wait state.
7. Back on the z/VM Linux on System z userid, enter: IPL 202 clear.
This command boots the Linux on System z kernel just installed, and a message is
displayed on the z/VM guest session, to open the VNC Client.
On the workstation, open a VNC connection to receive the YAST2 installation screen to
finish the installation process:
8. At the root password prompt, enter: xxxx (our root password).
9. At network interface info, click Next.
10. At Test Internet Connection, select No - skip Next.
11. At Service Configuration, accept the defaults Next.
12. At User authentication Method (was LDAP, changed it to Local (etc/passwd)).
13. At Add new user, enter: user1 and choose a password, then click Next.
14. At Release Notes, click Next.
This completes the installation process. The next step is to upgrade SLES9 to the SP3 level.
In our environment, the SP3 code is located in the same server we used to install the GA
code and the server has all the mount points required as follows:
mount -o loop /code/SLES-9-SP-3-s390x-GM/SLES-9-SP-3-s390x-GM-CD1.iso
/code/sles9x-sp3/cd1
With the VNC server started on the SLES9, we initiated a VNC session in our workstation and
called YAST2, as shown in Figure D-3.
d. With the new entry highlighted, we used Up to move it to the top of the list., then
clicked Finish.
2. At the YaST Control Center screen, we clicked System Update Next.
To determine which packages are missing from the default installation, we started a VNC
session and used the YAST2 Control Center as follows:
1. We started a VNC session and opened an Xwindow.
2. In the Xwindow, we entered the command yast2 to initiate the YaST2 Control Center
session.
3. In the YaST2 Control Center, we clicked Install and Remove Software, as seen in
Figure D-5 on page 304.
4. At the search screen, we entered the package name and clicked Search. All packages
with the requested name were listed, as shown in Figure D-6 on page 305.
5. We looked at the listed packages and found the package we wanted to install.
In your case, if the box to the left of the package name is not checked, click the box and
check it. If necessary, repeat step 4 and step 5 in order to locate and check all required
packages, then click Accept.
YaST2 obtains all checked packages from the defined source installation media and installs
all the packages, as illustrated in Figure D-7 on page 306.
When the package installation is finished, the CCL V1R2 installation can proceed.
We used FTP to copy these files from the images sub-directory on our FTP server to our
z/VM guest machine.
Note: Our z/VM guest did not have the TCPIP 592 minidisk available, so before we could
use the FTP command, we issued the following commands:
LINK TCPIP 592 592 RR
ACC 592 B
To verify if the LINK command was in the existing directory entry for this guest, we issued:
DIRM FOR guest_name REVIEW
The output from this command is sent to the VM reader and it can be viewed using the RL
(reader list) command. The file name in our case was LNXRH1 DIRECT A. This verified
that the required LINK command was not present.
The two image files were transferred in binary mode, and the parameter file was transferred in
ASCII mode. All three files must be transferred with a record length of 80 bytes; make sure of
this by issuing the FTP locsite fix 80 command. For further details about the FTP process,
refer to Linux for zSeries Fibre Channel Protocol Implementation Guide,SG24-6344.
We recommend that you create a REXX executable to perform the initial Linux on System z
IPL, as shown in Figure E-1.
/* RHEL4 INSTALLATION */
'CLOSE RDR'
'PURGE RDR ALL'
'SPOOL PUNCH * RDR'
'PUNCH RHEL4 IMAGE A (NOH'
'PUNCH RHEL4 PARMFILE A (NOH'
'PUNCH RHEL4 INITRD A (NOH'
'CHANGE RDR ALL KEEP NOHOLD'
'IPL 00C CLEAR'
We saved this REXX executable as RHEL4 EXEC, and then executed it to load the
installation Linux on System z kernel code.
We connected to Linux on System z using an SSH client such as PuTTY. A basic graphical
user interface is automatically started and requires users to specify various options starting
with the language to use.
Next, for the installation method option we chose FTP and pointed to our FTP server and the
directory, which contained all the Linux on System z image code as shown in Figure E-3.
The installation dialog asks whether to proceed using a command line or a graphical
interface, as shown in Figure E-4 on page 311.
Starting VNC...
The VNC server is now running.
Please connect to 9.12.4.246:1 to begin the install...
Starting graphical installation...
XKB extension not present on :1
We started a VNC viewer and connected to Linux on System z, as shown in Figure E-6.
The following installation is self-explanatory, with dialogs to help you select the desired
features.
In our case, we chose Automatically partition the disk space, using default options.
Figure E-7 on page 312 shows how the space will be automatically allocated by Red Hat.
Next, we updated the network configuration options as shown in Figure E-8 on page 313.
Note that all the parameters we previously entered were kept except the hostname, which
we had to update again manually.
Normally configuring a firewall for security would be a sensible option; however, we chose
to disable it during this installation.
We chose to install the default software packages. (Note, however, that not all the
packages required by CCL are installed using this option. The package installation is
performed as part of the CCL installation, but we show the details of how this is done in
E.1.5, “Installing the additional packages required by CCL” on page 313.)
Note: The installation dialog can freeze if messages build up on the Linux on System z
guest console under z/VM. We recommend that you either clear the console messages
during the install, or disconnect the console using the following command:
#CP DISC
After the installation dialog was complete we loaded our Linux on System z guest by IPLing
from disk 201, using the CP IPL 201 command from z/VM.
</DLSw:config>
z/OS, z/OS,
z/VM, or z/VM, or
z/VSE z/VSE
VTAM VTAM
SA=01 SA=04
NETC.C01N NETC.C04N
CCL 3745/46
C78PVC C71PVC
SA=78 SA=71
IP Serial5/0
Cisco XOT
router
Network DCE addr 555555
9.42.88.93
We provide the example definitions for the following in the next section:
NCP generation parameters
IBM XOT server definitions for the CCL connection
XOT router definitions for the 3745/3746 connection
The example PVC INN configuration topology is shown in Figure G-2 on page 340.
VTAM
SA=02 VTAM
NETB.B02N SA=03
NETB.B03N
CCL CCL
B72PVC B73PVC
SA=72 SA=73
IP
Network
Note: When both ends of the INN link are supported in CCL, the IBM XOT server can
provide full mappings of the LCI (logical channel group number and logical channel
numbers). This example shows this function by using LCGN=1 and LCN=1 for the PVC
INN connection.
In the following section, we provide the example definitions for the following:
NCP generation parameters
IBM XOT server definitions for the CCL connections
The example subarea dial INN configuration topology is shown in Figure G-3 on page 345.
VTAM VTAM
SA=04 SA=01
NETC.C04N NETC.C01N
CCL 3745/46
C78SAD C71SAD
SA=78 SA=71
IP Serial5/0
Cisco XOT
router
Network DCE addr 555555
9.42.88.93
In the following section, we provide the example definitions for the following:
NCP generation parameters
VTAM switched major node definitions
IBM XOT server definitions for the CCL connection
XOT router definitions for the 3745/3746 connection
The example subarea dial INN configuration topology is shown in Figure G-4 on page 350.
VTAM
VTAM
SA=02
SA=03
NETB.B02N
NETB.B03N
CCL CCL
B72SAD B73SAD
SA=72 SA=73
IP
Network
Note: When both ends of the INN link are supported in CCL, the IBM XOT server can
provide full mappings of the LCI (logical channel group number and logical channel
numbers). This example shows this function by using LCGN=1 and LCN=1 for the subarea
dial INN connection.
In the following section, we provide the example definitions for the following:
NCP generation parameters
VTAM switched major node definitions
IBM XOT server definitions for the CCL connections
The publications listed in this section are considered particularly suitable for a more detailed
discussion of the topics covered in this redbook.
IBM Redbooks
For information on ordering these publications, see “How to get IBM Redbooks” on page 358.
Note that some of the documents referenced here may be available in softcopy only.
IBM Communication Controller Migration Guide, SG24-6298
OSA-Express Implementation Guide, SG24-5948
Linux for zSeries Fibre Channel Protocol Implementation Guide, SG24-6344
Other publications
These publications are also relevant as further information sources:
Linux on zSeries Device Drivers, Features and Commands, SC33-8281
Network Control Program and System Support Programs, Customization Reference,
LY43-0032
Network Control Program System Support Programs Emulation Program Resource
Definition Reference, SC31-6224
Communication Controller for Linux on System z Implementation and User’s Guide,
SC31-6872
Online resources
The following Web sites are also relevant as further information sources:
Linux support is available as source code patch on developerWorks:
http://www.ibm.com/developerworks/linux/linux390/linux-2.6.5-s390-27-april2004.htm/
3745 Communications Controller and NCP Control Program information
http://www.networking.ibm.com/nhd/webnav.nsf/pages/375:375prod.html
CCL product information
http://www.ibm.com/software/network/ccl
IBM X.25 over TCP/IP for CCL (IBM XOT) product information
http://www.ibm.com/software/network/xot
Index 361
OSA port 9 example 336
Token Ring port 7 status 143
LDPSA Data 84, 172 XCA 36
LDPSA_Count 88, 118, 148, 234 Maximum Transfer Unit (MTU) 300
LIM Type 88, 118, 148, 234 MCH 177, 317
Line group 143, 163, 197, 225, 282 MCH line 177, 180, 190, 195
Line trace 119, 149, 170, 235, 255 MCH name 177, 257
link access protocol Media Access Control (MAC) 7, 93–94, 126
balanced 178, 187 memory
link access protocol balanced (LAPB) 187, 195 requirements 34
Link Service Architecture (LSA) 7, 93 MiB 106, 139
Link Services Architecture (LSA) 24, 32 MIF ID 57–58, 67, 69, 156
Linux MIN Max 164, 228
Layer 2 support 94, 128 MOSS console 4
OSN support 55 Multi Link Transmission Group (MLTG) 22, 147, 210
Linux image 3, 156, 162, 165 Multiple Image Facility (MIF) 65
CCL Engines 162
following command 167
stunnel configuration files 166 N
TCP connection 165 NCP 13
LLC type 177 name 47
NPSI connections 177 NCP definition 18, 66, 127, 147, 159, 161, 177, 221
LLC2 5, 24 rule 158
LLC2 connection 26, 95, 128 statement 46
different CHPIDs 100 NCP Dump 82, 200, 249, 265
Layer 2 support 8 NCP generation 65, 109, 180, 187
LLC2 connectivity 92, 124 code 146
lnxsu3 kernel 234 code parameters 65
load module 46–47, 56, 73, 78, 112–113, 155, 162 configuration parameters 67
transferring 47 device type 55
LOADMOD.ccld efs 67 ESCON logical PU statement 67
local area network (LAN) 5, 19, 91, 123, 208 ESCON resources 65
local connection 24, 53, 91, 95, 162, 230 NPSI resources 180
logical channel group TIC resources 109
number 180, 188, 340 Token Ring resources 109
logical channel number (LCN) 181 NCP line
logical link station number 258
definition 161 trace 82, 119, 149, 170–171, 200, 235, 255
TGN statement 161 NCP load
logical PU module 46, 73, 77, 113, 162, 177, 241
remote MAC address 155 module name 47
LOGICAL Unit 143, 195, 198 NCP load module 241
Logical Volume Manager (LVM) 13 name 47
LOGICALPU 67 NCP name 248, 294
LPAR 53, 94, 128, 137 NCP Packet
LPSA_LNVT Address 88, 118, 148, 234 Switching Interface 10, 17, 19, 176
LPSA_Seq 88, 118, 148–149, 234 NCP Packet Switching Interface (NPSI) 176
LPSA_Status 88, 118, 148, 234 NCP Token Ring Interface (NTRI) 4
lscss command 60, 63 NCP/EP Definition Facility (NDF) 46
NCPB side 145–146, 168, 212, 221
active connections 168
M DLSw definitions 212
MAC address 7, 25, 93–94, 99, 112, 126, 128, 155, DLSw router 221
208–209, 258 DLSw router parameters 221
canonical form 131, 133 INN connection 145
mainframe remote DLSw router 221
advantages 2 NDH 45
major node 72, 79–80, 94, 111, 116, 140–141, 162–164, compile 41
181–182, 195, 212, 217, 244, 347 install 41
channel attached 36 load 41
definition 352 NDH9700I SOCKLIST 115, 229
O
Open Systems Adapter (OSA) 24, 32, 53–54 Q
OSA Address Table (OAT) 101, 135 QDIO device 55, 74, 97, 129, 212
OSA configuration configuration panel 131
change 101, 135 driver 94
file 107 group 56, 94, 128
OSA features 20, 32 Layer 2 support 98
System z9 20 number 94, 128
zSeries 20
OSA port 4, 91–92, 125, 134 R
administered MAC address 100, 134 reader list (RL) 299, 309
LAN frames 93 README file 32
locally administered MAC address 100 Red Hat 34, 103, 105, 138, 260, 307–308
sharing capability 144 Redbooks Web site 358
TIC MAC addresses 29 Contact us xiv
OSAD device 59, 96, 135 Residual_Data_Count 88, 118, 148, 234
OSA devices offline 101 resource resolution table (RRT) 47
OSA-Express RFC 1613
microcode level 32 Cisco Systems X 10, 177
OSA-Express LCS mode PVC SETUP packet 190
possible BNN connections 26 RHEL4 35
OSA-Express port 3, 92, 94, 103, 125, 128, 137, 140,
213
canonical format 110–111 S
sharing capability 144 Scope
OSE CHPID 95, 135 Link 60, 99, 132, 138, 213
number 108 serial line 11, 18, 127, 294
OAT 107 physical connectivity 11
OSE device 56 WAN aggregation platform 145
OSN 24 Service Access Point (SAP) 93, 126
OSN CHPID Session ID 225
type 55 SIT trace 119–120, 149–150, 170–171, 235–236, 250
OSN device 55, 57–58 SLES9 35
address 58, 69 SMAC 120, 150, 236
CHPID 56, 74 SNA data 55, 92, 119, 125, 149, 207–208
number 56 SNA host 54, 178, 220
read subchannel device address 67 physical connection 178
Index 363
software 55 U
system 55–56 unattended CCL installation 42, 46
SNA interconnection 282 Unit Address (UA) 65
SNA LLC2 user
connection 124–125, 226 root 37
connectivity 124, 144
definition 140
frame 144 V
processing 155 Virtual Network Computing (VNC) 38
protocol 126 VNC viewer 38, 261, 311
support 92, 125 new window 38
traffic 19, 213 vsftpd RPM
SNA network 18, 208 command 48
interconnection 283 package 48
SNA network interconnection (SNI) 123 VTAM 36, 91–92, 128, 156, 162, 209, 212, 242, 244, 347
SNA station 140, 144, 209 major node 36
resulting MAC address 218 VTAM command 195, 244
SNA support 93, 126 VTAM DISPLAY 247
SNA traffic 92, 99, 125, 132, 159, 161, 208 command 162
IP priority 159, 161 VTAM message 77, 198
QDIO Layer 2 device 132 VTAM-to-NCP connections 23
reliable transport 11 VWINDOW parameter 192
SNI 6 valueout values 192
SNI connection 26, 128, 144, 220 VWINDOW value 192
socket connection 193, 209
software 13
SSCP takeover 21–22
W
WAN aggregation platform 18, 126–127, 140, 178, 208,
stunnel 10
294
subaddress field 220
media conversion DLSw capability 140
SUSE Linux 34, 129, 137
remote 3745 NCP 145
CCL Installation 42
WAN connection 25
LCS interface 137
network interface 144
QDIO Layer 2 support 129 X
system log 82, 118, 148, 169, 200, 233 X.25 6
System Support Program (SSP) 13, 46 X25.LCG LCGN 181, 319, 337–338
X25.OUFT Index 180, 319
X25.VC LCN 181, 319
T XOT 5
tar file 32, 37
XOT router
TCP connection 154, 156, 177, 195, 197, 199, 209, 214,
definition 339, 349
216
parameter 191
TCPDEFS section 159
PVC INN connection 336
TIC3 adapter 9, 142, 217
subarea dial INN connection 344
DPSA interface 146
line address 142
TIC3 interface 6, 25, 158 Y
c 157–158 YaST panel 50, 97, 130
definition 6
Time Stamp 84–85, 120, 150, 236, 256
Token Ring 2, 19, 21, 32, 92, 124–125, 245–246, 294 Z
Token Ring Interface Coupler (TIC) 125 z/OS Communications Server
Token Ring Processor (TRP) 9 V1R5 37
trace data 65, 119, 149, 171, 232, 250 V1R6 37
TRACEPT statement 120, 150, 236 z/VM guest 33, 298, 307
Twin CCU 22 configuration 129
Twin CCU support 21 environment 298
Type of Service (TOS) 27, 154