<?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: Programatically extract LASR tables limit? in SAS Visual Analytics</title>
    <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Programatically-extract-LASR-tables-limit/m-p/371164#M7498</link>
    <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/16117"&gt;@tammy_dezilva&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The easiest way is to read the value of maxTotalTableMemory from server object through REST API. First of all, you have to find server ID here (for an example A5MTT44D_AZ00000F):&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;STRONG&gt;http://&amp;lt;MIDDLE_TIER_URL&amp;gt;/SASLASRAuthorization/rest/servers&lt;/STRONG&gt;
&amp;lt;server port="10011" name="LASR Analytic Server" id="A5MTT44D_AZ00000F" hostname="test.unx.sas.com" description="SAS LASR Analytic server and the machine to which it is associated."&amp;gt;
&amp;lt;links&amp;gt;
&amp;lt;link uri="/servers/A5MTT44D_AZ00000F" rel="self" method="GET" href="http://test.unx.sas.com:7980/SASLASRAuthorization/rest/servers/A5MTT44D_AZ00000F"/&amp;gt;
&amp;lt;/links&amp;gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Then, get information about the server:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;STRONG&gt;http://&amp;lt;MIDDLE_TIER_URL&amp;gt;/SASLASRAuthorization/rest/servers/A5MTT44D_AZ00000F&lt;/STRONG&gt;
&amp;lt;server port="10011" name="LASR Analytic Server" &lt;STRONG&gt;maxTotalTableMemory="-1"&lt;/STRONG&gt; id="A5MTT44D_AZ00000F" hostname="test.unx.sas.com" description="SAS LASR Analytic server and the machine to which it is associated."&amp;gt;&lt;/PRE&gt;
&lt;P&gt;-1 means no limit.&lt;/P&gt;</description>
    <pubDate>Wed, 28 Jun 2017 07:58:32 GMT</pubDate>
    <dc:creator>alexal</dc:creator>
    <dc:date>2017-06-28T07:58:32Z</dc:date>
    <item>
      <title>Programatically extract LASR tables limit?</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Programatically-extract-LASR-tables-limit/m-p/371139#M7496</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am wanting to create a report which will show how much space is used by a LASR library plus the limit allocated to it (if it has a limit imposed). &amp;nbsp;I have successfully found the amount used by the tables in the dataset _T_LASRMEMORY but I am also wanting to show what the limit is, so we can see what capacity is left. &amp;nbsp;Neither the _T_LASRMEMORY or&amp;nbsp;_T_TABLEMEMORY tables show the limit.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I know you can see the limit in VA Administrator via the LASR Servers Administrator tab and the Tables Limit column, plus also via Management Console in the extended attributes&amp;nbsp;VA.MaxTotalMemoryForTables but how can I get this programatically? &amp;nbsp;I know I could maintain the value in a table, but I'd rather I didn't have that maintenance to worry about when the limit is changed.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Alternatively, if I could get a report saying the capacity has been reached that would be sufficient. &amp;nbsp;The status shows if over capacity in VA Adminstrator but&amp;nbsp;I'm unsure how to get this status myself. &amp;nbsp;I am using the macro %LASRSERVERRUNNING to see if a LASR server is started or stopped but it doesn't include over capacity.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;thanks&lt;/P&gt;
