Troubleshooting Communication in WebSphere MQ

Similar documents
CIS-331 Exam 2 Fall 2015 Total of 105 Points Version 1

CIS-331 Exam 2 Spring 2016 Total of 110 Points Version 1

CIS-331 Exam 2 Fall 2014 Total of 105 Points. Version 1

CIS-331 Spring 2016 Exam 1 Name: Total of 109 Points Version 1

Getting Started with WebSphere MQ Message Bindings in WebSphere Process Server and WebSphere Enterprise Service Bus

CIS-331 Fall 2014 Exam 1 Name: Total of 109 Points Version 1

Inside Products TCP Problem Finder Thinking Inside the Box

Advanced Integration Services In IBM Business Process Manager

CIS-331 Fall 2013 Exam 1 Name: Total of 120 Points Version 1

CIS-331 Final Exam Spring 2018 Total of 120 Points. Version 1

CIS-331 Final Exam Spring 2015 Total of 115 Points. Version 1

User Datagram Protocol

! ' ,-. +) +))+, /+*, 2 01/)*,, 01/)*, + 01/+*, ) 054 +) +++++))+, ) 05,-. /,*+), 01/-*+) + 01/.*+)

Ask the Experts DataPower Topics on Networking, MQFTE, Regular Expressions, DataPower Timeouts and ODBC Technologies

Introduction to TCP/IP networking

Packet Header Formats

Networking Technologies and Applications

Connections. Topics. Focus. Presentation Session. Application. Data Link. Transport. Physical. Network

CS419: Computer Networks. Lecture 10, Part 2: Apr 11, 2005 Transport: TCP mechanics (RFCs: 793, 1122, 1323, 2018, 2581)

ECE4110 Internetwork Programming. Introduction and Overview

CSE/EE 461 Lecture 13 Connections and Fragmentation. TCP Connection Management

EE 610 Part 2: Encapsulation and network utilities

Understanding WebSphere Business Monitor Failed Events Manager

ECE 650 Systems Programming & Engineering. Spring 2018

Packaging and Deploying Java Based Solutions to WebSphere Message Broker V7

CIS-331 Final Exam Fall 2015 Total of 120 Points. Version 1

Troubleshooting IBM Business Monitor

CSCI-GA Operating Systems. Networking. Hubertus Franke

Team Support and Versioning with ClearCase and CVS in WebSphere Business Modeler V7

Debugging CSQJ160I Long-Running Unit of Work found Message

Lenuta Alboaie Computer Networks

Troubleshooting and Resolving Issues with the Intelligent Management Plugin

FOCUS on Intrusion Detection: Intrusion Detection Level Analysis of Nmap and Queso Page 1 of 6

Application Editioning in WebSphere 8.5

Transport Over IP. CSCI 690 Michael Hutt New York Institute of Technology

Course Contents. The TCP/IP protocol Stack

Best Practices for memory management in Cast Iron 7.X

Monitoring DataPower with ITCAM for SOA, ITCAM Agent for DataPower, and WAMC

Troubleshooting Tips and Hints for WebSphere JDBC Adapter

QUIZ: Longest Matching Prefix

Troubleshooting SCA Problems in WebSphere Process Server Open Mic

CSEP 561 Connections. David Wetherall

K2289: Using advanced tcpdump filters

4. Specifications and Additional Information

BPM 7.5 Deployments and Troubleshooting

Transport Layer. <protocol, local-addr,local-port,foreign-addr,foreign-port> ϒ Client uses ephemeral ports /10 Joseph Cordina 2005

CIS-331 Final Exam Spring 2016 Total of 120 Points. Version 1

An Overview of WebSphere MQ Telemetry and How to Utilize MQTT for Practical Solutions

Sequence Number. Acknowledgment Number. Checksum. Urgent Pointer plus Sequence Number indicates end of some URGENT data in the packet

The cache is 4-way set associative, with 4-byte blocks, and 16 total lines

Module : ServerIron ADX Packet Capture

WebSphere Enterprise Service Bus (ESB): Developing Complex Scenarios Simply

Insights into WebSphere Process Server Tracing

ECE 358 Project 3 Encapsulation and Network Utilities

CSE 461 The Transport Layer

Introduction to Internet. Ass. Prof. J.Y. Tigli University of Nice Sophia Antipolis

Diagnosing z/os Communications Server TCP/IP storage growth and storage abends

TCP: Transmission Control Protocol RFC 793,1122,1223. Prof. Lin Weiguo Copyleft 2009~2017, School of Computing, CUC

TCP = Transmission Control Protocol Connection-oriented protocol Provides a reliable unicast end-to-end byte stream over an unreliable internetwork.

Chapter 7. The Transport Layer

Transport Layer Marcos Vieira

UDP and TCP. Introduction. So far we have studied some data link layer protocols such as PPP which are responsible for getting data

ECE 435 Network Engineering Lecture 15

Using SSL to Connect to a WebSphere Application Server with a WebSphere MQ Queue Manager

CPE 448 Exam #2 (50 pts) April Name Class: 448

CSEP 561 Connections. David Wetherall

How WLM routing and HA Manager work together in WebSphere Application Server ND

