TCP/IP Configuration and Management Manual
Configuring the NonStop TCP/IP Subsystem
TCP/IP Configuration and Management Manual—427132-004
3-31
Configuring Subsystem Processes
valid. The SERVICES file contains information on the known services available on the
Internet.
Once the accuracy of the PORTCONF file content is verified against the SERVICES
file, the LISTNER process listens to the configured ports, waiting for incoming
connection requests from the remote client. LISTNER continues to wait for new
connections on that port and other well-known ports.
The NonStop TCP/IP process notifies the LISTNER process that a request is pending.
When the LISTNER process receives the notification, it starts the target server. The
target server creates a socket using hostname and source-port information, then
accepts the pending connection request on the newly created socket. The NonStop
TCP/IP process passes a connection request to the LISTNER process only if the port
through which the request was received is configured in the PORTCONF file.
Each time a connection is made, connection-oriented services are provided by creating
a new server process. The LISTNER process creates the server process to provide the
requested service. The request may be received on a well-known TCP or UDP port.
The server process then is passed an argument of the form sourceport.sourcehost,
where sourceport is a decimal number and sourcehost is the source IP address in
dotted decimal notation.
Data can pass between the target NonStop server and the remote client through the
newly created socket until either the remote client or the server terminates the
connection. For detailed information on configuring and starting the LISTNER process,
refer to Section 1, Configuration Quick Start.
Starting the LISTNER Process
Once the NonStop TCP/IP process is started, you can start the LISTNER process.
Only one LISTNER process can be run on each NonStop TCP/IP process.
To start the LISTNER process, enter a RUN or LISTNER TACL command as follows:
Example 1:
2> RUN $SYSTEM.SYSnn.LISTNER /NAME $ZPORT,in file,&
2> out file, term name, NOWAIT,CPU cpu, PRI 150/backupcu &
2> [portconf]
Example 2:
2> LISTNER /NAME $ZPORT, in file, out file, term name,&
2> CPU cpu, NOWAIT,PRI 150/backupcpu [portconf]
Example 1 shows the explicit RUN command. Example 2 shows the implicit RUN
command.
SYSnn is the name of the system subvolume on which your LISTNER process
resides.
cpu specifies the CPU numbers on which the LISTNER process and its backup
should be run. You should run the LISTNER process on a different CPU
than the one where the TCP/IP process runs.