SAS Institute. The Power to Know

SAS(R) 9.2 Intelligence Platform: System Administration Guide

Previous Page | Next Page

Operating Your Servers

Running Servers as Windows Services

On Windows systems, depending on the options that were selected during the installation process, the following might be installed as services: the SAS/CONNECT spawner, the SAS Metadata Server, the SAS object spawner, the SAS OLAP Server, the SAS Services Application (Remote Services), the SAS Table Server, the SAS/SHARE server, and the SAS Deployment Tester server. This installation option is highly recommended. If these servers have been installed as services, then they start automatically when you restart the machines. To ensure that services are always started in the correct order, the required dependencies are built into the services.

The JBoss Application Server also might be installed as a service. This service is set up to be started manually.

For each service, the following table shows the built-in dependencies and the actions that you can take from within Windows Services Manager:

Server Dependencies Available Net Commands
SAS Metadata Server None Start, stop, pause, and continue
SAS OLAP Server Metadata server Start, stop, pause, and continue
SAS object spawner Metadata server Start, stop, pause, and continue
SAS Services Application (Remote Services) Metadata server Start and stop
SAS Table Server Metadata server Start, stop, pause, and continue
SAS/CONNECT spawner Metadata server Start and stop
SAS/SHARE server Metadata server Start and stop
SAS Deployment Tester server None Start and stop
JBoss Application Server SAS Services Application (Remote Services) Start and stop

The service names have the following format:

SAS [deployment-name-and-level] <server-context -> server-name

For example, your services might be displayed in Windows Services Manager as follows:

SAS [Config-Lev1] Deployment Tester Server
SAS [Config-Lev1] Object Spawner
SAS [Config-Lev1] Remote Services
SAS [Config-Lev1] SASApp - OLAP Server
SAS [Config-Lev1] SASMeta - Metadata Server
SAS [Config-Lev1] SASTS - Table Server

If you installed JBoss Application Server as a service, the service is displayed as JBoss - SASServer1.

SAS provides batch scripts that you can use to manage these services from the command line (see Using Scripts to Operate SAS Servers Individually). You can also use the Windows Net command, which has the following syntax:

net start|stop|pause|continue "service-name"

For example, if the service name for the object spawner is SAS [Config-Lev1] Object Spawner:

  • You would use the following command to stop the service:

    net stop "SAS [Config-Lev1] Object Spawner"

  • You would use the following command to start the service:

    net start "SAS [Config-Lev1] Object Spawner"

Previous Page | Next Page | Top of Page