Table of Contents

NPU Connections Section

Explore other sections:

Overview

An NPU connections section defines all of the data communication features supported by an NPU (Network Processing Unit), MDI (Mainframe Device Interface), or HCP (Host Communication Processor). This includes interactive terminals, remote batch devices, links between mainframes, and other networking features. If an NPU, MDI, or HCP equipment is defined, but an NPU connections section is not defined, the default configuration is as if an NPU connections section was defined with the following statement:

terminals=6610,0x01,10,raw

Thus, the default NPU/MDI/HCP configuration is that DtCyber will listen for interactive terminal connections on TCP port 6610, the connections will be associated with CLA ports starting with CLA port 01, as many as 10 concurrent connections will be accepted, and the connections will be handled as raw connections, i.e., Telnet protocol negotiations will not be recognized.

Data Communication Feature Statements

cdcnetNode Statement

A CDC data communication network consists of a collection of mainframes and NPU's or MDI's. Each such mainframe, NPU, or MDI is a node in the network, and each one is assigned a unique number to identify it. Node numbers are in the range 1 to 255.

When a network includes at least one MDI, the MDI makes features of CDCNet accessible to mainframes running NOS 2 and the NAM subsystem. CDCNet as a whole is assigned a unique node number. This makes CDCNet appear to NAM as an individually addressable element of the network (like a mainframe, NPU, or MDI), thus enabling NAM to route service requests and data to “applications” in CDCNet (e.g., the CDCNet TCP/IP gateway).

DEFAULT: 255

cdcnetNode=<node_number>

+%22cdcnetNode+Statement%22+%7B+statement+%3D+%22cdcnetNode%22+%22%3D%22+node_number+.+node_number+%3D+decimal_number+.+%7D

cdcnetPrivilegedTcpPortOffset Statement

Optional privileged TCP port offset for CDCNet TCP/IP passive connections. When a NAM applications requests to listen for TCP connections on a port number less then 1024, this offset is automatically added before requesting the host on which DtCyber is running to post the listen request. This can prevent the host system from rejecting the request when DtCyber is not running as a privileged application.

DEFAULT: 6600

cdcnetPrivilegedTcpPortOffset=<offset>

+%22cdcnetPrivilegedTcpPortOffset+Statement%22+%7B+statement+%3D+%22cdcnetPrivilegedTcpPortOffset%22+%22%3D%22+offset+.+offset+%3D+decimal_number+.+%7D

cdcnetPrivilegedUdpPortOffset Statement

Optional privileged UDP port offsets for CDCNet TCP/IP passive connections. When a NAM applications requests to listen for UDP connections on a port number less then 1024, this offset is automatically added before requesting the host on which DtCyber is running to post the listen request. This can prevent the host system from rejecting the request when DtCyber is not running as a privileged application.

DEFAULT: 6600

cdcnetPrivilegedUdpPortOffset=<offset>

+%22cdcnetPrivilegedUdpPortOffset+Statement%22+%7B+statement+%3D+%22cdcnetPrivilegedUdpPortOffset%22+%22%3D%22+node_number+.+offset+%3D+decimal_number+.+%7D

couplerNode Statement

A CDC data communication network consists of a collection of mainframes and NPU's or MDI's. Each such mainframe, NPU, or MDI is a node in the network, and each one is assigned a unique number to identify it. Node numbers are in the range 1 to 255.

A unique node number assigned to a mainframe is known as a coupler node number. The coupler node number associated with a mainframe uniquely identifies the mainframe in the network.

DEFAULT: 1

couplerNode=<node_number>

+%22couplerNode+Statement%22+%7B+statement+%3D+%22couplerNode%22+%22%3D%22+node_number+.+node_number+%3D+decimal_number+.+%7D

hostID Statement

Uniquely identifies the name of the host associated with this NPU/MDI configuration. When this DtCyber instance is configured to connect to others using LIP (Link Interface Protocol) or NJE (Network Job Entry) protocol, this identifier is sent to the other hosts during connection negotiation, and other hosts will send their unique identifiers to this host to identify themselves.

hostID=<string>

