<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: systemd and V9 sas.servers script for restart at boot in Administration and Deployment</title>
    <link>https://communities.sas.com/t5/Administration-and-Deployment/systemd-and-V9-sas-servers-script-for-restart-at-boot/m-p/945172#M29057</link>
    <description>&lt;P&gt;Hi! This is what is put in &lt;EM&gt;sas.service&lt;/EM&gt;, it's working but I'm sure I need to refine it (Requires, WantedBy)&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;[Unit]
Description=SAS Services
Requires=network.target

[Service]
User=sasinst
Group=sas
ExecStart=/bin/bash -c '/sas/SAS_lsm/SAS_lsm -c /sas/SAS_lsm/va.cfg -a 1 -e'
ExecStop=/bin/bash -c '/sas/SAS_lsm/SAS_lsm -c /sas/SAS_lsm/va.cfg -o 1 -e'
RemainAfterExit=Yes

[Install]
WantedBy=multi-user.target
&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;" RemainAfterExit=Yes " was tricky to find.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;Had to work a lot with&amp;nbsp;&lt;BR /&gt;Any improvements are wellcome! &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 25 Sep 2024 09:18:06 GMT</pubDate>
    <dc:creator>MarcoGhiglieri</dc:creator>
    <dc:date>2024-09-25T09:18:06Z</dc:date>
    <item>
      <title>systemd and V9 sas.servers script for restart at boot</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/systemd-and-V9-sas-servers-script-for-restart-at-boot/m-p/864496#M26222</link>
      <description>&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;&amp;nbsp;I'm planning a "platform resilience" plan to OS updates, so I have my FE server to restart the services at bootup.&lt;BR /&gt;Did anyone already worked on a "sas.servers"-like script for systemd?&lt;BR /&gt;&lt;BR /&gt;Thanks all!&lt;BR /&gt;&lt;BR /&gt;&lt;EM&gt;Marco&lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 16 Mar 2023 12:09:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/systemd-and-V9-sas-servers-script-for-restart-at-boot/m-p/864496#M26222</guid>
      <dc:creator>MarcoGhiglieri</dc:creator>
      <dc:date>2023-03-16T12:09:04Z</dc:date>
    </item>
    <item>
      <title>Re: systemd and V9 sas.servers script for restart at boot</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/systemd-and-V9-sas-servers-script-for-restart-at-boot/m-p/864510#M26223</link>
      <description>&lt;P&gt;You mean not using the systemv emulation layer anymore?&lt;/P&gt;</description>
      <pubDate>Thu, 16 Mar 2023 13:02:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/systemd-and-V9-sas-servers-script-for-restart-at-boot/m-p/864510#M26223</guid>
      <dc:creator>StefanM</dc:creator>
      <dc:date>2023-03-16T13:02:33Z</dc:date>
    </item>
    <item>
      <title>Re: systemd and V9 sas.servers script for restart at boot</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/systemd-and-V9-sas-servers-script-for-restart-at-boot/m-p/864516#M26224</link>
      <description>Are all of your services on a single host? If so, the sas.servers script if you open it in a text viewer has some detail on how to make it bootable. If you have multiple hosts then you would probably want to use SAS-lsm to orchestrate services starting in the correct order across multiple hosts.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://github.com/sassoftware/SAS-lsm" target="_blank"&gt;https://github.com/sassoftware/SAS-lsm&lt;/A&gt;</description>
      <pubDate>Thu, 16 Mar 2023 13:17:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/systemd-and-V9-sas-servers-script-for-restart-at-boot/m-p/864516#M26224</guid>
      <dc:creator>gwootton</dc:creator>
      <dc:date>2023-03-16T13:17:13Z</dc:date>
    </item>
    <item>
      <title>Re: systemd and V9 sas.servers script for restart at boot</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/systemd-and-V9-sas-servers-script-for-restart-at-boot/m-p/864539#M26225</link>
      <description>Yes, I'd like to manage the sas.server from systemd. I'm trying a systemd service invoking it, it's working... simplier than I thought!</description>
      <pubDate>Thu, 16 Mar 2023 13:56:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/systemd-and-V9-sas-servers-script-for-restart-at-boot/m-p/864539#M26225</guid>
      <dc:creator>MarcoGhiglieri</dc:creator>
      <dc:date>2023-03-16T13:56:27Z</dc:date>
    </item>
    <item>
      <title>Re: systemd and V9 sas.servers script for restart at boot</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/systemd-and-V9-sas-servers-script-for-restart-at-boot/m-p/864545#M26227</link>
      <description>&lt;P&gt;Hi Greg,&amp;nbsp;my deployment is a commonly multi-tiered VA install, but the customer IT wants to manage OS patches and restart the hosts freely, being sure the SAS platform would get back online.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm already using LSM, I've forked it on GitHub to make my personalisations (e.g., not update check on startup, manage a&amp;nbsp; Grid, and some other tweaks).&amp;nbsp;The UserExit scripts aren't documented much, so I had to tinker a lot to manage extra components like solr.&lt;/P&gt;&lt;P&gt;I think I'll get it in the systemd script au lieu de sas.servers, since it would check the BE prerequisites.&lt;/P&gt;&lt;P&gt;I've modded the sas.servers.mid.template to do some housekeeping at shutdown (delete tmlogs, empty tomcat work and temp, rotate catalina.out) ... I'm pimping my deploys ! &lt;span class="lia-unicode-emoji" title=":grinning_face_with_smiling_eyes:"&gt;😄&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 16 Mar 2023 14:11:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/systemd-and-V9-sas-servers-script-for-restart-at-boot/m-p/864545#M26227</guid>
      <dc:creator>MarcoGhiglieri</dc:creator>
      <dc:date>2023-03-16T14:11:23Z</dc:date>
    </item>
    <item>
      <title>Re: systemd and V9 sas.servers script for restart at boot</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/systemd-and-V9-sas-servers-script-for-restart-at-boot/m-p/864549#M26228</link>
      <description>&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/338947"&gt;@MarcoGhiglieri&lt;/a&gt; sounds very cool!</description>
      <pubDate>Thu, 16 Mar 2023 14:20:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/systemd-and-V9-sas-servers-script-for-restart-at-boot/m-p/864549#M26228</guid>
      <dc:creator>gwootton</dc:creator>
      <dc:date>2023-03-16T14:20:46Z</dc:date>
    </item>
    <item>
      <title>Re: systemd and V9 sas.servers script for restart at boot</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/systemd-and-V9-sas-servers-script-for-restart-at-boot/m-p/864554#M26229</link>
      <description>&lt;P&gt;lsm isn't a full systemd thing, isn't it?&lt;BR /&gt;&lt;BR /&gt;We got a fully systemd service implementation: (2 server, start/stop control from external)&lt;BR /&gt;&lt;BR /&gt;sasallservices.service loaded active exited SAS Applications&lt;BR /&gt;sascachelocator.service loaded active running SAS Cache Locator Service ins_41415&lt;BR /&gt;sasconnect.service loaded active running SAS Connect Spawner&lt;BR /&gt;sasdeployd.service loaded active running SAS Deployment Agent&lt;BR /&gt;sasdipjrun.service loaded active running SAS DIP Job Runner&lt;BR /&gt;sashqagent.service loaded active running SAS Environment Manager Agent&lt;BR /&gt;sasirstudio.service loaded active running SAS Information Retrieval Studio Server&lt;BR /&gt;sasmeta.service loaded active running SAS MetadataServer&lt;BR /&gt;sasobj.service loaded active running SAS Object Spawner&lt;BR /&gt;sasrgpd.service loaded active running SAS Web Infrastructure Data Server RGF&lt;BR /&gt;saswip.service loaded active running SAS Web Infrastructure Data Server SharedServices&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 16 Mar 2023 14:45:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/systemd-and-V9-sas-servers-script-for-restart-at-boot/m-p/864554#M26229</guid>
      <dc:creator>StefanM</dc:creator>
      <dc:date>2023-03-16T14:45:43Z</dc:date>
    </item>
    <item>
      <title>Re: systemd and V9 sas.servers script for restart at boot</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/systemd-and-V9-sas-servers-script-for-restart-at-boot/m-p/864560#M26230</link>
      <description>I don't get it. How did you implement LSM in systemd with single services?&lt;BR /&gt;</description>
      <pubDate>Thu, 16 Mar 2023 15:03:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/systemd-and-V9-sas-servers-script-for-restart-at-boot/m-p/864560#M26230</guid>
      <dc:creator>MarcoGhiglieri</dc:creator>
      <dc:date>2023-03-16T15:03:05Z</dc:date>
    </item>
    <item>
      <title>Re: systemd and V9 sas.servers script for restart at boot</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/systemd-and-V9-sas-servers-script-for-restart-at-boot/m-p/864562#M26231</link>
      <description>&lt;P&gt;We don't use lsm.&lt;BR /&gt;Don't remember why we didn't use it ad hoc.&lt;BR /&gt;We missed an official SAS supported modern startup concept without the systemv systemd compatibility layer which is very old meanwhile&lt;/P&gt;</description>
      <pubDate>Thu, 16 Mar 2023 15:07:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/systemd-and-V9-sas-servers-script-for-restart-at-boot/m-p/864562#M26231</guid>
      <dc:creator>StefanM</dc:creator>
      <dc:date>2023-03-16T15:07:08Z</dc:date>
    </item>
    <item>
      <title>Re: systemd and V9 sas.servers script for restart at boot</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/systemd-and-V9-sas-servers-script-for-restart-at-boot/m-p/864596#M26234</link>
      <description>&lt;P&gt;Oh, sorry, I misunderstood your first sentence.&lt;BR /&gt;I've seen some Ansible implementations, others via sorts-of a framework bound to an operation manager, each with pros and cons, but whether you check single script output (single service or sas.servers) or listening ports... It's always difficult to keep the "wants" of services , and you'll always have to check them manually.&lt;/P&gt;
