在好例子网,分享、交流、成长!
您当前所在位置:首页CSS 开发实例HTML基础 → TCP IP Implementation Volume 2 Standard Applications.pdf

TCP IP Implementation Volume 2 Standard Applications.pdf

HTML基础

下载此实例
  • 开发语言:CSS
  • 实例大小:4.37M
  • 下载次数:11
  • 浏览次数:51
  • 发布时间:2021-03-12
  • 实例类别:HTML基础
  • 发 布 人:hfghddgfstty
  • 文件格式:.pdf
  • 所需积分:2
 相关标签: IP UDP tcp

实例介绍

【实例简介】TCP IP Implementation Volume 2 Standard Applications

【实例截图】

from clipboard

【核心代码】

Contents
Notices . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xi
Trademarks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xii
Preface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xiii
The team who wrote this book . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xiv
Now you can become a published author, too! . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .xv
Comments welcome. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .xv
Stay connected to IBM Redbooks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xvi
Chapter 1. The syslog daemon . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
1.1 Conceptual overview of syslogd . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
1.1.1 What is syslogd. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
1.1.2 How syslogd works . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
1.1.3 How can syslogd be deployed . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
1.2 Log messages to different files and to a single file . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
1.2.1 Description of logging to multiple files and to a single file. . . . . . . . . . . . . . . . . . . . 5
1.2.2 Configuration of multiple files and a single file . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
1.2.3 Verification of multiple files and a single file . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
1.3 Starting two syslogd instances . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
1.3.1 Description of two syslogd instances . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
1.3.2 Configuring two syslogd instances . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
1.3.3 Verification for running two syslogd instances . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
1.4 The syslogd functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
1.4.1 The syslogd operator commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
1.4.2 Description of syslogd automatic archival. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
1.4.3 The syslogd browser and search facility . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
1.5 Problem determination for syslogd logging . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33
1.6 Additional information sources for syslogd . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34
Chapter 2. TN3270E Telnet server . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35
2.1 Conceptual overview of the TN3270E server . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36
2.1.1 What is the TN3270E server. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36
2.1.2 How does the TN3270E server work . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37
2.1.3 Possible uses for the TN3270E server . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42
2.2 TN3270E server in a single image . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43
2.2.1 Description of our TN3270E server scenario . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44
2.2.2 Configuration of the TN3270E server . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44
2.2.3 Activation of the TN3270E server . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53
2.2.4 Verification of the TN3270E server . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53
2.2.5 Administration and management of the TN3270E server . . . . . . . . . . . . . . . . . . . 66
2.3 Multiple TN3270E servers in a multiple image environment . . . . . . . . . . . . . . . . . . . . . 76
2.3.1 Multiple TN3270E servers within the sysplex . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77
2.3.2 Configuration of multiple TN3270E servers within the sysplex . . . . . . . . . . . . . . . 79
2.3.3 Activate and verify multiple TN3270E servers in the sysplex . . . . . . . . . . . . . . . . 86
2.4 Multiple TN3270E servers using LU name server and LU name requester . . . . . . . . . 95
2.4.1 Description of TN3270E servers using LU name server and LU name requester 96
2.4.2 Configuration of TN3270E servers within sysplex using LU name server LU name
requester. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 102
2.4.3 Activate and verify LU name server and LU name requester within sysplex . . . 109
iv IBM z/OS V1R12 Communications Server TCP/IP Implementation: Volume 2 Standard Applications
2.4.4 Scenario of LU name server automated takeover when active LU name
server fails . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 124
2.5 TN3270E server in a single image using SHAREACB . . . . . . . . . . . . . . . . . . . . . . . . 128
2.5.1 Overview of SHAREACB utilization . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 128
2.5.2 Configuration of the TN3270E server with SHAREACB option. . . . . . . . . . . . . . 128
2.5.3 Activation of the TN3270E server . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 130
2.5.4 Verification of the TN3270E server with SHAREACB defined . . . . . . . . . . . . . . 131
2.6 TN3270 support of TSO logon reconnect . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 131
2.7 Problem determination for the TN3270E servers . . . . . . . . . . . . . . . . . . . . . . . . . . . . 132
2.7.1 Review the definition statements within the profile . . . . . . . . . . . . . . . . . . . . . . . 132
2.7.2 Use TCP/IP and Telnet commands. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 133
2.7.3 Use the MSG07 statement in the TN3270 profile . . . . . . . . . . . . . . . . . . . . . . . . 138
2.7.4 Use SMF records to capture TN3270 connection activity. . . . . . . . . . . . . . . . . . 138
2.7.5 Use trace data. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 139
2.7.6 Tips for multiple TN3270E servers in a Parallel Sysplex environment . . . . . . . . 139
2.7.7 Tips for LU name server and LU name requester diagnosis. . . . . . . . . . . . . . . . 140
2.8 Additional information sources for the TN3270E server . . . . . . . . . . . . . . . . . . . . . . . 140
Chapter 3. File Transfer Protocol. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 143
3.1 Conceptual overview of FTP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 144
3.1.1 What is FTP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 144
3.1.2 How does FTP work . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 145
3.1.3 How can FTP be used . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 146
3.2 Basic FTP without security . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 148
3.2.1 Description of basic FTP without security . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 148
3.2.2 Planning for the basic FTP environment without security . . . . . . . . . . . . . . . . . . 148
3.2.3 Configuration of basic FTP without security . . . . . . . . . . . . . . . . . . . . . . . . . . . . 162
3.2.4 Activation and verification for basic FTP without security . . . . . . . . . . . . . . . . . . 165
3.3 Multiple FTP servers in a sysplex . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 173
3.3.1 Description of multiple FTP servers in a sysplex . . . . . . . . . . . . . . . . . . . . . . . . 173
3.3.2 Configuration for multiple FTP servers in the sysplex. . . . . . . . . . . . . . . . . . . . . 175
3.3.3 Activation and verification of FTP servers within sysplex . . . . . . . . . . . . . . . . . . 178
3.4 FTP client using batch. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 187
3.4.1 Description of FTP client using batch . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 187
3.4.2 Configuration of FTP client using batch . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 188
3.4.3 Activation and verification of FTP client batch job. . . . . . . . . . . . . . . . . . . . . . . . 189
3.5 FTP client application program interface. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 190
3.5.1 FTP client API for REXX . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 190
3.5.2 FTP client API for Java . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 191
3.6 FTP access to UNIX named pipes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 192
3.6.1 What are UNIX named pipes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 192
3.6.2 Description of FTP access to UNIX named pipes. . . . . . . . . . . . . . . . . . . . . . . . 193
3.6.3 FTP configuration options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 194
3.6.4 Use the z/OS FTP client to create a named pipe in the z/OS FTP server . . . . . 196
3.6.5 Supported z/OS FTP subcommands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 197
3.6.6 Storing into a named pipe . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 197
3.7 FTP large-volume access . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 199
3.7.1 The Extended Address Volume . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 199
3.7.2 FTP access to data sets in EAS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 199
3.8 Miscellaneous configurations of FTP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 201
3.8.1 A single generic FTP server in a multiple stack z/OS image . . . . . . . . . . . . . . . 201
3.8.2 FTP network management interface with SMF. . . . . . . . . . . . . . . . . . . . . . . . . . 202
3.9 Problem determination for FTP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 203
 Contents v