+%22hostID+Statement%22+%7B+statement+%3D+%22hostID%22+%22%3D%22+host_id+.+host_id+%3D+string+.+%7D

hostIP Statement

Defines the IPv4 address of the DtCyber instance associated with this configuration. Certain protocols such as NJE (Network Job Entry) use this value during connection negotiations with other hosts to help uniquely identify the local host.

DEFAULT: “127.0.0.1” (localhost)

hostIP=<ipv4_address>

+%22hostIP+Statement%22+%7B+statement+%3D+%22hostIP%22+%22%3D%22+host_ip+.+host_ip+%3D+IPV4_address_string+.+%7D

idleNetBufs Statement

Defines the allocated buffer threshold below which the NPU/MDI is considered to be idle. Asynchronous terminal connections tend to have buffers allocated to them briefly and on demand, as keystrokes are entered or output is being sent to them. HASP connections tend to have at least one buffer allocated to them while they are connected. Consequently, the value chosen for this parameter should be at least 2 greater than the number of HASP connections expected to be active concurrently under normal conditions.

Note that this configuration parameter is meaningful when the value of the idle parameter in the Machine Configuration Section is on. Otherwise, this parameter is ignored. When idle is on and the number of buffers allocated to network connections is greater than or equal to the value of idleNetBufs, the system as a whole is considered to be busy.

DEFAULT: 4

idleNetBufs=<buffer_count>

+%22idleNetBufs+Statement%22+%7B+statement+%3D+%22idleNetBufs%22+%22%3D%22+buffer_count+.+buffer_count+%3D+decimal_number+.+%7D

npuNode Statement

A CDC data communication network consists of a collection of mainframes and NPU's or MDI's. Each such mainframe, NPU, or MDI is a node in the network, and each one is assigned a unique number to identify it. Node numbers are in the range 1 to 255.

A unique node number assigned to an NPU or MDI is known as an NPU node number. The node number associated with an NPU or MDI uniquely identifies it in the network.

DEFAULT: 2

npuNode=<node_number>

+%22npuNode+Statement%22+%7B+statement+%3D+%22npuNode%22+%22%3D%22+node_number+.+node_number+%3D+decimal_number+.+%7D

Terminal Declaration Statements

Terminal Types

Type Description
hasp TCP connection supporting HASP protocol
nje TCP connection supporting NJE protocol
pterm TCP connection supporting PTERM protocol for CYBIS
raw raw TCP connection (i.e., no Telnet protocol)
rhasp TCP connection supporting Reverse HASP protocol
rs232 connection supporting an RS-232 terminal server
telnet TCP connection supporting full Telnet protocol
trunk TCP connection supporting LIP protocol (a trunk between DtCyber systems)

Parameter Descriptions

Parameters Description
auto Optional keyword indicating that an Async terminal connection is auto-configured. The corresponding NDL definition should specify AUTO=YES or XAUTO=YES
xauto
<block-size> Maximum block size to send on HASP, Reverse HASP, and NJE connections
<cla-port> Starting CLA port number on NPU, in hexadecimal, must match NDL definition
<coupler-node> Coupler node number of DtCyber host at other end of trunk
<connections> Maximum number of concurrent connections to accept for port
<local-ip> IP address to use in NJE connections for local host (value of hostIP config entry used by default)
<local-port> Local TCP port number on which to listen for connections (0 for no listening port, e.g., rhasp)
<ping-interval> Interval in seconds between pings during idle periods of NJE connection
<remote-ip> IP address of host to which to connect for Reverse HASP, LIP, and NJE
<remote-name> Name of node to which to connect for LIP and NJE
<remote-port> TCP port number to which Reverse HASP, NJE, or LIP will connect

General Statement Formats

HASP

terminals=<local-port>,<cla-port>,<connections>,hasp[,B<block-size>]

NJE

terminals=<local-port>,<cla-port>,<connections>,nje,<remote-ip>:<remote-port>,<remote-name>[,<local-ip>][,B<block-size>][,P<ping-interval>]

PTERM

terminals=<local-port>,<cla-port>,<connections>,pterm[,auto|xauto]

RAW

terminals=<local-port>,<cla-port>,<connections>,raw[,auto|xauto]

