Architecting, installing and maintaining your SAS environment

Create service files for Linux, systemd and loadmgr

Reply
Occasional Contributor
Posts: 5

Create service files for Linux, systemd and loadmgr

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.

Attachment
Super User
Posts: 7,766

Re: Create service files for Linux, systemd and loadmgr

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)

---------------------------------------------------------------------------------------------
Maxims of Maximally Efficient SAS Programmers
Super User
Posts: 7,766

Re: Create service files for Linux, systemd and loadmgr

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

---------------------------------------------------------------------------------------------
Maxims of Maximally Efficient SAS Programmers
Ask a Question
Discussion stats
  • 2 replies
  • 471 views
  • 0 likes
  • 2 in conversation