&lt;P&gt;Tammy&lt;/P&gt;</description>
      <pubDate>Wed, 28 Jun 2017 05:30:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Programatically-extract-LASR-tables-limit/m-p/371139#M7496</guid>
      <dc:creator>tammy_dezilva</dc:creator>
      <dc:date>2017-06-28T05:30:20Z</dc:date>
    </item>
    <item>
      <title>Re: Programatically extract LASR tables limit?</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Programatically-extract-LASR-tables-limit/m-p/371155#M7497</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/16117"&gt;@tammy_dezilva&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I think this will help you:&amp;nbsp;&lt;A href="http://support.sas.com/documentation/cdl/en/inmsref/68736/HTML/default/viewer.htm#p050lknh5xepngn1s2kaa5nijrer.htm" target="_blank"&gt;http://support.sas.com/documentation/cdl/en/inmsref/68736/HTML/default/viewer.htm#p050lknh5xepngn1s2kaa5nijrer.htm&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Does it?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Juan&lt;/P&gt;</description>
      <pubDate>Wed, 28 Jun 2017 06:55:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Programatically-extract-LASR-tables-limit/m-p/371155#M7497</guid>
      <dc:creator>JuanS_OCS</dc:creator>
      <dc:date>2017-06-28T06:55:01Z</dc:date>
    </item>
    <item>
      <title>Re: Programatically extract LASR tables limit?</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Programatically-extract-LASR-tables-limit/m-p/371164#M7498</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/16117"&gt;@tammy_dezilva&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The easiest way is to read the value of maxTotalTableMemory from server object through REST API. First of all, you have to find server ID here (for an example A5MTT44D_AZ00000F):&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;STRONG&gt;http://&amp;lt;MIDDLE_TIER_URL&amp;gt;/SASLASRAuthorization/rest/servers&lt;/STRONG&gt;
&amp;lt;server port="10011" name="LASR Analytic Server" id="A5MTT44D_AZ00000F" hostname="test.unx.sas.com" description="SAS LASR Analytic server and the machine to which it is associated."&amp;gt;
&amp;lt;links&amp;gt;
&amp;lt;link uri="/servers/A5MTT44D_AZ00000F" rel="self" method="GET" href="http://test.unx.sas.com:7980/SASLASRAuthorization/rest/servers/A5MTT44D_AZ00000F"/&amp;gt;
&amp;lt;/links&amp;gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Then, get information about the server:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;STRONG&gt;http://&amp;lt;MIDDLE_TIER_URL&amp;gt;/SASLASRAuthorization/rest/servers/A5MTT44D_AZ00000F&lt;/STRONG&gt;
&amp;lt;server port="10011" name="LASR Analytic Server" &lt;STRONG&gt;maxTotalTableMemory="-1"&lt;/STRONG&gt; id="A5MTT44D_AZ00000F" hostname="test.unx.sas.com" description="SAS LASR Analytic server and the machine to which it is associated."&amp;gt;&lt;/PRE&gt;
&lt;P&gt;-1 means no limit.&lt;/P&gt;</description>
      <pubDate>Wed, 28 Jun 2017 07:58:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Programatically-extract-LASR-tables-limit/m-p/371164#M7498</guid>
      <dc:creator>alexal</dc:creator>
      <dc:date>2017-06-28T07:58:32Z</dc:date>
    </item>
    <item>
      <title>Re: Programatically extract LASR tables limit?</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Programatically-extract-LASR-tables-limit/m-p/371490#M7503</link>
      <description>&lt;P&gt;Awesome, thank you so much&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/41748"&gt;@alexal&lt;/a&gt;. &amp;nbsp;That's working a treat now!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 28 Jun 2017 23:22:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Programatically-extract-LASR-tables-limit/m-p/371490#M7503</guid>
      <dc:creator>tammy_dezilva</dc:creator>
      <dc:date>2017-06-28T23:22:28Z</dc:date>
    </item>
    <item>
      <title>Re: Programatically extract LASR tables limit?</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Programatically-extract-LASR-tables-limit/m-p/371550#M7504</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/16117"&gt;@tammy_dezilva&lt;/a&gt;, you are welcome!&lt;/P&gt;</description>
      <pubDate>Thu, 29 Jun 2017 07:04:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Programatically-extract-LASR-tables-limit/m-p/371550#M7504</guid>
      <dc:creator>alexal</dc:creator>
      <dc:date>2017-06-29T07:04:25Z</dc:date>
    </item>
  </channel>
</rss>