Ask the Experts MQ Clustering Gotchas! Avoiding Cluster Administration Errors

CSCI-1680 Transport Layer I Rodrigo Fonseca

I TCP 1/2. Internet TA: Connection-oriented (virtual circuit) Connectionless (datagram) (flow control) (congestion control) TCP Connection-oriented

CSE 461 Connections. David Wetherall

Processing Segmented Messages in DataPower using MQ V7

CSCI-1680 Transport Layer I Rodrigo Fonseca

CNT5505 Programming Assignment No. 4: Internet Packet Analyzer (This is an individual assignment. It must be implemented in C++ or C)

CSE/EE 461 Lecture 14. Connections. Last Time. This Time. We began on the Transport layer. Focus How do we send information reliably?

WebSphere Partner Gateway v6.2.x: EDI TO XML Transformation With FA

Layer 4: UDP, TCP, and others. based on Chapter 9 of CompTIA Network+ Exam Guide, 4th ed., Mike Meyers

Application Service Models

The Transport Layer. Part 1

DataPower integration with Multi-instance MQ Queue Managers

Transport Protocols. Raj Jain. Washington University in St. Louis

Internet Layers. Physical Layer. Application. Application. Transport. Transport. Network. Network. Network. Network. Link. Link. Link.

Interconnecting Networks with TCP/IP. 2000, Cisco Systems, Inc. 8-1

Ask the Experts JNDI Naming configuration and problem determination

CS 457 Lecture 11 More IP Networking. Fall 2011

The Transport Layer. Internet solutions. Nixu Oy PL 21. (Mäkelänkatu 91) Helsinki, Finland. tel fax.

TSIN02 - Internetworking

Transport Layer. Gursharan Singh Tatla. Upendra Sharma. 1

Communications guide. Line Distance Protection System * F1* GE Digital Energy. Title page

WebSphere MQ Triggering Concepts and Problem Determination

TSIN02 - Internetworking

Some slides courtesy David Wetherall. Communications Software. Lecture 4: Connections and Flow Control. CSE 123b. Spring 2003.

Gateway Ascii Command Protocol

Ask the Experts. Understanding HA Manager, WLM and ORB in WebSphere Application Server. 06 October IBM Software Group

TCP /IP Fundamentals Mr. Cantu

TCP/IP Networking. Part 4: Network and Transport Layer Protocols

Understanding Flexible Management in WebSphere Application Server V7

CS615 - Aspects of System Administration

Computer Networks. Transmission Control Protocol. Jianping Pan Spring /3/17 CSC361 1

TSIN02 - Internetworking

Transcription:

IBM Software Group Troubleshooting Communication in WebSphere MQ Rick Armstrong (rickied@us.ibm.com) Advisory Software Engineer 27 October 2010 WebSphere Support Technical Exchange

Agenda TCP/IP networking concepts Tracing at the network level Channel connection overview Common problems involving network and related layers WebSphere Support Technical Exchange 2 of 39

TCP/IP network overview WMQ Client IP Cloud z/os Queue Manager WebSphere Support Technical Exchange 3 of 39

TCP/IP Sockets Overview Client Connect Allows the client to open a connection to a server's port Server Bind Associates a socket to a port Listen Allows clients to connect to port Accept Accepts a client connection attempt Client and Server Socket Allocates a socket to read and write Write Sends data on a TCP connection Read Receive data on a TCP connection Close Terminate a connection WebSphere Support Technical Exchange 4 of 39

TCP/IP socket overview Simple example of application socket calls client/server Client Application Server Application Socket function Connection state Network flow Connection state Socket function Socket Connect synsent SYN SYN/ACK ACK listen Socket Bind Listen established established Accept Write 100 Read 100 100 bytes ACK +100 100 bytes ACK +100 Write 100 Close fin_wait1 FIN fin_wait2 ACK close_wait FIN timewait ACK last ack Close WebSphere Support Technical Exchange 5 of 39

TCP/IP Stack Application Application TCP UDP IP Network Interface WebSphere Support Technical Exchange 6 of 39

Gathering z/os TCPIP packet trace Start the Component Trace TRACE CT,ON,COMP=SYSTCPDA,SUB=(tcpip_name) Start TCPIP Packet Trace VARY TCPIP,tcpip_name,PKT,ON,IP=xx.xx.xx.xx Recreate the problem Stop TCPIP Packet Trace VARY TCPIP,tcpip_name,PKT,OFF TRACE CT,OFF,COMP=SYSTCPDA,SUB=(tcpip_name) Dump TCPIP and TCPIP dataspace DUMP COMM=('text') R xx,jobname=(tcpip_name),dspname=('tcpip_name'.*),end See Technote 1292013 for additional information and options http://www.ibm.com/support/docview.wss?uid=swg21292013 WebSphere Support Technical Exchange 7 of 39