&lt;P&gt;LSM does a great job with minimum implementation effort.&lt;/P&gt;</description>
      <pubDate>Thu, 16 Mar 2023 16:14:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/systemd-and-V9-sas-servers-script-for-restart-at-boot/m-p/864596#M26234</guid>
      <dc:creator>MarcoGhiglieri</dc:creator>
      <dc:date>2023-03-16T16:14:02Z</dc:date>
    </item>
    <item>
      <title>Re: systemd and V9 sas.servers script for restart at boot</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/systemd-and-V9-sas-servers-script-for-restart-at-boot/m-p/945006#M29052</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/338947"&gt;@MarcoGhiglieri&lt;/a&gt;&amp;nbsp;,&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/78975"&gt;@gwootton&lt;/a&gt;&amp;nbsp;: is there an exemplary demonstration, how to implement the lsm-script into a system d call/script? I am familiar with the lsm-Tool that we use for our&amp;nbsp;&lt;SPAN&gt;multi-tiered VA installaltion.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 24 Sep 2024 08:59:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/systemd-and-V9-sas-servers-script-for-restart-at-boot/m-p/945006#M29052</guid>
      <dc:creator>FK21</dc:creator>
      <dc:date>2024-09-24T08:59:56Z</dc:date>
    </item>
    <item>
      <title>Re: systemd and V9 sas.servers script for restart at boot</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/systemd-and-V9-sas-servers-script-for-restart-at-boot/m-p/945172#M29057</link>
      <description>&lt;P&gt;Hi! This is what is put in &lt;EM&gt;sas.service&lt;/EM&gt;, it's working but I'm sure I need to refine it (Requires, WantedBy)&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;[Unit]
Description=SAS Services
Requires=network.target

[Service]
User=sasinst
Group=sas
ExecStart=/bin/bash -c '/sas/SAS_lsm/SAS_lsm -c /sas/SAS_lsm/va.cfg -a 1 -e'
ExecStop=/bin/bash -c '/sas/SAS_lsm/SAS_lsm -c /sas/SAS_lsm/va.cfg -o 1 -e'
RemainAfterExit=Yes

[Install]
WantedBy=multi-user.target
&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;" RemainAfterExit=Yes " was tricky to find.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;Had to work a lot with&amp;nbsp;&lt;BR /&gt;Any improvements are wellcome! &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 25 Sep 2024 09:18:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/systemd-and-V9-sas-servers-script-for-restart-at-boot/m-p/945172#M29057</guid>
      <dc:creator>MarcoGhiglieri</dc:creator>
      <dc:date>2024-09-25T09:18:06Z</dc:date>
    </item>
  </channel>
</rss>

