TCP/IP (Parallel Library) Configuration and Management Manual

Configuration Quick Start
HP NonStop TCP/IP (Parallel Library) Configuration and Management Manual522271-006
1-14
Tasks: Starting Parallel Library TCP/IP With DNS
Example 1-2. TCPIPUP Command File Using DNS
==Clear the system of any DEFINEs and PARAMs
DELETE DEFINE =_SRL_01
DELETE DEFINE =TCPIP^PROCESS^NAME
==Set up environment to use DNS by deleting host file DEFINE
DELETE DEFINE =TCPIP^HOST^FILE
CLEAR ALL
==Start the TCPMAN process
TCPMAN /NAME $ZZTCP, TERM $ZHOME, OUT $ZHOME, CPU 0,NOWAIT/1
==SCF commands
SCF/INLINE/
INLPREFIX +
==Start TCPMON objects in all processors, establish the host
==name and host ID, and set up loopback.
+ ASSUME PROCESS $ZZTCP
+ START MON *
==Give TCPMONs time to start
+ DELAY 21
==This example ASSUMEs the TCPMON name
+ ASSUME MON $ZZTCP.*
==Use host name from Line #2
of the Configuration Form 2
+ ALTER,HOSTNAME "ptcpip"
==Use host ID from Line # 3
of the Configuration Form 2
+ ALTER,HOSTID 150.20.30.1
+ ABORT SUBNET LOOP0
+ ALTER SUBNET LOOP0, IPADDRESS 127.1
==Add and start a subnet and route for the TCPMONs.
==Use subnet name from Line # 4
, DEVICENMAME from Line # 5, IP
==address from Line # 3
, and subnet mask from Line # 6 of the
==Configuration Form 1
+ ADD SUBNET SN2,TYPE ETHERNET,DEVICENAME LAN02, &
IPADDRESS 150.20.30.1, SUBNETMASK %HFFFFFF00
==Use route name from Line # 7
and gateway from Line # 8 of the
==Configuration Form 2
+ ADD ROUTE ROUTE2, DESTINATION 0.0.0.0, GATEWAY 150.20.30.2
+ START SUBNET *
+ START ROUTE *
INLEOF
==Add a DEFINE for the private SRL for TCPSAM.
ADD DEFINE =_SRL_01, CLASS MAP, FILE ZTCPSRL
==Start a TCPSAM process. Use TCPSAM name from Line # 10
of
==the Configuration Form 2
TCPSAM/NAME $ZSAM2, TERM $ZHOME, OUT $ZHOME, NOWAIT,CPU 0/1
==Add a DEFINE to establish the TCPSAM process name
==as the transport-service provider for LISTNER.
==Use the TCPSAM name from Line # 10
of the Configuration Form 2.
ADD DEFINE =TCPIP^PROCESS^NAME, CLASS MAP, FILE $ZSAM2
==Start the LISTNER. Use the LISTNER name from Line # 11
==of the Configuration Form 2.
LISTNER/TERM $ZHOME, OUT $ZHOME, NAME $LSN2,&
CPU 0, NOWAIT, PRI 160/1 $SYSTEM.ZTCPIP.PORTCONF
==Add a PARAM to establish the TCPSAM process name
==as the transport-service provider for TELSERV.
PARAM TCPIP^PROCESS^NAME $ZSAM2
==Add a PARAM to cause TELSERV to use the same process going out
==as coming in.
PARAM ZTNT^TRANSPORT^PROCESS^NAME, $ZSAM2
==Start TELSERV. Use the TELSERV name from Line # 12
of the
==Configuration Form 2
. See TELSERV of the
==TCP/IP (Parallel Library) Migration Guide for considerations.
TELSERV/TERM $ZHOME, OUT $ZHOME, NAME $ZTN2, CPU 0, NOWAIT, &
PRI 170/ -BACKUPCPU 1