406 406 MV23 MV23 PACKET 00000004 04:44:36.470341 04:44:36.470341 Packet Trace Packet Trace From Interface From : GE1 : GE1 Device: QDIO Ethernet Device: Full=48 QDIO Ethernet Full=48 Tod Clock Tod Clock : 2010/10/06 : 2010/10/06 04:44:36.470339 04:44:36.470339 Intfx: 9 Intfx: 9 Segment Source # : 9.37.245.161 : 0 Flags: In Source Destination : 9.20.122.71 : 9.37.245.161 Destination Source Port : 3165 : 9.20.122.71 Dest Port: 1601 Asid: 009D TCB: 00000000 Source Port : 3165 Dest Port: 1601 Asid: 009D TCB: 00000000 This is a summary of the packet to follow WebSphere Support Technical Exchange 8 of 39

IpHeader: 406 MV23 Version PACKET : 4 00000004 04:44:36.470341 Header Packet Length: Trace 20 Tos From Interface : GE1 : 00 Device: QDIO Ethernet QOS: Full=48 Routine Normal Service Packet Tod Length Clock : 2010/10/06 : 48 04:44:36.470339 ID Number: Intfx: 9 79F8 Fragment Source : 9.37.245.161 : DontFragment Offset: 0 TTL Destination : 9.20.122.71 : 116 Protocol: TCP CheckSum: 0AAE FFFF Source Source Port : 3165 : 9.37.245.161 Dest Port: 1601 Asid: 009D TCB: 00000000 Destination : 9.20.122.71 TCP Scoure Port : 3165 () Destination Port: 1601 () Sequence Number : 934128578 Ack Number: 0 Header Length : 28 Flags: Syn Window Size : 65535 CheckSum: 0E41 FFFF Urgent Data Pointer: 0000 Option : Max Seg Size Len: 4 MSS: 1380 Option : NOP Option : NOP Option : NOP Option : NOP WebSphere Support Technical Exchange 9 of 39

IpHeader: 406 MV23 Version PACKET : 4 00000004 04:44:36.470341 Header Packet Length: Trace 20 Tos From Interface : GE1 : 00 Device: QDIO Ethernet QOS: Full=48 Routine Normal Service Packet Tod Length Clock : 2010/10/06 : 44 04:44:36.470339 ID Number: Intfx: 9 7969 Fragment Source : 9.37.245.161 : Offset: 0 TTL Destination : 9.20.122.71 : 64 Protocol: TCP CheckSum: 0000 80BE Source Source Port : 3165 : 9.20.122.71 Dest Port: 1601 Asid: 009D TCB: 00000000 Destination : 9.37.245.161 TCP Source Port : 1601 () Destination Port: 3165 () Sequence Number : 3418421524 Ack Number: 934128579 Header Length : 24 Flags: Ack Syn Window Size : 32768 CheckSum: 8240 A72C Urgent Data Pointer: 0000 Option : Max Seg Size Len: 4 MSS: 1456 WebSphere Support Technical Exchange 10 of 39

IpHeader: 406 MV23 Version PACKET : 4 00000004 04:44:36.470341 Header Packet Length: Trace 20 Tos From Interface : GE1 : 00 Device: QDIO Ethernet QOS: Full=48 Routine Normal Service Packet Tod Length Clock : 2010/10/06 : 40 04:44:36.470339 ID Number: Intfx: 9 79F9 Fragment Source : 9.37.245.161 : DontFragment Offset: 0 TTL Destination : 9.20.122.71 : 116 Protocol: TCP CheckSum: 0AB5 FFFF Source Source Port : 3165 : 9.37.245.161 Dest Port: 1601 Asid: 009D TCB: 00000000 Destination : 9.20.122.71 TCP Source Port : 3165 () Destination Port: 1601 () Sequence Number : 934128579 Ack Number: 3418421525 Header Length : 20 Flags: Ack Window Size : 65535 CheckSum: 72CD FFFF Urgent Data Pointer: 0000 TCP 3-way handshake is finished at this point and the TCP connection is in established state WebSphere Support Technical Exchange 11 of 39

IpHeader: 406 MV23 Version PACKET : 4 00000004 04:44:36.470341 Header Packet Length: Trace 20 Tos From Interface : GE1 : 00 Device: QDIO Ethernet QOS: Full=48 Routine Normal Service Packet Tod Length Clock : 2010/10/06 : 276 04:44:36.470339 ID Number: Intfx: 9 79FA Fragment Source : 9.37.245.161 : DontFragment Offset: 0 TTL Destination : 9.20.122.71 : 116 Protocol: TCP CheckSum: 09C8 FFFF Source Source Port : 3165 : 9.37.245.161 Dest Port: 1601 Asid: 009D TCB: 00000000 Destination : 9.20.122.71 TCP Source Port : 3165 () Destination Port: 1601 () Sequence Number : 934128579 Ack Number: 3418421525 Header Length : 20 Flags: Ack Psh Window Size : 65535 CheckSum: 87AF FFFF Urgent Data Pointer: 0000 Continue on the next slide WebSphere Support Technical Exchange 12 of 39