3.10 Additional information sources for FTP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 203
Chapter 4. Simple Network Management Protocol . . . . . . . . . . . . . . . . . . . . . . . . . . . 205
4.1 Conceptual overview of SNMP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 206
4.1.1 What is SNMP. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 206
4.1.2 How does SNMP work . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 207
4.1.3 How can SNMP be applied . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 209
4.2 z/OS SNMP agent. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 210
4.2.1 Description of the z/OS SNMP agent . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 210
4.2.2 Configuration of the z/OS SNMP agent . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 211
4.2.3 Activation and verification of the z/OS SNMP agents . . . . . . . . . . . . . . . . . . . . . 219
4.3 z/OS SNMP subagents . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 220
4.3.1 Description of SNMP subagents . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 220
4.3.2 Configuration of SNMP subagents . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 221
4.3.3 Activation and Verification of SNMP subagents . . . . . . . . . . . . . . . . . . . . . . . . . 222
4.4 z/OS SNMP client command. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 226
4.4.1 Description of the SNMP client commands. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 226
4.4.2 Configuration tasks for the SNMP client commands. . . . . . . . . . . . . . . . . . . . . . 226
4.4.3 Using the osnmp/snmp z/OS UNIX command . . . . . . . . . . . . . . . . . . . . . . . . . . 227
4.5 Problem determination for the SNMP facilities . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 235
4.6 Additional information sources for SNMP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 236
Chapter 5. IP printing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 237
5.1 Conceptual overview of IP printing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 238
5.1.1 What is IP printing. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 238
5.1.2 How does IP Printing work . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 239
5.1.3 How can IP Printing be applied. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 239
5.2 LPR/LPD . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 240
5.2.1 Description of LPR/LPD . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 241
5.2.2 Configuration tasks for LPR/LPD . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 241
5.2.3 Activation and verification of LPR/LPD . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 243
5.3 Infoprint Server . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 245
5.3.1 Description of the Infoprint Server. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 245
5.3.2 Configuration of Infoprint Server . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 248
5.4 Problem determination for LPR/LPD. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 255
5.5 Additional information sources for IP printing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 262
Chapter 6. INETD. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 263
6.1 Conceptual overview of INETD . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 264
6.1.1 What is INETD . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 264
6.1.2 How does INETD work . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 265
6.1.3 How can INETD be applied. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 265
6.2 A single INETD setup . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 266
6.2.1 Description of the INETD setup. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 266
6.2.2 Configuration tasks for INETD setup. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 267
6.2.3 Activation and verification of INETD . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 269
6.3 Problem determination for INETD . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 273
6.4 Additional information sources for INETD . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 273
Chapter 7. z/OS mail servers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 275
7.1 Conceptual overview of z/OS mail applications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 276
7.1.1 z/OS mail services . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 276
7.1.2 How z/OS mail services work . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 277
7.1.3 How z/OS mail services are applied . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 278
vi IBM z/OS V1R12 Communications Server TCP/IP Implementation: Volume 2 Standard Applications
7.2 z/OS CSSMTP—a mail forwarding SMTP client. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 278
7.2.1 Advantages of using z/OS CSSMTP client . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 279
7.2.2 Configuration tasks for the z/OS CSSMTP client . . . . . . . . . . . . . . . . . . . . . . . . 280
7.2.3 Verification of the z/OS CSSMTP client . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 282
7.3 z/OS SMTP as a mail server. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 282
7.3.1 Description of z/OS SMTP server . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 282
7.3.2 Configuration tasks for the z/OS SMTP server . . . . . . . . . . . . . . . . . . . . . . . . . . 285
7.3.3 Verification of the z/OS SMTP server . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 294
7.4 Using sendmail and popper as mail servers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 295
7.4.1 Description of sendmail and popper . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 295
7.4.2 Configuration tasks for sendmail and popper . . . . . . . . . . . . . . . . . . . . . . . . . . . 299
7.4.3 Verification of sendmail and popper setup . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 304
7.5 Using sendmail as a client . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 309
7.5.1 Description of the sendmail client . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 310
7.5.2 Configuration tasks for the sendmail client . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 310
7.5.3 Verification of the sendmail client . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 313
7.6 Problem determination for the mail facilities . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 313
7.6.1 Problem determination tasks for the z/OS SMTP server . . . . . . . . . . . . . . . . . . 313
7.6.2 Problem determination for sendmail and popper . . . . . . . . . . . . . . . . . . . . . . . . 314
7.6.3 Problem determination for the sendmail client . . . . . . . . . . . . . . . . . . . . . . . . . . 315
7.7 Additional information sources for mail servers. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 315
Chapter 8. z/OS UNIX Telnet server. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 317
8.1 Conceptual overview of otelnetd . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 318
8.1.1 What is otelnetd . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 318
8.1.2 How does otelnetd work . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 318
8.1.3 How can otelnetd be applied. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 319
8.2 z/OS UNIX Telnet server implementation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 320
8.2.1 Description of the otelnetd server . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 320
8.2.2 Configuration tasks for otelnetd . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 321
8.2.3 Activation and verification of otelnetd . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 325
8.3 Problem determination for otelnetd . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 326
8.4 Additional information sources for otelnetd . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 326
Chapter 9. Remote execution. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 327
9.1 Conceptual overview of remote execution . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 328
9.1.1 What is remote execution . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 328
9.1.2 How does remote execution work. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 330
9.1.3 How can remote execution be applied . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 331
9.2 TSO remote execution server . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 333
9.2.1 Description of TSO remote execution server . . . . . . . . . . . . . . . . . . . . . . . . . . . 333
9.2.2 Configuration tasks for TSO remote execution server . . . . . . . . . . . . . . . . . . . . 334
9.2.3 Activation and Verification of TSO remote execution server. . . . . . . . . . . . . . . . 339
9.3 z/OS UNIX remote execution server . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 340
9.3.1 Description of z/OS UNIX remote execution server . . . . . . . . . . . . . . . . . . . . . . 340
9.3.2 Configuration tasks for z/OS UNIX remote execution server . . . . . . . . . . . . . . . 341
9.3.3 Activation and verification of z/OS UNIX remote execution server . . . . . . . . . . . 342
9.4 REXEC TSO client command using user ID/password. . . . . . . . . . . . . . . . . . . . . . . . 344
9.4.1 Description of REXEC TSO with user ID and password. . . . . . . . . . . . . . . . . . . 345
9.4.2 Configuration of REXEC TSO with user ID and password . . . . . . . . . . . . . . . . . 345
9.4.3 Verification of REXEC TSO with user ID and password . . . . . . . . . . . . . . . . . . . 347
9.5 REXEC TSO client command using the NETRC data set. . . . . . . . . . . . . . . . . . . . . . 349
9.5.1 Description of REXEC TSO client using NETRC . . . . . . . . . . . . . . . . . . . . . . . . 349
 Contents vii
