SAS Safety Scalable Performance Data Server 4.5 사용자 설명서

다운로드
페이지 271
-auditfile fileSpec
Enables audit logging for the server and automatic audit log file creation by the audit
process. 
fileSpec
 specifies a path or filename specification that is used to generate
the complete audit file path. For example, if you specified 
fileSpec
 as 
/audit/
spds
, the generated name would appear as:
/audit/spds_mmddyyyy_yyyy.spdsaudit
, where 
mmddyyyy
 is taken from the
system date when the log file is created.
-audittime hh:mm
Specifies a time of day to cycle a new generation of the audit log file. At this time each
day, the previous log file is closed and new log file is opened.
SNET Server Commands
The SNET Server is the connection point for clients accessing SPD Server data through
ODBC, JDBC or htmSQL applications.
Part of the function of the SPD Server snet process is to perform SPD Server logging. The
spdslog process manages SPD Server message logging functions. You configure SPD
Server message logging functions using spdssnet command-line options.
Message logging facilities include automatic log filename generation and periodic log file
cycling support. SNET server availability improves because you can periodically switch
to a new Name Server log file without halting and restarting SPD Server.
The default rc.spds script in the 
samples/
 directory provides examples of the command-
line options.
When using automatic SNET server log cycling, remember to periodically clean the log
files. Proper log file maintenance includes archiving logs using secondary or long-term
storage.
Many users only retain a few generations of log files for quick reference. A shell script that
runs on a regular basis (such as CRONTAB) is a good way to perform log maintenance on
your server machine.
The SNET Server is invoked with the following command-line syntax:
spdssnet [-listenport listen_port]
The 
spdssnet
 command supports the following options:
-listenport listen_port
Specifies the listen port number that spdssnet uses to accept connections from ODBC,
JDBC, or htmSQL clients. If no listen port number is specified, spdssnet uses the name
service spdssnet from the 
/etc/services
 file to determine its listen port.
-logfile fileSpec
Selects automatic server log file creation by the logger process. 
fileSpec
 specifies
a partial path or filename specification that is used to generate the complete log file
path. For example, if you specified 
fileSpec
 as 
\DOWNlogs\spdssnet
, the
generated name would appear as
\DOWNlogs\spdssnet_mmddyyyy_hh:mm:ss.spdslog
, where 
mmddyyyy
 and 
hh:mm:ss
 are taken from the system time when the log file
is created.
-logtime hh:mm
Specifies a time of day to cycle a new generation of the SNET log file. At this time
each day, the previous log file is closed and new log file is opened.
SNET Server Commands
29