TCP/IP (Parallel Library) Configuration and Management Manual

Configuration Quick Start
HP NonStop TCP/IP (Parallel Library) Configuration and Management Manual522271-006
1-8
Tasks: Starting Parallel Library TCP/IP With HOSTS
Example 1-1. TCPIPUP Command File Using HOSTS file
==Clear the system of any DEFINEs and PARAMs
DELETE DEFINE =_SRL_01
DELETE DEFINE =TCPIP^PROCESS^NAME
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
==Use host name from Configuration Form 1
on page 1-5, Line # 2
+ ALTER MON *,HOSTNAME "ptcpip"
==Use host ID from Configuration Form 1 on page 1-5, Line # 3
+ ALTER MON *,HOSTID 172.17.215.27
+ STOP SUBNET LOOP0
==Note in the above command that even though the MON is not
==assumed, you do not have to specify the MON. See
==STOP SUBNET Command for TCPMAN
on page 5-142 for the STOP
==SUBNET command syntax.
+ ALTER SUBNET LOOP0,IPADDRESS 127.1
+ START SUBNET LOOP0
==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 on page 1-5
+ ADD SUBNET SN1,TYPE ETHERNET,DEVICENAME LAN01,IPADDRESS &
172.17.215.27,SUBNETMASK %HFFFFFF00
==Use route name from Line # 7
, and GATEWAY from Line # 8 of
==the Configuration Form 1
on page 1-5
+ ADD ROUTE ROUTE1,DESTINATION 0.0.0.0,GATEWAY 172.17.215.1
+ 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 1 on page 1-5
TCPSAM/NAME $ZSAM0,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 1 on page 1-5
ADD DEFINE =TCPIP^PROCESS^NAME, CLASS MAP, FILE $ZSAM0
==Add a PARAM to establish the TCPSAM process name as
==the transport-service provider for TELSERV.
PARAM TCPIP^PROCESS^NAME $ZSAM0
==Add a PARAM to cause TELSERV to use the same process going out
==as coming in. Use the TCPSAM name from Line # 10
of the
==Configuration Form 1
on page 1-5
PARAM ZTNT^TRANSPORT^PROCESS^NAME, $ZSAM0
==Start LISTNER and TELSERV. (See TELSERV in the
==TCP/IP (Parallel Library) Migration Guide for considerations
==about starting TELSERV.) Use LISTNER name from Line # 11
and
==TELSERV name from Line # 12
of the Configuration Form 1 on page 1-5.
LISTNER/TERM $ZHOME, OUT $ZHOME, NAME $LSN1,CPU 2,NOWAIT, &
PRI 160/1 $SYSTEM.ZTCPIP.PORTCONF
TELSERV/TERM $ZHOME, OUT $ZHOME, NAME $ZTN1, CPU 1, &
NOWAIT/-BACKUPCPU 3