<?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: pooled workspace server session for sasadm in Administration and Deployment</title>
    <link>https://communities.sas.com/t5/Administration-and-Deployment/pooled-workspace-server-session-for-sasadm/m-p/494824#M14254</link>
    <description>&lt;P&gt;Oh, you are *that* Marco. Very nice to meet you here as well !&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hard to find time for everything, big truth. For now, hope you can enjoy of your time off. &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please let me know how it goes when you give it a try!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards,&lt;/P&gt;
&lt;P&gt;Juan&lt;/P&gt;</description>
    <pubDate>Wed, 12 Sep 2018 13:12:35 GMT</pubDate>
    <dc:creator>JuanS_OCS</dc:creator>
    <dc:date>2018-09-12T13:12:35Z</dc:date>
    <item>
      <title>pooled workspace server session for sasadm</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/pooled-workspace-server-session-for-sasadm/m-p/494787#M14248</link>
      <description>&lt;P&gt;Because of several issues with SAS VA Auditing (table audit_visualanalytics has not been updated for months, despite va.AuditingEnabled=true) , I finally found a checklist, which was very helpful: "&lt;A href="http://support.sas.com/kb/60/182.html#Checklist" target="_blank"&gt;http://support.sas.com/kb/60/182.html#Checklist&lt;/A&gt;"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;With #6 of this checklist I found that sasadm did not have a session in the pooled workspace server&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In this checklist at #6 It says:&lt;/P&gt;&lt;P&gt;For releases 7.1 and 7.2, the pooled workspace server session for auditing is still active. &amp;nbsp;There are several ways to check this. For example, you can review the object spawner logs, or you can perform the following steps in SAS Management Console:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Because I want to automate some checks, I would like to know how I can identify from the object spawner log that the session for sasadm@saspw is active or not? As I have already spent some time in investigating and don't want to re-invent the wheel, I would like to know if someone knows how to retrieve this information (Linux / SAS 9.4 M2).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance for your help&lt;/P&gt;&lt;P&gt;Marco&lt;/P&gt;</description>
      <pubDate>Wed, 12 Sep 2018 12:17:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/pooled-workspace-server-session-for-sasadm/m-p/494787#M14248</guid>
      <dc:creator>Marco_Eandis</dc:creator>
      <dc:date>2018-09-12T12:17:59Z</dc:date>
    </item>
    <item>
      <title>Re: pooled workspace server session for sasadm</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/pooled-workspace-server-session-for-sasadm/m-p/494795#M14250</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/178186"&gt;@Marco_Eandis&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;you have a few ways to do what I think you need, I will list them below.&lt;/P&gt;
&lt;P&gt;But I think it would be much better if you check and install available hotfixes (or maintenances, or both), to properly solve all of those problems. There are&amp;nbsp;several that are related to the audit tables.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;1- Re-active option: to parse the Obj Spawner log -&amp;nbsp; it should appear the user and if the session was created or terminated. Challenge: identify and keep track of the right session you look for.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;2-&amp;nbsp; Pro-active option: you could add some additional logic to the autoexec of the pooled workspace server (autoexec_usermods) that, if user is sasadm, and the PID Y, it can write to a log or table. Challenge: you won't know when the session terminates. For that purpose, you would need an additional script to read this table and check the status of the process with PID Y, to know when that session terminates.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Juan&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 12 Sep 2018 12:27:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/pooled-workspace-server-session-for-sasadm/m-p/494795#M14250</guid>
      <dc:creator>JuanS_OCS</dc:creator>
      <dc:date>2018-09-12T12:27:30Z</dc:date>
    </item>
    <item>
      <title>Re: pooled workspace server session for sasadm</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/pooled-workspace-server-session-for-sasadm/m-p/494821#M14253</link>
      <description>&lt;P&gt;Hi Juan,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks for your reply. First of all: the issues we had were mainly cause by different encoding. In the past there has been a change from UTF-8 to Lantin1, but the data was not converted. After solving that issue it appeared that there were duplicate records in hq_metric_data, easy to solve. I will certainly check out&amp;nbsp;if there are hotfixes available,&amp;nbsp;but I don't think we have any issue on that side.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As I need a daily check, option 1 is not suitable. Option 2 looks exactly what I need. However I need some time to implement it and because I am off next week I cannot&amp;nbsp;do it this week. Too much to do in a short time &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&amp;nbsp;. I will mark your answer as the solution.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your help (it was great meeting you at Generali some time ago!)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best Regards&lt;/P&gt;&lt;P&gt;Marco&lt;/P&gt;</description>
      <pubDate>Wed, 12 Sep 2018 13:08:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/pooled-workspace-server-session-for-sasadm/m-p/494821#M14253</guid>
      <dc:creator>Marco_Eandis</dc:creator>
      <dc:date>2018-09-12T13:08:44Z</dc:date>
    </item>
    <item>
      <title>Re: pooled workspace server session for sasadm</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/pooled-workspace-server-session-for-sasadm/m-p/494824#M14254</link>
      <description>&lt;P&gt;Oh, you are *that* Marco. Very nice to meet you here as well !&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hard to find time for everything, big truth. For now, hope you can enjoy of your time off. &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please let me know how it goes when you give it a try!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards,&lt;/P&gt;
