BookmarkSubscribeRSS Feed
timc_syd
Fluorite | Level 6

Dear Sys Admins,

Has anyone worked out how to run the SAS loadmgr as a service (eg. for Enterprise, web services or SAS/IntrNet) on RHEL 7 or similar Linux system that uses the newer systemd services ?

Do you have instructions for modifying the old sysV init scripts or new scripts for systemd ?

It should be something supplied by SAS during the standard setup/deployment process but have so far don't want to go near it.

OS=Red Hat Enterprise Linux 7.1 (RHEL7.x)

Service system provided by= systemd (systemd-208-20.el7_1.2.x86_64)

SAS= SAS 9.4 (TS1M2) for Linux x86_64

No SysV Init of earlier versions.

See attached script copied from a previous RHEL 6 (and earlier) installation.

8 REPLIES 8
Kurt_Bremser
Super User

Looks to me like SAS does not support systemd at the moment, a search for "systemd" in the knowledge base returned no results.

Your RHEL system administrator should have no problem implementing a systemd config from the old SYSV entries (inittab)

Kurt_Bremser
Super User

Just looked at your script.

The systemd service file you must create should (IMHO) simply call your saswebg script with the correct parameters in the ExecStart, ExceStop and ExecReload directives in the [Service] section as described in (example) systemd.service

StefanM
Obsidian | Level 7
NOW in 2021 sysv is deprecated and SAS does not deliver anything systemd compabtible
StefanM
Obsidian | Level 7
Hi,
the goal is that we as customer get a script from SAS and don't have to do it on our own where we lose the support.

Means: SAS has to deliver scripts for systemd
Sajid01
Meteorite | Level 14

In a multi tier environment with different components running on different servers and a specific boot order to be followed, systemd is not the right choice. 
For a single machine install and where no specific order is needed systemd may work.
It is a trivial thing which any Linux  admin can do.

gwootton
SAS Super FREQ
You may want to take a look at SAS_lsm for managing startup/shutdown of SAS 9 services:

https://support.sas.com/kb/58/231.html
--
Greg Wootton | Principal Systems Technical Support Engineer
StefanM
Obsidian | Level 7
Hi,

lsm has no support for systemd too but we will take a look i detail.

SAS should deliver systemd or LSB or support as basic because SYSV is not supported anymore in current Linux distribution.
We can manage by ourself to shutdown the hosts in the correct order so lsm is not needed in general.
But the issue is that even on a single host dependencies for the shutdown are missing.

SAS Deployment Agent seems to use LSB mode.

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 

CLI in SAS Viya

Learn how to install the SAS Viya CLI and a few commands you may find useful in this video by SAS’ Darrell Barton.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 8 replies
  • 2382 views
  • 1 like
  • 5 in conversation