9.5.2 Configuration of REXEC TSO client using NETRC. . . . . . . . . . . . . . . . . . . . . . . 349
9.5.3 Verification of REXEC TSO client using NETRC . . . . . . . . . . . . . . . . . . . . . . . . 352
9.6 REXEC UNIX client command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 355
9.6.1 Description of the REXEC UNIX client command. . . . . . . . . . . . . . . . . . . . . . . . 355
9.6.2 Configuration of the REXEC UNIX client command . . . . . . . . . . . . . . . . . . . . . . 355
9.6.3 Verification of the REXEC UNIX client command . . . . . . . . . . . . . . . . . . . . . . . . 356
9.7 Problem determination for z/OS remote execution facilities . . . . . . . . . . . . . . . . . . . . 357
9.7.1 Problem determination for TSO remote execution . . . . . . . . . . . . . . . . . . . . . . . 357
9.7.2 Problem determination for REXEC TSO with user ID and password . . . . . . . . . 358
9.7.3 Problem determination of REXEC TSO using NETRC . . . . . . . . . . . . . . . . . . . . 359
9.7.4 Problem determination for the REXEC UNIX client command . . . . . . . . . . . . . . 360
9.7.5 Recovery for server job table full condition . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 360
9.7.6 Diagnostic messages for debugging. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 361
9.8 Additional information sources on remote execution and remote shell. . . . . . . . . . . . 362
Chapter 10. Domain Name System . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 363
10.1 Conceptual overview of the DNS name server . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 364
10.1.1 What is Domain Name System . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 364
10.1.2 How does Domain Name System work. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 365
10.1.3 How can Domain Name System be applied . . . . . . . . . . . . . . . . . . . . . . . . . . . 366
10.1.4 Considerations about z/OS DNS BIND 9 implementation. . . . . . . . . . . . . . . . . 367
10.2 Authoritative DNS server. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 367
10.2.1 Description of an authoritative DNS server. . . . . . . . . . . . . . . . . . . . . . . . . . . . 368
10.3 Caching-only DNS server . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 369
10.3.1 Description of a caching-only DNS server . . . . . . . . . . . . . . . . . . . . . . . . . . . . 369
10.3.2 Configuration of a caching-only DNS server. . . . . . . . . . . . . . . . . . . . . . . . . . . 370
10.3.3 Activation and verification of a caching-only DNS server . . . . . . . . . . . . . . . . . 376
10.4 Automated domain name registration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 380
10.4.1 Description of ADNR. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 381
10.4.2 Configuration of ADNR . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 382
10.4.3 Activation and verification of ADNR . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 386
10.5 Problem determination for DNS service . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 391
10.5.1 Problem determination for a caching-only DNS server. . . . . . . . . . . . . . . . . . . 391
10.5.2 Problem determination for ADNR . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 393
10.6 Additional information sources for DNS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 396
Appendix A. Environment variables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 397
Description of the environment variable information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 398
Native MVS API environment. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 398
z/OS UNIX API environment . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 399
z/OS UNIX System Services environment variables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 399
Language Environment variables. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 400
Application-specific environment variables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 401
Setting environment variables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 407
Appendix B. Sample files provided with TCP/IP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 409
Sample files by component . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 410
Appendix C. Configuration files: TN3270E standalone scenario . . . . . . . . . . . . . . . . 417
SC31 TN3270B Server PROC for TN3270 standalone scenario. . . . . . . . . . . . . . . . . . . . 418
SC31 TN3270B Server profile for TN3270 standalone scenario . . . . . . . . . . . . . . . . . . . . 418
SC31 TCPIPB stack PROC for TN3270 standalone scenario . . . . . . . . . . . . . . . . . . . . . . 421
SC31 TCPIPB stack PROFILE for TN3270 standalone scenario . . . . . . . . . . . . . . . . . . . 422
SC31 OMPROUTE PROC for TN3270 stand-alone scenario . . . . . . . . . . . . . . . . . . . . . . 427
viii IBM z/OS V1R12 Communications Server TCP/IP Implementation: Volume 2 Standard Applications
SC31 OMPROUTE STDENV file for TN3270 stand-alone task scenario . . . . . . . . . . . . . 427
SC31 OMPROUTE CONFIG for TN3270 stand-alone scenario . . . . . . . . . . . . . . . . . . . . 428
Appendix D. Multiple TN3270E Telnet servers and sysplex distribution using the LUNS
and LUNR scenario. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 431
SC30 files for LUNS and LUNR scenario. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 432
SC30 TN3270A Server PROC for LUNS and LUNR scenario . . . . . . . . . . . . . . . . . . . 432
SC30 TN3270A Server PROFILE for LUNS and LUNR scenario. . . . . . . . . . . . . . . . . 432
SC30 TNLUNS30 backup LUNS PROC for LUNS and LUNR scenario. . . . . . . . . . . . 437
SC30 TNLUNS30 PROFILE for LUNS and LUNR scenario . . . . . . . . . . . . . . . . . . . . . 437
SC30 TCPIPA stack PROC for LUNS and LUNR scenario . . . . . . . . . . . . . . . . . . . . . 438
SC30 TCPIPA stack PROFILE for LUNS and LUNR scenario . . . . . . . . . . . . . . . . . . . 439
SC30 OMPROUTE PROC for LUNS and LUNR scenario . . . . . . . . . . . . . . . . . . . . . . 443
SC30 OMPROUTE STDENV file for LUNS and LUNR scenario . . . . . . . . . . . . . . . . . 443
SC30 OMPROUTE CONFIG for LUNS and LUNR scenario . . . . . . . . . . . . . . . . . . . . 444
SC31 files for LUNS and LUNR scenario. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 446
SC31 TN3270B Server PROC for LUNS and LUNR scenario . . . . . . . . . . . . . . . . . . . 446
SC31 TN3270B Server PROFILE for LUNS and LUNR scenario. . . . . . . . . . . . . . . . . 446
SC31 TNLUNS31 primary LUNS PROC for LUNS and LUNR scenario. . . . . . . . . . . . 451
SC31 TNLUNS31 PROFILE for LUNS and LUNR scenario . . . . . . . . . . . . . . . . . . . . . 451
SC31 TCPIPB stack PROC for LUNS and LUNR scenario . . . . . . . . . . . . . . . . . . . . . 452
SC31 TCPIPB stack PROFILE for LUNS and LUNR scenario . . . . . . . . . . . . . . . . . . . 453
SC31 OMPROUTE PROC for LUNS and LUNR scenario . . . . . . . . . . . . . . . . . . . . . . 457
SC31 OMPROUTE STDENV file for LUNS and LUNR scenario . . . . . . . . . . . . . . . . . 458
SC31 OMPROUTE CONFIG for LUNS and LUNR scenario . . . . . . . . . . . . . . . . . . . . 459
Appendix E. FTP and translation tables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 461
Conceptual overview of FTP translation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 462
What is translation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 462
How does translation work . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 462
How can FTP translation be applied . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 465
Using the RFC2389 and RFC2640 FTP features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 467
RFC 2389: Feature negotiation. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 467
RFC2640: FTP Internationalization. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 468
Requirements to implement these RFCs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 468
Selecting translation tables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 469
Using the QUOTE SITE subcommand . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 469
Using the TRACE option at the server . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 471
Using the DEBUG option at the client. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 472
Using the TRANSLATE sub command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 473
Setting a DBCS transfer mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 474
Enabling Unicode transfer mode. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 475
Appendix F. Our implementation environment. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 477
The environment used for all four books . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 478
Our focus for this book . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 480
Related publications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 481
IBM Redbooks publications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 481
Other publications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 481
Online resources . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 483
How to get IBM Redbooks publications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 483
Help from IBM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 483
Index . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 485

标签: IP UDP tcp

实例下载地址

网友评论

发表评论

(您的评论需要经过审核才能显示)

查看所有0条评论>>

小贴士

感谢您为本站写下的评论,您的评论对其它用户来说具有重要的参考价值,所以请认真填写。

  • 类似“顶”、“沙发”之类没有营养的文字,对勤劳贡献的楼主来说是令人沮丧的反馈信息。
  • 相信您也不想看到一排文字/表情墙,所以请不要反馈意义不大的重复字符,也请尽量不要纯表情的回复。
  • 提问之前请再仔细看一遍楼主的说明,或许是您遗漏了。
  • 请勿到处挖坑绊人、招贴广告。既占空间让人厌烦,又没人会搭理,于人于己都无利。

关于好例子网

本站旨在为广大IT学习爱好者提供一个非营利性互相学习交流分享平台。本站所有资源都可以被免费获取学习研究。本站资源来自网友分享,对搜索内容的合法性不具有预见性、识别性、控制性,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,平台无法对用户传输的作品、信息、内容的权属或合法性、安全性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论平台是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二与二十三条之规定,若资源存在侵权或相关问题请联系本站客服人员,点此联系我们。关于更多版权及免责申明参见 版权及免责申明

;
报警