2. You must update the UNIX environment setting for DISPLAY. This environmental
variable tells the X server where to display the window for the Performance Server
program.
3. The sample script uses the default SAS Name Server port ( NSPORT) and SAS SNet
port (SNPORT) assignments. If your SPD Server installation uses different NSPORT
and SNPORT assignments, you must update the NSPORT and SNPORT settings in the
sample script to the port addresses that are used in your SPD Server installation.
4. The script uses the –PARGS setting to specify how many times the Performance Server
should capture performance information snapshots before shutting down. The sample
rc.spds
script below uses a -PARGS setting of 0, which requests an infinite number of
performance information captures. If you do not change the default number of
information captures from 0 (infinity), you may wish to modify your
rc.killspds
script
to shut down the
rc.perf
process when you shut down SPD Server.
Sample Rc.perf Script
The sample code below is a typical
rc.perf
script that you can modify for use at your own
site. Follow the instructions in the section above to customize the script for your SPD Server
installation. In order to assist you, the values that you may need to change have been
highlighted in a lighter color. It is recommended that you copy and paste the text below
into a text editor of your preference, make your changes, and then save the file to your SPD
Server installation in a location where the script can be called for execution.
#!/bin/ksh
#--------------------------------------------------------------------------
#
# PURPOSE: Start the SPD Performance Profiler for the specified servers.
#
# PARAMETERS: version - Version of SPDS to build and run (e.g., dev, 403).
#
# NOTES: Common optional parameters:
# -nsport overrides NSPORT for server.
# -snport overrides SNPORT for server.
# -debug use alternate port numbers for development.
#
# The default repetition count for spdsperf is 3. This script
# over-rides the default to run indefinitely. Supplying a -c
# option to this script will over-ride this new default.
#
# HISTORY: 12Sep06 mjm Optimized for customer use.
# 02Aug06 mjm Created.
#
#--------------------------------------------------------------------------
#
# enable XPG4 versions of ps command on some platforms
#
export UNIX95=1
#
# initialize variables
144
Chapter 13 • Setting Up SPD Server Performance Server
Summary of Contents for Scalable Performance Data Server 4.5
Page 1: ...SAS Scalable Performance Data Server 4 5 Administrator s Guide...
Page 7: ...Part 1 Product Notes Chapter 1 SPD Server 4 5 Product Notes 3 1...
Page 8: ...2...
Page 12: ...6...
Page 63: ...Part 3 Migration Chapter 5 SPD Server 3 x to SPD Server 4 5 Conversion Utility 59 57...
Page 64: ...58...
Page 70: ...64 Chapter 5 SPD Server 3 x to SPD Server 4 5 Conversion Utility...
Page 72: ...66...
Page 76: ...70 Chapter 6 Using the SPD Server Name Server to Manage Resources...
Page 94: ...88 Chapter 7 Administering and Configuring SPD Server Using the SAS Management Console...
Page 98: ...92 Chapter 8 SPD Server SQL Query Rewrite Facility...
Page 116: ...110 Chapter 10 Configuring Disk Storage for SPD Server...
Page 128: ...122 Chapter 11 Setting Up SPD Server Parameter Files...
Page 154: ...148...
Page 198: ...192 Chapter 14 ACL Security Overview...
Page 212: ...206 Chapter 15 Managing SPD Server Passwords Users and Table ACLs...
Page 214: ...208...
Page 224: ...218 Chapter 16 SPD Server Operator Interface Procedure PROC SPDO...
Page 236: ...230 Chapter 18 SPD Server Table List Utility Spdsls...
Page 256: ...250 Chapter 19 SPD Server Backup and Restore Utilities...
Page 264: ...258 Chapter 20 SPD Server Directory Cleanup Utility...
Page 270: ......