BookmarkSubscribeRSS Feed
☑ This topic is solved. Need further help from the community? Please sign in and ask a new question.
Mahis
Quartz | Level 8

Hi everyone,

For these SAS services, if we find any of them down is it okay to restart it automatically? Or are there any specific services that require restarting in a particular order?

 

 SAS Metadata Server 1
 SAS Environment Manager Agent
 SAS Web Infrastructure Data Server
 SAS Data Management Data Server
 SAS OLAP Server 1
 SAS Object Spawner 1
 SAS Share Server 1
 SAS CONNECT Spawner 1
 SAS DIP Job Runner 1
 SAS Cache Locator Service ins_41415
 SAS JMS Broker
 SAS Web Server
 SAS Web App Server SASServer1_1
 SAS Web App Server SASServer12_1
 SAS Web App Server SASServer15_1
 SAS Web App Server SASServer2_1
 SAS Web App Server SASServer6_1
 SAS Environment Manager
 SAS Information Retrieval Studio Server

 

Thank you

1 ACCEPTED SOLUTION

Accepted Solutions
JackMcGuire
Obsidian | Level 7

Hi Mahis,

 

Some SAS services have dependencies, so it’s important to follow the recommended order for stopping and starting them. You can find the detailed instructions here: Stopping and Starting SAS Services. Please note that these services might be distributed across multiple servers.

 

If a service has gone down, you should stop any dependent services and then start the services again in the recommended order.

 

On UNIX, you can use the sas.servers script, which automatically starts the services in the correct order on each server: Using the sas.servers Script

 

On Windows, you can use Windows Services to stop and start the SAS services. However, not all service dependencies are automatically configured, so you must manually follow the recommended start-up order and check for dependencies. Alternatively, you can create a batch script using net commands, similar to the sas.servers script: Creating a Batch Script for SAS Services

 

Some SAS services can take some time to start, so to ensure each service is fully operational before proceeding to the next, check its log file for confirmation.

View solution in original post

2 REPLIES 2
JackMcGuire
Obsidian | Level 7

Hi Mahis,

 

Some SAS services have dependencies, so it’s important to follow the recommended order for stopping and starting them. You can find the detailed instructions here: Stopping and Starting SAS Services. Please note that these services might be distributed across multiple servers.

 

If a service has gone down, you should stop any dependent services and then start the services again in the recommended order.

 

On UNIX, you can use the sas.servers script, which automatically starts the services in the correct order on each server: Using the sas.servers Script

 

On Windows, you can use Windows Services to stop and start the SAS services. However, not all service dependencies are automatically configured, so you must manually follow the recommended start-up order and check for dependencies. Alternatively, you can create a batch script using net commands, similar to the sas.servers script: Creating a Batch Script for SAS Services

 

Some SAS services can take some time to start, so to ensure each service is fully operational before proceeding to the next, check its log file for confirmation.

Nigel_Pain
Lapis Lazuli | Level 10

Hi

This thread might interest you if you are on a Windows platform:

SAS-wsm is available for use with SAS 9.4 deployments - SAS Support Communities

@AndyForeman created a Powershell utility to work in a similar way to the Unix/Linux sas.servers script. It works to ensure that services start in the right order, and waits for the ones which take a while to come up completely (eg. the web apps). I adapted Andy's script to work in a multi-platform environment. There's a zipped version of that as an attachment to one of my posts in the thread.

suga badge.PNGThe SAS Users Group for Administrators (SUGA) is open to all SAS administrators and architects who install, update, manage or maintain a SAS deployment. 

Join SUGA 

Get Started with SAS Information Catalog in SAS Viya

SAS technical trainer Erin Winters shows you how to explore assets, create new data discovery agents, schedule data discovery agents, and much more.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 2 replies
  • 1363 views
  • 1 like
  • 3 in conversation