TCP/IP (Parallel Library) Configuration and Management Manual
Configuring Parallel Library TCP/IP for Complex and
Heavy-Use Environments
HP NonStop TCP/IP (Parallel Library) Configuration and Management Manual—522271-006
3-20
Configuration Example for the Distributor Listening
Model
The TCPIPUP4 File
The following TACL command file starts the processes, adds and starts subsystem
objects through SCF, and sets appropriate parameters. To add comments, use the
word “comment” or a double equal sign (==). Some lines are discussed separately
after the example.
Deleting the DEFINE before setting the new DEFINE for round-robin filtering:
DELETE DEFINE =PTCPIP^FILTER^KEY
ensures the new define won’t conflict with any existing defines in this TACL session for
the filter key.
The line configuring round-robin filtering:
ADD DEFINE =PTCPIP^FILTER^KEY, class map, file A234567
sets up all subsequent processes configured in this TACL session to use round-robin
filtering. A234567 is an arbitrary file name that you select. Setting the filter key file is
equivalent to setting a password for use of the port.
The lines starting the Distrib processes, starting with:
RUN DISTRIB /NAME $DIST1, NOWAIT, PRI 160, CPU 3/0
start a Distrib process in each of the processors. Note that the backup Distrib
processes do not share any processors with other Distrib processes. Running Distrib
processes in distinct processor pairs avoids potential port sharing conflicts in a failure
situation. (See Port Collision Considerations for Listening Processes on page 2-5.)
Example 3-5. TCPIPUP4 for the Distrib Process
comment ==== TCPIPUP4 =========TCPIPUP4 ========
comment TACL command file to bring up Parallel Library TCP/IP
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 Define round-robin filtering for the Distrib
comment listener.(See Round-Robin Filtering on page 2-4.)
DELETE DEFINE =PTCPIP^FILTER^KEY
ADD DEFINE =PTCPIP^FILTER^KEY, class map, file A234567
comment Define the TCPSAM process for the distributor to use
DELETE DEFINE =TCPIP^PROCESS^NAME
ADD DEFINE =TCPIP^PROCESS^NAME, class map, file $ZSAM0
comment Start a Distrib in each processor
RUN DISTRIB /NAME $DIST1, NOWAIT, PRI 160, CPU 3/0
RUN DISTRIB /NAME $DIST2, NOWAIT, PRI 160, CPU 4/1
RUN DISTRIB /NAME $DIST3, NOWAIT, PRI 160, CPU 5/2
comment ====== END OF TCPIPUP4 ==== END OF TCPIPUP4 ==