A SERVICE OF

logo

# port number. If not explicitly specified it
# will default to the "spdssnet" service in /etc/services
#
/bin/sleep 2
if [ -z "$SNSPORT" ]; then
spdssnet 1>$SNSLOG 2>&1 &
else
spdssnet -listenport $SNSPORT 1>$SNSLOG 2>&1 &
SNET Port Assignments: The rc.spds script assumes that you are running SPD Server
concurrently with an SPD Server 3.x environment. It assumes that the SPD Server Name
Server and the SNET Server will run using explicit port number assignments. The
following lines at the beginning of rc.spds assign the ports numbers:
NSPORT=5190 (name server port for spdsnsrv)
SNSPORT=5191 (SNET Server port for spdssnet)
If these ports are in use, or if resources specify otherwise, choose new port numbers.
If you omit these assignments, rc.spds uses the name services entries SPDSNAME and
SPDSSNET. If you do not run the Snet Server, you do not need to be concerned about
the SNSPORT definition.
Logging: The rc.spds script assumes that you want to keep the logs from messages
written to STDOUT or STDERR of the spdsnsrv ( SPD Server Name Server) and
spdsserv (SPD Server host) processes. The shell variable LOGDIR= defines the
directory where these logs are kept. If you do not want to keep these logs, change
LOGDIR= and the rc.spds script will use /dev/null. If you want to keep the logs in
another location besides InstallDir/log, change LOGDIR=.
The DSRVFILE= and DSRVTIME= spdsserv options, NSRVFILE= and
NSRVTIME= spdsnsrv options, and SNSFILE= and SNSTIME= spdssnet options are
enabled by default with the following shell variables:
DSRVFILE=spdsserv
Specifies the spdsserv process log file prefix.
DSRVTIME=00:00
Specifies the time of day to cycle the spdsserv log file.
NSRVFILE=spdsnsrv
Specifies the spdsnsrv process log file prefix.
NSRVTIME=00:00
Specifies the time of day to cycle the spdsnsrv log file.
SNSFILE=spdsnet
Specifies the spdssnet process log file prefix.
SNSTIME=00:00
Specifies the time of day to cycle the spdssnet log file.
These settings enable automatic log filename generation and cycling by specifying the
log file prefix and the log file cycle time of day. The file path for the -LOGFILE option
is generated by concatenating the LOGDIR= and LOGFILE= variables. For more
information about these options, see “SPD Server Host Commands” on page 27.
When automatic log filename generation and cycling are enabled, the only messages
that go to the default log file are those written to STDERR. If you want to disable
automatic log filename generation and cycling, change the settings to empty pointers
such as the DSRVFILE= and DSRVTIME= options.
20 Chapter 3 SPD Server UNIX Installation Guide