ODBC Server Installation and Management Manual

Installing the NonStop ODBC Server
HP NonStop ODBC Server Installation and Management Manual429395-002
2-35
UNIX Workstation Installation
Answer the second request with the port number (port) configured in the TCP/IP
SERVICES file on the NonStop system.
The SYBCONFG program creates or adds to the $SYBASE/INTERFACES file
entries for this NonStop ODBC server. The format of the file is:
server
query tcp sun-ether server port-number
master tcp sun-ether server port-number
console tcp sun-ether server port-number
One multiple-line entry is displayed for the NonStop ODBC server. For example:
ODBCTCP1
query tcp sun-ether ODBCTCP1 2314
master tcp sun-ether ODBCTCP1 2314
console tcp sun-ether ODBCTCP1 2314
The server name must be a name found in the TCP/IP /ETC/HOSTS file,
associating this name with an actual Ethernet address. The name in the TCP/IP
/ETC/HOSTS file is case sensitive, so it is important to use the same case when
answering the prompt in the SUN.INSTALL script.
6. After installation is complete, edit the user environment of each intended
workstation user of ODBCTCP1 to reflect the default directory. There are two user
environment files. The user selects the correct one based on whether the shell is a
Bourne-shell or C-shell.
Different client tools specify different shells. The default shell for the user can be
found by looking at the /ETC/PASSWD file. If the last entry on the line for the user
is “/bin/sh,” the user default is the Bourne-shell. If it is “/bin/csh,” the default is the
C-shell.
Bourne-Shell: “.profile” looks like:
PATH=.:/usr/5bin:/bin:/usr/bin:/usr/ucb:/etc:/usr/etc:/home/sybase/bin
export PATH TERM
SYBASE=/home/sybase
export SYBASE TERM
Note. UNIX systems with Directory Network Services (DNS) installed should update the
master set of maps (name service databases) on the designated DNS master server
instead of updating the local /ETC/HOSTS file. After the DNS master database is updated,
DNS can be used to propagate this change to all client systems, or the underlying system
software providing network name lookup can be configured to examine the remote name
service master server. (Consult the Sun 4.x System and Network Administration Manual
for additional details in setting up the Directory Network Services.)