Ip Header 406 MV23 PACKET : 200000004 04:44:36.470341 IP: Packet 9.37.245.161, Trace 9.20.122.71 Offset: 0 000000 From 45000114 Interface 79FA4000 : GE1 740609C8 Device: QDIO 0925F5A1 Ethernet Full=48 09147A47 Protocol Tod Header Clock : 2010/10/06 : 20 04:44:36.470339 Port: Intfx: 3165, 9 1601 Offset: 14 000000 Source 0C5D0641 : 37ADABC3 9.37.245.161 CBC0F915 5018FFFF 87AF0000 Data Destination : 9.20.122.71 : 236 Data Length: 236 Offset: 28 000000 Source 54534820 Port 000000EC : 3165 02010100 Dest Port: 1601 00000000 Asid: 009D... TCB: 00000000 TSH... 000010 00000000 22020000 B5010000 49442020......"...ID 000020 0A070000 00003200 F67F0000 00004000...6".......2...@. 000030 FFC99A3B 5249434B 2E544F2E 52545048.I......&....;RICK.TO.RTPH 000040 20202020 20202020 8700B501 514D5F49...g...(....QM_I 000050 424D5F39 45443433 41434635 32322020.(... BM_9ED43ACF522 000060 20202020 20202020 20202020 20202020... 000070 20202020 20202020 20202020 2C010000...,... 000080 6A000000 00FF00FF FFFFFFFF FFFFFFFF... j... 000090 FFFFFFFF FFFF0000 00000000 00000000...... 0000A0 01000000 F40E0000 01000000 01000000...4...... 0000B0 4D514D4D 30373030 30313032 514D5F49 (.((...(. MQMM07000102QM_I 0000C0 424D5F39 45443433 41434635 32325F32.(.... BM_9ED43ACF522_2 0000D0 3031302D 30372D31 335F3138 2E32312E...... 010-07-13_18.21. 0000E0 32332020 20202020 20202020... 23 This is the initial data from the client initiating communication over the channel WebSphere Support Technical Exchange 13 of 39

IpHeader: 406 MV23 Version PACKET : 4 00000004 04:44:36.470341 Header Packet Length: Trace 20 Tos From Interface : GE1 : 00 Device: QDIO Ethernet QOS: Full=48 Routine Normal Service Packet Tod Length Clock : 2010/10/06 : 276 04:44:36.470339 ID Number: Intfx: 9 796A Fragment Source : 9.37.245.161 : Offset: 0 TTL Destination : 9.20.122.71 : 64 Protocol: TCP CheckSum: 0000 81A7 Source Source Port : 3165 : 9.20.122.71 Dest Port: 1601 Asid: 009D TCB: 00000000 Destination : 9.37.245.161 TCP Source Port : 1601 () Destination Port: 3165 () Sequence Number : 3418421525 Ack Number: 934128815 Header Length : 20 Flags: Ack Psh Window Size : 32532 CheckSum: 8328 4CC0 Urgent Data Pointer: 0000 Continue on the next slide WebSphere Support Technical Exchange 14 of 39

Ip Header 406 MV23 PACKET : 200000004 04:44:36.470341 IP: Packet 9.20.122.71, Trace 9.37.245.161 Offset: 0 000000 From 45000114 Interface 796A0000 : GE1 40060000 Device: QDIO 09147A47 Ethernet Full=48 0925F5A1 Protocol Tod Header Clock : 2010/10/06 : 04:44:36.470339 Port: Intfx: 1601, 9 3165 Offset: 14 000000 Source 06410C5D : CBC0F915 9.37.245.161 37ADACAF 50187F14 83280000 Data Destination : 9.20.122.71 : 236 Data Length: 236 Offset: 28 000000 Source 54534820 Port 000000EC : 3165 02010200 Dest Port: 1601 00000000 Asid: 009D... TCB: 00000000 TSH... 000010 00000000 22020000 B5010000 49442020......"...ID 000020 08070008 00003200 F67F0000 00004000...6".......2...@. 000030 FFC99A3B 5249434B 2E544F2E 52545048.I......&....;RICK.TO.RTPH 000040 20202020 20202020 8601F401 52545048...f.4...&....RTPH 000050 20202020 20202020 20202020 20202020... 000060 to 00006F (X'000010' bytes) -- All bytes contain X'20' 000070 20202020 20202020 20202020 2C010000...,... 000080 00000000 00FF00FF FFFFFFFF FFFFFFFF...... 000090 FFFFFFFF FFFF0000 00000000 00000000...... 0000A0 01000000 F40E0000 01000000 01000000...4...... 0000B0 4D514D4D 30373030 30313032 514D5F49 (.((...(. MQMM07000102QM_I 0000C0 424D5F39 45443433 41434635 32325F32.(.... BM_9ED43ACF522_2 0000D0 3031302D 30372D31 335F3138 2E32312E...... 010-07-13_18.21. 0000E0 32332020 20202020 20202020... 23 This is reply from the CHIN MCA WebSphere Support Technical Exchange 15 of 39

Let's do a little math The client sent data (236 bytes) with a TCP sequence number = 934128579 The SRVCONN sent data with a TCP ACK number = 934128815 ACK 934128815 - SEQ 934128579 = 236 This is how you can ensure that TCP is receiving the data sent (i.e. via the Sequence and Ack numbers! WebSphere Support Technical Exchange 16 of 39

Ip Header 406 MV23 PACKET : 200000004 04:44:36.470341 IP: Packet 9.37.245.161, Trace 9.20.122.71 Offset: 0 000000 From 450000C4 Interface 79FB4000 : GE1 74060A17 Device: QDIO 0925F5A1 Ethernet Full=48 09147A47 Protocol Tod Header Clock : 2010/10/06 : 20 04:44:36.470339 Port: Intfx: 3165, 9 1601 Offset: 14 000000 Source 0C5D0641 : 37ADACAF 9.37.245.161 CBC0FA01 5018FF13 15E00000 Data Destination : 9.20.122.71 : 156 Data Length: 156 Offset: 28 000000 Source 54534820 Port 0000009C : 3165 02010100 Dest Port: 1601 00000000 Asid: 009D... TCB: 00000000 TSH... 000010 00000000 22020000 B5010000 49442020......"...ID 000020 08070000 00003200 F67F0000 00004000...6".......2...@. 000030 FFC99A3B 5249434B 2E544F2E 52545048.I......&....;RICK.TO.RTPH 000040 20202020 20202020 8600B501 514D5F49...f...(....QM_I 000050 424D5F39 45443433 41434635 32322020.(... BM_9ED43ACF522 000060 20202020 20202020 20202020 20202020... 000070 20202020 20202020 20202020 2C010000...,... 000080 6A000000 00FF00FF FFFFFFFF FFFFFFFF... j... 000090 FFFFFFFF FFFF0000 00000000...... More negotiation of the channel MCA from the client WebSphere Support Technical Exchange 17 of 39

Ip Header 406 MV23 PACKET : 200000004 04:44:36.470341 IP: Packet 9.20.122.71, Trace 9.37.245.161 Offset: 0 000000 From 450000C4 Interface 796B0000 : GE1 40060000 Device: QDIO 09147A47 Ethernet Full=48 0925F5A1 Protocol Tod Header Clock : 2010/10/06 : 04:44:36.470339 Port: Intfx: 1601, 9 3165 Offset: 14 000000 Source 06410C5D : CBC0FA01 9.37.245.161 37ADAD4B 50187F64 82D80000 Data Destination : 9.20.122.71 : 156 Data Length: 156 Offset: 28 000000 Source 54534820 Port 0000009C : 3165 02010000 Dest Port: 1601 00000000 Asid: 009D... TCB: 00000000 TSH... 000010 00000000 11030000 B5010000 49442020......ID 000020 08070000 00003200 F67F0000 00004000...6".......2...@. 000030 FFC99A3B 5249434B 2E544F2E 52545048.I......&....;RICK.TO.RTPH 000040 20202020 20202020 8600F401 52545048...f.4...&....RTPH 000050 20202020 20202020 20202020 20202020... 000060 to 00006F (X'000010' bytes) -- All bytes contain X'20' 000070 20202020 20202020 20202020 2C010000...,... 000080 00000000 00FF00FF FFFFFFFF FFFFFFFF...... 000090 FFFFFFFF FFFF0000 00000000...... More negotiation of the SRVCONN channel MCA WebSphere Support Technical Exchange 18 of 39

Ip Header 406 MV23 PACKET : 200000004 04:44:36.470341 IP: Packet 9.37.245.161, Trace 9.20.122.71 Offset: 0 000000 From 45000229 Interface 79FC4000 : GE1 740608B1 Device: QDIO 0925F5A1 Ethernet Full=48 09147A47 Protocol Tod Header Clock : 2010/10/06 : 04:44:36.470339 Port: Intfx: 3165, 9 1601 Offset: 14 000000 Source 0C5D0641 : 37ADAD4B 9.37.245.161 CBC0FA9D 5018FE77 484D0000 Data Destination : 9.20.122.71 : 513 Data Length: 513 Offset: 28 000000 Source 54534820 Port 00000201 : 3165 02043000 Dest Port: 1601 1F83AA4C Asid: 009D...c.< TCB: 00000000 TSH...0...L 000010 10000301 22020000 B5010000 4D534820...(......"...MSH 000020 01000000 25000000 00000000 D1010000...J......%... 000030 58514820 01000000 4C415552 412E514C...<...< XQH...LAURA.QL 000040 20202020 20202020 20202020 20202020... 000050 to 00005F (X'000010' bytes) -- All bytes contain X'20' 000060 20202020 20202020 52545048 20202020...&... RTPH 000070 20202020 20202020 20202020 20202020... 000080 to 00008F (X'000010' bytes) -- All bytes contain X'20' 000090 20202020 20202020 4D442020 01000000...(... MD... 0000A0 00000000 08000000 FFFFFFFF 00000000...... 0000B0 22020000 B8040000 4D515354 52202020...(... "...MQSTR 0000C0 00000000 00000000 414D5120 514D5F49...(...(....AMQ QM_I 0000D0 424D5F39 45443433 2583AA4C 20007902.(...c.<..`. BM_9ED43%..L.y. 0000E0 00000000 00000000 00000000 00000000...... 0000F0 00000000 00000000 00000000 20202020...... Continue to the next slide WebSphere Support Technical Exchange 19 of 39

000100 406 20202020 MV23 PACKET 20202020 00000004 20202020 04:44:36.470341 20202020 Packet... Trace 000110 From to 00011F Interface (X'000010' : GE1 Device: bytes) QDIO Ethernet -- All Full=48 bytes contain X'20' 000120 Tod 20202020 Clock 20202020 : 2010/10/06 04:44:36.470339 20202020 514D5F49 Intfx:...(. 9 QM_I 000130 Source 424D5F39 : 45443433 9.37.245.161 41434635 32322020.(... BM_9ED43ACF522 000140 Destination 20202020 20202020 : 9.20.122.71 20202020 20202020... 000150 Source 20202020 Port 20202020 : 3165 20202020 Dest Port: 1601 4C415552 Asid: 009D...<... TCB: 00000000 LAUR 000160 414E4554 54452020 16010515 000000BA.+... ANETTE... 000170 1E06D260 3C351488 5EDBC2F4 01000000..K-...h;.B4......<5... 000180 00000000 0000000B 20202020 20202020...... 000190 20202020 20202020 20202020 20202020... 0001A0 20202020 20202020 0B000000 7265204D...(...re M 0001B0 515C6A61 76615C6A 72655C62 696E5C6A.*././*...*..>*. Q\java\jre\bin\j 0001C0 61766177 2E657865 32303130 31303036 /./... avaw.exe20101006 0001D0 30343434 32323436 20202020 54686973... 04442246 This 0001E0 20697320 74657374 206D6573 73616765..._.../.. is test message 0001F0 20332066 6F722074 68652057 5354452E...?... 3 for the WSTE. 000200 20. This packet contains the actual message sent from the client. WebSphere Support Technical Exchange 20 of 39

IpHeader: 406 MV23 Version PACKET : 4 00000004 04:44:36.470341 Header Packet Length: Trace 20 Tos From Interface : GE1 : 00 Device: QDIO Ethernet QOS: Full=48 Routine Normal Service Packet Tod Length Clock : 2010/10/06 : 40 04:44:36.470339 ID Number: Intfx: 9 796C Fragment Source : 9.37.245.161 : Offset: 0 TTL Destination : 9.20.122.71 : 64 Protocol: TCP CheckSum: 0000 80BD Source Source Port : 3165 : 9.20.122.71 Dest Port: 1601 Asid: 009D TCB: 00000000 Destination : 9.37.245.161 TCP Source Port : 1601 () Destination Port: 3165 () Sequence Number : 3418421917 Ack Number: 934129484 Header Length : 20 Flags: Ack Psh Window Size : 32255 CheckSum: 823C 9287 Urgent Data Pointer: 0000 This is the acknowledgement from z/os TCPIP that the message data arrived. Notice the Ack number. The previous Seq number was 934128971 + 513 = 934129484 Again, we know that TCPIP on z/os got the data sent from the client. WebSphere Support Technical Exchange 21 of 39

Ip Header 406 MV23 PACKET : 200000004 04:44:36.470341 IP: Packet 9.37.245.161, Trace 9.20.122.71 Offset: 0 000000 From 45000044 Interface 79FD4000 : GE1 74060A95 Device: QDIO 0925F5A1 Ethernet Full=48 09147A47 Protocol Tod Header Clock : 2010/10/06 : 04:44:36.470339 Port: Intfx: 3165, 9 1601 Offset: 14 000000 Source 0C5D0641 : 37ADAF4C 9.37.245.161 CBC0FA9D 5018FE77 1BB70000 Data Destination : 9.20.122.71 : 28 Data Length: 28 Offset: 28 000000 Source 54534820 Port 0000001C : 3165 02050100 Dest Port: 1601 1F83AA4C Asid: 009D...c.< TCB: 00000000 TSH...L 000010 10000301 22020000 B5010000......"... Client MCA doing a status check WebSphere Support Technical Exchange 22 of 39

Ip Header 406 MV23 PACKET : 200000004 04:44:36.470341 IP: Packet 9.20.122.71, Trace 9.37.245.161 Offset: 0 000000 From 45000044 Interface 796D0000 : GE1 40060000 Device: QDIO 09147A47 Ethernet Full=48 0925F5A1 Protocol Tod Header Clock : 2010/10/06 : 04:44:36.470339 Port: Intfx: 1601, 9 3165 Offset: 14 000000 Source 06410C5D : CBC0FA9D 9.37.245.161 37ADAF68 50187FE4 82580000 Data Destination : 9.20.122.71 : 28 Data Length: 28 Offset: 28 000000 Source 54534820 Port 0000001C : 3165 02050000 Dest Port: 1601 00000000 Asid: 009D... TCB: 00000000 TSH... 000010 00000000 11030000 B5010000...... SRVCONN replying...i'm OK WebSphere Support Technical Exchange 23 of 39

Ip Header 406 MV23 PACKET : 200000004 04:44:36.470341 IP: Packet 9.37.245.161, Trace 9.20.122.71 Offset: 0 000000 From 45000044 Interface 7A094000 : GE1 74060A89 Device: QDIO 0925F5A1 Ethernet Full=48 09147A47 Protocol Tod Header Clock : 2010/10/06 : 04:44:36.470339 Port: Intfx: 3165, 9 1601 Offset: 14 000000 Source 0C5D0641 : 37ADAF68 9.37.245.161 CBC0FAB9 5018FE5B F16B0000 Data Destination : 9.20.122.71 : 28 Data Length: 28 Offset: 28 000000 Source 54534820 Port 0000001C : 3165 02050800 Dest Port: 1601 00000000 Asid: 009D... TCB: 00000000 TSH... 000010 00000000 22020000 B5010000......"... Client saying I'm done and closing the channel WebSphere Support Technical Exchange 24 of 39

TCP/IP socket overview Simple example of application socket calls client/server Client Application Server Application Socket function Connection state Network flow Connection state Socket function Socket Connect synsent SYN SYN/ACK ACK listen Socket Bind Listen established established Accept Write 100 Read 100 100 bytes ACK +100 100 bytes ACK +100 Write 100 Close fin_wait1 FIN fin_wait2 ACK close_wait FIN timewait ACK last ack Close WebSphere Support Technical Exchange 25 of 39

IpHeader: 406 MV23 Version PACKET : 4 00000004 04:44:36.470341 Header Packet Length: Trace 20 Tos From Interface : GE1 : 00 Device: QDIO Ethernet QOS: Full=48 Routine Normal Service Packet Tod Length Clock : 2010/10/06 : 40 04:44:36.470339 ID Number: Intfx: 9 7A0A Fragment Source : 9.37.245.161 : DontFragment Offset: 0 TTL Destination : 9.20.122.71 : 116 Protocol: TCP CheckSum: 0AA4 FFFF Source Source Port : 3165 : 9.37.245.161 Dest Port: 1601 Asid: 009D TCB: 00000000 Destination : 9.20.122.71 TCP Source Port : 3165 () Destination Port: 1601 () Sequence Number : 934129540 Ack Number: 3418421945 Header Length : 20 Flags: Ack Fin Window Size : 65115 CheckSum: 6F0B FFFF Urgent Data Pointer: 0000 Client WMQ code has issued a close() for the socket. TCP is sending a packet with the Fin flag on. WebSphere Support Technical Exchange 26 of 39

IpHeader: 406 MV23 Version PACKET : 4 00000004 04:44:36.470341 Header Packet Length: Trace 20 Tos From Interface : GE1 : 00 Device: QDIO Ethernet QOS: Full=48 Routine Normal Service Packet Tod Length Clock : 2010/10/06 : 40 04:44:36.470339 ID Number: Intfx: 9 7981 Fragment Source : 9.37.245.161 : Offset: 0 TTL Destination : 9.20.122.71 : 64 Protocol: TCP CheckSum: 0000 80D2 Source Source Port : 3165 : 9.20.122.71 Dest Port: 1601 Asid: 009D TCB: 00000000 Destination : 9.37.245.161 TCP Source Port : 1601 () Destination Port: 3165 () Sequence Number : 3418421945 Ack Number: 934129541 Header Length : 20 Flags: Ack Psh Window Size : 32740 CheckSum: 823C 94C1 Urgent Data Pointer: 0000 Fin acked by z/os WebSphere Support Technical Exchange 27 of 39

IpHeader: 406 MV23 Version PACKET : 4 00000004 04:44:36.470341 Header Packet Length: Trace 20 Tos From Interface : GE1 : 00 Device: QDIO Ethernet QOS: Full=48 Routine Normal Service Packet Tod Length Clock : 2010/10/06 : 40 04:44:36.470339 ID Number: Intfx: 9 7982 Fragment Source : 9.37.245.161 : Offset: 0 TTL Destination : 9.20.122.71 : 64 Protocol: TCP CheckSum: 0000 80D3 Source Source Port : 3165 : 9.20.122.71 Dest Port: 1601 Asid: 009D TCB: 00000000 Destination : 9.37.245.161 TCP Source Port : 1601 () Destination Port: 3165 () Sequence Number : 3418421945 Ack Number: 934129541 Header Length : 20 Flags: Ack Psh Fin Window Size : 32740 CheckSum: 823C 94C2 Urgent Data Pointer: 0000 CHIN has issued a close on behalf of the SRVCONN because the client closed. Therefore a Fin flows from z/os. WebSphere Support Technical Exchange 28 of 39

IpHeader: 406 MV23 Version PACKET : 4 00000004 04:44:36.470341 Header Packet Length: Trace 20 Tos From Interface : GE1 : 00 Device: QDIO Ethernet QOS: Full=48 Routine Normal Service Packet Tod Length Clock : 2010/10/06 : 40 04:44:36.470339 ID Number: Intfx: 9 7A0B Fragment Source : 9.37.245.161 : DontFragment Offset: 0 TTL Destination : 9.20.122.71 : 116 Protocol: TCP CheckSum: 0AA3 FFFF Source Source Port : 3165 : 9.37.245.161 Dest Port: 1601 Asid: 009D TCB: 00000000 Destination : 9.20.122.71 TCP Source Port : 3165 () Destination Port: 1601 () Sequence Number : 934129541 Ack Number: 3418421946 Header Length : 20 Flags: Ack Window Size : 65115 CheckSum: 6F0A FFFF Urgent Data Pointer: 0000 Fin acked by client TCP stack. WebSphere Support Technical Exchange 29 of 39

(SESS output) TcpHdr 406 IO MV23 F PACKET Seq 00000004 04:44:36.470341 Ack RcvWnd Packet Data Trace Delta Time TimeStamp S From I Interface 934128578 : GE1 Device: QDIO 0 Ethernet 65535 Full=48 0 0.000000 04:44:36.470341 A S Tod Clock O 3418421524 : 2010/10/06 04:44:36.470339 934128579 32768 Intfx: 9 0 0.000086 04:44:36.470427 A Source I u 934128579 : 9.37.245.161 3418421525 65535 0 0.089765 04:44:36.560192 AP Destination I. 934128579 : 9.20.122.71 3418421525 65535 236 0.000633 04:44:36.560825 AP Source O Port + 3418421525 : 3165 Dest 934128815 Port: 1601 Asid: 32532 009D TCB: 23600000000 0.003770 04:44:36.564595 AP I + 934128815 3418421761 65299 156 0.090278 04:44:36.654873 AP O + 3418421761 934128971 32612 156 0.000389 04:44:36.655262 AP I + 934128971 3418421917 65143 513 0.096111 04:44:36.751373 AP O d 3418421917 934129484 32255 0 0.225455 04:44:36.976828 AP I. 934129484 3418421917 65143 28 0.773637 04:44:37.750465 AP O + 3418421917 934129512 32740 28 0.000494 04:44:37.750959 A I d 934129512 3418421945 65115 0 0.285407 04:44:38.036366 AP I. 934129512 3418421945 65115 28 38.419387 04:45:16.455753 A F I? 934129540 3418421945 65115 0 0.000005 04:45:16.455758 AP O a 3418421945 934129541 32740 0 0.000094 04:45:16.455852 AP F O? 3418421945 934129541 32740 0 0.000609 04:45:16.456461 A I a 934129541 3418421946 65115 0 0.089482 04:45:16.545943 WebSphere Support Technical Exchange 30 of 39

Domain Nameserver issues CSQX014E +RTPH CSQXSRSP Listener exceeded channel limit, TRPTYPE=TCP INDISP=QMGR. DISPLAY CHSTATUS(*) STATUS SUBSTATE CSQM422I RTPH CHSTATUS(TEST.CHAN) CHLDISP(PRIVATE) CONNAME(9.37.245.161) CURRENT CHLTYPE(RCVR) STATUS(BINDING) SUBSTATE(NAMESERVER) LSTMSGTI( ) LSTMSGDA( ) MSGS(0) WebSphere Support Technical Exchange 31 of 39

Domain Nameserver issues CHIN will attempt a getnameinfo() call to associate client IP address to a hostname Delays in DNS response can cause CSQX014E and other problems Task is single threaded This is a DNS problem... Check Resolver settings to see what DNS(s) are configured Check RESOLVERTIMEOUT setting. 30 sec default Bypass V6 PK79874/UK47580 V7 PK88882/UK47582 Requires Service parm WebSphere Support Technical Exchange 32 of 39

Channel connection reset +CSQX208E +RTPH CSQXRESP Error receiving data, channel TEST.CHAN, connection 9.1.1.1 (9.1.1.1) (queue manager????) TRPTYPE=TCP RC=00000461 (ECONNRESET) reason=00000000 CSQX206E RTPH CSQXRCTL Error sending data, channel TEST.CHAN, connection raleigh (9.1.1.1) (queue manager RTPH) TRPTYPE=TCP RC=0000008C reason=76697242 76697242 = JRCONNTCBNOTFOUND WebSphere Support Technical Exchange 33 of 39

Channel connection reset WMQ Client IP Cloud Problem shows here z/os Queue Manager WebSphere Support Technical Exchange 34 of 39

Channel connection reset The problem is reported on z/os The reset is not generated from the reporting host channel The reset could come from the other host The reset could come from any intermediate firewalls May need to trace on both sides of the channel connection May need to trace intermediate hops along the connection WebSphere Support Technical Exchange 35 of 39

Summary TCP/IP networking concepts How to trace at the network level Reviewed a Client channel connection via PKTTRACE Reviewed some common network related problems WebSphere Support Technical Exchange 36 of 39

Additional WebSphere Product Resources Learn about upcoming WebSphere Support Technical Exchange webcasts, and access previously recorded presentations at: http://www.ibm.com/software/websphere/support/supp_tech.html Discover the latest trends in WebSphere Technology and implementation, participate in technically-focused briefings, webcasts and podcasts at: http://www.ibm.com/developerworks/websphere/community/ Join the Global WebSphere Community: http://www.websphereusergroup.org Access key product show-me demos and tutorials by visiting IBM Education Assistant: http://www.ibm.com/software/info/education/assistant View a webcast replay with step-by-step instructions for using the Service Request (SR) tool for submitting problems electronically: http://www.ibm.com/software/websphere/support/d2w.html Sign up to receive weekly technical My Notifications emails: http://www.ibm.com/software/support/einfo.html WebSphere Support Technical Exchange 37 of 39

We Want to Hear From You! Tell us about what you want to learn Suggestions for future topics Improvements and comments about our webcasts We want to hear everything you have to say! Please send your suggestions and comments to: wsehelp@us.ibm.com WebSphere Support Technical Exchange 38 of 39

Questions and Answers WebSphere Support Technical Exchange 39 of 39