NonStop S-Series Hardware Installation and FastPath Guide (G06.29+)

Creating Startup and Shutdown Files
HP NonStop S-Series Hardware Installation and FastPath Guide541880-002
13-13
TCP/IP Stack Configuration and Startup File
TCP/IP Configuration and Management Manual
TCP/IP (Parallel Library) Configuration and Management Manual
TCP/IPv6 Configuration and Management Manual
This example shows a TACL command file that configures the TCP/IP stack on
$ZZLAN.L018.
?TACL MACRO
== This file is $SYSTEM.STARTUP.IPSTK1
== Adds TCPIP and related processes to $ZZLAN.L018
#FRAME
#PUSH CON^NAME, LINE^NAME, TCP^NAME, LST^NAME, TEL^NAME
#PUSH HOST^NAME, IP^ADDR, GW^ADDR, TCP^CPU1, TCP^CPU2
#SET IP^ADDR 192.231.36.099
#SET GW^ADDR 192.231.36.17
#SET CON^NAME $ZHOME
#SET LINE^NAME L018
#SET TCP^NAME $ZB018
#SET LST^NAME $ZP018
#SET TEL^NAME $ZN018
#SET HOST^NAME "Case1_L018.DevInc.com"
#SET TCP^CPU1 0
#SET TCP^CPU2 1
[#IF NOT [#PROCESSEXISTS $ZNET]
|THEN|
#OUTPUT
#OUTPUT Starting SCP...
SCP /NAME $ZNET, NOWAIT, CPU 0, PRI 165, TERM [CON^NAME]/ 1; AUTOSTOP -1
]
[#IF [#PROCESSEXISTS [LST^NAME]]
|THEN|
STOP [LST^NAME]
]
#OUTPUT
#OUTPUT Stopping existing TCP/IP processes...
[#IF [#PROCESSEXISTS [TEL^NAME]]
|THEN|
STOP [TEL^NAME]
]
[#IF [#PROCESSEXISTS [LST^NAME]]
|THEN|
STOP [LST^NAME]
]
[#IF [#PROCESSEXISTS [TCP^NAME]]
|THEN|
#PUSH #INLINEPREFIX
SET VARIABLE #INLINEPREFIX +