thought and planning. You should decide how to organize your existing disk storage
to best exploit the capabilities of the SPD Server. For more information, see “SPD
Server Host Commands” on page 27 and the libsamp.parm file. For more information
about managing resources, see “Managing Computing Resources with a Name Server”
on page 67 .
6.
Edit and configure the resource script file rc.spds. In the /InstallDir/site
directory, use a UNIX text editor to open the rc.spds file. The tasks to configure the
rc.spds file include the following:
• Specify the SQL audit file cycle time and the file prefix using AUDTIME= and
AUDFILESQL=.
• Confirm settings for the INSTDIR= pointers to your installation directory.
• Confirm settings for the INSTDIR= pointers to your /bin directory.
• Specify whether to start up the SNET Server.
• Check SNET port assignments if you use SNET.
• Reassign SNET ports if there are conflicts.
• Specify whether to create a log using LOGDIR=.
• Specify the log cycle time and the file prefix using LOGTIME= and LOGFILE=.
• Specify whether to create an audit file facility using AUDDIR=.
• Specify the audit file cycle time and the file prefix with AUDTIME= and
AUDFILE=.
• Specify the location of your server user password database and parameter files.
Here is an example of a typical unmodified rc.spds file:
#!/bin/sh -x
# Sample startup script for SPDS.
# This script starts the SPDS Name Server
# data server and ODBC server processes
# using assumed install directories. Most
# paths are controlled through shell variables
# defined at the beginning of the script.
# If you change this script, copy it to
# the SPDS site directory and modify that
# copy just to make sure that a subsequent
# SPDS software upgrade doesn't wipe out
# your site modifications to the script.
#------------------------------------------
#
# Define some primary variables. INSTDIR is the
# root directory of your installation. INSTDIR is
# initialized to run rc.spds from the site dir
# of your installation.
#
# NSPORT is the SPDS name server listen port;
# if omitted uses "spdsname" service entry.
# SNSPORT is the SPDS ODBC server listen port;
# if omitted uses "spdssnet" service entry.
#
# If you are running through a firewall the NSPORT and
# SNSPORT must be surfaced through the firewall. In
18 Chapter 3 • SPD Server UNIX Installation Guide