RHASP

terminals=<local-port>,<cla-port>,<connections>,rhasp,<remote-ip>:<remote-port>[,B<block-size>]

RS232

terminals=<local-port>,<cla-port>,<connections>,rs232[,auto|xauto]

TELNET

terminals=<local-port>,<cla-port>,<connections>,telnet[,auto|xauto]

TRUNK

terminals=<local-port>,<cla-port>,<connections>,trunk,<remote-ip>:<remote-port>,<remote-name>,<coupler-node>

Syntax

+%22Terminals+Declaration%22+%7B+declaration+%3D+%22terminals%22+%22%3D%22+tcp_port_number+%22%2C%22+cla_port+%22%2C%22+connections+%22%2C%22+term_def+.+tcp_port_number+%3D+decimal_number+.+cla_port+%3D+hexadecimal_number+.+connections+%3D+decimal_number+.+term_def+%3D+%28+%22hasp%22+%5B+%22%2C%22+hasp_options+%5D+%7C+%22nje%22+%22%2C%22+nje_options+%7C+%22pterm%22+%5B+%22%2C%22+auto_options+%5D+%7C+%22raw%22+%5B+%22%2C%22+auto_options+%5D+%7C+%22rhasp%22+%22%2C%22+rhasp_options+%7C+%22rs232%22+%5B+%22%2C%22+auto_options+%5D+%7C+%22telnet%22+%5B+%22%2C%22+auto_options+%5D+%7C+%22trunk%22+%22%2C%22+trunk_options+%29+.+hasp_options+%3D+%22B%22+decimal_number+.+nje_options+%3D+ipv4_address+%22%3A%22+tcp_port_number+%22%2C%22+remote_name+%7B+nje_subopts+%7D+.+nje_subopts+%3D+%7B+%22%2C%22+%28+ipv4_address+%7C+%22B%22+block_size+%7C+%22P%22+ping_interval+%29+%7D+.+auto_options+%3D+%28%22auto%22+%7C+%22xauto%22%29+.+trunk_options+%3D+ipv4_address+%22%3A%22+tcp_port_number+%22%2C%22+remote_name+%22%2C%22+coupler_node+.+remote_name+%3D+string+.+coupler_node+%3D+decimal_number+.+ping_interval+%3D+decimal_number+.+ipv4_address+%3D+%22string+of+format+aaa.bbb.ccc.ddd%22+.+%7D

Port numbers are divided into ranges as follows:

Example Section

npuConnections.example.txt
[npu.nos287]
;----------------------------------------------------------------------
; Networking definitions for NOS 2.8.7
;----------------------------------------------------------------------
;
; Coupler node, NPU/MDI node, and CDCNet node numbers must match
; values defined in the NDL file and equipment deck.
;
couplerNode=1
npuNode=2
cdcnetNode=255
;
; Listen for TCP and UDP connections on actual, unbiased port numbers.
; These values are added to privileged port numbers to produce the
; port numbers on which DtCyber will listen for TCP and UDP services.
;
cdcnetPrivilegedTcpPortOffset=0
cdcnetPrivilegedUdpPortOffset=0
;
; Define the host identifier used in establishing trunk connections
; over TCP.
;
hostID=NCCM01
;
; CLA port 0x01 and 0x02 are reserved for trunks in an environment
; with multiple NOS hosts.
;
; Listen for trunk connection requests on TCP port 2550, and attempt
; to make connection requests to another NOS system running on the
; local host at port 2551, with host ID NCCM02 and coupler node 3.
;
terminals=2550,0x01,1,trunk,127.0.0.1:2551,NCCM02,3
;
; CLA port 0x03 is used for a PSU printer.
;
terminals=2552,0x03,1,raw
;
; CLA ports 0x04 - 0x13 are used for interactive terminal
; connections using the Telnet protocol.
;
terminals=23,0x04,16,telnet
;
; CLA ports 0x14 - 0x15 are used for remote batch terminal
; connections using the HASP/BSC/TCP protocol
;
terminals=2553,0x14,1,hasp,B400
terminals=2554,0x15,1,hasp,B400