TCP/IP Configuration and Management Manual

Configuration Quick Start
TCP/IP Configuration and Management Manual427132-004
1-11
Tasks
Name of Second SLSA LIF (the example uses LAN02). See Hint on page 1-7 for
choosing an appropriate LIF.
Tasks
1. Create a new TACL command file called TCPIPUP1 to start the second NonStop
TCP/IP environment using the contents of Example 1-4. The define for
TCPIP^PROCESS^NAME is needed when starting applications which don't use
the default NonStop TCP/IP process. The default NonStop TCP/IP process name
is $ZTC0, so you do not need to use the define when using $ZTC0. When adding
any further NonStop TCP/IP processes, use the define to ensure that applications
use the correct NonStop TCP/IP process.
2. Issue the OBEY command on the TCPIPUP1 command file when running as user
SUPER.SUPER to start the second NonStop TCP/IP environment.
>OBEY TCPIPUP1
Task Summary: Shutting Down the Second
TCP/IP Environment
Task 1: Create a TACL command file
Example 1-4. TCPIPUP1 Command File
TCPIP/NAME $ZTC1,TERM $TRM0.#A,OUT $TRM0.#A,CPU 1,NOWAIT/2
SCF/INLINE/
INLPREFIX +
+ ASSUME PROCESS $ZTC1
+ ALTER,HOSTNAME "gust.mydomain.com"
==gust is the Host Name
+ ALTER,HOSTID 150.20.30.3
==150.20.30.3 is the Name of Second Host
+ ALTER SUBNET #LOOP0,ADDRESS 127.1
+ ADD SUBNET #SN0,TYPE ETHERNET,DEVICENAME LAN02,&
IPADDRESS 150.20.30.2, IRDP OFF
==LAN02 is the Name of Second SLSA LIF
==150.20.30.2 is the Gateway Router Address
+ ALTER SUBNET #SN0,SUBNETMASK %HFFFFFF00
== %HFFFFFF00 is the Subnet Mask Used on Local Subnet
+ ADD ROUTE #ROUTE0,DESTINATION 0.0.0.0,GATEWAY 150.20.30.2
+ START SUBNET *
+ START ROUTE *
INLEOF
ADD DEFINE =TCPIP^PROCESS^NAME,CLASS MAP,FILE $ZTC1
LISTNER/TERM $ZHOME,NAME $LSN1,CPU 1,NOWAIT,&
PRI 160/$SYSTEM.ZTCPIP.PORTCONF
PARAM TCPIP^PROCESS^NAME $ZTC1
TELSERV/TERM $ZHOME,NAME $ZTN1,CPU 1,NOWAIT,&
PRI 170/ -BACKUPCPU 2