TCP/IP Configuration and Management Manual
Configuring the NonStop TCP/IP Subsystem
TCP/IP Configuration and Management Manual—427132-004
3-57
OSS Sockets Support Files
To establish these files in the /etc directory, you can either copy their equivalents from
the Guardian subvolume ZTCPIP or establish a symbolic link to the files so that any
changes made to the Guardian files also apply to OSS.
To set up a symbolic link in the OSS /etc directory to the Guardian file equivalents,
enter the following commands at the OSS shell prompt:
OSS Socket Behavior
Use the OSS shell DEFINE TCPIP^PROCESS^NAME to specify the name of the TCP/IP
process to be used by the OSS socket application. For example, prior to running the
socket application, enter the commands shown in Example 3-21 (substituting $ZTCn
where n specifies the TCP/IP process of your choice).
Syntax Considerations
Example 3-21 observes the following syntax rules:
TCPIP^PROCESS^NAME should be in uppercase letters.
The shell commands (for example, del-define and add_define) should be in
lowercase letters.
A backslash (\) should be included before the name of the TCP/IP process is
specified. Otherwise, the OSS shell will not accept the dollar sign ($).
Note. You may need to be logged on as SUPER.SUPER to write to the /etc directory.
cd /etc
ln -s /G/<volume>/ztcpip/resconf resolv.conf
ln -s /G/<volume>/ztcpip/networks networks
ln -s /G/<volume>/ztcpip/protocol protocols
ln -s /G/<volume>/ztcpip/services services
ln -s /G/<volume>/ztcpip/hosts hosts
Note. The volume varies; for example, the volume where files reside when you enter these
commands may be <ISV volume> (Installation Subvolume) for INSTALL-based software
distribution or <TSV volume> (Target Subvolume) for DSM/SCM-based software distribution or
<SYSTEM> if a system administrator has moved them since software installation.
Example 3-21. Setting the OSS DEFINE to Specify the TCP/IP Process
<shell prompt> del_define TCPIP^PROCESS^NAME
<shell prompt> add_define TCPIP^PROCESS^NAME file=\$ztc1
Note. You can also issue a Guardian DEFINE to specify the name of the TCP/IP process
to be used by the OSS socket application. However, you must issue this DEFINE before
invoking OSS. The TCP/IP process name can also be set programmatically (see the OSS
System Calls Reference Manual).