&lt;P&gt;Juan&lt;/P&gt;</description>
      <pubDate>Wed, 12 Sep 2018 13:12:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/pooled-workspace-server-session-for-sasadm/m-p/494824#M14254</guid>
      <dc:creator>JuanS_OCS</dc:creator>
      <dc:date>2018-09-12T13:12:35Z</dc:date>
    </item>
    <item>
      <title>Re: pooled workspace server session for sasadm</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/pooled-workspace-server-session-for-sasadm/m-p/494827#M14256</link>
      <description>&lt;P&gt;There's only 1 like me &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;First of all I will try to get the output fixed the right way, the rest is easy to fix. As soon as I've got it working (or encounter problems) I will post my solution here, so it might help others.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;Marco&lt;/P&gt;</description>
      <pubDate>Wed, 12 Sep 2018 13:17:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/pooled-workspace-server-session-for-sasadm/m-p/494827#M14256</guid>
      <dc:creator>Marco_Eandis</dc:creator>
      <dc:date>2018-09-12T13:17:26Z</dc:date>
    </item>
    <item>
      <title>Re: pooled workspace server session for sasadm</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/pooled-workspace-server-session-for-sasadm/m-p/525710#M15364</link>
      <description>&lt;P&gt;In 1 environment we have the sasadm session&amp;nbsp;disappearing within an hour after starting up the environment. In my search for the cause of this, I found the solution for the monitoring issue and finished the script today.&lt;/P&gt;&lt;P&gt;The steps to take are:&lt;/P&gt;&lt;P&gt;1.&amp;nbsp;determine which ObjectSpawner log to check&lt;/P&gt;&lt;P&gt;2. determine the process id from this log&lt;/P&gt;&lt;P&gt;3. determine which PooledWSServer log to check&lt;/P&gt;&lt;P&gt;4. determine the portnumber from this script&lt;/P&gt;&lt;P&gt;5. monitor with netstat -oanp on the combination of port and process&lt;/P&gt;&lt;P&gt;6. send a mail when no longer running&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This script will be implemented as last step in the start of the VA environment.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Feel free to contact me for more detailled information&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Cheers&amp;nbsp;&lt;/P&gt;&lt;P&gt;Marco&lt;/P&gt;</description>
      <pubDate>Wed, 09 Jan 2019 13:46:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/pooled-workspace-server-session-for-sasadm/m-p/525710#M15364</guid>
      <dc:creator>Marco_Eandis</dc:creator>
      <dc:date>2019-01-09T13:46:51Z</dc:date>
    </item>
    <item>
      <title>Re: pooled workspace server session for sasadm</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/pooled-workspace-server-session-for-sasadm/m-p/525989#M15373</link>
      <description>&lt;P&gt;Update:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;this morning I tested the script 'live' after a restart and found out the portnumber and process-Id are not related to eachother in the netstat command. The processid in the netstat command is a main process. So instead of using netstat, I've changed this into a two-step check with netstat on the port and ps for the process.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Cheerzzzz&lt;/P&gt;&lt;P&gt;Marco&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 10 Jan 2019 07:51:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/pooled-workspace-server-session-for-sasadm/m-p/525989#M15373</guid>
      <dc:creator>Marco_Eandis</dc:creator>
      <dc:date>2019-01-10T07:51:20Z</dc:date>
    </item>
  </channel>
</rss>

