HP (Hewlett-Packard) S Server User Manual


 
Case Study: Installing and Configuring a System
HP NonStop S-Series Hardware Installation and FastPath Guide—541880-001
14-25
Configuring NonStop TCP/IP Stacks on E4SA Ports
Configuring NonStop TCP/IP Stacks on E4SA Ports
This example contains a TACL command file that configures and starts the NonStop
TCP/IP stack on $ZZLAN.L018. NonStop TCP/IP stacks must be created for each LAN
port that connects to a SWAN concentrator and must be both configured and started
each time the system is started. The TACL command files to configure and start
TCP/IP stacks on the other ports can be created by changing the following variables to
the appropriate values:
?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
]
#OUTPUT
#OUTPUT Stopping existing TCP/IP processes...
[#IF [#PROCESSEXISTS [TEL^NAME]]
GW^ADDR LINE^NAME TCP^CPU2
HOST^NAME LST^NAME TCP^NAME
IP^ADDR TCP^CPU1 TEL^NAME
Note. If you are using Parallel Library TCP/IP or NonStop TCP/IPv6, you might not need to
create a TACL command file because these subsystems participate in the system configuration
database. See the TCP/IP (Parallel Library) Configuration and Management Manual or the
TCP/IPv6 Configuration and Management Manual.