TCP/IPv6 Configuration and Management Manual (G06.29+, H06.03+, J06.03+)

Maximize the Benefit of the NonStop TCP/IPv6
Architecture
HP NonStop TCP/IPv6 Configuration and Management Manual524523-012
3-14
Configuration Example for the Monolithic Listening
Model
The RUN command:
LISTNER/NAME $LSN0, NOWAIT, PRI 170, CPU 0/1, &
IN $ZHOME, OUT $ZHOME, TERM $ZHOME, $SYSTEM.ZTCPIP.PORTCONF
starts the LISTNER processes responsible for starting the ECHO, FINGER, and FTP
servers when the LISTNER process receives a client request. Run these processes at
a high priority. This command also specifies the location of the PORTCONF file used to
designate which ports the LISTNER is to listen to. As the LISTNER requires privileged
access to some NonStop TCP/IPv6 ports, always log on with a super ID.
Configuration Example for the Monolithic Listening Model
This example demonstrates the monolithic listener model discussed in Monolithic
Listening Model on page 3-4 configured with round-robin filtering enabled. This
configuration example assumes that you have already configured the basic subsystem.
(See Section 1, Quick Start
and Section 5, Example Illustrations and Adding Features
to the Basic Configuration for procedures for configuring the basic subsystem.) This
example only shows you how to configure the listening applications.
Figure 3-9
on page 3-15 shows the round-robin feature in this configuration. A Telserv
process is configured in each processor, the processes bound to the same port, and
round-robin filtering enabled on those processes. (See Round-Robin Filtering on
page 2-6.)
Example 3-1. TCPIPUP11 for the LISTNER Process
comment TACL command file to bring up NonStop TCP/IPv6
comment subsystem
comment Use DNS for name resolution; (no host file DEFINE)
DELETE DEFINE =TCPIP^HOST^FILE
comment ADD and START SUBNETS
SCF/IN $SYSTEM.TCPIP.SCFSBNT/
comment Initialize LISTNER for FTPSERV, ECHOSERV,
comment and FINGSERV
comment Define the TCP6SAM process for the LISTNER to use
DELETE DEFINE =TCPIP^PROCESS^NAME
ADD DEFINE =TCPIP^PROCESS^NAME, class map, file $ZSAM0
comment Start the LISTNER
LISTNER/NAME $LSN0, NOWAIT, PRI 170, CPU 0/1, &
IN $ZHOME, OUT $ZHOME, TERM $ZHOME,&
$SYSTEM.ZTCPIP.PORTCONF